/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | txrx.h | 25 static inline u8 rtw89_get_data_rate_mode(struct rtw89_dev *rtwdev, u16 hw_rate) in rtw89_get_data_rate_mode() argument 28 return u16_get_bits(hw_rate, DATA_RATE_MODE_CTRL_MASK_V1); in rtw89_get_data_rate_mode() 30 return u16_get_bits(hw_rate, DATA_RATE_MODE_CTRL_MASK); in rtw89_get_data_rate_mode() 33 static inline u8 rtw89_get_data_not_ht_idx(struct rtw89_dev *rtwdev, u16 hw_rate) in rtw89_get_data_not_ht_idx() argument 35 return u16_get_bits(hw_rate, DATA_RATE_NOT_HT_IDX_MASK); in rtw89_get_data_not_ht_idx() 38 static inline u8 rtw89_get_data_ht_mcs(struct rtw89_dev *rtwdev, u16 hw_rate) in rtw89_get_data_ht_mcs() argument 41 return u16_get_bits(hw_rate, DATA_RATE_HT_IDX_MASK_V1); in rtw89_get_data_ht_mcs() 43 return u16_get_bits(hw_rate, DATA_RATE_HT_IDX_MASK); in rtw89_get_data_ht_mcs() 46 static inline u8 rtw89_get_data_mcs(struct rtw89_dev *rtwdev, u16 hw_rate) in rtw89_get_data_mcs() argument 49 return u16_get_bits(hw_rate, DATA_RATE_MCS_MASK_V1); in rtw89_get_data_mcs() [all …]
|
D | coex.c | 6019 if (last_tx_rate != rtwsta->ra_report.hw_rate || in rtw89_btc_ntfy_wl_sta_iter() 6025 link_info_t->tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter() 6038 r->active_role[port].tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter() 6044 r1->active_role_v1[port].tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter() 6049 dm->trx_info.tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
|
D | debug.c | 3273 seq_printf(m, "\t(hw_rate=0x%x)", rtwsta->ra_report.hw_rate); in rtw89_sta_info_get_iter()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | trx.c | 369 set_tx_desc_txht(pdesc, ((ptcb_desc->hw_rate >= in rtl92se_tx_fill_desc() 373 if (ptcb_desc->hw_rate == DESC_RATE1M || in rtl92se_tx_fill_desc() 374 ptcb_desc->hw_rate == DESC_RATE2M || in rtl92se_tx_fill_desc() 375 ptcb_desc->hw_rate == DESC_RATE5_5M || in rtl92se_tx_fill_desc() 376 ptcb_desc->hw_rate == DESC_RATE11M) { in rtl92se_tx_fill_desc() 377 ptcb_desc->hw_rate = DESC_RATE12M; in rtl92se_tx_fill_desc() 381 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl92se_tx_fill_desc()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/ |
D | base.c | 608 if (tcb_desc->hw_rate == rtlpriv->cfg->maps[RTL_RC_CCK_RATE1M]) in _rtl_qurey_shortpreamble_mode() 794 tcb_desc->hw_rate = in _rtl_txrate_selectmode() 878 if (tcb_desc->hw_rate <= rtlpriv->cfg->maps[RTL_RC_OFDM_RATE54M]) in _rtl_query_bandwidth_mode() 894 if (tcb_desc->hw_rate <= in _rtl_query_bandwidth_mode() 906 u8 hw_rate; in _rtl_get_vht_highest_n_rate() local 913 hw_rate = in _rtl_get_vht_highest_n_rate() 917 hw_rate = in _rtl_get_vht_highest_n_rate() 920 hw_rate = in _rtl_get_vht_highest_n_rate() 925 hw_rate = in _rtl_get_vht_highest_n_rate() 929 hw_rate = in _rtl_get_vht_highest_n_rate() [all …]
|
D | wifi.h | 2177 u8 hw_rate; member
|
/linux-6.6.21/drivers/interconnect/qcom/ |
D | osm-l3.c | 164 static unsigned long hw_rate, xo_rate; in qcom_osm_l3_probe() local 186 hw_rate = clk_get_rate(clk) / CLK_HW_DIV; in qcom_osm_l3_probe() 217 freq = hw_rate; in qcom_osm_l3_probe()
|
/linux-6.6.21/sound/soc/sunxi/ |
D | sun8i-codec.c | 259 int hw_rate, i; in sun8i_codec_update_sample_rate() local 272 hw_rate = sun8i_codec_get_hw_rate(max_rate); in sun8i_codec_update_sample_rate() 273 if (hw_rate < 0) in sun8i_codec_update_sample_rate() 274 return hw_rate; in sun8i_codec_update_sample_rate() 278 hw_rate << SUN8I_SYS_SR_CTRL_AIF1_FS); in sun8i_codec_update_sample_rate()
|
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | mac.h | 59 u8 hw_rate, bool cck);
|
D | mac.c | 495 u8 hw_rate, bool cck) in ath12k_mac_hw_rate_to_idx() argument 506 if (rate->hw_value == hw_rate) in ath12k_mac_hw_rate_to_idx() 509 rate->hw_value_short == hw_rate) in ath12k_mac_hw_rate_to_idx() 6477 u8 hw_rate; in ath12k_mac_get_single_legacy_rate() local 6487 hw_rate = ath12k_legacy_rates[rate_idx].hw_value; in ath12k_mac_get_single_legacy_rate() 6496 *rate = ATH12K_HW_RATE_CODE(hw_rate, 0, preamble); in ath12k_mac_get_single_legacy_rate()
|
/linux-6.6.21/drivers/net/wireless/ath/ath10k/ |
D | mac.h | 58 u8 hw_rate, bool cck);
|
D | mac.c | 128 u8 hw_rate, bool cck) in ath10k_mac_hw_rate_to_idx() argument 139 if (rate->hw_value == hw_rate) in ath10k_mac_hw_rate_to_idx() 142 rate->hw_value_short == hw_rate) in ath10k_mac_hw_rate_to_idx() 6917 u8 hw_rate; in ath10k_mac_bitrate_mask_get_single_rate() local 6928 hw_rate = ath10k_wmi_legacy_rates[rate_idx].hw_value; in ath10k_mac_bitrate_mask_get_single_rate() 6939 hw_rate << 0; in ath10k_mac_bitrate_mask_get_single_rate()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | trx.c | 540 if (ptcb_desc->hw_rate < DESC_RATE6M) in rtl92de_tx_fill_desc() 541 ptcb_desc->hw_rate = DESC_RATE6M; in rtl92de_tx_fill_desc() 542 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl92de_tx_fill_desc() 547 ptcb_desc->hw_rate == DESC_RATEMCS7) in rtl92de_tx_fill_desc()
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | mac.h | 147 u8 hw_rate, bool cck);
|
D | mac.c | 538 u8 hw_rate, bool cck) in ath11k_mac_hw_rate_to_idx() argument 549 if (rate->hw_value == hw_rate) in ath11k_mac_hw_rate_to_idx() 552 rate->hw_value_short == hw_rate) in ath11k_mac_hw_rate_to_idx() 7985 u8 hw_rate; in ath11k_mac_get_single_legacy_rate() local 7995 hw_rate = ath11k_legacy_rates[rate_idx].hw_value; in ath11k_mac_get_single_legacy_rate() 8004 *rate = ATH11K_HW_RATE_CODE(hw_rate, 0, preamble); in ath11k_mac_get_single_legacy_rate()
|
/linux-6.6.21/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 274 u8 hw_rate; in add_ie_rates() local 286 hw_rate = lbs_rates[hw].bitrate / 5; in add_ie_rates() 288 if (hw_rate == (ie[ap] & 0x7f)) { in add_ie_rates() 1842 u8 hw_rate = lbs_rates[hw].bitrate / 5; in lbs_ibss_join_existing() local 1844 if (hw_rate == (rates_eid[i+2] & 0x7f)) { in lbs_ibss_join_existing()
|
/linux-6.6.21/drivers/net/wireless/silabs/wfx/ |
D | traces.h | 379 static const int hw_rate[] = { 0, 1, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13 }; 397 __entry->rate[i] = hw_rate[rates[i].idx];
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.c | 472 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl8723be_tx_fill_desc() 473 if (ptcb_desc->hw_rate > DESC92C_RATEMCS0) in rtl8723be_tx_fill_desc()
|
/linux-6.6.21/drivers/net/wireless/ath/ath5k/ |
D | base.c | 716 u16 hw_rate; in ath5k_get_rate_hw_value() local 724 hw_rate = (rc_flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) ? in ath5k_get_rate_hw_value() 727 return hw_rate; in ath5k_get_rate_hw_value() 780 u16 hw_rate; in ath5k_txbuf_setup() local 817 hw_rate = ath5k_get_rate_hw_value(ah->hw, info, bf, 0); in ath5k_txbuf_setup() 845 hw_rate, in ath5k_txbuf_setup()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | trx.c | 547 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl88ee_tx_fill_desc() 548 if (ptcb_desc->hw_rate > DESC92C_RATEMCS0) in rtl88ee_tx_fill_desc()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | trx.c | 726 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl8821ae_tx_fill_desc() 727 if (ptcb_desc->hw_rate > DESC_RATEMCS0) in rtl8821ae_tx_fill_desc()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | trx.c | 398 set_tx_desc_tx_rate(pdesc, tcb_desc->hw_rate); in rtl92ce_tx_fill_desc()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.c | 397 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl8723e_tx_fill_desc()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | trx.c | 499 set_tx_desc_tx_rate(txdesc, tcb_desc->hw_rate); in rtl92cu_tx_fill_desc()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | trx.c | 711 set_tx_desc_tx_rate(pdesc, ptcb_desc->hw_rate); in rtl92ee_tx_fill_desc()
|