Home
last modified time | relevance | path

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

/Linux-v5.4/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)
261 if (ISVOLT(ix, data->uch_config)) { in vt1211_update_device()
273 if (ISTEMP(ix, data->uch_config)) { in vt1211_update_device()
[all …]
Dvt8231.c161 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()
/Linux-v5.4/Documentation/hwmon/
Dvt1211.rst27 * uch_config: int