Searched refs:channel_index (Results 1 – 7 of 7) sorted by relevance
69 static int channel_index; variable352 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()
30 #define ADDR_OF_256B_BLOCK(channel_index) ((channel_index) << 8) argument
204 …uint32_t channel_index = adev->umc.channel_idx_tbl[umc_inst * adev->umc.channel_inst_num + ch_inst… in umc_v8_7_query_error_address() local237 ADDR_OF_256B_BLOCK(channel_index) | in umc_v8_7_query_error_address()249 err_rec->mem_channel = channel_index; in umc_v8_7_query_error_address()
303 …uint32_t channel_index = adev->umc.channel_idx_tbl[umc_inst * adev->umc.channel_inst_num + ch_inst… in umc_v6_1_query_error_address() local345 ADDR_OF_256B_BLOCK(channel_index) | in umc_v6_1_query_error_address()357 err_rec->mem_channel = channel_index; in umc_v6_1_query_error_address()
1618 s8 channel_index = -1; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt() local1622 channel_index = channel - 1; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()1626 channel_index = i; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()1632 if (channel_index == -1) in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()1637 return channel_index; in _rtl8812ae_phy_get_chnl_idx_of_txpwr_lmt()1648 u8 channel_index; in _rtl8812ae_phy_set_txpower_limit() local1705 channel_index = ret; in _rtl8812ae_phy_set_txpower_limit()1709 [channel_index][RF90_PATH_A]; in _rtl8812ae_phy_set_txpower_limit()1713 [rate_section][channel_index][RF90_PATH_A] = in _rtl8812ae_phy_set_txpower_limit()1718 regulation, bandwidth, rate_section, channel_index, in _rtl8812ae_phy_set_txpower_limit()[all …]
6159 int channel_index = 0; in ipw_add_scan_channels() local6166 int start = channel_index; in ipw_add_scan_channels()6171 channel_index++; in ipw_add_scan_channels()6172 scan->channels_list[channel_index] = geo->a[i].channel; in ipw_add_scan_channels()6173 ipw_set_scan_type(scan, channel_index, in ipw_add_scan_channels()6180 if (start != channel_index) { in ipw_add_scan_channels()6182 (channel_index - start); in ipw_add_scan_channels()6183 channel_index++; in ipw_add_scan_channels()6188 int start = channel_index; in ipw_add_scan_channels()6197 while (channel_index < IPW_SCAN_CHANNELS - 1) { in ipw_add_scan_channels()[all …]
2068 u8 channel_index; /* index in measurement channel list */ member