Lines Matching refs:uch_config
27 static int uch_config = -1;
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 */
134 #define ISVOLT(ix, uch_config) ((ix) > 4 ? 1 : \
135 !(((uch_config) >> ((ix) + 2)) & 1))
138 #define ISTEMP(ix, uch_config) ((ix) < 2 ? 1 : \
139 ((uch_config) >> (ix)) & 1)
255 if (ISVOLT(ix, data->uch_config)) {
267 if (ISTEMP(ix, data->uch_config)) {
697 if (!ISTEMP(val - 1, data->uch_config)) {
1088 data->uch_config = vt1211_read8(data, VT1211_REG_UCH_CONFIG);
1089 if (uch_config > -1) {
1090 data->uch_config = (data->uch_config & 0x83) |
1091 (uch_config << 2);
1092 vt1211_write8(data, VT1211_REG_UCH_CONFIG, data->uch_config);
1166 if (ISVOLT(i, data->uch_config)) {
1174 if (ISTEMP(i, data->uch_config)) {
1319 if ((uch_config < -1) || (uch_config > 31)) {
1322 uch_config);