How to define IN_TO_REG and IN_FROM_REG in w83627hf.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I don't understand why the IN_TO_REG(val) is defined by
(SENSORS_LIMIT((((val) + 8)/16),0,255)) and IN_FROM_REG(val) is
defined by ((val) * 16)

Would you teach me? Thank you.

BR,
Dave.




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux