Home
last modified time | relevance | path

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

/drivers/net/wireless/marvell/mwifiex/
Dcfp.c524 u8 rate_index = 0; in mwifiex_adjust_data_rate() local
528 rate_index = MWIFIEX_RATE_INDEX_MCS0 + in mwifiex_adjust_data_rate()
531 rate_index = MWIFIEX_RATE_INDEX_MCS0 + rx_rate; in mwifiex_adjust_data_rate()
533 rate_index = (rx_rate > MWIFIEX_RATE_INDEX_OFDM0) ? in mwifiex_adjust_data_rate()
536 return rate_index; in mwifiex_adjust_data_rate()
/drivers/clk/bcm/
Dclk-iproc-pll.c255 static int pll_set_rate(struct iproc_clk *clk, unsigned int rate_index, in pll_set_rate() argument
259 const struct iproc_pll_vco_param *vco = &pll->vco_param[rate_index]; in pll_set_rate()
460 int rate_index, ret; in iproc_pll_set_rate() local
462 rate_index = pll_get_rate_index(pll, rate); in iproc_pll_set_rate()
463 if (rate_index < 0) in iproc_pll_set_rate()
464 return rate_index; in iproc_pll_set_rate()
466 ret = pll_set_rate(clk, rate_index, parent_rate); in iproc_pll_set_rate()
/drivers/net/wireless/ath/ath6kl/
Dwmi.c1210 ath6kl_dbg(ATH6KL_DBG_WMI, "rateindex %d\n", reply->rate_index); in ath6kl_wmi_bitrate_reply_rx()
1212 if (reply->rate_index == (s8) RATE_AUTO) { in ath6kl_wmi_bitrate_reply_rx()
1215 index = reply->rate_index & 0x7f; in ath6kl_wmi_bitrate_reply_rx()
1219 sgi = (reply->rate_index & 0x80) ? 1 : 0; in ath6kl_wmi_bitrate_reply_rx()
3310 s32 ath6kl_wmi_get_rate(struct wmi *wmi, s8 rate_index) in ath6kl_wmi_get_rate() argument
3316 if (rate_index == RATE_AUTO) in ath6kl_wmi_get_rate()
3320 if (rate_index & RATE_INDEX_MSB) { in ath6kl_wmi_get_rate()
3321 rate_index &= RATE_INDEX_WITHOUT_SGI_MASK; in ath6kl_wmi_get_rate()
3327 if (WARN_ON(rate_index >= ARRAY_SIZE(wmi_rate_tbl_mcs15))) in ath6kl_wmi_get_rate()
3330 ret = wmi_rate_tbl_mcs15[(u32) rate_index][sgi]; 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.c2157 u32 rate_index, rate_count = 0, rate_count_diff = 0; in _rtl92e_dm_fsync_timer_callback() local
2166 for (rate_index = 0; rate_index <= 27; rate_index++) { in _rtl92e_dm_fsync_timer_callback()
2167 rate_bitmap = 1 << rate_index; in _rtl92e_dm_fsync_timer_callback()
2171 [rate_index]; in _rtl92e_dm_fsync_timer_callback()
Dr8192E_dev.c2148 u8 rate_index = 0; in rtl92e_update_ratr_table() local
2184 rtl92e_writel(dev, RATR0+rate_index*4, ratr_value); in rtl92e_update_ratr_table()
/drivers/misc/
Dbh1770glc.c216 static int bh1770_lux_rate(struct bh1770_chip *chip, int rate_index) in bh1770_lux_rate() argument
224 rate_index = 0; in bh1770_lux_rate()
228 rate_index); in bh1770_lux_rate()
/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h293 unsigned int rate_index; member
/drivers/staging/rtl8192u/
Dr8192U_dm.c2733 u32 rate_index, rate_count = 0, rate_count_diff = 0; in dm_fsync_timer_callback() local
2743 for (rate_index = 0; rate_index <= 27; rate_index++) { in dm_fsync_timer_callback()
2744 rate_bitmap = 1 << rate_index; in dm_fsync_timer_callback()
2746 rate_count += priv->stats.received_rate_histogram[1][rate_index]; in dm_fsync_timer_callback()
Dr8192U_core.c2020 u8 rate_index = 0; in rtl8192_update_ratr_table() local
2054 write_nic_dword(dev, RATR0 + rate_index * 4, ratr_value); in rtl8192_update_ratr_table()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c426 u8 rate_index = 0; in rtl8723be_set_hw_reg() local
433 rate_index++; in rtl8723be_set_hw_reg()
435 rtl_write_byte(rtlpriv, REG_INIRTS_RATE_SEL, rate_index); in rtl8723be_set_hw_reg()
2257 u8 rate_index) in _rtl8723be_mrate_idx_to_arfr_id() argument
2260 switch (rate_index) { in _rtl8723be_mrate_idx_to_arfr_id()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c195 u8 rate_index = 0; in rtl92de_set_hw_reg() local
206 rate_index++; in rtl92de_set_hw_reg()
210 rate_index); in rtl92de_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c107 u8 rate_index = 0; in rtl92se_set_hw_reg() local
122 rate_index++; in rtl92se_set_hw_reg()
124 rtl_write_byte(rtlpriv, INIRTSMCS_SEL, rate_index); in rtl92se_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1602 u8 rate_index = 0; in rtl92cu_set_hw_reg() local
1616 rate_index++; in rtl92cu_set_hw_reg()
1619 rate_index); in rtl92cu_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c172 u8 rate_index = 0; in rtl8723e_set_hw_reg() local
181 rate_index++; in rtl8723e_set_hw_reg()
184 rate_index); in rtl8723e_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c174 u8 rate_index = 0; in rtl92ce_set_hw_reg() local
182 rate_index++; in rtl92ce_set_hw_reg()
185 rate_index); in rtl92ce_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c385 u8 rate_index = 0; in rtl88ee_set_hw_reg() local
393 rate_index++; in rtl88ee_set_hw_reg()
396 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()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c3383 struct ieee80211_hw *hw, u8 rate_index, in _rtl8821ae_mrate_idx_to_arfr_id() argument
3389 switch (rate_index) { in _rtl8821ae_mrate_idx_to_arfr_id()