temp_to_reg
static inline u8 temp_to_reg(long val)
static inline s8 temp_to_reg(long val)
static inline s8 temp_to_reg(long val, s8 min, s8 max)