Searched refs:INS_TO_REG (Results 1 – 2 of 2) sorted by relevance
/drivers/hwmon/ |
D | adm1026.c | 200 #define INS_TO_REG(n, val) (clamp_val(SCALE(val, adm1026_scaling[n], 192),\ macro 741 data->in_min[nr] = INS_TO_REG(nr, val); in set_in_min() 769 data->in_max[nr] = INS_TO_REG(nr, val); in set_in_max() 828 data->in_min[16] = INS_TO_REG(16, val + NEG12_OFFSET); in set_in16_min() 853 data->in_max[16] = INS_TO_REG(16, val+NEG12_OFFSET); in set_in16_max()
|
D | lm85.c | 141 #define INS_TO_REG(n, val) \ macro 698 data->in_min[nr] = INS_TO_REG(nr, val); in set_in_min() 726 data->in_max[nr] = INS_TO_REG(nr, val); in set_in_max()
|