Uniform argument types.

The types of arguments of trans method are changed as
other methods of FreeBSD SMBus interface.
avoid calling sleepable fuction while holding mtx

move a point to hold mtx in order to avoid sleepable function call.