Lines Matching refs:uch_config
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 : \ 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()
703 if (!ISTEMP(val - 1, data->uch_config)) { in set_pwm()
1094 data->uch_config = vt1211_read8(data, VT1211_REG_UCH_CONFIG); in vt1211_init_device()
1095 if (uch_config > -1) { in vt1211_init_device()
1096 data->uch_config = (data->uch_config & 0x83) | in vt1211_init_device()
1097 (uch_config << 2); in vt1211_init_device()
1098 vt1211_write8(data, VT1211_REG_UCH_CONFIG, data->uch_config); in vt1211_init_device()
1172 if (ISVOLT(i, data->uch_config)) { in vt1211_probe()
1180 if (ISTEMP(i, data->uch_config)) { in vt1211_probe()
1325 if ((uch_config < -1) || (uch_config > 31)) { in vt1211_init()
1328 uch_config); in vt1211_init()