Home
last modified time | relevance | path

Searched defs:rate (Results 1 – 25 of 1280) sorted by relevance

12345678910>>...52

/linux/arch/arm/mach-omap1/
H A Dclock.c138 static int calc_dsor_exp(unsigned long rate, unsigned long realrate) in calc_dsor_exp()
230 int omap1_select_table_rate(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_select_table_rate()
265 int omap1_clk_set_rate_dsp_domain(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_clk_set_rate_dsp_domain()
285 long omap1_clk_round_rate_ckctl_arm(struct omap1_clk *clk, unsigned long rate, in omap1_clk_round_rate_ckctl_arm()
297 int omap1_clk_set_rate_ckctl_arm(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_clk_set_rate_ckctl_arm()
324 long omap1_round_to_table_rate(struct omap1_clk *clk, unsigned long rate, unsigned long *p_rate) in omap1_round_to_table_rate()
352 static unsigned calc_ext_dsor(unsigned long rate) in calc_ext_dsor()
375 long omap1_round_uart_rate(struct omap1_clk *clk, unsigned long rate, unsigned long *p_rate) in omap1_round_uart_rate()
380 int omap1_set_uart_rate(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_set_uart_rate()
406 int omap1_set_ext_clk_rate(struct omap1_clk *clk, unsigned long rate, unsigned long p_rate) in omap1_set_ext_clk_rate()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-synquacer.c22 #define WAIT_PCLK(n, rate) \ argument
66 #define SYNQUACER_I2C_BUS_CLK_FR(rate) (((rate) / 20000000) + 1) argument
69 #define SYNQUACER_I2C_CLK_MASTER_STD(rate) \ argument
72 #define SYNQUACER_I2C_CLK_MASTER_FAST(rate) \ argument
77 #define SYNQUACER_I2C_CCR_CS_STD_MAX_18M(rate) \ argument
82 #define SYNQUACER_I2C_CSR_CS_STD_MAX_18M(rate) 0x00 argument
85 #define SYNQUACER_I2C_CCR_CS_FAST_MAX_18M(rate) \ argument
90 #define SYNQUACER_I2C_CSR_CS_FAST_MAX_18M(rate) 0x00 argument
94 #define SYNQUACER_I2C_CCR_CS_STD_MIN_18M(rate) \ argument
99 #define SYNQUACER_I2C_CSR_CS_STD_MIN_18M(rate) \ argument
[all …]
/linux/drivers/clk/actions/
H A Dowl-factor.c44 unsigned long rate, unsigned long parent_rate) in _get_table_val()
67 struct clk_hw *hw, unsigned long rate, in owl_clk_val_best()
121 unsigned long rate, in owl_factor_helper_round_rate()
133 static long owl_factor_round_rate(struct clk_hw *hw, unsigned long rate, in owl_factor_round_rate()
148 unsigned long long int rate; in owl_factor_helper_recalc_rate() local
185 unsigned long rate, in owl_factor_helper_set_rate()
205 static int owl_factor_set_rate(struct clk_hw *hw, unsigned long rate, in owl_factor_set_rate()
H A Dowl-composite.c60 long rate; in owl_comp_div_determine_rate() local
80 static int owl_comp_div_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_div_set_rate()
93 long rate; in owl_comp_fact_determine_rate() local
115 static int owl_comp_fact_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fact_set_rate()
125 static long owl_comp_fix_fact_round_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fix_fact_round_rate()
144 static int owl_comp_fix_fact_set_rate(struct clk_hw *hw, unsigned long rate, in owl_comp_fix_fact_set_rate()
H A Dowl-divider.c18 unsigned long rate, in owl_divider_helper_round_rate()
26 static long owl_divider_round_rate(struct clk_hw *hw, unsigned long rate, in owl_divider_round_rate()
63 unsigned long rate, in owl_divider_helper_set_rate()
81 static int owl_divider_set_rate(struct clk_hw *hw, unsigned long rate, in owl_divider_set_rate()
/linux/sound/firewire/motu/
H A Dmotu-protocol-v1.c125 static void parse_clock_rate_828(u32 data, unsigned int *rate) in parse_clock_rate_828()
133 static int get_clock_rate_828(struct snd_motu *motu, unsigned int *rate) in get_clock_rate_828()
146 static int parse_clock_rate_896(u32 data, unsigned int *rate) in parse_clock_rate_896()
168 static int get_clock_rate_896(struct snd_motu *motu, unsigned int *rate) in get_clock_rate_896()
179 int snd_motu_protocol_v1_get_clock_rate(struct snd_motu *motu, unsigned int *rate) in snd_motu_protocol_v1_get_clock_rate()
189 static int set_clock_rate_828(struct snd_motu *motu, unsigned int rate) in set_clock_rate_828()
208 static int set_clock_rate_896(struct snd_motu *motu, unsigned int rate) in set_clock_rate_896()
244 int snd_motu_protocol_v1_set_clock_rate(struct snd_motu *motu, unsigned int rate) in snd_motu_protocol_v1_set_clock_rate()
/linux/drivers/clk/sophgo/
H A Dclk-cv18xx-ip.c48 static long gate_round_rate(struct clk_hw *hw, unsigned long rate, in gate_round_rate()
54 static int gate_set_rate(struct clk_hw *hw, unsigned long rate, in gate_set_rate()
155 unsigned long rate, unsigned long *prate) in div_helper_round_rate()
169 unsigned long rate, int id, void *data) in div_round_rate()
272 static int div_set_rate(struct clk_hw *hw, unsigned long rate, in div_set_rate()
304 unsigned long rate, int id, void *data) in bypass_div_round_rate()
342 static int bypass_div_set_rate(struct clk_hw *hw, unsigned long rate, in bypass_div_set_rate()
416 unsigned long rate, int id, void *data) in mux_round_rate()
447 static int mux_set_rate(struct clk_hw *hw, unsigned long rate, in mux_set_rate()
515 unsigned long rate, int id, void *data) in bypass_mux_round_rate()
[all …]
/linux/drivers/clk/
H A Dclk-multiplier.c32 unsigned long rate, in __get_mult()
56 static bool __is_best_rate(unsigned long rate, unsigned long new, in __is_best_rate()
65 static unsigned long __bestmult(struct clk_hw *hw, unsigned long rate, in __bestmult()
115 static long clk_multiplier_round_rate(struct clk_hw *hw, unsigned long rate, in clk_multiplier_round_rate()
125 static int clk_multiplier_set_rate(struct clk_hw *hw, unsigned long rate, in clk_multiplier_set_rate()
H A Dclk-fractional-divider_test.c19 unsigned long rate, parent_rate, parent_rate_before, m, n, max_n; in clk_fd_test_approximation_max_denominator() local
48 unsigned long rate, parent_rate, parent_rate_before, m, n, max_m; in clk_fd_test_approximation_max_numerator() local
77 unsigned long rate, parent_rate, parent_rate_before, m, n, max_n; in clk_fd_test_approximation_max_denominator_zero_based() local
107 unsigned long rate, parent_rate, parent_rate_before, m, n, max_m; in clk_fd_test_approximation_max_numerator_zero_based() local
H A Dclk-cdce925.c95 static void cdce925_pll_find_rate(unsigned long rate, in cdce925_pll_find_rate()
131 static long cdce925_pll_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_round_rate()
140 static int cdce925_pll_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_set_rate()
188 unsigned long rate = clk_get_rate(parent); in cdce925_pll_calc_range_bits() local
363 static u16 cdce925_calc_divider(unsigned long rate, in cdce925_calc_divider()
381 struct clk_hw *hw, unsigned long rate) in cdce925_clk_best_parent_rate()
423 static long cdce925_clk_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_round_rate()
440 static int cdce925_clk_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_set_rate()
459 static u16 cdce925_y1_calc_divider(unsigned long rate, in cdce925_y1_calc_divider()
476 static long cdce925_clk_y1_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_y1_round_rate()
[all …]
H A Dclk-scpi.c35 static long scpi_clk_round_rate(struct clk_hw *hw, unsigned long rate, in scpi_clk_round_rate()
47 static int scpi_clk_set_rate(struct clk_hw *hw, unsigned long rate, in scpi_clk_set_rate()
62 static long __scpi_dvfs_round_rate(struct scpi_clk *clk, unsigned long rate) in __scpi_dvfs_round_rate()
95 static long scpi_dvfs_round_rate(struct clk_hw *hw, unsigned long rate, in scpi_dvfs_round_rate()
103 static int __scpi_find_dvfs_index(struct scpi_clk *clk, unsigned long rate) in __scpi_find_dvfs_index()
114 static int scpi_dvfs_set_rate(struct clk_hw *hw, unsigned long rate, in scpi_dvfs_set_rate()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs.h179 #define is_legacy(rate) is_type_legacy((rate)->type) argument
180 #define is_ht_siso(rate) is_type_ht_siso((rate)->type) argument
181 #define is_ht_mimo2(rate) is_type_ht_mimo2((rate)->type) argument
182 #define is_vht_siso(rate) is_type_vht_siso((rate)->type) argument
183 #define is_vht_mimo2(rate) is_type_vht_mimo2((rate)->type) argument
184 #define is_siso(rate) is_type_siso((rate)->type) argument
185 #define is_mimo2(rate) is_type_mimo2((rate)->type) argument
186 #define is_mimo(rate) is_type_mimo((rate)->type) argument
187 #define is_ht(rate) is_type_ht((rate)->type) argument
188 #define is_vht(rate) is_type_vht((rate)->type) argument
[all …]
/linux/drivers/clk/tegra/
H A Dclk-divider.c21 static int get_div(struct tegra_clk_frac_div *divider, unsigned long rate, in get_div()
41 u64 rate = parent_rate; in clk_frac_div_recalc_rate() local
61 static long clk_frac_div_round_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_div_round_rate()
80 static int clk_frac_div_set_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_div_set_rate()
121 unsigned long rate = clk_hw_get_rate(hw); in clk_divider_restore_context() local
/linux/sound/firewire/dice/
H A Ddice-stream.c32 int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_get_rate_mode()
60 static int select_clock(struct snd_dice *dice, unsigned int rate) in select_clock()
156 struct fw_iso_resources *resources, unsigned int rate, in keep_resources()
197 static int keep_dual_resources(struct snd_dice *dice, unsigned int rate, in keep_dual_resources()
265 int snd_dice_stream_reserve_duplex(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_reserve_duplex()
327 unsigned int rate, struct reg_params *params) in start_streams()
387 unsigned int rate; in snd_dice_stream_start_duplex() local
611 unsigned int rate; in snd_dice_stream_detect_current_formats() local
/linux/sound/firewire/tascam/
H A Dtascam-stream.c44 static int set_clock(struct snd_tscm *tscm, unsigned int rate, in set_clock()
97 int snd_tscm_stream_get_rate(struct snd_tscm *tscm, unsigned int *rate) in snd_tscm_stream_get_rate()
177 static int set_stream_formats(struct snd_tscm *tscm, unsigned int rate) in set_stream_formats()
281 static int keep_resources(struct snd_tscm *tscm, unsigned int rate, in keep_resources()
386 int snd_tscm_stream_reserve_duplex(struct snd_tscm *tscm, unsigned int rate, in snd_tscm_stream_reserve_duplex()
433 int snd_tscm_stream_start_duplex(struct snd_tscm *tscm, unsigned int rate) in snd_tscm_stream_start_duplex()
/linux/drivers/memory/tegra/
H A Dtegra186-emc.c18 unsigned long rate; member
64 unsigned long rate) in tegra186_emc_validate_rate()
93 static int tegra186_emc_debug_min_rate_get(void *data, u64 *rate) in tegra186_emc_debug_min_rate_get()
102 static int tegra186_emc_debug_min_rate_set(void *data, u64 rate) in tegra186_emc_debug_min_rate_set()
123 static int tegra186_emc_debug_max_rate_get(void *data, u64 *rate) in tegra186_emc_debug_max_rate_get()
132 static int tegra186_emc_debug_max_rate_set(void *data, u64 rate) in tegra186_emc_debug_max_rate_set()
/linux/drivers/sh/clk/
H A Dcore.c78 unsigned long rate; member
139 unsigned long rate) in clk_rate_table_round()
162 unsigned int div_max, unsigned long rate) in clk_rate_div_range_round()
182 unsigned int mult_max, unsigned long rate) in clk_rate_mult_range_round()
197 unsigned long rate) in clk_rate_table_find()
480 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
552 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
578 unsigned long rate = clkp->rate; in clks_core_resume() local
/linux/drivers/net/wireless/broadcom/b43/
H A Dppr.c28 u8 *rate; in b43_ppr_add() local
38 u8 *rate; in b43_ppr_apply_max() local
48 u8 *rate; in b43_ppr_apply_min() local
59 u8 *rate; in b43_ppr_get_max() local
/linux/samples/bpf/
H A Dhbm_kern.h56 #define CREDIT_PER_NS(delta, rate) ((((u64)(delta)) * (rate)) >> 20) argument
57 #define BYTES_PER_NS(delta, rate) ((((u64)(delta)) * (rate)) >> 20) argument
58 #define BYTES_TO_NS(bytes, rate) div64_u64(((u64)(bytes)) << 20, (u64)(rate)) argument
135 static __always_inline void hbm_init_vqueue(struct hbm_vqueue *qdp, int rate) in hbm_init_vqueue()
144 int rate) in hbm_init_edt_vqueue()
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-control.c45 unsigned int rate) in mt8192_general_rate_transform()
89 unsigned int rate) in dai_memif_rate_transform()
109 unsigned int rate) in pcm_rate_transform()
129 unsigned int rate, int aud_blk) in mt8192_rate_transform()
/linux/sound/firewire/fireface/
H A Dff-protocol-latter.c71 static int parse_clock_bits(u32 data, unsigned int *rate, in parse_clock_bits()
76 unsigned int rate; in parse_clock_bits() member
141 static int latter_get_clock(struct snd_ff *ff, unsigned int *rate, in latter_get_clock()
172 static int latter_allocate_resources(struct snd_ff *ff, unsigned int rate) in latter_allocate_resources()
248 static int latter_begin_session(struct snd_ff *ff, unsigned int rate) in latter_begin_session()
330 unsigned int rate; in latter_dump_status() local
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dmac.c28 mt76_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate) in mt76_mac_process_tx_rate()
69 struct ieee80211_tx_rate *rate = info->status.rates; in mt76_mac_fill_tx_status() local
105 const struct ieee80211_tx_rate *rate, u8 *nss_val) in mt76_mac_tx_rate_val()
147 const struct ieee80211_tx_rate *rate) in mt76_mac_wcid_set_rate()
397 mt76_mac_process_rate(struct ieee80211_rx_status *status, u16 rate) in mt76_mac_process_rate()
444 u16 rate, int rssi) in mt7601u_rx_monitor_beacon()
466 u16 rate = le16_to_cpu(rxwi->rate); in mt76_mac_process_rx() local
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-control.c75 unsigned int mt8186_general_rate_transform(struct device *dev, unsigned int rate) in mt8186_general_rate_transform()
118 static unsigned int tdm_rate_transform(struct device *dev, unsigned int rate) in tdm_rate_transform()
165 static unsigned int pcm_rate_transform(struct device *dev, unsigned int rate) in pcm_rate_transform()
184 unsigned int mt8186_tdm_relatch_rate_transform(struct device *dev, unsigned int rate) in mt8186_tdm_relatch_rate_transform()
225 unsigned int mt8186_rate_transform(struct device *dev, unsigned int rate, int aud_blk) in mt8186_rate_transform()
/linux/sound/firewire/digi00x/
H A Ddigi00x-stream.c30 int snd_dg00x_stream_get_local_rate(struct snd_dg00x *dg00x, unsigned int *rate) in snd_dg00x_stream_get_local_rate()
51 int snd_dg00x_stream_set_local_rate(struct snd_dg00x *dg00x, unsigned int rate) in snd_dg00x_stream_set_local_rate()
103 unsigned int *rate) in snd_dg00x_stream_get_external_rate()
189 unsigned int rate) in keep_resources()
288 int snd_dg00x_stream_reserve_duplex(struct snd_dg00x *dg00x, unsigned int rate, in snd_dg00x_stream_reserve_duplex()
/linux/drivers/mmc/host/
H A Dsdhci-milbeaut.c40 #define MLB_CAL_TOCLKFREQ_MHZ(rate) (rate / MLB_SD_TOCLK_I_DIV / 1000000) argument
41 #define MLB_CAL_TOCLKFREQ_KHZ(rate) (rate / MLB_SD_TOCLK_I_DIV / 1000) argument
46 #define MLB_CAL_BCLKFREQ(rate) (rate / MLB_SD_BCLK_I_DIV / 1000000) argument
144 int rate) in sdhci_milbeaut_bridge_init()
213 int rate = clk_get_rate(priv->clk); in sdhci_milbeaut_init() local

12345678910>>...52