Home
last modified time | relevance | path

Searched refs:CC2_RH_MAX (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hwmon/
H A Dchipcap2.c67 #define CC2_RH_MAX (100 * 1000U) macro
100 unsigned long tmp = (data & CC2_RH_DATA_FIELD) * CC2_RH_MAX; in cc2_rh_convert()
108 return data * ((1 << 14) - 1) / CC2_RH_MAX; in cc2_rh_to_reg()
614 if (val < 0 || val > CC2_RH_MAX) in cc2_write()