Home
last modified time | relevance | path

Searched refs:rate_index (Results 1 – 23 of 23) sorted by relevance

/drivers/net/wireless/marvell/mwifiex/
Dcfp.c522 u8 rate_index = 0; in mwifiex_adjust_data_rate() local
526 rate_index = MWIFIEX_RATE_INDEX_MCS0 + in mwifiex_adjust_data_rate()
529 rate_index = MWIFIEX_RATE_INDEX_MCS0 + rx_rate; in mwifiex_adjust_data_rate()
531 rate_index = (rx_rate > MWIFIEX_RATE_INDEX_OFDM0) ? in mwifiex_adjust_data_rate()
534 if (rate_index >= MWIFIEX_MAX_AC_RX_RATES) in mwifiex_adjust_data_rate()
535 rate_index = MWIFIEX_MAX_AC_RX_RATES - 1; in mwifiex_adjust_data_rate()
537 return rate_index; in mwifiex_adjust_data_rate()
/drivers/clk/bcm/
Dclk-iproc-pll.c559 int rate_index, ret; in iproc_pll_set_rate() local
566 rate_index = pll_get_rate_index(pll, rate); in iproc_pll_set_rate()
567 if (rate_index < 0) in iproc_pll_set_rate()
568 return rate_index; in iproc_pll_set_rate()
570 vco_param = pll->vco_param[rate_index]; in iproc_pll_set_rate()
/drivers/firmware/arm_scmi/
Dclock.c40 __le32 rate_index; member
164 clk_desc->rate_index = cpu_to_le32(tot_rate_cnt); in scmi_clock_describe_rates_get()
/drivers/net/wireless/realtek/rtlwifi/
Dbase.h114 u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index,
Dbase.c695 u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index, in rtl_mrate_idx_to_arfr_id() argument
702 switch (rate_index) { in rtl_mrate_idx_to_arfr_id()
/drivers/net/wireless/ath/ath6kl/
Dwmi.c1211 ath6kl_dbg(ATH6KL_DBG_WMI, "rateindex %d\n", reply->rate_index); in ath6kl_wmi_bitrate_reply_rx()
1213 if (reply->rate_index != (s8) RATE_AUTO) { in ath6kl_wmi_bitrate_reply_rx()
1214 index = reply->rate_index & 0x7f; in ath6kl_wmi_bitrate_reply_rx()
3316 s32 ath6kl_wmi_get_rate(struct wmi *wmi, s8 rate_index) in ath6kl_wmi_get_rate() argument
3322 if (rate_index == RATE_AUTO) in ath6kl_wmi_get_rate()
3326 if (rate_index & RATE_INDEX_MSB) { in ath6kl_wmi_get_rate()
3327 rate_index &= RATE_INDEX_WITHOUT_SGI_MASK; in ath6kl_wmi_get_rate()
3333 if (WARN_ON(rate_index >= ARRAY_SIZE(wmi_rate_tbl_mcs15))) in ath6kl_wmi_get_rate()
3336 ret = wmi_rate_tbl_mcs15[(u32) rate_index][sgi]; in ath6kl_wmi_get_rate()
3338 if (WARN_ON(rate_index >= ARRAY_SIZE(wmi_rate_tbl))) in ath6kl_wmi_get_rate()
[all …]
Dwmi.h2004 s8 rate_index; member
2635 s32 ath6kl_wmi_get_rate(struct wmi *wmi, s8 rate_index);
/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c2090 u32 rate_index, rate_count = 0, rate_count_diff = 0; in _rtl92e_dm_fsync_timer_callback() local
2099 for (rate_index = 0; rate_index <= 27; rate_index++) { in _rtl92e_dm_fsync_timer_callback()
2100 rate_bitmap = 1 << rate_index; in _rtl92e_dm_fsync_timer_callback()
2104 [rate_index]; in _rtl92e_dm_fsync_timer_callback()
Dr8192E_dev.c2125 u8 rate_index = 0; in rtl92e_update_ratr_table() local
2161 rtl92e_writel(dev, RATR0+rate_index*4, ratr_value); in rtl92e_update_ratr_table()
/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h175 unsigned int rate_index; member
/drivers/staging/r8188eu/include/
Drtw_mp_ioctl.h151 u32 rate_index; member
/drivers/misc/
Dbh1770glc.c199 static int bh1770_lux_rate(struct bh1770_chip *chip, int rate_index) in bh1770_lux_rate() argument
207 rate_index = 0; in bh1770_lux_rate()
211 rate_index); in bh1770_lux_rate()
/drivers/staging/rtl8192u/
Dr8192U_dm.c2596 u32 rate_index, rate_count = 0, rate_count_diff = 0; in dm_fsync_work_callback() local
2606 for (rate_index = 0; rate_index <= 27; rate_index++) { in dm_fsync_work_callback()
2607 rate_bitmap = 1 << rate_index; in dm_fsync_work_callback()
2609 rate_count += priv->stats.received_rate_histogram[1][rate_index]; in dm_fsync_work_callback()
Dr8192U_core.c1922 u8 rate_index = 0; in rtl8192_update_ratr_table() local
1956 write_nic_dword(dev, RATR0 + rate_index * 4, ratr_value); in rtl8192_update_ratr_table()
/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c1243 int rate_index = ffs(bm) - 1; in rsi_mac80211_set_rate_mask() local
1245 if (rate_index < mcs_offset) in rsi_mac80211_set_rate_mask()
1246 cfg->fixed_hw_rate = rsi_rates[rate_index].hw_value; in rsi_mac80211_set_rate_mask()
1248 cfg->fixed_hw_rate = rsi_mcsrates[rate_index - mcs_offset]; in rsi_mac80211_set_rate_mask()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c409 u8 rate_index = 0; in rtl8723be_set_hw_reg() local
416 rate_index++; in rtl8723be_set_hw_reg()
418 rtl_write_byte(rtlpriv, REG_INIRTS_RATE_SEL, rate_index); in rtl8723be_set_hw_reg()
2282 u8 rate_index) in _rtl8723be_mrate_idx_to_arfr_id() argument
2285 switch (rate_index) { in _rtl8723be_mrate_idx_to_arfr_id()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c168 u8 rate_index = 0; in rtl92de_set_hw_reg() local
179 rate_index++; in rtl92de_set_hw_reg()
183 rate_index); in rtl92de_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c79 u8 rate_index = 0; in rtl92se_set_hw_reg() local
94 rate_index++; in rtl92se_set_hw_reg()
96 rtl_write_byte(rtlpriv, INIRTSMCS_SEL, rate_index); in rtl92se_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c146 u8 rate_index = 0; in rtl92ce_set_hw_reg() local
155 rate_index++; in rtl92ce_set_hw_reg()
158 rate_index); in rtl92ce_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1569 u8 rate_index = 0; in rtl92cu_set_hw_reg() local
1583 rate_index++; in rtl92cu_set_hw_reg()
1586 rate_index); in rtl92cu_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c150 u8 rate_index = 0; in rtl8723e_set_hw_reg() local
159 rate_index++; in rtl8723e_set_hw_reg()
162 rate_index); in rtl8723e_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c369 u8 rate_index = 0; in rtl88ee_set_hw_reg() local
377 rate_index++; in rtl88ee_set_hw_reg()
380 rate_index); in rtl88ee_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c2218 static u8 _rtl92ee_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index) in _rtl92ee_mrate_idx_to_arfr_id() argument
2222 switch (rate_index) { in _rtl92ee_mrate_idx_to_arfr_id()