Searched refs:channel_index (Results 1 – 5 of 5) sorted by relevance
87 static int channel_index; variable370 channel_index = find_free_channel(); in mid_initialize_adc()371 if (channel_index < 0) { in mid_initialize_adc()373 return channel_index; in mid_initialize_adc()376 base_addr = ADC_CHNL_START_ADDR + channel_index; in mid_initialize_adc()378 if (!(channel_index == 0 || channel_index == ADC_LOOP_MAX)) { in mid_initialize_adc()386 channel_index++; in mid_initialize_adc()413 td_info->chnl_addr = ADC_DATA_START_ADDR + 2 * (channel_index + index); in initialize_sensor()
107 static int channel_index; in sn95031_initialize_adc() local110 channel_index = find_free_channel(sn95031_codec); in sn95031_initialize_adc()111 if (channel_index < 0) { in sn95031_initialize_adc()113 return channel_index; in sn95031_initialize_adc()116 base_addr = SN95031_ADC_CHNL_START_ADDR + channel_index; in sn95031_initialize_adc()118 if (!(channel_index == 0 || channel_index == SN95031_ADC_LOOP_MAX)) { in sn95031_initialize_adc()125 channel_index++; in sn95031_initialize_adc()133 chnl_addr = SN95031_ADC_DATA_START_ADDR + 2 * channel_index; in sn95031_initialize_adc()
6244 int channel_index = 0; in ipw_add_scan_channels() local6251 int start = channel_index; in ipw_add_scan_channels()6256 channel_index++; in ipw_add_scan_channels()6257 scan->channels_list[channel_index] = geo->a[i].channel; in ipw_add_scan_channels()6258 ipw_set_scan_type(scan, channel_index, in ipw_add_scan_channels()6265 if (start != channel_index) { in ipw_add_scan_channels()6267 (channel_index - start); in ipw_add_scan_channels()6268 channel_index++; in ipw_add_scan_channels()6273 int start = channel_index; in ipw_add_scan_channels()6282 while (channel_index < IPW_SCAN_CHANNELS - 1) { in ipw_add_scan_channels()[all …]
2236 u8 channel_index; /* index in measurement channel list */ member
2624 u8 channel_index; /* index in measurement channel list */ member