Home
last modified time | relevance | path

Searched refs:ch_idx (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-eeprom-parse.c335 int ch_idx; in iwl_eeprom_enh_txp_read_element() local
341 for (ch_idx = 0; ch_idx < n_channels; ch_idx++) { in iwl_eeprom_enh_txp_read_element()
517 int band, ch_idx; in iwl_init_channel_map() local
534 for (ch_idx = 0; ch_idx < eeprom_ch_count; ch_idx++) { in iwl_init_channel_map()
542 eeprom_ch_array[ch_idx], in iwl_init_channel_map()
543 eeprom_ch_info[ch_idx].flags, in iwl_init_channel_map()
583 eeprom_ch_info[ch_idx].flags, in iwl_init_channel_map()
634 for (ch_idx = 0; ch_idx < eeprom_ch_count; ch_idx++) { in iwl_init_channel_map()
637 eeprom_ch_array[ch_idx], in iwl_init_channel_map()
638 &eeprom_ch_info[ch_idx], in iwl_init_channel_map()
[all …]
H A Diwl-nvm-parse.c378 if (ch_idx >= NUM_2GHZ_CHANNELS) in iwl_nl80211_band_from_channel_idx()
388 int ch_idx; in iwl_init_channel_map() local
406 for (ch_idx = 0; ch_idx < num_of_ch; ch_idx++) { in iwl_init_channel_map()
440 nvm_chan[ch_idx], ch_flags); in iwl_init_channel_map()
464 ch_idx, band, in iwl_init_channel_map()
1530 int ch_idx, u16 nvm_flags, in iwl_nvm_get_regdom_bw_flags() argument
1536 if (ch_idx < NUM_2GHZ_CHANNELS && in iwl_nvm_get_regdom_bw_flags()
1573 if (ch_idx >= NUM_2GHZ_CHANNELS) { in iwl_nvm_get_regdom_bw_flags()
1626 int ch_idx; in iwl_parse_nvm_mcc_info() local
1675 for (ch_idx = 0; ch_idx < num_of_ch; ch_idx++) { in iwl_parse_nvm_mcc_info()
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_reset.c3875 for (ch_idx = 0; ch_idx < AR9300_MAX_CHAINS; ch_idx++) { in ar9300_init_cal_internal()
3890 for (ch_idx = 0; ch_idx < AR9300_MAX_CHAINS; ch_idx++) { in ar9300_init_cal_internal()
5810 for (ch_idx = 0; ch_idx < num_chains; ch_idx++) { in ar9300_tx_iq_cal_outlier_detection()
6010 for (ch_idx = 0; ch_idx < AR9300_MAX_CHAINS; ch_idx++) { in ar9300_tx_iq_cal_apply()
6090 for (ch_idx = 0; ch_idx < AR9300_MAX_CHAINS; ch_idx++) { in ar9300_tx_iq_cal_post_proc()
6099 int ch_idx, im; in ar9300_tx_iq_cal_post_proc() local
6126 for (ch_idx = 0; ch_idx < num_chains; ch_idx++) { in ar9300_tx_iq_cal_post_proc()
6157 for (ch_idx = 0; ch_idx < num_chains; ch_idx++) { in ar9300_tx_iq_cal_post_proc()
6214 ch_idx, im, coeff.mag_coeff[ch_idx][im][iqcal_idx-1], in ar9300_tx_iq_cal_post_proc()
6222 for (ch_idx = 0; ch_idx < num_chains; ch_idx++) { in ar9300_tx_iq_cal_post_proc()
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dphy.c1508 int ch_idx; in rtw_channel_to_idx() local
1512 ch_idx = channel - 1; in rtw_channel_to_idx()
1516 for (ch_idx = 0; ch_idx < n_channel; ch_idx++) in rtw_channel_to_idx()
1523 if (ch_idx >= n_channel) in rtw_channel_to_idx()
1526 return ch_idx; in rtw_channel_to_idx()
1535 int ch_idx; in rtw_phy_set_tx_power_limit() local
1539 ch_idx = rtw_channel_to_idx(band, ch); in rtw_phy_set_tx_power_limit()
1602 u8 ch_idx; in rtw_xref_5g_txpwr_lmt_by_ch() local
1604 for (ch_idx = 0; ch_idx < RTW_MAX_CHANNEL_NUM_5G; ch_idx++) in rtw_xref_5g_txpwr_lmt_by_ch()
2030 int ch_idx; in rtw_phy_get_tx_power_limit() local
[all …]
/freebsd/sys/dev/firmware/arm/
H A Dscmi.c303 scmi_req_alloc(struct scmi_softc *sc, enum scmi_chan ch_idx) in scmi_req_alloc() argument
308 rp = sc->trs->chans[ch_idx]; in scmi_req_alloc()
323 scmi_req_free_unlocked(struct scmi_softc *sc, enum scmi_chan ch_idx, in scmi_req_free_unlocked() argument
328 rp = sc->trs->chans[ch_idx]; in scmi_req_free_unlocked()
/freebsd/sys/contrib/dev/rtw89/
H A Dphy.c1661 u8 ch_idx = rtw89_channel_to_idx(rtwdev, band, ch); in rtw89_phy_read_txpwr_limit() local
1668 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit()
1672 lmt = (*rule_2ghz->lmt)[bw][ntx][rs][bf][RTW89_WW][ch_idx]; in rtw89_phy_read_txpwr_limit()
1675 lmt = (*rule_5ghz->lmt)[bw][ntx][rs][bf][regd][ch_idx]; in rtw89_phy_read_txpwr_limit()
1688 [ch_idx]; in rtw89_phy_read_txpwr_limit()
1916 u8 ch_idx = rtw89_channel_to_idx(rtwdev, band, ch); in rtw89_phy_read_txpwr_limit_ru() local
1923 lmt_ru = (*rule_2ghz->lmt_ru)[ru][ntx][regd][ch_idx]; in rtw89_phy_read_txpwr_limit_ru()
1927 lmt_ru = (*rule_2ghz->lmt_ru)[ru][ntx][RTW89_WW][ch_idx]; in rtw89_phy_read_txpwr_limit_ru()
1930 lmt_ru = (*rule_5ghz->lmt_ru)[ru][ntx][regd][ch_idx]; in rtw89_phy_read_txpwr_limit_ru()
1934 lmt_ru = (*rule_5ghz->lmt_ru)[ru][ntx][RTW89_WW][ch_idx]; in rtw89_phy_read_txpwr_limit_ru()
[all …]
H A Drtw8852b_rfk.c3580 u8 ch_idx = _tssi_ch_to_idx(rtwdev, channel); in _tssi_alimentk() local
3595 if (tssi_info->check_backup_aligmk[path][ch_idx]) { in _tssi_alimentk()
3597 tssi_info->alignment_backup_by_ch[path][ch_idx][0]); in _tssi_alimentk()
3599 tssi_info->alignment_backup_by_ch[path][ch_idx][1]); in _tssi_alimentk()
3601 tssi_info->alignment_backup_by_ch[path][ch_idx][2]); in _tssi_alimentk()
3603 tssi_info->alignment_backup_by_ch[path][ch_idx][3]); in _tssi_alimentk()
3704 tssi_info->check_backup_aligmk[path][ch_idx] = true; in _tssi_alimentk()
3705 tssi_info->alignment_backup_by_ch[path][ch_idx][0] = in _tssi_alimentk()
3707 tssi_info->alignment_backup_by_ch[path][ch_idx][1] = in _tssi_alimentk()
3709 tssi_info->alignment_backup_by_ch[path][ch_idx][2] = in _tssi_alimentk()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dscan.c1532 int ch_idx, bitmap_idx; in iwl_mvm_scan_ch_add_n_aps_override() local
1534 ch_idx = iwl_mvm_scan_ch_and_band_to_idx(ch_id, band); in iwl_mvm_scan_ch_add_n_aps_override()
1535 if (ch_idx < 0) in iwl_mvm_scan_ch_add_n_aps_override()
1538 bitmap_idx = ch_idx / 8; in iwl_mvm_scan_ch_add_n_aps_override()
1542 ch_idx = ch_idx % 8; in iwl_mvm_scan_ch_add_n_aps_override()
1543 ch_bitmap[bitmap_idx] |= BIT(ch_idx); in iwl_mvm_scan_ch_add_n_aps_override()
/freebsd/sys/dev/iwm/
H A Dif_iwm.c1939 int maxchans, int *nchans, int ch_idx, size_t ch_num, in iwm_add_channel_band() argument
1948 for (; ch_idx < ch_num; ch_idx++) { in iwm_add_channel_band()
1949 ch_flags = le16_to_cpup(nvm_ch_flags + ch_idx); in iwm_add_channel_band()
1951 ieee = iwm_nvm_channels[ch_idx]; in iwm_add_channel_band()
1953 ieee = iwm_nvm_channels_8000[ch_idx]; in iwm_add_channel_band()
1959 (ch_idx >= IWM_NUM_2GHZ_CHANNELS) ? in iwm_add_channel_band()
1973 (ch_idx >= IWM_NUM_2GHZ_CHANNELS) ? in iwm_add_channel_band()