Home
last modified time | relevance | path

Searched refs:rate (Results 751 - 775 of 3931) sorted by relevance

1...<<31323334353637383940>>...158

/kernel/linux/linux-6.6/drivers/clk/qcom/
H A Dcommon.c27 struct freq_tbl *qcom_find_freq(const struct freq_tbl *f, unsigned long rate) in qcom_find_freq() argument
36 if (rate <= f->freq) in qcom_find_freq()
39 /* Default to our fastest rate */ in qcom_find_freq()
45 unsigned long rate) in qcom_find_freq_floor()
50 if (rate >= f->freq) in qcom_find_freq_floor()
127 * clk as a fixed rate clock if it isn't present.
130 const char *name, unsigned long rate, in _qcom_cc_register_board_clk()
151 fixed->fixed_rate = rate; in _qcom_cc_register_board_clk()
186 const char *name, unsigned long rate) in qcom_cc_register_board_clk()
196 return _qcom_cc_register_board_clk(dev, path, name, rate, add_facto in qcom_cc_register_board_clk()
44 qcom_find_freq_floor(const struct freq_tbl *f, unsigned long rate) qcom_find_freq_floor() argument
129 _qcom_cc_register_board_clk(struct device *dev, const char *path, const char *name, unsigned long rate, bool add_factor) _qcom_cc_register_board_clk() argument
185 qcom_cc_register_board_clk(struct device *dev, const char *path, const char *name, unsigned long rate) qcom_cc_register_board_clk() argument
[all...]
/kernel/linux/linux-6.6/drivers/clk/nuvoton/
H A Dclk-ma35d1-pll.c123 static int ma35d1_pll_find_closest(struct ma35d1_clk_pll *pll, unsigned long rate, in ma35d1_pll_find_closest() argument
132 if (rate < PLL_FCLKO_MIN_FREQ || rate > PLL_FCLKO_MAX_FREQ) in ma35d1_pll_find_closest()
167 diff = abs(rate - fout); in ma35d1_pll_find_closest()
185 static int ma35d1_clk_pll_set_rate(struct clk_hw *hw, unsigned long rate, in ma35d1_clk_pll_set_rate() argument
196 ret = ma35d1_pll_find_closest(pll, rate, parent_rate, reg_ctl, &pll_freq); in ma35d1_clk_pll_set_rate()
247 static long ma35d1_clk_pll_round_rate(struct clk_hw *hw, unsigned long rate, in ma35d1_clk_pll_round_rate() argument
258 ret = ma35d1_pll_find_closest(pll, rate, *parent_rate, reg_ctl, &pll_freq); in ma35d1_clk_pll_round_rate()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/
H A Dtx.c46 * As a work-around encode the desired rate in PKT_ID of TX descriptor
47 * and based on that guess the retries (every rate is tried once).
55 static u8 mt7601u_tx_pktid_enc(struct mt7601u_dev *dev, u8 rate, bool is_probe) in mt7601u_tx_pktid_enc() argument
57 u8 encoded = (rate + 1) + is_probe * 8; in mt7601u_tx_pktid_enc()
64 if (is_probe && rate == 7) in mt7601u_tx_pktid_enc()
74 u8 eff_rate = stat->rate & 0x7; in mt7601u_tx_pktid_dec()
135 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in mt7601u_push_txwi() local
151 if (rate->idx < 0 || !rate->count) in mt7601u_push_txwi()
154 rate_ctl = mt76_mac_tx_rate_val(dev, rate, in mt7601u_push_txwi()
[all...]
/kernel/linux/linux-6.6/sound/mips/
H A Dsnd-n64.c212 u32 rate; in n64audio_pcm_prepare() local
214 rate = ((2 * AI_NTSC_DACRATE / runtime->rate) + 1) / 2 - 1; in n64audio_pcm_prepare()
216 n64audio_write_reg(priv, AI_RATE_REG, rate); in n64audio_pcm_prepare()
218 rate /= 66; in n64audio_pcm_prepare()
219 if (rate > 16) in n64audio_pcm_prepare()
220 rate = 16; in n64audio_pcm_prepare()
221 n64audio_write_reg(priv, AI_BITCLOCK_REG, rate - 1); in n64audio_pcm_prepare()
/kernel/linux/linux-6.6/sound/soc/intel/avs/boards/
H A Dnau8825.c120 struct snd_interval *rate, *channels; in avs_nau8825_be_fixup() local
123 rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in avs_nau8825_be_fixup()
127 /* The ADSP will convert the FE rate to 48k, stereo */ in avs_nau8825_be_fixup()
128 rate->min = rate->max = 48000; in avs_nau8825_be_fixup()
153 ret = snd_soc_dai_set_pll(codec_dai, 0, 0, runtime->rate, runtime->rate * 256); in avs_nau8825_trigger()
159 ret = snd_soc_dai_set_pll(codec_dai, 0, 0, runtime->rate, runtime->rate * 256); in avs_nau8825_trigger()
/kernel/linux/linux-5.10/drivers/devfreq/
H A Dtegra30-devfreq.c531 * consecutive watermark in accordance to the actual clock rate in tegra_actmon_resume()
538 "Failed to register rate change notifier\n"); in tegra_actmon_resume()
558 "Failed to register rate change notifier: %d\n", err); in tegra_actmon_resume()
618 unsigned long rate; in tegra_devfreq_target() local
626 rate = dev_pm_opp_get_freq(opp); in tegra_devfreq_target()
629 err = clk_set_min_rate(tegra->emc_clock, rate * KHZ); in tegra_devfreq_target()
780 long rate; in tegra_devfreq_probe() local
838 rate = clk_round_rate(tegra->emc_clock, ULONG_MAX); in tegra_devfreq_probe()
839 if (rate < 0) { in tegra_devfreq_probe()
840 dev_err(&pdev->dev, "Failed to round clock rate in tegra_devfreq_probe()
[all...]
/kernel/linux/linux-5.10/sound/pci/ice1712/
H A Dquartet.c218 * Initial setup of the conversion array GPIO <-> rate
335 * change the rate of AK4620
337 static void qtet_akm_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) in qtet_akm_set_rate_val() argument
341 if (rate == 0) /* no hint - S/PDIF input is master or the new spdif in qtet_akm_set_rate_val()
342 input rate undetected, simply return */ in qtet_akm_set_rate_val()
346 if (rate > 108000) in qtet_akm_set_rate_val()
348 else if (rate > 54000) in qtet_akm_set_rate_val()
836 static int get_cks_val(int rate) in get_cks_val() argument
840 if (qtet_rates[i] == rate) in get_cks_val()
845 /* setting new rate */
846 qtet_set_rate(struct snd_ice1712 *ice, unsigned int rate) qtet_set_rate() argument
862 qtet_set_mclk(struct snd_ice1712 *ice, unsigned int rate) qtet_set_mclk() argument
932 int rate; qtet_ak4113_change() local
952 int rate; qtet_spdif_in_open() local
[all...]
/kernel/linux/linux-5.10/sound/aoa/soundbus/i2sbus/
H A Dpcm.c34 static int clock_and_divisors(int mclk, int sclk, int rate, int *out) in clock_and_divisors() argument
43 if (I2S_CLOCK_SPEED_18MHz % (rate * mclk) == 0) { in clock_and_divisors()
44 if (!i2s_sf_mclkdiv(I2S_CLOCK_SPEED_18MHz / (rate * mclk), out)) { in clock_and_divisors()
49 if (I2S_CLOCK_SPEED_45MHz % (rate * mclk) == 0) { in clock_and_divisors()
50 if (!i2s_sf_mclkdiv(I2S_CLOCK_SPEED_45MHz / (rate * mclk), out)) { in clock_and_divisors()
55 if (I2S_CLOCK_SPEED_49MHz % (rate * mclk) == 0) { in clock_and_divisors()
56 if (!i2s_sf_mclkdiv(I2S_CLOCK_SPEED_49MHz / (rate * mclk), out)) { in clock_and_divisors()
64 #define CHECK_RATE(rate) \
65 do { if (rates & SNDRV_PCM_RATE_ ##rate) { \
68 bus_factor, rate,
[all...]
/kernel/linux/linux-6.6/sound/aoa/soundbus/i2sbus/
H A Dpcm.c34 static int clock_and_divisors(int mclk, int sclk, int rate, int *out) in clock_and_divisors() argument
43 if (I2S_CLOCK_SPEED_18MHz % (rate * mclk) == 0) { in clock_and_divisors()
44 if (!i2s_sf_mclkdiv(I2S_CLOCK_SPEED_18MHz / (rate * mclk), out)) { in clock_and_divisors()
49 if (I2S_CLOCK_SPEED_45MHz % (rate * mclk) == 0) { in clock_and_divisors()
50 if (!i2s_sf_mclkdiv(I2S_CLOCK_SPEED_45MHz / (rate * mclk), out)) { in clock_and_divisors()
55 if (I2S_CLOCK_SPEED_49MHz % (rate * mclk) == 0) { in clock_and_divisors()
56 if (!i2s_sf_mclkdiv(I2S_CLOCK_SPEED_49MHz / (rate * mclk), out)) { in clock_and_divisors()
64 #define CHECK_RATE(rate) \
65 do { if (rates & SNDRV_PCM_RATE_ ##rate) { \
68 bus_factor, rate,
[all...]
/kernel/linux/linux-6.6/sound/pci/ice1712/
H A Dquartet.c218 * Initial setup of the conversion array GPIO <-> rate
335 * change the rate of AK4620
337 static void qtet_akm_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) in qtet_akm_set_rate_val() argument
341 if (rate == 0) /* no hint - S/PDIF input is master or the new spdif in qtet_akm_set_rate_val()
342 input rate undetected, simply return */ in qtet_akm_set_rate_val()
346 if (rate > 108000) in qtet_akm_set_rate_val()
348 else if (rate > 54000) in qtet_akm_set_rate_val()
818 static int get_cks_val(int rate) in get_cks_val() argument
822 if (qtet_rates[i] == rate) in get_cks_val()
827 /* setting new rate */
828 qtet_set_rate(struct snd_ice1712 *ice, unsigned int rate) qtet_set_rate() argument
844 qtet_set_mclk(struct snd_ice1712 *ice, unsigned int rate) qtet_set_mclk() argument
914 int rate; qtet_ak4113_change() local
934 int rate; qtet_spdif_in_open() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dphy.c1171 enum band_type band, u8 rate) in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1176 switch (rate) { in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1219 "Wrong rate 0x%x to obtain index in 2.4G in PHY_GetTxPowerByRateBaseIndex()\n", in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1220 rate); in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1224 switch (rate) { in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1286 "Wrong rate 0x%x to obtain index in 5G in PHY_GetTxPowerByRateBaseIndex()\n", in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1287 rate); in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1774 const char *rate = array[i+3]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local
1780 bandwidth, rate, rf_path, in _rtl8821ae_phy_read_and_config_txpwr_lmt()
2226 static s8 _rtl8821ae_phy_get_ratesection_intxpower_byrate(u8 path, u8 rate) in _rtl8821ae_phy_get_ratesection_intxpower_byrate() argument
1170 _rtl8812ae_phy_get_txpower_by_rate_base_index(struct ieee80211_hw *hw, enum band_type band, u8 rate) _rtl8812ae_phy_get_txpower_by_rate_base_index() argument
2322 _rtl8812ae_phy_get_txpower_limit(struct ieee80211_hw *hw, u8 band, enum ht_channel_width bandwidth, enum radio_path rf_path, u8 rate, u8 channel) _rtl8812ae_phy_get_txpower_limit() argument
2490 _rtl8821ae_phy_get_txpower_by_rate(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate) _rtl8821ae_phy_get_txpower_by_rate() argument
2601 _rtl8821ae_get_txpower_index(struct ieee80211_hw *hw, u8 path, u8 rate, u8 bandwidth, u8 channel) _rtl8821ae_get_txpower_index() argument
2728 _rtl8821ae_phy_set_txpower_index(struct ieee80211_hw *hw, u8 power_index, u8 path, u8 rate) _rtl8821ae_phy_set_txpower_index() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dphy.c1170 enum band_type band, u8 rate) in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1175 switch (rate) { in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1218 "Wrong rate 0x%x to obtain index in 2.4G in PHY_GetTxPowerByRateBaseIndex()\n", in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1219 rate); in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1223 switch (rate) { in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1285 "Wrong rate 0x%x to obtain index in 5G in PHY_GetTxPowerByRateBaseIndex()\n", in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1286 rate); in _rtl8812ae_phy_get_txpower_by_rate_base_index()
1773 const char *rate = array[i+3]; in _rtl8821ae_phy_read_and_config_txpwr_lmt() local
1779 bandwidth, rate, rf_path, in _rtl8821ae_phy_read_and_config_txpwr_lmt()
2222 static s8 _rtl8821ae_phy_get_ratesection_intxpower_byrate(u8 path, u8 rate) in _rtl8821ae_phy_get_ratesection_intxpower_byrate() argument
1169 _rtl8812ae_phy_get_txpower_by_rate_base_index(struct ieee80211_hw *hw, enum band_type band, u8 rate) _rtl8812ae_phy_get_txpower_by_rate_base_index() argument
2318 _rtl8812ae_phy_get_txpower_limit(struct ieee80211_hw *hw, u8 band, enum ht_channel_width bandwidth, enum radio_path rf_path, u8 rate, u8 channel) _rtl8812ae_phy_get_txpower_limit() argument
2487 _rtl8821ae_phy_get_txpower_by_rate(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate) _rtl8821ae_phy_get_txpower_by_rate() argument
2598 _rtl8821ae_get_txpower_index(struct ieee80211_hw *hw, u8 path, u8 rate, u8 bandwidth, u8 channel) _rtl8821ae_get_txpower_index() argument
2725 _rtl8821ae_phy_set_txpower_index(struct ieee80211_hw *hw, u8 power_index, u8 path, u8 rate) _rtl8821ae_phy_set_txpower_index() argument
[all...]
/kernel/linux/linux-5.10/drivers/clocksource/
H A Dingenic-timer.c147 unsigned long rate; in ingenic_tcu_setup_cevt() local
158 rate = clk_get_rate(timer->clk); in ingenic_tcu_setup_cevt()
159 if (!rate) { in ingenic_tcu_setup_cevt()
191 clockevents_config_and_register(&timer->cevt, rate, 10, 0xffff); in ingenic_tcu_setup_cevt()
209 unsigned long rate; in ingenic_tcu_clocksource_init() local
220 rate = clk_get_rate(tcu->cs_clk); in ingenic_tcu_clocksource_init()
221 if (!rate) { in ingenic_tcu_clocksource_init()
243 err = clocksource_register_hz(cs, rate); in ingenic_tcu_clocksource_init()
281 long rate; in ingenic_tcu_init() local
345 rate in ingenic_tcu_init()
[all...]
/kernel/linux/linux-5.10/drivers/clk/
H A Dclk-cs2000-cp.c300 static long cs2000_round_rate(struct clk_hw *hw, unsigned long rate, in cs2000_round_rate() argument
305 ratio = cs2000_rate_to_ratio(*parent_rate, rate); in cs2000_round_rate()
311 unsigned long rate, unsigned long parent_rate) in __cs2000_set_rate()
320 ret = cs2000_ratio_set(priv, ch, parent_rate, rate); in __cs2000_set_rate()
328 priv->saved_rate = rate; in __cs2000_set_rate()
335 unsigned long rate, unsigned long parent_rate) in cs2000_set_rate()
340 return __cs2000_set_rate(priv, ch, rate, parent_rate); in cs2000_set_rate()
425 int rate; in cs2000_clk_register() local
431 * set default rate as 1/1. in cs2000_clk_register()
433 * is never called if user requests 1/1 rate in cs2000_clk_register()
310 __cs2000_set_rate(struct cs2000_priv *priv, int ch, unsigned long rate, unsigned long parent_rate) __cs2000_set_rate() argument
334 cs2000_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) cs2000_set_rate() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh174 matchall skip_sw action sample rate 100 group 1
180 matchall skip_sw action sample rate 100 group 1
240 matchall_behind_flower_ingress_test "sample" "sample rate 100 group 1"
300 action police rate 0.5kbit burst 1m conform-exceed drop/ok
301 check_fail $? "Incorrect success to add police action with too low rate"
305 action police rate 2.5tbit burst 1g conform-exceed drop/ok
306 check_fail $? "Incorrect success to add police action with too high rate"
310 action police rate 1.5kbit burst 1m conform-exceed drop/ok
311 check_err $? "Failed to add police action with low rate"
317 action police rate 1.
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
H A Dpcu.c71 * based on current tx rate instead of the base rate.
75 * rate -> duration table. This mapping is hw-based so
79 * ah->ah_ack_bitrate_high to true else base rate is
106 * @rate: The @struct ieee80211_rate
109 * Calculate tx duration of a frame given it's rate and length
115 int len, struct ieee80211_rate *rate, bool shortpre) in ath5k_hw_get_frame_duration()
124 NULL, band, len, rate); in ath5k_hw_get_frame_duration()
134 bitrate = rate->bitrate; in ath5k_hw_get_frame_duration()
162 /* Bit rate i in ath5k_hw_get_frame_duration()
114 ath5k_hw_get_frame_duration(struct ath5k_hw *ah, enum nl80211_band band, int len, struct ieee80211_rate *rate, bool shortpre) ath5k_hw_get_frame_duration() argument
280 struct ieee80211_rate *rate; ath5k_hw_write_rate_duration() local
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dssm4567.c203 unsigned int rate = params_rate(params); in ssm4567_hw_params() local
206 if (rate >= 8000 && rate <= 12000) in ssm4567_hw_params()
208 else if (rate >= 16000 && rate <= 24000) in ssm4567_hw_params()
210 else if (rate >= 32000 && rate <= 48000) in ssm4567_hw_params()
212 else if (rate >= 64000 && rate <= 96000) in ssm4567_hw_params()
214 else if (rate > in ssm4567_hw_params()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_matchall.c93 bool enable, u32 rate) in mlxsw_sp_mall_port_sample_set()
98 mlxsw_reg_mpsc_pack(mpsc_pl, mlxsw_sp_port->local_port, enable, rate); in mlxsw_sp_mall_port_sample_set()
278 mall_entry->sample.params.rate = act->sample.rate; in mlxsw_sp_mall_replace()
384 u32 rate = mall_entry->sample.params.rate; in mlxsw_sp1_mall_sample_add() local
391 if (rate > MLXSW_REG_MPSC_RATE_MAX) { in mlxsw_sp1_mall_sample_add()
392 NL_SET_ERR_MSG(extack, "Unsupported sampling rate"); in mlxsw_sp1_mall_sample_add()
396 return mlxsw_sp_mall_port_sample_set(mlxsw_sp_port, true, rate); in mlxsw_sp1_mall_sample_add()
421 u32 rate in mlxsw_sp2_mall_sample_add() local
92 mlxsw_sp_mall_port_sample_set(struct mlxsw_sp_port *mlxsw_sp_port, bool enable, u32 rate) mlxsw_sp_mall_port_sample_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/clk/ingenic/
H A Dtcu.c170 static u8 ingenic_tcu_get_prescale(unsigned long rate, unsigned long req_rate) in ingenic_tcu_get_prescale() argument
175 if ((rate >> (prescale * 2)) <= req_rate) in ingenic_tcu_get_prescale()
184 unsigned long rate = req->best_parent_rate; in ingenic_tcu_determine_rate() local
187 if (req->rate > rate) { in ingenic_tcu_determine_rate()
188 req->rate = rate; in ingenic_tcu_determine_rate()
192 prescale = ingenic_tcu_get_prescale(rate, req->rate); in ingenic_tcu_determine_rate()
194 req->rate in ingenic_tcu_determine_rate()
[all...]
/kernel/linux/linux-6.6/drivers/clk/starfive/
H A Dclk-starfive-jh7110-pll.c14 * Fref: OSC source clock rate
304 unsigned long rate; in jh7110_pll_recalc_rate() local
312 * rate = parent * (fbdiv + frac/2^24) / prediv / 2^postdiv1 in jh7110_pll_recalc_rate()
316 rate = parent_rate * val.frac / (1UL << 24); in jh7110_pll_recalc_rate()
318 rate = 0; in jh7110_pll_recalc_rate()
322 rate += parent_rate * val.fbdiv; in jh7110_pll_recalc_rate()
323 rate /= val.prediv << val.postdiv1; in jh7110_pll_recalc_rate()
325 return rate; in jh7110_pll_recalc_rate()
335 /* if the parent rate doesn't match our expectations the presets won't work */ in jh7110_pll_determine_rate()
337 req->rate in jh7110_pll_determine_rate()
355 jh7110_pll_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) jh7110_pll_set_rate() argument
[all...]
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dingenic-timer.c146 unsigned long rate; in ingenic_tcu_setup_cevt() local
157 rate = clk_get_rate(timer->clk); in ingenic_tcu_setup_cevt()
158 if (!rate) { in ingenic_tcu_setup_cevt()
190 clockevents_config_and_register(&timer->cevt, rate, 10, 0xffff); in ingenic_tcu_setup_cevt()
208 unsigned long rate; in ingenic_tcu_clocksource_init() local
219 rate = clk_get_rate(tcu->cs_clk); in ingenic_tcu_clocksource_init()
220 if (!rate) { in ingenic_tcu_clocksource_init()
242 err = clocksource_register_hz(cs, rate); in ingenic_tcu_clocksource_init()
281 long rate; in ingenic_tcu_init() local
345 rate in ingenic_tcu_init()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/
H A Dpcu.c71 * based on current tx rate instead of the base rate.
75 * rate -> duration table. This mapping is hw-based so
79 * ah->ah_ack_bitrate_high to true else base rate is
106 * @rate: The @struct ieee80211_rate
109 * Calculate tx duration of a frame given it's rate and length
115 int len, struct ieee80211_rate *rate, bool shortpre) in ath5k_hw_get_frame_duration()
124 NULL, band, len, rate); in ath5k_hw_get_frame_duration()
134 bitrate = rate->bitrate; in ath5k_hw_get_frame_duration()
162 /* Bit rate i in ath5k_hw_get_frame_duration()
114 ath5k_hw_get_frame_duration(struct ath5k_hw *ah, enum nl80211_band band, int len, struct ieee80211_rate *rate, bool shortpre) ath5k_hw_get_frame_duration() argument
280 struct ieee80211_rate *rate; ath5k_hw_write_rate_duration() local
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dssm4567.c203 unsigned int rate = params_rate(params); in ssm4567_hw_params() local
206 if (rate >= 8000 && rate <= 12000) in ssm4567_hw_params()
208 else if (rate >= 16000 && rate <= 24000) in ssm4567_hw_params()
210 else if (rate >= 32000 && rate <= 48000) in ssm4567_hw_params()
212 else if (rate >= 64000 && rate <= 96000) in ssm4567_hw_params()
214 else if (rate > in ssm4567_hw_params()
[all...]
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh3/
H A Dclock-sh7712.c26 clk->rate *= multipliers[idx]; in master_clk_init()
38 return clk->parent->rate / divisors[idx]; in module_clk_recalc()
50 return clk->parent->rate / divisors[idx]; in cpu_clk_recalc()
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh3/
H A Dclock-sh7712.c26 clk->rate *= multipliers[idx]; in master_clk_init()
38 return clk->parent->rate / divisors[idx]; in module_clk_recalc()
50 return clk->parent->rate / divisors[idx]; in cpu_clk_recalc()

Completed in 30 milliseconds

1...<<31323334353637383940>>...158