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)
255 if (ISVOLT(ix, data->uch_config)) { in vt1211_update_device()
267 if (ISTEMP(ix, data->uch_config)) { in vt1211_update_device()
697 if (!ISTEMP(val - 1, data->uch_config)) { in set_pwm()
1088 data->uch_config = vt1211_read8(data, VT1211_REG_UCH_CONFIG); in vt1211_init_device()
1089 if (uch_config > -1) { in vt1211_init_device()
1090 data->uch_config = (data->uch_config & 0x83) | in vt1211_init_device()
1091 (uch_config << 2); in vt1211_init_device()
1092 vt1211_write8(data, VT1211_REG_UCH_CONFIG, data->uch_config); in vt1211_init_device()
1166 if (ISVOLT(i, data->uch_config)) { in vt1211_probe()
1174 if (ISTEMP(i, data->uch_config)) { in vt1211_probe()
1317 if ((uch_config < -1) || (uch_config > 31)) { in vt1211_init()
1320 uch_config); in vt1211_init()