Searched defs:ch1 (Results 1 - 8 of 8) sorted by relevance

/drivers/staging/speakup/
H A Dkeyhelp.c64 u_char *kp, counters[MAXFUNCS], ch, ch1; local
96 ch1 = *kp++;
97 if (!ch1)
99 if ((state_tbl[i]&16) != 0 && ch1 == SPK_KEY)
102 counters[ch1]--;
103 offset = key_offsets[ch1];
106 p_key = key_data + offset + counters[ch1];
/drivers/media/video/pvrusb2/
H A Dpvrusb2-context.c114 struct pvr2_channel *ch1, *ch2; local
143 for (ch1 = mp->mc_first; ch1; ch1 = ch2) {
144 ch2 = ch1->mc_next;
145 if (ch1->check_func) ch1->check_func(ch1);
/drivers/misc/
H A Dtsl2550.c157 static int tsl2550_calculate_lux(u8 ch0, u8 ch1) argument
163 u16 c1 = count_lut[ch1];
261 u8 ch0, ch1; local
272 ch1 = ret;
275 ret = tsl2550_calculate_lux(ch0, ch1);
/drivers/gpu/drm/i915/
H A Ddvo_tfp410.c158 uint8_t ch1, ch2; local
160 if (tfp410_readb(dvo, addr+0, &ch1) &&
162 return ((ch2 << 8) & 0xFF00) | (ch1 & 0x00FF);
/drivers/net/wireless/bcmdhd/
H A Dbcmwifi_channels.c430 uint ch1, ch2; local
436 chspec_ch = ch1 = ch2 = 0;
535 if (!read_uint(&a, &ch1))
614 ch1_id = channel_80mhz_to_id(ch1);
618 if (ch1 >= ch2 || ch1_id < 0 || ch2_id < 0)
628 sb = channel_to_sb(ch1, ctl_ch, bw);
729 uint16 ch1, ch2; local
731 ch1 = wf_5g_80m_chans[CHSPEC_CHAN1(chanspec)];
735 if (ch2 > ch1 + CH_80MHZ_APART)
/drivers/staging/iio/light/
H A Dtsl2583.c111 unsigned int ch1; member in struct:taos_lux
126 s16 ch1; member in struct:gainadj
182 * The raw ch0 and ch1 values of the ambient light sensed in the last
187 * of ch1 value, to the ch0 value, is calculated. The array taos_device_lux[]
189 * above the ratio we just calculated. The ch0 and ch1 multiplier constants in
195 u16 ch0, ch1; /* separated ch0/ch1 data from device */ local
255 ch1 = le16_to_cpup((const __le16 *)&buf[2]);
258 chip->als_cur_info.als_ch1 = ch1;
260 if ((ch0 >= chip->als_saturation) || (ch1 >
[all...]
H A Dtsl2563.c432 unsigned long ratio, lux, ch0 = adc0, ch1 = adc1; local
434 ratio = ch0 ? ((ch1 << ADC_FRAC_BITS) / ch0) : ULONG_MAX;
439 lux = ch0 * lp->ch0_coeff - ch1 * lp->ch1_coeff;
/drivers/net/wireless/iwlegacy/
H A Dcommon.h304 struct il_eeprom_calib_ch_info ch1; member in struct:il_eeprom_calib_subband_info

Completed in 216 milliseconds