Searched refs:channel_index (Results 1 – 4 of 4) sorted by relevance
85 static int channel_index; variable369 channel_index = find_free_channel(); in mid_initialize_adc()370 if (channel_index < 0) { in mid_initialize_adc()372 return channel_index; in mid_initialize_adc()375 base_addr = ADC_CHNL_START_ADDR + channel_index; in mid_initialize_adc()377 if (!(channel_index == 0 || channel_index == ADC_LOOP_MAX)) { in mid_initialize_adc()385 channel_index++; in mid_initialize_adc()412 td_info->chnl_addr = ADC_DATA_START_ADDR + 2 * (channel_index + index); in initialize_sensor()
106 int channel_index; in sn95031_initialize_adc() local109 channel_index = find_free_channel(sn95031_codec); in sn95031_initialize_adc()110 if (channel_index < 0) { in sn95031_initialize_adc()112 return channel_index; in sn95031_initialize_adc()115 base_addr = SN95031_ADC_CHNL_START_ADDR + channel_index; in sn95031_initialize_adc()117 if (!(channel_index == 0 || channel_index == SN95031_ADC_LOOP_MAX)) { in sn95031_initialize_adc()124 channel_index++; in sn95031_initialize_adc()132 chnl_addr = SN95031_ADC_DATA_START_ADDR + 2 * channel_index; in sn95031_initialize_adc()
6265 int channel_index = 0; in ipw_add_scan_channels() local6272 int start = channel_index; in ipw_add_scan_channels()6277 channel_index++; in ipw_add_scan_channels()6278 scan->channels_list[channel_index] = geo->a[i].channel; in ipw_add_scan_channels()6279 ipw_set_scan_type(scan, channel_index, in ipw_add_scan_channels()6286 if (start != channel_index) { in ipw_add_scan_channels()6288 (channel_index - start); in ipw_add_scan_channels()6289 channel_index++; in ipw_add_scan_channels()6294 int start = channel_index; in ipw_add_scan_channels()6303 while (channel_index < IPW_SCAN_CHANNELS - 1) { in ipw_add_scan_channels()[all …]
2050 u8 channel_index; /* index in measurement channel list */ member