Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hwmon/
Dvt1211.c27 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 : \ argument
135 !(((uch_config) >> ((ix) + 2)) & 1))
138 #define ISTEMP(ix, uch_config) ((ix) < 2 ? 1 : \ argument
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 …]
Dvt8231.c162 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()
/Linux-v6.6/Documentation/hwmon/
Dvt1211.rst27 * uch_config: int