Searched refs:uch_config (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | vt1211.c | 27 static int uch_config = -1; variable 28 module_param(uch_config, int, 0); 29 MODULE_PARM_DESC(uch_config, "Initialize the universal channel configuration"); 129 u8 uch_config; /* Read once at init time */ member 134 #define ISVOLT(ix, uch_config) ((ix) > 4 ? 1 : \ 135 !(((uch_config) >> ((ix) + 2)) & 1)) 138 #define ISTEMP(ix, uch_config) ((ix) < 2 ? 1 : \ 139 ((uch_config) >> (ix)) & 1) 261 if (ISVOLT(ix, data->uch_config)) { in vt1211_update_device() 273 if (ISTEMP(ix, data->uch_config)) { in vt1211_update_device() [all...] |
H A D | vt8231.c | 161 u8 uch_config; member 810 data->uch_config = vt8231_read_value(data, VT8231_REG_UCH_CONFIG); in vt8231_probe() 813 if (ISTEMP(i, data->uch_config)) { in vt8231_probe() 822 if (ISVOLT(i, data->uch_config)) { in vt8231_probe() 883 if (ISVOLT(i, data->uch_config)) { in vt8231_update_device() 903 if (ISTEMP(i, data->uch_config)) { in vt8231_update_device()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | vt1211.c | 27 static int uch_config = -1; variable 28 module_param(uch_config, int, 0); 29 MODULE_PARM_DESC(uch_config, "Initialize the universal channel configuration"); 129 u8 uch_config; /* Read once at init time */ member 134 #define ISVOLT(ix, uch_config) ((ix) > 4 ? 1 : \ 135 !(((uch_config) >> ((ix) + 2)) & 1)) 138 #define ISTEMP(ix, uch_config) ((ix) < 2 ? 1 : \ 139 ((uch_config) >> (ix)) & 1) 255 if (ISVOLT(ix, data->uch_config)) { in vt1211_update_device() 267 if (ISTEMP(ix, data->uch_config)) { in vt1211_update_device() [all...] |
H A D | vt8231.c | 162 u8 uch_config; member 189 if (ISVOLT(i, data->uch_config)) { in vt8231_update_device() 209 if (ISTEMP(i, data->uch_config)) { in vt8231_update_device() 857 data->uch_config = vt8231_read_value(data, VT8231_REG_UCH_CONFIG); in vt8231_probe() 860 if (ISTEMP(i, data->uch_config)) { in vt8231_probe() 869 if (ISVOLT(i, data->uch_config)) { in vt8231_probe()
|
Completed in 6 milliseconds