Home
last modified time | relevance | path

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

/drivers/hwmon/
Dvt1211.c38 static int uch_config = -1; variable
39 module_param(uch_config, int, 0);
40 MODULE_PARM_DESC(uch_config, "Initialize the universal channel configuration");
140 u8 uch_config; /* Read once at init time */ member
145 #define ISVOLT(ix, uch_config) ((ix) > 4 ? 1 : \ argument
146 !(((uch_config) >> ((ix) + 2)) & 1))
149 #define ISTEMP(ix, uch_config) ((ix) < 2 ? 1 : \ argument
150 ((uch_config) >> (ix)) & 1)
260 if (ISVOLT(ix, data->uch_config)) { in vt1211_update_device()
272 if (ISTEMP(ix, data->uch_config)) { in vt1211_update_device()
[all …]
Dvt8231.c166 u8 uch_config; member
748 data->uch_config = vt8231_read_value(data, VT8231_REG_UCH_CONFIG); in vt8231_probe()
751 if (ISTEMP(i, data->uch_config)) { in vt8231_probe()
759 if (ISVOLT(i, data->uch_config)) { in vt8231_probe()
829 if (ISVOLT(i, data->uch_config)) { in vt8231_update_device()
849 if (ISTEMP(i, data->uch_config)) { in vt8231_update_device()