Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/x86/
Dintel_mid_thermal.c69 static int channel_index; variable
352 channel_index = find_free_channel(); in mid_initialize_adc()
353 if (channel_index < 0) { in mid_initialize_adc()
355 return channel_index; in mid_initialize_adc()
358 base_addr = ADC_CHNL_START_ADDR + channel_index; in mid_initialize_adc()
360 if (!(channel_index == 0 || channel_index == ADC_LOOP_MAX)) { in mid_initialize_adc()
368 channel_index++; in mid_initialize_adc()
395 td_info->chnl_addr = ADC_DATA_START_ADDR + 2 * (channel_index + index); in initialize_sensor()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dumc_v6_1.c40 #define ADDR_OF_256B_BLOCK(channel_index) ((channel_index) << 8) argument
149 uint32_t channel_index) in umc_v6_1_query_error_count() argument
165 uint32_t umc_reg_offset, uint32_t channel_index) in umc_v6_1_query_error_address() argument
196 ADDR_OF_256B_BLOCK(channel_index) | in umc_v6_1_query_error_address()
214 uint32_t umc_reg_offset, uint32_t channel_index) in umc_v6_1_ras_init_per_channel() argument
Damdgpu_umc.h39 uint32_t umc_inst, channel_inst, umc_reg_offset, channel_index; \
49 channel_index = adev->umc.channel_idx_tbl[ \
51 (func)(adev, err_data, umc_reg_offset, channel_index); \
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c1624 s8 channel_index = -1; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt() local
1628 channel_index = channel - 1; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()
1632 channel_index = i; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()
1638 if (channel_index == -1) in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()
1643 return channel_index; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()
1654 u8 channel_index; in _rtl8812ae_phy_set_txpower_limit() local
1711 channel_index = ret; in _rtl8812ae_phy_set_txpower_limit()
1715 [channel_index][RF90_PATH_A]; in _rtl8812ae_phy_set_txpower_limit()
1719 [rate_section][channel_index][RF90_PATH_A] = in _rtl8812ae_phy_set_txpower_limit()
1724 regulation, bandwidth, rate_section, channel_index, in _rtl8812ae_phy_set_txpower_limit()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c6157 int channel_index = 0; in ipw_add_scan_channels() local
6164 int start = channel_index; in ipw_add_scan_channels()
6169 channel_index++; in ipw_add_scan_channels()
6170 scan->channels_list[channel_index] = geo->a[i].channel; in ipw_add_scan_channels()
6171 ipw_set_scan_type(scan, channel_index, in ipw_add_scan_channels()
6178 if (start != channel_index) { in ipw_add_scan_channels()
6180 (channel_index - start); in ipw_add_scan_channels()
6181 channel_index++; in ipw_add_scan_channels()
6186 int start = channel_index; in ipw_add_scan_channels()
6195 while (channel_index < IPW_SCAN_CHANNELS - 1) { in ipw_add_scan_channels()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Dcommands.h2068 u8 channel_index; /* index in measurement channel list */ member