Home
last modified time | relevance | path

Searched refs:channel_index (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/platform/x86/
Dintel_mid_thermal.c85 static int channel_index; variable
369 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()
/linux-3.4.99/sound/soc/codecs/
Dsn95031.c106 int channel_index; in sn95031_initialize_adc() local
109 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()
/linux-3.4.99/drivers/net/wireless/ipw2x00/
Dipw2200.c6265 int channel_index = 0; in ipw_add_scan_channels() local
6272 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 …]
/linux-3.4.99/drivers/net/wireless/iwlwifi/
Diwl-commands.h2050 u8 channel_index; /* index in measurement channel list */ member