/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | cfp.c | 522 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 D | skl-nhlt.c | 205 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 D | clk-iproc-pll.c | 559 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 D | pmac.c | 144 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 D | pmac.h | 111 int rate_index; member
|
A D | awacs.c | 111 chip->awacs_reg[1] |= chip->rate_index << 3; in snd_pmac_awacs_set_format()
|
/linux/sound/pci/nm256/ |
A D | nm256.c | 415 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 D | clock.c | 40 __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 D | base.h | 114 u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index,
|
A D | base.c | 695 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 D | wmi.c | 1211 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 D | wmi.h | 2004 s8 rate_index; member 2635 s32 ath6kl_wmi_get_rate(struct wmi *wmi, s8 rate_index);
|
/linux/drivers/staging/rtl8192e/rtl8192e/ |
A D | rtl_dm.c | 2129 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 D | r8192E_dev.c | 2128 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 D | rtl871x_mp_ioctl.h | 175 unsigned int rate_index; member
|
/linux/drivers/misc/ |
A D | bh1770glc.c | 199 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 D | r8192U_dm.c | 2595 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 D | rsi_91x_mac80211.c | 1243 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 D | hw.c | 405 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 D | hw.c | 168 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 D | hw.c | 146 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 D | hw.c | 1568 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 D | hw.c | 79 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 D | hw.c | 150 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 D | hw.c | 365 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()
|