/Linux-v6.1/sound/soc/intel/skylake/ |
D | skl-nhlt.c | 102 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-v6.1/drivers/net/wireless/marvell/mwifiex/ |
D | cfp.c | 510 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-v6.1/drivers/clk/bcm/ |
D | clk-iproc-pll.c | 549 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-v6.1/sound/ppc/ |
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()
|
D | pmac.h | 112 int rate_index; member
|
D | awacs.c | 111 chip->awacs_reg[1] |= chip->rate_index << 3; in snd_pmac_awacs_set_format()
|
/Linux-v6.1/sound/pci/nm256/ |
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-v6.1/drivers/net/wireless/realtek/rtlwifi/ |
D | base.h | 114 u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index,
|
D | base.c | 696 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-v6.1/drivers/net/wireless/ath/ath6kl/ |
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() 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 …]
|
D | wmi.h | 2004 s8 rate_index; member 2635 s32 ath6kl_wmi_get_rate(struct wmi *wmi, s8 rate_index);
|
/Linux-v6.1/drivers/staging/rtl8712/ |
D | rtl871x_mp_ioctl.h | 174 unsigned int rate_index; member
|
/Linux-v6.1/drivers/firmware/arm_scmi/ |
D | clock.c | 49 __le32 rate_index; member 211 msg->rate_index = cpu_to_le32(desc_index); in iter_clk_describe_prepare_message()
|
/Linux-v6.1/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_dm.c | 1994 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()
|
D | r8192E_dev.c | 1971 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-v6.1/drivers/misc/ |
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-v6.1/drivers/staging/rtl8192u/ |
D | r8192U_dm.c | 2596 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-v6.1/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 1245 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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 1569 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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
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()
|