Lines Matching refs:uch_config
38 static int uch_config = -1;
39 module_param(uch_config, int, 0);
40 MODULE_PARM_DESC(uch_config, "Initialize the universal channel configuration");
140 u8 uch_config; /* Read once at init time */
145 #define ISVOLT(ix, uch_config) ((ix) > 4 ? 1 : \
146 !(((uch_config) >> ((ix) + 2)) & 1))
149 #define ISTEMP(ix, uch_config) ((ix) < 2 ? 1 : \
150 ((uch_config) >> (ix)) & 1)
260 if (ISVOLT(ix, data->uch_config)) {
272 if (ISTEMP(ix, data->uch_config)) {
672 if (!ISTEMP(val - 1, data->uch_config)) {
1063 data->uch_config = vt1211_read8(data, VT1211_REG_UCH_CONFIG);
1064 if (uch_config > -1) {
1065 data->uch_config = (data->uch_config & 0x83) |
1066 (uch_config << 2);
1067 vt1211_write8(data, VT1211_REG_UCH_CONFIG, data->uch_config);
1156 if (ISVOLT(i, data->uch_config)) {
1170 if (ISTEMP(i, data->uch_config)) {
1337 if ((uch_config < -1) || (uch_config > 31)) {
1340 "Choose a value between 0 and 31.\n", uch_config);