Home
last modified time | relevance | path

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

12

/linux-6.1.9/sound/soc/intel/skylake/
Dskl-nhlt.c102 int rate_index = 0; in skl_get_ssp_clks() local
192 sclk[id].rate_cfg[rate_index].rate = rate; in skl_get_ssp_clks()
193 sclk[id].rate_cfg[rate_index].config = saved_fmt_cfg; in skl_get_ssp_clks()
194 sclkfs[id].rate_cfg[rate_index].rate = rate; in skl_get_ssp_clks()
195 sclkfs[id].rate_cfg[rate_index].config = saved_fmt_cfg; in skl_get_ssp_clks()
199 rate_index++; in skl_get_ssp_clks()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dcfp.c510 u8 rate_index = 0; in mwifiex_adjust_data_rate() local
514 rate_index = MWIFIEX_RATE_INDEX_MCS0 + in mwifiex_adjust_data_rate()
517 rate_index = MWIFIEX_RATE_INDEX_MCS0 + rx_rate; in mwifiex_adjust_data_rate()
519 rate_index = (rx_rate > MWIFIEX_RATE_INDEX_OFDM0) ? in mwifiex_adjust_data_rate()
522 if (rate_index >= MWIFIEX_MAX_AC_RX_RATES) in mwifiex_adjust_data_rate()
523 rate_index = MWIFIEX_MAX_AC_RX_RATES - 1; in mwifiex_adjust_data_rate()
525 return rate_index; in mwifiex_adjust_data_rate()
/linux-6.1.9/drivers/clk/bcm/
Dclk-iproc-pll.c549 int rate_index, ret; in iproc_pll_set_rate() local
556 rate_index = pll_get_rate_index(pll, rate); in iproc_pll_set_rate()
557 if (rate_index < 0) in iproc_pll_set_rate()
558 return rate_index; in iproc_pll_set_rate()
560 vco_param = pll->vco_param[rate_index]; in iproc_pll_set_rate()
/linux-6.1.9/sound/ppc/
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()
Dpmac.h112 int rate_index; member
Dawacs.c111 chip->awacs_reg[1] |= chip->rate_index << 3; in snd_pmac_awacs_set_format()
/linux-6.1.9/sound/pci/nm256/
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-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dbase.h114 u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index,
Dbase.c696 u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index, in rtl_mrate_idx_to_arfr_id() argument
703 switch (rate_index) { in rtl_mrate_idx_to_arfr_id()
/linux-6.1.9/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()
3302 s32 ath6kl_wmi_get_rate(struct wmi *wmi, s8 rate_index) in ath6kl_wmi_get_rate() argument
3308 if (rate_index == RATE_AUTO) in ath6kl_wmi_get_rate()
3312 if (rate_index & RATE_INDEX_MSB) { in ath6kl_wmi_get_rate()
3313 rate_index &= RATE_INDEX_WITHOUT_SGI_MASK; in ath6kl_wmi_get_rate()
3319 if (WARN_ON(rate_index >= ARRAY_SIZE(wmi_rate_tbl_mcs15))) in ath6kl_wmi_get_rate()
3322 ret = wmi_rate_tbl_mcs15[(u32) rate_index][sgi]; in ath6kl_wmi_get_rate()
3324 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);
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.h174 unsigned int rate_index; member
/linux-6.1.9/drivers/firmware/arm_scmi/
Dclock.c49 __le32 rate_index; member
211 msg->rate_index = cpu_to_le32(desc_index); in iter_clk_describe_prepare_message()
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c1994 u32 rate_index, rate_count = 0, rate_count_diff = 0; in _rtl92e_dm_fsync_timer_callback() local
2003 for (rate_index = 0; rate_index <= 27; rate_index++) { in _rtl92e_dm_fsync_timer_callback()
2004 rate_bitmap = 1 << rate_index; in _rtl92e_dm_fsync_timer_callback()
2008 [rate_index]; in _rtl92e_dm_fsync_timer_callback()
Dr8192E_dev.c1971 u8 rate_index = 0; in rtl92e_update_ratr_table() local
2007 rtl92e_writel(dev, RATR0+rate_index*4, ratr_value); in rtl92e_update_ratr_table()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c1245 int rate_index = ffs(bm) - 1; in rsi_mac80211_set_rate_mask() local
1247 if (rate_index < mcs_offset) in rsi_mac80211_set_rate_mask()
1248 cfg->fixed_hw_rate = rsi_rates[rate_index].hw_value; in rsi_mac80211_set_rate_mask()
1250 cfg->fixed_hw_rate = rsi_mcsrates[rate_index - mcs_offset]; in rsi_mac80211_set_rate_mask()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
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-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
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()

12