Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/marvell/mwifiex/
A 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()
/linux/sound/soc/intel/skylake/
A Dskl-nhlt.c205 int rate_index = 0; in skl_get_ssp_clks() local
280 sclk[id].rate_cfg[rate_index].rate = rate; in skl_get_ssp_clks()
281 sclk[id].rate_cfg[rate_index].config = fmt_cfg; in skl_get_ssp_clks()
282 sclkfs[id].rate_cfg[rate_index].rate = rate; in skl_get_ssp_clks()
283 sclkfs[id].rate_cfg[rate_index].config = fmt_cfg; in skl_get_ssp_clks()
287 rate_index++; in skl_get_ssp_clks()
/linux/drivers/clk/bcm/
A 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()
/linux/sound/ppc/
A Dpmac.c144 out_le32(&chip->awacs->control, chip->control_mask | (chip->rate_index << 8)); in snd_pmac_pcm_set_format()
184 int rate_index; in snd_pmac_pcm_prepare() local
192 rate_index = snd_pmac_rate_index(chip, rec, runtime->rate); in snd_pmac_pcm_prepare()
198 astr->cur_freqs = 1 << rate_index; in snd_pmac_pcm_prepare()
200 chip->rate_index = rate_index; in snd_pmac_pcm_prepare()
A Dpmac.h111 int rate_index; member
A Dawacs.c111 chip->awacs_reg[1] |= chip->rate_index << 3; in snd_pmac_awacs_set_format()
/linux/sound/pci/nm256/
A Dnm256.c415 int rate_index = snd_nm256_fixed_rate(runtime->rate); in snd_nm256_set_format() local
416 unsigned char ratebits = (rate_index << 4) & NM_RATE_MASK; in snd_nm256_set_format()
428 runtime->rate = samplerates[rate_index]; in snd_nm256_set_format()
432 snd_nm256_load_coefficient(chip, 0, rate_index); /* 0 = playback */ in snd_nm256_set_format()
438 snd_nm256_load_coefficient(chip, 1, rate_index); /* 1 = record */ in snd_nm256_set_format()
/linux/drivers/firmware/arm_scmi/
A Dclock.c40 __le32 rate_index; member
164 clk_desc->rate_index = cpu_to_le32(tot_rate_cnt); in scmi_clock_describe_rates_get()
/linux/drivers/net/wireless/realtek/rtlwifi/
A Dbase.h114 u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index,
A 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()
/linux/drivers/net/wireless/ath/ath6kl/
A 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 …]
A Dwmi.h2004 s8 rate_index; member
2635 s32 ath6kl_wmi_get_rate(struct wmi *wmi, s8 rate_index);
/linux/drivers/staging/rtl8192e/rtl8192e/
A Drtl_dm.c2129 u32 rate_index, rate_count = 0, rate_count_diff = 0; in _rtl92e_dm_fsync_timer_callback() local
2138 for (rate_index = 0; rate_index <= 27; rate_index++) { in _rtl92e_dm_fsync_timer_callback()
2139 rate_bitmap = 1 << rate_index; in _rtl92e_dm_fsync_timer_callback()
2143 [rate_index]; in _rtl92e_dm_fsync_timer_callback()
A Dr8192E_dev.c2128 u8 rate_index = 0; in rtl92e_update_ratr_table() local
2164 rtl92e_writel(dev, RATR0+rate_index*4, ratr_value); in rtl92e_update_ratr_table()
/linux/drivers/staging/rtl8712/
A Drtl871x_mp_ioctl.h175 unsigned int rate_index; member
/linux/drivers/misc/
A 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()
/linux/drivers/staging/rtl8192u/
A Dr8192U_dm.c2595 u32 rate_index, rate_count = 0, rate_count_diff = 0; in dm_fsync_timer_callback() local
2605 for (rate_index = 0; rate_index <= 27; rate_index++) { in dm_fsync_timer_callback()
2606 rate_bitmap = 1 << rate_index; in dm_fsync_timer_callback()
2608 rate_count += priv->stats.received_rate_histogram[1][rate_index]; in dm_fsync_timer_callback()
/linux/drivers/net/wireless/rsi/
A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
A Dhw.c405 u8 rate_index = 0; in rtl8723be_set_hw_reg() local
412 rate_index++; in rtl8723be_set_hw_reg()
414 rtl_write_byte(rtlpriv, REG_INIRTS_RATE_SEL, rate_index); in rtl8723be_set_hw_reg()
2278 u8 rate_index) in _rtl8723be_mrate_idx_to_arfr_id() argument
2281 switch (rate_index) { in _rtl8723be_mrate_idx_to_arfr_id()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A Dhw.c1568 u8 rate_index = 0; in rtl92cu_set_hw_reg() local
1582 rate_index++; in rtl92cu_set_hw_reg()
1585 rate_index); in rtl92cu_set_hw_reg()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
A Dhw.c365 u8 rate_index = 0; in rtl88ee_set_hw_reg() local
373 rate_index++; in rtl88ee_set_hw_reg()
376 rate_index); in rtl88ee_set_hw_reg()

Completed in 108 milliseconds

12