Home
last modified time | relevance | path

Searched defs:rate (Results 1 – 200 of 941) sorted by relevance

12345

/linux-4.4.14/arch/arm/mach-omap2/
Dsdram-nokia.c129 long rate; member
141 static unsigned long sdrc_get_fclk_period(long rate) in sdrc_get_fclk_period()
147 static unsigned int sdrc_ps_to_ticks(unsigned int time_ps, long rate) in sdrc_ps_to_ticks()
159 int ticks, long rate, const char *name) in set_sdrc_timing_regval()
183 #define SDRC_SET_ONE(reg, st, end, field, rate) \ argument
188 #define SDRC_SET_ONE(reg, st, end, field, rate) \ argument
196 int time, long rate, const char *name) in set_sdrc_timing_regval_ps()
221 #define SDRC_SET_ONE_PS(reg, st, end, field, rate) \ argument
228 #define SDRC_SET_ONE_PS(reg, st, end, field, rate) \ argument
234 static int sdrc_timings(int id, long rate, in sdrc_timings()
Dclkt2xxx_virt_prcm_set.c74 long omap2_round_to_table_rate(struct clk_hw *hw, unsigned long rate, in omap2_round_to_table_rate()
98 int omap2_select_table_rate(struct clk_hw *hw, unsigned long rate, in omap2_select_table_rate()
176 unsigned long rate; in omap2xxx_clkt_vps_check_bootloader_rates() local
Domap2-restart.c36 u32 rate; in omap2xxx_restart() local
/linux-4.4.14/arch/arm/plat-versatile/
Dclock.c38 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
47 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
56 long icst_clk_round(struct clk *clk, unsigned long rate) in icst_clk_round()
64 int icst_clk_set(struct clk *clk, unsigned long rate) in icst_clk_set()
Dsched-clock.c37 void __init versatile_sched_clock_init(void __iomem *reg, unsigned long rate) in versatile_sched_clock_init()
/linux-4.4.14/drivers/clk/
Dclk-multiplier.c20 unsigned long rate, in __get_mult()
44 static bool __is_best_rate(unsigned long rate, unsigned long new, in __is_best_rate()
53 static unsigned long __bestmult(struct clk_hw *hw, unsigned long rate, in __bestmult()
89 static long clk_multiplier_round_rate(struct clk_hw *hw, unsigned long rate, in clk_multiplier_round_rate()
99 static int clk_multiplier_set_rate(struct clk_hw *hw, unsigned long rate, in clk_multiplier_set_rate()
Dclk-mb86s7x.c43 unsigned long rate; member
103 crg_rate_control(struct clk_hw *hw, int set, unsigned long *rate) in crg_rate_control()
149 unsigned long rate; in crg_port_recalc_rate() local
158 unsigned long rate, unsigned long *pr) in crg_port_round_rate()
165 unsigned long rate, unsigned long parent_rate) in crg_port_set_rate()
263 static void mhu_cluster_rate(struct clk_hw *hw, unsigned long *rate, int get) in mhu_cluster_rate()
300 unsigned long rate; in clc_recalc_rate() local
307 clc_round_rate(struct clk_hw *hw, unsigned long rate, in clc_round_rate()
314 clc_set_rate(struct clk_hw *hw, unsigned long rate, in clc_set_rate()
Dclk-cdce925.c88 static void cdce925_pll_find_rate(unsigned long rate, in cdce925_pll_find_rate()
125 static long cdce925_pll_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_round_rate()
134 static int cdce925_pll_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_pll_set_rate()
182 unsigned long rate = clk_get_rate(parent); in cdce925_pll_calc_range_bits() local
337 static u16 cdce925_calc_divider(unsigned long rate, in cdce925_calc_divider()
355 struct clk_hw *hw, unsigned long rate) in cdce925_clk_best_parent_rate()
397 static long cdce925_clk_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_round_rate()
414 static int cdce925_clk_set_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_set_rate()
433 static u16 cdce925_y1_calc_divider(unsigned long rate, in cdce925_y1_calc_divider()
450 static long cdce925_clk_y1_round_rate(struct clk_hw *hw, unsigned long rate, in cdce925_clk_y1_round_rate()
[all …]
Dclk-divider.c210 unsigned long parent_rate, unsigned long rate, in _div_round_up()
224 unsigned long parent_rate, unsigned long rate, in _div_round_closest()
248 unsigned long parent_rate, unsigned long rate, in _div_round()
257 static bool _is_best_div(unsigned long rate, unsigned long now, in _is_best_div()
279 static int clk_divider_bestdiv(struct clk_hw *hw, unsigned long rate, in clk_divider_bestdiv()
337 long divider_round_rate(struct clk_hw *hw, unsigned long rate, in divider_round_rate()
349 static long clk_divider_round_rate(struct clk_hw *hw, unsigned long rate, in clk_divider_round_rate()
368 int divider_get_val(unsigned long rate, unsigned long parent_rate, in divider_get_val()
385 static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate, in clk_divider_set_rate()
Dclk-scpi.c47 static long scpi_clk_round_rate(struct clk_hw *hw, unsigned long rate, in scpi_clk_round_rate()
59 static int scpi_clk_set_rate(struct clk_hw *hw, unsigned long rate, in scpi_clk_set_rate()
74 static int __scpi_dvfs_round_rate(struct scpi_clk *clk, unsigned long rate) in __scpi_dvfs_round_rate()
107 static long scpi_dvfs_round_rate(struct clk_hw *hw, unsigned long rate, in scpi_dvfs_round_rate()
115 static int __scpi_find_dvfs_index(struct scpi_clk *clk, unsigned long rate) in __scpi_find_dvfs_index()
126 static int scpi_dvfs_set_rate(struct clk_hw *hw, unsigned long rate, in scpi_dvfs_set_rate()
Dclk-fixed-factor.c32 unsigned long long int rate; in clk_factor_recalc_rate() local
39 static long clk_factor_round_rate(struct clk_hw *hw, unsigned long rate, in clk_factor_round_rate()
54 static int clk_factor_set_rate(struct clk_hw *hw, unsigned long rate, in clk_factor_set_rate()
Dclk-highbank.c122 static void clk_pll_calc(unsigned long rate, unsigned long ref_freq, in clk_pll_calc()
146 static long clk_pll_round_rate(struct clk_hw *hwclk, unsigned long rate, in clk_pll_round_rate()
157 static int clk_pll_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_pll_set_rate()
243 static long clk_periclk_round_rate(struct clk_hw *hwclk, unsigned long rate, in clk_periclk_round_rate()
255 static int clk_periclk_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_periclk_set_rate()
Dclk-si5351.c274 unsigned long rate; in si5351_clkin_recalc_rate() local
330 static int si5351_vxco_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_vxco_set_rate()
425 unsigned long long rate; in si5351_pll_recalc_rate() local
449 static long si5351_pll_round_rate(struct clk_hw *hw, unsigned long rate, in si5351_pll_round_rate()
506 static int si5351_pll_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_pll_set_rate()
604 unsigned long long rate; in si5351_msynth_recalc_rate() local
642 static long si5351_msynth_round_rate(struct clk_hw *hw, unsigned long rate, in si5351_msynth_round_rate()
754 static int si5351_msynth_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_msynth_set_rate()
998 static long si5351_clkout_round_rate(struct clk_hw *hw, unsigned long rate, in si5351_clkout_round_rate()
1051 static int si5351_clkout_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_clkout_set_rate()
Dclk-vt8500.c140 static long vt8500_dclk_round_rate(struct clk_hw *hw, unsigned long rate, in vt8500_dclk_round_rate()
166 static int vt8500_dclk_set_rate(struct clk_hw *hw, unsigned long rate, in vt8500_dclk_set_rate()
358 static void vt8500_find_pll_bits(unsigned long rate, unsigned long parent_rate, in vt8500_find_pll_bits()
384 static void wm8650_find_pll_bits(unsigned long rate, unsigned long parent_rate, in wm8650_find_pll_bits()
452 static void wm8750_find_pll_bits(unsigned long rate, unsigned long parent_rate, in wm8750_find_pll_bits()
496 static void wm8850_find_pll_bits(unsigned long rate, unsigned long parent_rate, in wm8850_find_pll_bits()
539 static int vtwm_pll_set_rate(struct clk_hw *hw, unsigned long rate, in vtwm_pll_set_rate()
582 static long vtwm_pll_round_rate(struct clk_hw *hw, unsigned long rate, in vtwm_pll_round_rate()
Dclk-composite.c71 long rate; in clk_composite_determine_rate() local
132 static long clk_composite_round_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_round_rate()
144 static int clk_composite_set_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_set_rate()
Dclk-fractional-divider.c54 static long clk_fd_round_rate(struct clk_hw *hw, unsigned long rate, in clk_fd_round_rate()
84 static int clk_fd_set_rate(struct clk_hw *hw, unsigned long rate, in clk_fd_set_rate()
Dclk-cdce706.c191 static long cdce706_pll_round_rate(struct clk_hw *hw, unsigned long rate, in cdce706_pll_round_rate()
217 static int cdce706_pll_set_rate(struct clk_hw *hw, unsigned long rate, in cdce706_pll_set_rate()
296 static long cdce706_divider_round_rate(struct clk_hw *hw, unsigned long rate, in cdce706_divider_round_rate()
364 static int cdce706_divider_set_rate(struct clk_hw *hw, unsigned long rate, in cdce706_divider_set_rate()
429 static long cdce706_clkout_round_rate(struct clk_hw *hw, unsigned long rate, in cdce706_clkout_round_rate()
436 static int cdce706_clkout_set_rate(struct clk_hw *hw, unsigned long rate, in cdce706_clkout_set_rate()
Dclk.c54 unsigned long rate; member
444 static bool mux_is_better_rate(unsigned long rate, unsigned long now, in mux_is_better_rate()
789 long rate; in clk_core_round_rate_nolock() local
843 unsigned long clk_hw_round_rate(struct clk_hw *hw, unsigned long rate) in clk_hw_round_rate()
868 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
1035 unsigned long rate; in clk_core_get_rate() local
1295 unsigned long rate) in clk_calc_new_rates()
1498 unsigned long rate = req_rate; in clk_core_set_rate_nolock() local
1554 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
1615 int clk_set_min_rate(struct clk *clk, unsigned long rate) in clk_set_min_rate()
[all …]
Dclk-si570.c233 u64 rfreq, rate; in si570_recalc_rate() local
249 static long si570_round_rate(struct clk_hw *hw, unsigned long rate, in si570_round_rate()
342 static int si570_set_rate(struct clk_hw *hw, unsigned long rate, in si570_set_rate()
Dclk-stm32f4.c169 static long clk_apb_mul_round_rate(struct clk_hw *hw, unsigned long rate, in clk_apb_mul_round_rate()
187 static int clk_apb_mul_set_rate(struct clk_hw *hw, unsigned long rate, in clk_apb_mul_set_rate()
Dclk-conf.c84 u32 rate; in __set_clk_rates() local
/linux-4.4.14/drivers/clk/qcom/
Dclk-rcg2.c135 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 hid_div) in calc_rate()
182 unsigned long clk_flags, rate = req->rate; in _freq_tbl_determine_rate() local
268 static int __clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate) in __clk_rcg2_set_rate()
280 static int clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_rate()
287 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_rate_and_parent()
303 static int clk_rcg2_shared_force_enable(struct clk_hw *hw, unsigned long rate) in clk_rcg2_shared_force_enable()
335 static int clk_rcg2_shared_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_shared_set_rate()
409 static int clk_edp_pixel_set_rate(struct clk_hw *hw, unsigned long rate, in clk_edp_pixel_set_rate()
449 unsigned long rate, unsigned long parent_rate, u8 index) in clk_edp_pixel_set_rate_and_parent()
533 static int clk_byte_set_rate(struct clk_hw *hw, unsigned long rate, in clk_byte_set_rate()
[all …]
Dclk-rcg.c334 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 pre_div) in calc_rate()
411 unsigned long clk_flags, rate = req->rate; in _freq_tbl_determine_rate() local
524 static int clk_rcg_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_set_rate()
537 static int clk_rcg_bypass_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_bypass_set_rate()
557 static int clk_rcg_bypass2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_bypass2_set_rate()
583 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_bypass2_set_rate_and_parent()
625 static int clk_rcg_pixel_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_pixel_set_rate()
668 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_pixel_set_rate_and_parent()
697 static int clk_rcg_esc_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg_esc_set_rate()
734 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_esc_set_rate_and_parent()
[all …]
Dclk-regmap-divider.c26 static long div_round_rate(struct clk_hw *hw, unsigned long rate, in div_round_rate()
35 static int div_set_rate(struct clk_hw *hw, unsigned long rate, in div_set_rate()
Dclk-pll.c97 unsigned long rate; in clk_pll_recalc_rate() local
126 struct pll_freq_tbl *find_freq(const struct pll_freq_tbl *f, unsigned long rate) in find_freq()
154 clk_pll_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long p_rate) in clk_pll_set_rate()
334 clk_pll_sr2_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long prate) in clk_pll_sr2_set_rate()
/linux-4.4.14/arch/arm/mach-omap1/
Dclock.c135 static int calc_dsor_exp(struct clk *clk, unsigned long rate) in calc_dsor_exp()
194 int omap1_select_table_rate(struct clk *clk, unsigned long rate) in omap1_select_table_rate()
229 int omap1_clk_set_rate_dsp_domain(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_dsp_domain()
249 long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_round_rate_ckctl_arm()
259 int omap1_clk_set_rate_ckctl_arm(struct clk *clk, unsigned long rate) in omap1_clk_set_rate_ckctl_arm()
279 long omap1_round_to_table_rate(struct clk *clk, unsigned long rate) in omap1_round_to_table_rate()
307 static unsigned calc_ext_dsor(unsigned long rate) in calc_ext_dsor()
330 int omap1_set_uart_rate(struct clk *clk, unsigned long rate) in omap1_set_uart_rate()
348 int omap1_set_ext_clk_rate(struct clk *clk, unsigned long rate) in omap1_set_ext_clk_rate()
366 int omap1_set_sossi_rate(struct clk *clk, unsigned long rate) in omap1_set_sossi_rate()
[all …]
Dtime.c164 static __init void omap_init_mpu_timer(unsigned long rate) in omap_init_mpu_timer()
186 static void __init omap_init_clocksource(unsigned long rate) in omap_init_clocksource()
203 unsigned long rate; in omap_mpu_timer_init() local
Dopp.h19 unsigned long rate; member
/linux-4.4.14/arch/arm/mach-ep93xx/
Dclock.c32 unsigned long rate; member
307 unsigned long rate = clk_get_rate(clk->parent); in get_uart_rate() local
326 static int set_keytchclk_rate(struct clk *clk, unsigned long rate) in set_keytchclk_rate()
354 static int calc_clk_div(struct clk *clk, unsigned long rate, in calc_clk_div()
410 static int set_div_rate(struct clk *clk, unsigned long rate) in set_div_rate()
431 static int set_i2s_sclk_rate(struct clk *clk, unsigned long rate) in set_i2s_sclk_rate()
448 static int set_i2s_lrclk_rate(struct clk *clk, unsigned long rate) in set_i2s_lrclk_rate()
469 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
488 unsigned long long rate; in calc_pll_rate() local
/linux-4.4.14/arch/mips/ralink/
Dclk.c21 unsigned long rate; member
24 void ralink_clk_add(const char *dev, unsigned long rate) in ralink_clk_add()
59 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/linux-4.4.14/drivers/clk/tegra/
Dclk-audio-sync.c31 static long clk_sync_source_round_rate(struct clk_hw *hw, unsigned long rate, in clk_sync_source_round_rate()
42 static int clk_sync_source_set_rate(struct clk_hw *hw, unsigned long rate, in clk_sync_source_set_rate()
58 unsigned long rate, unsigned long max_rate) in tegra_clk_register_sync_source()
Dclk-divider.c32 static int get_div(struct tegra_clk_frac_div *divider, unsigned long rate, in get_div()
72 u64 rate = parent_rate; in clk_frac_div_recalc_rate() local
87 static long clk_frac_div_round_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_div_round_rate()
106 static int clk_frac_div_set_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_div_set_rate()
Dclk-pll.c394 unsigned long rate, unsigned long parent_rate) in _get_table_rate()
418 unsigned long rate, unsigned long parent_rate) in _calc_rate()
541 unsigned long rate) in _update_pll_cpcon()
564 unsigned long rate) in _program_pll()
587 static int clk_pll_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pll_set_rate()
626 static long clk_pll_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pll_round_rate()
652 u64 rate = parent_rate; in clk_pll_recalc_rate() local
791 u64 rate = parent_rate; in clk_plle_recalc_rate() local
922 unsigned long rate, unsigned long parent_rate) in _calc_dynamic_ramp_rate()
950 unsigned long rate, unsigned long parent_rate) in _pll_ramp_calc_pll()
[all …]
Dclk-periph.c58 static long clk_periph_round_rate(struct clk_hw *hw, unsigned long rate, in clk_periph_round_rate()
70 static int clk_periph_set_rate(struct clk_hw *hw, unsigned long rate, in clk_periph_set_rate()
Dclk-dfll.c209 #define DVCO_RATE_TO_MULT(rate, ref_rate) ((rate) / ((ref_rate) / 2)) argument
254 unsigned long rate; member
630 static int find_lut_index_for_rate(struct tegra_dfll *td, unsigned long rate) in find_lut_index_for_rate()
667 unsigned long rate) in dfll_calculate_rate_request()
750 static int dfll_request_rate(struct tegra_dfll *td, unsigned long rate) in dfll_request_rate()
980 static int dfll_clk_set_rate(struct clk_hw *hw, unsigned long rate, in dfll_clk_set_rate()
1439 unsigned long rate; in dfll_build_i2c_lut() local
/linux-4.4.14/arch/arm/mach-davinci/
Dclock.c135 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
159 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
293 unsigned long rate = clk->rate; in clk_sysclk_recalc() local
327 int davinci_set_sysclk_rate(struct clk *clk, unsigned long rate) in davinci_set_sysclk_rate()
408 int davinci_simple_set_rate(struct clk *clk, unsigned long rate) in davinci_simple_set_rate()
419 unsigned long rate = clk->rate; in clk_pllclk_recalc() local
567 int davinci_set_refclk_rate(unsigned long rate) in davinci_set_refclk_rate()
/linux-4.4.14/drivers/net/wireless/b43/
Dppr.c37 u8 *rate; in b43_ppr_add() local
47 u8 *rate; in b43_ppr_apply_max() local
57 u8 *rate; in b43_ppr_apply_min() local
68 u8 *rate; in b43_ppr_get_max() local
Dmain.h61 static inline int b43_is_cck_rate(int rate) in b43_is_cck_rate()
68 static inline int b43_is_ofdm_rate(int rate) in b43_is_ofdm_rate()
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-stream.c31 int snd_dg00x_stream_get_local_rate(struct snd_dg00x *dg00x, unsigned int *rate) in snd_dg00x_stream_get_local_rate()
52 int snd_dg00x_stream_set_local_rate(struct snd_dg00x *dg00x, unsigned int rate) in snd_dg00x_stream_set_local_rate()
104 unsigned int *rate) in snd_dg00x_stream_get_external_rate()
186 static int keep_resources(struct snd_dg00x *dg00x, unsigned int rate) in keep_resources()
276 int snd_dg00x_stream_start_duplex(struct snd_dg00x *dg00x, unsigned int rate) in snd_dg00x_stream_start_duplex()
Ddigi00x-proc.c41 unsigned int rate; in proc_read_clock() local
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Drs.h192 #define is_legacy(rate) is_type_legacy((rate)->type) argument
193 #define is_ht_siso(rate) is_type_ht_siso((rate)->type) argument
194 #define is_ht_mimo2(rate) is_type_ht_mimo2((rate)->type) argument
195 #define is_vht_siso(rate) is_type_vht_siso((rate)->type) argument
196 #define is_vht_mimo2(rate) is_type_vht_mimo2((rate)->type) argument
197 #define is_siso(rate) is_type_siso((rate)->type) argument
198 #define is_mimo2(rate) is_type_mimo2((rate)->type) argument
199 #define is_mimo(rate) is_type_mimo((rate)->type) argument
200 #define is_ht(rate) is_type_ht((rate)->type) argument
201 #define is_vht(rate) is_type_vht((rate)->type) argument
[all …]
Drs.c153 struct rs_rate *rate, in rs_ant_allow()
160 struct rs_rate *rate, in rs_mimo_allow()
188 struct rs_rate *rate, in rs_siso_allow()
198 struct rs_rate *rate, in rs_sgi_allow()
524 static char *rs_pretty_rate(const struct rs_rate *rate) in rs_pretty_rate()
567 static inline void rs_dump_rate(struct iwl_mvm *mvm, const struct rs_rate *rate, in rs_dump_rate()
763 struct rs_rate *rate) in ucode_rate_from_rs_rate()
826 struct rs_rate *rate) in rs_rate_from_ucode_rate()
906 static int rs_toggle_antenna(u32 valid_ant, struct rs_rate *rate) in rs_toggle_antenna()
931 struct rs_rate *rate) in rs_get_supported_rates()
[all …]
/linux-4.4.14/sound/firewire/tascam/
Dtascam-stream.c28 static int set_clock(struct snd_tscm *tscm, unsigned int rate, in set_clock()
81 int snd_tscm_stream_get_rate(struct snd_tscm *tscm, unsigned int *rate) in snd_tscm_stream_get_rate()
164 static int set_stream_formats(struct snd_tscm *tscm, unsigned int rate) in set_stream_formats()
258 static int keep_resources(struct snd_tscm *tscm, unsigned int rate) in keep_resources()
372 int snd_tscm_stream_start_duplex(struct snd_tscm *tscm, unsigned int rate) in snd_tscm_stream_start_duplex()
/linux-4.4.14/arch/arm/mach-lpc32xx/
Dclock.c452 unsigned long rate) in local_usbpll_round_rate()
475 static int local_usbpll_set_rate(struct clk *clk, unsigned long rate) in local_usbpll_set_rate()
917 u32 div, rate, oldclk; in mmc_get_rate() local
938 static unsigned long mmc_round_rate(struct clk *clk, unsigned long rate) in mmc_round_rate()
955 static int mmc_set_rate(struct clk *clk, unsigned long rate) in mmc_set_rate()
986 u32 tmp, div, rate, oldclk; in clcd_get_rate() local
1007 static int clcd_set_rate(struct clk *clk, unsigned long rate) in clcd_set_rate()
1038 static unsigned long clcd_round_rate(struct clk *clk, unsigned long rate) in clcd_round_rate()
1146 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
1165 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
Dclock.h25 u32 rate; member
/linux-4.4.14/drivers/clocksource/
Ddw_apb_timer_of.c27 void __iomem **base, u32 *rate) in timer_get_base_and_rate()
66 u32 irq, rate; in add_clockevent() local
89 u32 rate; in add_clocksource() local
Dtimer-integrator-ap.c43 unsigned long rate = inrate; in integrator_clocksource_init() local
144 unsigned long rate = inrate; in integrator_clockevent_init() local
173 unsigned long rate; in integrator_ap_timer_init_of() local
Dtimer-sp804.c39 long rate; in sp804_get_clock_rate() local
85 long rate; in __sp804_clocksource_and_sched_clock_init() local
192 long rate; in __sp804_clockevents_init() local
Dclps711x-timer.c36 unsigned long rate; in _clps711x_clksrc_init() local
68 unsigned long rate; in _clps711x_clkevt_init() local
Dvf_pit_timer.c60 static int __init pit_clocksource_init(unsigned long rate) in pit_clocksource_init()
137 static int __init pit_clockevent_init(unsigned long rate, int irq) in pit_clockevent_init()
Dtime-lpc32xx.c122 unsigned long rate; in lpc32xx_clocksource_init() local
181 unsigned long rate; in lpc32xx_clockevent_init() local
Darmv7m_systick.c28 u32 rate; in system_timer_of_register() local
Dtime-efm32.c136 unsigned long rate; in efm32_clocksource_init() local
194 unsigned long rate; in efm32_clockevent_init() local
Dclksrc_st_lpc.c49 unsigned long rate; in st_clksrc_init() local
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_lvds_pll.c37 unsigned long rate; member
59 static const struct pll_rate *find_rate(unsigned long rate) in find_rate()
112 static long mpd4_lvds_pll_round_rate(struct clk_hw *hw, unsigned long rate, in mpd4_lvds_pll_round_rate()
119 static int mpd4_lvds_pll_set_rate(struct clk_hw *hw, unsigned long rate, in mpd4_lvds_pll_set_rate()
/linux-4.4.14/drivers/clk/ux500/
Dclk-prcmu.c83 static long clk_prcmu_round_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_round_rate()
90 static int clk_prcmu_set_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_set_rate()
248 unsigned long rate, in clk_reg_prcmu()
297 unsigned long rate, in clk_reg_prcmu_scalable()
316 unsigned long rate, in clk_reg_prcmu_scalable_rate()
344 unsigned long rate, in clk_reg_prcmu_opp_volt_scalable()
Dclk-sysctrl.c30 unsigned long rate; member
124 unsigned long rate, in clk_reg_sysctrl()
202 unsigned long rate, in clk_reg_sysctrl_gate_fixed_rate()
/linux-4.4.14/drivers/clk/zte/
Dclk.c27 static int rate_to_idx(struct clk_zx_pll *zx_pll, unsigned long rate) in rate_to_idx()
77 static long zx_pll_round_rate(struct clk_hw *hw, unsigned long rate, in zx_pll_round_rate()
88 static int zx_pll_set_rate(struct clk_hw *hw, unsigned long rate, in zx_pll_set_rate()
178 static u32 calc_reg(u32 parent_rate, u32 rate) in calc_reg()
230 static long zx_audio_round_rate(struct clk_hw *hw, unsigned long rate, in zx_audio_round_rate()
242 static int zx_audio_set_rate(struct clk_hw *hw, unsigned long rate, in zx_audio_set_rate()
Dclk.h16 unsigned long rate; member
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dmac.c20 mt76_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate) in mt76_mac_process_tx_rate()
61 struct ieee80211_tx_rate *rate = info->status.rates; in mt76_mac_fill_tx_status() local
97 const struct ieee80211_tx_rate *rate, u8 *nss_val) in mt76_mac_tx_rate_val()
139 const struct ieee80211_tx_rate *rate) in mt76_mac_wcid_set_rate()
389 mt76_mac_process_rate(struct ieee80211_rx_status *status, u16 rate) in mt76_mac_process_rate()
436 u16 rate, int rssi) in mt7601u_rx_monitor_beacon()
458 u16 rate = le16_to_cpu(rxwi->rate); in mt76_mac_process_rx() local
Dtx.c63 static u8 mt7601u_tx_pktid_enc(struct mt7601u_dev *dev, u8 rate, bool is_probe) in mt7601u_tx_pktid_enc()
143 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in mt7601u_push_txwi() local
/linux-4.4.14/drivers/sh/clk/
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()
476 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
542 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
653 unsigned long rate = clkp->rate; in clks_core_resume() local
Dcpg.c125 static long sh_clk_div_round_rate(struct clk *clk, unsigned long rate) in sh_clk_div_round_rate()
143 static int sh_clk_div_set_rate(struct clk *clk, unsigned long rate) in sh_clk_div_set_rate()
423 static long fsidiv_round_rate(struct clk *clk, unsigned long rate) in fsidiv_round_rate()
446 static int fsidiv_set_rate(struct clk *clk, unsigned long rate) in fsidiv_set_rate()
/linux-4.4.14/drivers/clk/imx/
Dclk-pllv3.c109 static long clk_pllv3_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_round_rate()
118 static int clk_pllv3_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_set_rate()
156 static long clk_pllv3_sys_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_round_rate()
173 static int clk_pllv3_sys_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_set_rate()
212 static long clk_pllv3_av_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_round_rate()
236 static int clk_pllv3_av_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_av_set_rate()
Dclk-cpu.c38 static long clk_cpu_round_rate(struct clk_hw *hw, unsigned long rate, in clk_cpu_round_rate()
46 static int clk_cpu_set_rate(struct clk_hw *hw, unsigned long rate, in clk_cpu_set_rate()
Dclk-fixup-div.c51 static long clk_fixup_div_round_rate(struct clk_hw *hw, unsigned long rate, in clk_fixup_div_round_rate()
59 static int clk_fixup_div_set_rate(struct clk_hw *hw, unsigned long rate, in clk_fixup_div_set_rate()
Dclk-pfd.c70 static long clk_pfd_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pfd_round_rate()
90 static int clk_pfd_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pfd_set_rate()
Dclk-pllv2.c125 static int __clk_pllv2_set_rate(unsigned long rate, unsigned long parent_rate, in __clk_pllv2_set_rate()
154 static int clk_pllv2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv2_set_rate()
180 static long clk_pllv2_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv2_round_rate()
Dclk-busy.c54 static long clk_busy_divider_round_rate(struct clk_hw *hw, unsigned long rate, in clk_busy_divider_round_rate()
62 static int clk_busy_divider_set_rate(struct clk_hw *hw, unsigned long rate, in clk_busy_divider_set_rate()
/linux-4.4.14/drivers/clk/versatile/
Dclk-vexpress-osc.c35 u32 rate; in vexpress_osc_recalc_rate() local
42 static long vexpress_osc_round_rate(struct clk_hw *hw, unsigned long rate, in vexpress_osc_round_rate()
56 static int vexpress_osc_set_rate(struct clk_hw *hw, unsigned long rate, in vexpress_osc_set_rate()
Dclk-icst.c38 unsigned long rate; member
95 static long icst_round_rate(struct clk_hw *hw, unsigned long rate, in icst_round_rate()
105 static int icst_set_rate(struct clk_hw *hw, unsigned long rate, in icst_set_rate()
/linux-4.4.14/sound/pci/ac97/
Dac97_pcm.c174 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) in set_spdif_rate()
258 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate) in snd_ac97_set_rate()
570 int snd_ac97_pcm_open(struct ac97_pcm *pcm, unsigned int rate, in snd_ac97_pcm_open()
707 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in double_rate_hw_constraint_rate() local
716 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in double_rate_hw_constraint_channels() local
/linux-4.4.14/arch/blackfin/mach-bf609/
Dclock.c115 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
124 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
152 unsigned long pll_round_rate(struct clk *clk, unsigned long rate) in pll_round_rate()
159 int pll_set_rate(struct clk *clk, unsigned long rate) in pll_set_rate()
212 unsigned long sys_clk_round_rate(struct clk *clk, unsigned long rate) in sys_clk_round_rate()
236 int sys_clk_set_rate(struct clk *clk, unsigned long rate) in sys_clk_set_rate()
/linux-4.4.14/drivers/clk/st/
Dclkgen-fsyn.c497 unsigned long *rate) in clk_fs660c32_vco_get_rate()
510 unsigned long rate = 0; in quadfs_pll_fs660c32_recalc_rate() local
552 static long quadfs_pll_fs660c32_round_rate(struct clk_hw *hw, unsigned long rate in quadfs_pll_fs660c32_round_rate()
569 static int quadfs_pll_fs660c32_set_rate(struct clk_hw *hw, unsigned long rate, in quadfs_pll_fs660c32_set_rate()
798 unsigned long *rate) in clk_fs216c65_get_rate()
818 unsigned long *rate) in clk_fs432c65_get_rate()
840 const struct stm_fs *fs, unsigned long *rate) in clk_fs660c32_dig_get_rate()
898 unsigned long prev_rate, rate = 0; in quadfs_find_best_rate() local
937 unsigned long rate = 0; in quadfs_recalc_rate() local
957 static long quadfs_round_rate(struct clk_hw *hw, unsigned long rate, in quadfs_round_rate()
[all …]
Dclkgen-pll.c418 unsigned long rate; in recalc_stm_pll800c65() local
445 unsigned long rate; in recalc_stm_pll1600c65() local
515 unsigned long *rate) in clk_pll3200c32_get_rate()
530 unsigned long rate = 0; in recalc_stm_pll3200c32() local
547 static long round_rate_stm_pll3200c32(struct clk_hw *hw, unsigned long rate, in round_rate_stm_pll3200c32()
568 static int set_rate_stm_pll3200c32(struct clk_hw *hw, unsigned long rate, in set_rate_stm_pll3200c32()
616 unsigned long rate; in recalc_stm_pll1200c32() local
698 unsigned long *rate) in clk_pll4600c28_get_rate()
713 unsigned long rate; in recalc_stm_pll4600c28() local
728 static long round_rate_stm_pll4600c28(struct clk_hw *hw, unsigned long rate, in round_rate_stm_pll4600c28()
[all …]
Dclk-flexgen.c99 clk_best_div(unsigned long parent_rate, unsigned long rate) in clk_best_div()
104 static long flexgen_round_rate(struct clk_hw *hw, unsigned long rate, in flexgen_round_rate()
136 static int flexgen_set_rate(struct clk_hw *hw, unsigned long rate, in flexgen_set_rate()
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
Dclock-sh4-202.c31 static inline int frqcr3_lookup(struct clk *clk, unsigned long rate) in frqcr3_lookup()
97 static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate) in shoc_clk_verify_rate()
112 static int shoc_clk_set_rate(struct clk *clk, unsigned long rate) in shoc_clk_set_rate()
/linux-4.4.14/drivers/clk/mvebu/
Dclk-cpu.c61 static long clk_cpu_round_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_round_rate()
76 static int clk_cpu_off_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_off_set_rate()
110 static int clk_cpu_on_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_on_set_rate()
153 static int clk_cpu_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_set_rate()
/linux-4.4.14/arch/unicore32/kernel/
Dclock.c32 unsigned long rate; member
100 unsigned long rate; member
136 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
238 unsigned long rate; member
/linux-4.4.14/drivers/clk/ti/
Dfapll.c171 u64 rate; in ti_fapll_recalc_rate() local
200 static int ti_fapll_set_div_mult(unsigned long rate, in ti_fapll_set_div_mult()
223 static long ti_fapll_round_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_round_rate()
243 static int ti_fapll_set_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_set_rate()
317 u64 rate; in ti_fapll_synth_recalc_rate() local
371 unsigned long rate, in ti_fapll_synth_set_frac_rate()
408 static long ti_fapll_synth_round_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_synth_round_rate()
442 static int ti_fapll_synth_set_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_synth_set_rate()
Ddpll3xxx.c541 int omap3_noncore_dpll_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_noncore_dpll_set_rate()
590 unsigned long rate, in omap3_noncore_dpll_set_rate_and_parent()
737 unsigned long rate; in omap3_clkoutx2_recalc() local
779 int omap3_dpll4_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate()
807 int omap3_dpll4_set_rate_and_parent(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate_and_parent()
Ddivider.c145 static int ti_clk_divider_bestdiv(struct clk_hw *hw, unsigned long rate, in ti_clk_divider_bestdiv()
203 static long ti_clk_divider_round_rate(struct clk_hw *hw, unsigned long rate, in ti_clk_divider_round_rate()
212 static int ti_clk_divider_set_rate(struct clk_hw *hw, unsigned long rate, in ti_clk_divider_set_rate()
Dcomposite.c39 static long ti_composite_round_rate(struct clk_hw *hw, unsigned long rate, in ti_composite_round_rate()
45 static int ti_composite_set_rate(struct clk_hw *hw, unsigned long rate, in ti_composite_set_rate()
/linux-4.4.14/arch/c6x/platforms/
Dpll.c85 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
109 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
213 unsigned long rate = clk->rate; in clk_sysclk_recalc() local
274 unsigned long rate = clk->rate; in clk_pllclk_recalc() local
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy_8960.c47 unsigned long rate; member
357 static const struct pll_rate *find_rate(unsigned long rate) in find_rate()
373 static long hdmi_pll_round_rate(struct clk_hw *hw, unsigned long rate, in hdmi_pll_round_rate()
380 static int hdmi_pll_set_rate(struct clk_hw *hw, unsigned long rate, in hdmi_pll_set_rate()
/linux-4.4.14/drivers/staging/vt6656/
Drxtx.c113 static __le16 vnt_time_stamp_off(struct vnt_private *priv, u16 rate) in vnt_time_stamp_off()
120 u32 frame_length, u16 rate, int need_ack) in vnt_get_rsvtime()
141 u32 frame_length, u16 rate, int need_ack) in vnt_rxtx_rsvtime_le16()
210 u8 dur_type, u8 pkt_type, u16 rate) in vnt_get_rtscts_duration_le()
274 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g() local
309 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g_fb() local
341 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_a_fb() local
368 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_ab() local
790 struct ieee80211_rate *rate; in vnt_tx_packet() local
Drf.c624 int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel) in vnt_rf_setpower()
686 int vnt_rf_set_txpower(struct vnt_private *priv, u8 power, u32 rate) in vnt_rf_set_txpower()
Dint.c74 struct ieee80211_rate *rate; in vnt_int_report_rate() local
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-clk.c191 int v4l2_clk_set_rate(struct v4l2_clk *clk, unsigned long rate) in v4l2_clk_set_rate()
280 unsigned long rate; member
291 unsigned long rate, struct module *owner) in __v4l2_clk_register_fixed()
/linux-4.4.14/sound/pci/ice1712/
Djuli.c154 static int get_gpio_val(int rate) in get_gpio_val()
185 int rate; in juli_spdif_in_open() local
222 static void juli_akm_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) in juli_akm_set_rate_val()
531 static void juli_set_rate(struct snd_ice1712 *ice, unsigned int rate) in juli_set_rate()
549 unsigned int rate) in juli_set_mclk()
571 int rate; in juli_ak4114_change() local
Ddelta.c316 static void delta_1010_set_rate_val(struct snd_ice1712 *ice, unsigned int rate) in delta_1010_set_rate_val()
336 static void delta_ak4524_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) in delta_ak4524_set_rate_val()
368 static void vx442_ak4524_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) in vx442_ak4524_set_rate_val()
394 static void delta_setup_spdif(struct snd_ice1712 *ice, int rate) in delta_setup_spdif()
Dse.c123 unsigned int rate) in se200pci_WM8740_set_pro_rate()
218 unsigned int rate) in se200pci_WM8766_set_pro_rate()
336 unsigned int rate) in se200pci_WM8776_set_pro_rate()
346 static void se200pci_set_pro_rate(struct snd_ice1712 *ice, unsigned int rate) in se200pci_set_pro_rate()
Dquartet.c351 static void qtet_akm_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) in qtet_akm_set_rate_val()
853 static int get_cks_val(int rate) in get_cks_val()
863 static void qtet_set_rate(struct snd_ice1712 *ice, unsigned int rate) in qtet_set_rate()
880 unsigned int rate) in qtet_set_mclk()
949 int rate; in qtet_ak4113_change() local
969 int rate; in qtet_spdif_in_open() local
/linux-4.4.14/drivers/net/wireless/b43legacy/
Dmain.h86 int b43legacy_is_cck_rate(int rate) in b43legacy_is_cck_rate()
95 int b43legacy_is_ofdm_rate(int rate) in b43legacy_is_ofdm_rate()
/linux-4.4.14/arch/arm/mach-mmp/
Dclock.c81 unsigned long rate; in clk_get_rate() local
92 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/linux-4.4.14/drivers/clk/meson/
Dclk-pll.c83 static long meson_clk_pll_round_rate(struct clk_hw *hw, unsigned long rate, in meson_clk_pll_round_rate()
100 unsigned long rate) in meson_clk_get_pll_settings()
128 static int meson_clk_pll_set_rate(struct clk_hw *hw, unsigned long rate, in meson_clk_pll_set_rate()
Dclk-cpu.c64 static long meson_clk_cpu_round_rate(struct clk_hw *hw, unsigned long rate, in meson_clk_cpu_round_rate()
73 static int meson_clk_cpu_set_rate(struct clk_hw *hw, unsigned long rate, in meson_clk_cpu_set_rate()
/linux-4.4.14/drivers/clk/rockchip/
Dclk-pll.c52 struct rockchip_clk_pll *pll, unsigned long rate) in rockchip_get_pll_settings()
130 struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_get_params()
174 const struct rockchip_pll_rate_table *rate) in rockchip_rk3066_pll_set_params()
236 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_set_rate() local
290 const struct rockchip_pll_rate_table *rate; in rockchip_rk3066_pll_init() local
Dclk-cpu.c75 struct rockchip_cpuclk *cpuclk, unsigned long rate) in rockchip_get_cpuclk_settings()
106 const struct rockchip_cpuclk_rate_table *rate) in rockchip_cpuclk_set_dividers()
177 const struct rockchip_cpuclk_rate_table *rate; in rockchip_cpuclk_post_rate_change() local
Dclk-mmc-phase.c58 unsigned long rate = clk_get_rate(hw->clk); in rockchip_mmc_get_phase() local
83 unsigned long rate = clk_get_rate(hw->clk); in rockchip_mmc_set_phase() local
Dclk-rk3188.c777 unsigned long rate; in rk3188a_clk_init() local
819 struct rockchip_pll_rate_table *rate; in rk3188_clk_init() local
/linux-4.4.14/sound/soc/codecs/
Dml26124.c48 u32 rate; member
56 u32 rate; member
306 static inline int get_srate(int rate) in get_srate()
326 static inline int get_coeff(int mclk, int rate) in get_coeff()
Dmax98925.c208 int rate; member
260 int rate, int clock, int *value, int *n, int *m) in max98925_rate_value()
356 int rate = params_rate(params); in max98925_set_clock() local
Drl6231.c72 int rl6231_calc_dmic_clk(int rate) in rl6231_calc_dmic_clk()
189 int rl6231_get_clk_info(int sclk, int rate) in rl6231_get_clk_info()
Dmax98088.c36 unsigned int rate; member
933 u32 rate; member
948 static inline int rate_value(int rate, u8 *value) in rate_value()
970 unsigned int rate; in max98088_dai1_hw_params() local
1037 unsigned int rate; in max98088_dai2_hw_params() local
Dwl1273.c44 int rate, int width) in snd_wl1273_fm_set_i2s_mode()
341 unsigned int rate, width, r; in wl1273_hw_params() local
Dcs4265.c240 u32 rate; member
310 static int cs4265_get_clk_index(int mclk, int rate) in cs4265_get_clk_index()
Dtlv320dac33.c56 #define SAMPLES_TO_US(rate, samples) \ argument
59 #define US_TO_SAMPLES(rate, us) \ argument
853 #define CALC_OSCSET(rate, refclk) ( \ argument
855 #define CALC_RATIOSET(rate, refclk) ( \ argument
1066 unsigned int rate = substream->runtime->rate; in dac33_calculate_times() local
Dmax98095.c37 unsigned int rate; member
912 u32 rate; member
927 static int rate_value(int rate, u8 *value) in rate_value()
949 unsigned int rate; in max98095_dai1_hw_params() local
1010 unsigned int rate; in max98095_dai2_hw_params() local
1071 unsigned int rate; in max98095_dai3_hw_params() local
/linux-4.4.14/sound/firewire/dice/
Ddice-pcm.c25 unsigned int i, rate, mode, *pcm_channels; in dice_rate_constraint() local
60 unsigned int i, rate, mode, *pcm_channels; in dice_channels_constraint() local
87 unsigned int i, rate, mode; in limit_channels_and_rates() local
167 unsigned int source, rate; in pcm_open() local
Ddice-stream.c27 int snd_dice_stream_get_rate_mode(struct snd_dice *dice, unsigned int rate, in snd_dice_stream_get_rate_mode()
99 unsigned int rate) in start_stream()
193 int snd_dice_stream_start_duplex(struct snd_dice *dice, unsigned int rate) in snd_dice_stream_start_duplex()
Ddice-transaction.c66 unsigned int rate, unsigned int source) in set_clock_info()
141 int snd_dice_transaction_get_rate(struct snd_dice *dice, unsigned int *rate) in snd_dice_transaction_get_rate()
161 int snd_dice_transaction_set_rate(struct snd_dice *dice, unsigned int rate) in snd_dice_transaction_set_rate()
Ddice.c115 unsigned int mode, unsigned int *rate) in highest_supported_mode_rate()
135 unsigned int rate; in dice_read_mode_params() local
/linux-4.4.14/arch/arm/mach-footbridge/
Ddc21285-timer.c116 unsigned rate = DIV_ROUND_CLOSEST(mem_fclk_21285, 16); in footbridge_timer_init() local
133 unsigned rate = DIV_ROUND_CLOSEST(mem_fclk_21285, 16); in footbridge_sched_clock() local
/linux-4.4.14/sound/firewire/bebob/
Dbebob_stream.c51 get_formation_index(unsigned int rate, unsigned int *index) in get_formation_index()
98 snd_bebob_stream_set_rate(struct snd_bebob *bebob, unsigned int rate) in snd_bebob_stream_set_rate()
422 make_both_connections(struct snd_bebob *bebob, unsigned int rate) in make_both_connections()
512 unsigned int rate) in start_stream()
585 int snd_bebob_stream_start_duplex(struct snd_bebob *bebob, unsigned int rate) in snd_bebob_stream_start_duplex()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_wlan_util.c68 int cckrates_included23a(unsigned char *rate, int ratelen) in cckrates_included23a()
81 int cckratesonly_included23a(unsigned char *rate, int ratelen) in cckratesonly_included23a()
128 unsigned char *rate, int ratelen) in judge_network_type23a()
152 static unsigned char ratetbl_val_2wifirate(unsigned char rate) in ratetbl_val_2wifirate()
197 static int is_basicrate(struct rtw_adapter *padapter, unsigned char rate) in is_basicrate()
219 unsigned char rate; in ratetbl2rateset() local
258 u8 rate; in UpdateBrateTbl23a() local
282 u8 rate; in Update23aTblForSoftAP() local
1140 static int wifirate2_ratetbl_inx23a(unsigned char rate) in wifirate2_ratetbl_inx23a()
1448 unsigned char *rate = cur_network->SupportedRates; in update_wireless_mode23a() local
/linux-4.4.14/drivers/clk/at91/
Dclk-h32mx.c52 static long clk_sama5d4_h32mx_round_rate(struct clk_hw *hw, unsigned long rate, in clk_sama5d4_h32mx_round_rate()
69 static int clk_sama5d4_h32mx_set_rate(struct clk_hw *hw, unsigned long rate, in clk_sama5d4_h32mx_set_rate()
Dclk-plldiv.c39 static long clk_plldiv_round_rate(struct clk_hw *hw, unsigned long rate, in clk_plldiv_round_rate()
56 static int clk_plldiv_set_rate(struct clk_hw *hw, unsigned long rate, in clk_plldiv_set_rate()
Dclk-smd.c46 static long at91sam9x5_clk_smd_round_rate(struct clk_hw *hw, unsigned long rate, in at91sam9x5_clk_smd_round_rate()
91 static int at91sam9x5_clk_smd_set_rate(struct clk_hw *hw, unsigned long rate, in at91sam9x5_clk_smd_set_rate()
Dclk-usb.c133 static int at91sam9x5_clk_usb_set_rate(struct clk_hw *hw, unsigned long rate, in at91sam9x5_clk_usb_set_rate()
272 static long at91rm9200_clk_usb_round_rate(struct clk_hw *hw, unsigned long rate, in at91rm9200_clk_usb_round_rate()
310 static int at91rm9200_clk_usb_set_rate(struct clk_hw *hw, unsigned long rate, in at91rm9200_clk_usb_set_rate()
/linux-4.4.14/drivers/clk/bcm/
Dclk-iproc-asiu.c31 unsigned long rate; member
111 static long iproc_asiu_clk_round_rate(struct clk_hw *hw, unsigned long rate, in iproc_asiu_clk_round_rate()
129 static int iproc_asiu_clk_set_rate(struct clk_hw *hw, unsigned long rate, in iproc_asiu_clk_set_rate()
Dclk-iproc-pll.c72 unsigned long rate; member
250 unsigned long rate = vco->rate; in pll_set_rate() local
412 static long iproc_pll_round_rate(struct clk_hw *hw, unsigned long rate, in iproc_pll_round_rate()
433 static int iproc_pll_set_rate(struct clk_hw *hw, unsigned long rate, in iproc_pll_set_rate()
513 static long iproc_clk_round_rate(struct clk_hw *hw, unsigned long rate, in iproc_clk_round_rate()
534 static int iproc_clk_set_rate(struct clk_hw *hw, unsigned long rate, in iproc_clk_set_rate()
Dclk-kona.c118 scale_rate(struct bcm_clk_div *div, u32 rate) in scale_rate()
749 unsigned long rate, unsigned long parent_rate, in round_rate()
1007 static long kona_peri_clk_round_rate(struct clk_hw *hw, unsigned long rate, in kona_peri_clk_round_rate()
1030 long rate; in kona_peri_clk_determine_rate() local
1129 static int kona_peri_clk_set_rate(struct clk_hw *hw, unsigned long rate, in kona_peri_clk_set_rate()
/linux-4.4.14/arch/avr32/mach-at32ap/
Dclock.c124 unsigned long rate; in clk_get_rate() local
137 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
155 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
/linux-4.4.14/drivers/mmc/host/
Dsdhci-s3c.c90 unsigned long rate, max = 0; in sdhci_s3c_get_max_clk() local
112 unsigned long rate; in sdhci_s3c_consider_clock() local
239 unsigned long rate, min = ULONG_MAX; in sdhci_s3c_get_min_clock() local
257 unsigned long rate, max = 0; in sdhci_cmu_get_max_clock() local
279 unsigned long rate, min = ULONG_MAX; in sdhci_cmu_get_min_clock() local
/linux-4.4.14/drivers/clk/shmobile/
Dclk-div6.c88 static unsigned int cpg_div6_clock_calc_div(unsigned long rate, in cpg_div6_clock_calc_div()
100 static long cpg_div6_clock_round_rate(struct clk_hw *hw, unsigned long rate, in cpg_div6_clock_round_rate()
108 static int cpg_div6_clock_set_rate(struct clk_hw *hw, unsigned long rate, in cpg_div6_clock_set_rate()
/linux-4.4.14/drivers/clk/sunxi/
Dclk-factors.c49 unsigned long rate; in clk_factors_recalc_rate() local
72 static long clk_factors_round_rate(struct clk_hw *hw, unsigned long rate, in clk_factors_round_rate()
120 static int clk_factors_set_rate(struct clk_hw *hw, unsigned long rate, in clk_factors_set_rate()
Dclk-a10-hosc.c32 u32 rate; in sun4i_osc_clk_setup() local
/linux-4.4.14/drivers/clk/samsung/
Dclk-pll.c34 struct samsung_clk_pll *pll, unsigned long rate) in samsung_get_pll_settings()
164 const struct samsung_pll_rate_table *rate, u32 pll_con) in samsung_pll35xx_mp_change()
178 const struct samsung_pll_rate_table *rate; in samsung_pll35xx_set_rate() local
271 const struct samsung_pll_rate_table *rate, u32 pll_con0, u32 pll_con1) in samsung_pll36xx_mpk_change()
288 const struct samsung_pll_rate_table *rate; in samsung_pll36xx_set_rate() local
384 const struct samsung_pll_rate_table *rate) in samsung_pll45xx_mp_change()
400 const struct samsung_pll_rate_table *rate; in samsung_pll45xx_set_rate() local
535 const struct samsung_pll_rate_table *rate) in samsung_pll46xx_mpk_change()
551 const struct samsung_pll_rate_table *rate; in samsung_pll46xx_set_rate() local
770 const struct samsung_pll_rate_table *rate; in samsung_s3c2410_pll_set_rate() local
[all …]
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-stream.c42 static int set_rate(struct snd_oxfw *oxfw, unsigned int rate) in set_rate()
59 unsigned int rate, unsigned int pcm_channels) in set_stream_format()
116 unsigned int rate, unsigned int pcm_channels) in start_stream()
256 unsigned int rate, unsigned int pcm_channels) in snd_oxfw_stream_start_simplex()
/linux-4.4.14/drivers/net/wireless/libertas/
Dradiotap.h5 u8 rate; member
35 u8 rate; member
Dtx.c25 static u32 convert_radiotap_rate_to_mv(u8 rate) in convert_radiotap_rate_to_mv()
/linux-4.4.14/drivers/clk/mxs/
Dclk-pll.c33 unsigned long rate; member
89 void __iomem *base, u8 power, unsigned long rate) in mxs_clk_pll()
Dclk-div.c49 static long clk_div_round_rate(struct clk_hw *hw, unsigned long rate, in clk_div_round_rate()
57 static int clk_div_set_rate(struct clk_hw *hw, unsigned long rate, in clk_div_set_rate()
Dclk-ref.c66 static long clk_ref_round_rate(struct clk_hw *hw, unsigned long rate, in clk_ref_round_rate()
89 static int clk_ref_set_rate(struct clk_hw *hw, unsigned long rate, in clk_ref_set_rate()
Dclk-frac.c53 static long clk_frac_round_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_round_rate()
79 static int clk_frac_set_rate(struct clk_hw *hw, unsigned long rate, in clk_frac_set_rate()
Dclk-ssp.c27 void mxs_ssp_set_clk_rate(struct mxs_ssp *ssp, unsigned int rate) in mxs_ssp_set_clk_rate()
Dclk.h39 static inline struct clk *mxs_clk_fixed(const char *name, int rate) in mxs_clk_fixed()
/linux-4.4.14/drivers/clk/ingenic/
Dcgu.c124 unsigned long rate, unsigned long parent_rate, in ingenic_pll_calc()
178 unsigned long rate, flags; in ingenic_pll_set_rate() local
318 unsigned long rate = parent_rate; in ingenic_clk_recalc_rate() local
358 long rate = *parent_rate; in ingenic_clk_round_rate() local
378 unsigned long rate, flags; in ingenic_clk_set_rate() local
/linux-4.4.14/net/netfilter/
Dnft_limit.c26 u64 rate; member
71 u64 rate; in nft_limit_init() local
90 u64 rate = limit->rate - limit->burst; in nft_limit_dump() local
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-vbi-gen.c37 const unsigned rate = 5000000; /* WSS has a 5 MHz transmission rate */ in vivid_vbi_gen_wss_raw() local
63 const unsigned rate = 6937500 / 10; /* Teletext has a 6.9375 MHz transmission rate */ in vivid_vbi_gen_teletext_raw() local
98 const unsigned rate = 1000000; /* CC has a 1 MHz transmission rate */ in vivid_vbi_gen_cc_raw() local
/linux-4.4.14/arch/arm/mach-w90x900/
Dtime.c125 unsigned int rate; in nuc900_clockevents_init() local
149 unsigned int rate; in nuc900_clocksource_init() local
/linux-4.4.14/arch/mips/loongson64/lemote-2f/
Dclock.c92 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
126 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
/linux-4.4.14/sound/pci/echoaudio/
Dlayla20_dsp.c159 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
189 u32 rate; in set_input_clock() local
Dechoaudio_3g.c143 static u32 set_spdif_bits(struct echoaudio *chip, u32 control_reg, u32 rate) in set_spdif_bits()
256 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
Ddarla20_dsp.c88 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
Dindigo_express_dsp.c29 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
Ddarla24_dsp.c97 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
Dindigoio_dsp.c90 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
Dindigodj_dsp.c90 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
Dindigo_dsp.c90 static int set_sample_rate(struct echoaudio *chip, u32 rate) in set_sample_rate()
/linux-4.4.14/drivers/clk/h8300/
Dclk-h8s2678.c35 static long pll_round_rate(struct clk_hw *hw, unsigned long rate, in pll_round_rate()
57 static int pll_set_rate(struct clk_hw *hw, unsigned long rate, in pll_set_rate()
/linux-4.4.14/arch/mips/lantiq/
Dclk.c82 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
102 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
/linux-4.4.14/include/sound/
Dmax98095.h19 unsigned int rate; member
30 unsigned int rate; member
Dwm9081.h16 unsigned int rate; member
/linux-4.4.14/drivers/clk/hisilicon/
Dclk-hi6220-stub.c123 u32 rate = 0; in hi6220_stub_clk_recalc_rate() local
143 static int hi6220_stub_clk_set_rate(struct clk_hw *hw, unsigned long rate, in hi6220_stub_clk_set_rate()
168 static long hi6220_stub_clk_round_rate(struct clk_hw *hw, unsigned long rate, in hi6220_stub_clk_round_rate()
Dclkdivider-hi6220.c60 static long hi6220_clkdiv_round_rate(struct clk_hw *hw, unsigned long rate, in hi6220_clkdiv_round_rate()
69 static int hi6220_clkdiv_set_rate(struct clk_hw *hw, unsigned long rate, in hi6220_clkdiv_set_rate()
Dclk-hi3620.c335 static int mmc_clk_set_timing(struct clk_hw *hw, unsigned long rate) in mmc_clk_set_timing()
402 unsigned long rate; in mmc_clk_prepare() local
412 static int mmc_clk_set_rate(struct clk_hw *hw, unsigned long rate, in mmc_clk_set_rate()
/linux-4.4.14/sound/usb/
Dclock.c281 struct audioformat *fmt, int rate) in set_sample_rate_v1()
354 struct audioformat *fmt, int rate) in set_sample_rate_v2()
418 struct audioformat *fmt, int rate) in snd_usb_init_sample_rate()
Dformat.c187 unsigned int rate = combine_triple(&fmt[idx]); in parse_audio_format_rates_v1() local
243 unsigned int rate; in parse_uac2_sample_rate_range() local
Dendpoint.c70 static inline unsigned get_usb_full_speed_rate(unsigned int rate) in get_usb_full_speed_rate()
79 static inline unsigned get_usb_high_speed_rate(unsigned int rate) in get_usb_high_speed_rate()
851 unsigned int rate, in snd_usb_endpoint_set_params()
/linux-4.4.14/drivers/clk/pistachio/
Dclk-pll.c145 static long pll_round_rate(struct clk_hw *hw, unsigned long rate, in pll_round_rate()
196 static int pll_gf40lp_frac_set_rate(struct clk_hw *hw, unsigned long rate, in pll_gf40lp_frac_set_rate()
276 u64 val, prediv, fbdiv, frac, postdiv1, postdiv2, rate; in pll_gf40lp_frac_recalc_rate() local
353 static int pll_gf40lp_laint_set_rate(struct clk_hw *hw, unsigned long rate, in pll_gf40lp_laint_set_rate()
417 u64 rate = parent_rate; in pll_gf40lp_laint_recalc_rate() local
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_wlan_util.c66 int cckrates_included(unsigned char *rate, int ratelen) in cckrates_included()
78 int cckratesonly_included(unsigned char *rate, int ratelen) in cckratesonly_included()
114 u8 judge_network_type(struct adapter *padapter, unsigned char *rate, int ratelen) in judge_network_type()
139 static unsigned char ratetbl_val_2wifirate(unsigned char rate) in ratetbl_val_2wifirate()
171 static int is_basicrate(struct adapter *padapter, unsigned char rate) in is_basicrate()
191 unsigned char rate; in ratetbl2rateset() local
229 u8 rate; in UpdateBrateTbl() local
251 u8 rate; in UpdateBrateTblForSoftAP() local
1191 static int wifirate2_ratetbl_inx(unsigned char rate) in wifirate2_ratetbl_inx()
1487 unsigned char *rate = cur_network->SupportedRates; in update_wireless_mode() local
/linux-4.4.14/arch/mips/bcm63xx/
Dclk.c21 unsigned int rate; member
343 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
349 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
/linux-4.4.14/sound/soc/spear/
Dspdif_out.c29 u32 rate; member
92 u32 rate) in spdif_out_clock()
110 u32 rate, core_freq; in spdif_out_hw_params() local
/linux-4.4.14/sound/soc/fsl/
Dwm1133-ev1.c36 unsigned int rate; member
88 unsigned int rate = params_rate(params); in wm1133_ev1_hw_params() local
/linux-4.4.14/drivers/clk/mmp/
Dclk-frac.c31 unsigned long rate = 0, prev_rate; in clk_factor_round_rate() local
81 unsigned long prev_rate, rate = 0; in clk_factor_set_rate() local
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dinit.c163 u32 rate; in wl1271_ap_init_deauth_template() local
190 u32 rate; in wl1271_ap_init_null_template() local
223 u32 rate; in wl1271_ap_init_qos_null_template() local
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_command.c295 unsigned int source, unsigned int rate) in command_set_clock()
356 int snd_efw_command_get_sampling_rate(struct snd_efw *efw, unsigned int *rate) in snd_efw_command_get_sampling_rate()
368 int snd_efw_command_set_sampling_rate(struct snd_efw *efw, unsigned int rate) in snd_efw_command_set_sampling_rate()
/linux-4.4.14/drivers/clk/sirf/
Dclk-common.c96 static long pll_clk_round_rate(struct clk_hw *hw, unsigned long rate, in pll_clk_round_rate()
127 static int pll_clk_set_rate(struct clk_hw *hw, unsigned long rate, in pll_clk_set_rate()
163 static long cpu_clk_round_rate(struct clk_hw *hw, unsigned long rate, in cpu_clk_round_rate()
352 static long dmn_clk_round_rate(struct clk_hw *hw, unsigned long rate, in dmn_clk_round_rate()
373 static int dmn_clk_set_rate(struct clk_hw *hw, unsigned long rate, in dmn_clk_set_rate()
404 static int cpu_clk_set_rate(struct clk_hw *hw, unsigned long rate, in cpu_clk_set_rate()
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
Dusb.c23 int qe_usb_clock_set(enum qe_clock clk, int rate) in qe_usb_clock_set()
/linux-4.4.14/net/mac80211/
Drc80211_minstrel_ht.c268 minstrel_ht_get_group_idx(struct ieee80211_tx_rate *rate) in minstrel_ht_get_group_idx()
276 minstrel_vht_get_group_idx(struct ieee80211_tx_rate *rate) in minstrel_vht_get_group_idx()
286 struct ieee80211_tx_rate *rate) in minstrel_ht_get_stats()
321 minstrel_ht_get_tp_avg(struct minstrel_ht_sta *mi, int group, int rate, in minstrel_ht_get_tp_avg()
610 minstrel_ht_txstat_valid(struct minstrel_priv *mp, struct ieee80211_tx_rate *rate) in minstrel_ht_txstat_valid()
705 struct minstrel_rate_stats *rate, *rate2; in minstrel_ht_tx_status() local
1009 struct ieee80211_tx_rate *rate = &info->status.rates[0]; in minstrel_ht_get_rate() local
Drc80211_minstrel.c339 struct ieee80211_tx_rate *rate = &info->control.rates[0]; in minstrel_get_rate() local
441 struct ieee80211_rate *rate, in calc_rate_durations()
629 struct ieee80211_rate *rate = &sband->bitrates[i]; in minstrel_init_cck_rates() local
/linux-4.4.14/drivers/mfd/
Ddb8500-prcmu.c1495 u64 rate; in pll_rate() local
1534 unsigned long rate = ROOT_CLOCK_RATE; in clock_rate() local
1573 unsigned long rate; in armss_rate() local
1675 static u32 clock_divider(unsigned long src_rate, unsigned long rate) in clock_divider()
1687 static long round_clock_rate(u8 clock, unsigned long rate) in round_clock_rate()
1726 static long round_armss_rate(unsigned long rate) in round_armss_rate()
1748 static long round_plldsi_rate(unsigned long rate) in round_plldsi_rate()
1785 static long round_dsiclk_rate(unsigned long rate) in round_dsiclk_rate()
1799 static long round_dsiescclk_rate(unsigned long rate) in round_dsiescclk_rate()
1812 long prcmu_round_clock_rate(u8 clock, unsigned long rate) in prcmu_round_clock_rate()
[all …]
/linux-4.4.14/drivers/clk/spear/
Dclk.c20 unsigned long prev_rate, rate = 0; in clk_round_rate_index() local
/linux-4.4.14/drivers/staging/wilc1000/
Dlinux_mon.c17 u8 rate; member
22 u8 rate; member
/linux-4.4.14/sound/pci/
Drme32.c408 int rate; in snd_rme32_playback_getrate() local
490 static int snd_rme32_playback_setrate(struct rme32 * rme32, int rate) in snd_rme32_playback_setrate()
654 int err, rate, dummy; in snd_rme32_playback_hw_params() local
709 int err, isadat, rate; in snd_rme32_capture_hw_params() local
845 int rate, dummy; in snd_rme32_playback_spdif_open() local
888 int isadat, rate; in snd_rme32_capture_spdif_open() local
927 int rate, dummy; in snd_rme32_playback_adat_open() local
962 int isadat, rate; in snd_rme32_capture_adat_open() local
Drme96.c609 int n, rate; in snd_rme96_capture_getrate() local
671 int rate, dummy; in snd_rme96_playback_getrate() local
700 int rate) in snd_rme96_playback_setrate()
753 int rate) in snd_rme96_capture_analog_setrate()
983 int err, rate, dummy; in snd_rme96_playback_hw_params() local
1046 int err, isadat, rate; in snd_rme96_capture_hw_params() local
1182 int rate, dummy; in snd_rme96_playback_spdif_open() local
1219 int isadat, rate; in snd_rme96_capture_spdif_open() local
1251 int rate, dummy; in snd_rme96_playback_adat_open() local
1283 int isadat, rate; in snd_rme96_capture_adat_open() local
/linux-4.4.14/arch/mips/alchemy/common/
Dclock.c187 unsigned long rate, in alchemy_clk_aux_setr()
207 unsigned long rate, in alchemy_clk_aux_roundr()
368 static long alchemy_calc_div(unsigned long rate, unsigned long prate, in alchemy_calc_div()
541 static int alchemy_clk_fgv1_setr(struct clk_hw *hw, unsigned long rate, in alchemy_clk_fgv1_setr()
662 static int alchemy_clk_fgv2_setr(struct clk_hw *hw, unsigned long rate, in alchemy_clk_fgv2_setr()
885 static int alchemy_clk_csrc_setr(struct clk_hw *hw, unsigned long rate, in alchemy_clk_csrc_setr()
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_510.c64 uint32_t rate, ref, div; in armada510_crtc_compute_clock() local
/linux-4.4.14/arch/arm/mach-versatile/include/mach/
Dclkdev.h7 unsigned long rate; member
/linux-4.4.14/drivers/watchdog/
Dsp805_wdt.c81 u64 load, rate; in wdt_setload() local
109 u64 load, rate; in wdt_timeleft() local
/linux-4.4.14/sound/soc/kirkwood/
Dkirkwood-i2s.c78 static inline void kirkwood_set_dco(void __iomem *io, unsigned long rate) in kirkwood_set_dco()
106 struct kirkwood_dma_data *priv, unsigned long rate) in kirkwood_set_rate()
/linux-4.4.14/include/linux/
Dclk.h439 static inline int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
444 static inline long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
Dfd.h16 unsigned char rate; member
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dtx.h134 __le16 rate; member
200 u16 rate; member
/linux-4.4.14/kernel/time/
Dsched_clock.c66 unsigned long rate; member
168 sched_clock_register(u64 (*read)(void), int bits, unsigned long rate) in sched_clock_register()
/linux-4.4.14/sound/soc/cirrus/
Dedb93xx.c39 unsigned int rate = params_rate(params); in edb93xx_hw_params() local
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dtx.c33 u8 band, struct ieee80211_tx_rate *rate) in wl18xx_get_last_tx_rate()
/linux-4.4.14/drivers/cpufreq/
Dat32ap-cpufreq.c54 unsigned int frequency, rate, min_freq; in at32_cpufreq_driver_init() local
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dcfp.c201 u32 rate = 0; in mwifiex_index_to_acs_data_rate() local
257 u32 rate; in mwifiex_index_to_data_rate() local
/linux-4.4.14/drivers/staging/vt6655/
Drf.c771 unsigned int rate, in RFbSetPower()
845 unsigned int rate in RFbRawSetPower()
/linux-4.4.14/sound/soc/qcom/
Dstorm.c33 unsigned int rate = params_rate(params); in storm_ops_hw_params() local
/linux-4.4.14/sound/soc/intel/boards/
Dhaswell.c49 struct snd_interval *rate = hw_param_interval(params, in haswell_ssp0_fixup() local
/linux-4.4.14/include/linux/i2c/
Dpxa-i2c.h72 unsigned long rate; member
/linux-4.4.14/sound/firewire/
Dfcp.c28 int avc_general_set_sig_fmt(struct fw_unit *unit, unsigned int rate, in avc_general_set_sig_fmt()
82 int avc_general_get_sig_fmt(struct fw_unit *unit, unsigned int *rate, in avc_general_get_sig_fmt()
/linux-4.4.14/drivers/net/wan/
Dsbni.h49 u8 rate : 2; member
126 u32 rate : 2; member
/linux-4.4.14/sound/soc/mxs/
Dmxs-saif.c91 unsigned int rate) in mxs_saif_set_clk()
239 unsigned int rate) in mxs_saif_get_mclk()
/linux-4.4.14/firmware/keyspan_pda/
Dkeyspan_pda.S297 #define BAUD_TIMEOUT(rate) (65536 - (24 * 1000 * 1000) / (32 * rate)) argument
298 #define BAUD_HIGH(rate) HIGH(BAUD_TIMEOUT(rate)) argument
299 #define BAUD_LOW(rate) LOW(BAUD_TIMEOUT(rate)) argument
Dxircom_pgs.S335 #define BAUD_TIMEOUT(rate) (65536 - (24 * 1000 * 1000) / (32 * rate)) argument
336 #define BAUD_HIGH(rate) HIGH(BAUD_TIMEOUT(rate)) argument
337 #define BAUD_LOW(rate) LOW(BAUD_TIMEOUT(rate)) argument

12345