Lines Matching defs:channel
43 #define CPCAP_BIT_RAND1 BIT(2) /* Set for channel 16 & 17 */
203 * @channel: request channel
204 * @phase_tbl: channel phasing table
205 * @conv_tbl: channel conversion table
206 * @bank_index: channel index within the bank
211 int channel;
338 .channel = (_index), \
465 int channel,
478 cpcap_adc_setup_calibrate(ddata, channel);
483 cpcap_adc_setup_calibrate(ddata, channel);
500 bank_conversion[channel].cal_offset =
503 channel, bank_conversion[channel].cal_offset);
545 switch (req->channel) {
676 int index = req->channel;
679 switch (req->channel) {
747 int index = req->channel;
750 switch (req->channel) {
766 if ((req->channel == CPCAP_ADC_AD0) ||
767 (req->channel == CPCAP_ADC_AD3)) {
784 * same time. If not, replace channel_mask with just channel.
821 int channel)
823 req->channel = channel;
827 switch (channel) {
829 req->bank_index = channel;
832 req->bank_index = channel - 8;
871 error = cpcap_adc_init_request(&req, chan->channel);
895 (chan->channel == CPCAP_ADC_AD3)) {