Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Dintel_mid_thermal.c85 static int channel_index; variable
368 channel_index = find_free_channel(); in mid_initialize_adc()
369 if (channel_index < 0) { in mid_initialize_adc()
371 return channel_index; in mid_initialize_adc()
374 base_addr = ADC_CHNL_START_ADDR + channel_index; in mid_initialize_adc()
376 if (!(channel_index == 0 || channel_index == ADC_LOOP_MAX)) { in mid_initialize_adc()
384 channel_index++; in mid_initialize_adc()
411 td_info->chnl_addr = ADC_DATA_START_ADDR + 2 * (channel_index + index); in initialize_sensor()
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dphy.c734 char channel_index = -1; in _rtl8822be_phy_get_chnl_idx_of_txpwr_lmt() local
738 channel_index = channel - 1; in _rtl8822be_phy_get_chnl_idx_of_txpwr_lmt()
742 channel_index = i; in _rtl8822be_phy_get_chnl_idx_of_txpwr_lmt()
749 if (channel_index == -1) in _rtl8822be_phy_get_chnl_idx_of_txpwr_lmt()
754 return channel_index; in _rtl8822be_phy_get_chnl_idx_of_txpwr_lmt()
765 u8 channel_index; in rtl8822be_phy_set_txpower_limit() local
821 channel_index = ret; in rtl8822be_phy_set_txpower_limit()
825 [rate_section][channel_index] in rtl8822be_phy_set_txpower_limit()
830 [rate_section][channel_index] in rtl8822be_phy_set_txpower_limit()
835 regulation, bandwidth, rate_section, channel_index, in rtl8822be_phy_set_txpower_limit()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c1645 s8 channel_index = -1; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt() local
1649 channel_index = channel - 1; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()
1653 channel_index = i; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()
1659 if (channel_index == -1) in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()
1664 return channel_index; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()
1675 u8 channel_index; in _rtl8812ae_phy_set_txpower_limit() local
1732 channel_index = ret; in _rtl8812ae_phy_set_txpower_limit()
1736 [channel_index][RF90_PATH_A]; in _rtl8812ae_phy_set_txpower_limit()
1740 [rate_section][channel_index][RF90_PATH_A] = in _rtl8812ae_phy_set_txpower_limit()
1745 regulation, bandwidth, rate_section, channel_index, in _rtl8812ae_phy_set_txpower_limit()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c6171 int channel_index = 0; in ipw_add_scan_channels() local
6178 int start = channel_index; in ipw_add_scan_channels()
6183 channel_index++; in ipw_add_scan_channels()
6184 scan->channels_list[channel_index] = geo->a[i].channel; in ipw_add_scan_channels()
6185 ipw_set_scan_type(scan, channel_index, in ipw_add_scan_channels()
6192 if (start != channel_index) { in ipw_add_scan_channels()
6194 (channel_index - start); in ipw_add_scan_channels()
6195 channel_index++; in ipw_add_scan_channels()
6200 int start = channel_index; in ipw_add_scan_channels()
6209 while (channel_index < IPW_SCAN_CHANNELS - 1) { in ipw_add_scan_channels()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Dcommands.h2073 u8 channel_index; /* index in measurement channel list */ member