/openbmc/linux/drivers/clk/qcom/ |
H A D | clk-rpm.c | 91 unsigned long rate; member 140 static int clk_rpm_set_rate_active(struct clk_rpm *r, unsigned long rate) in clk_rpm_set_rate_active() 148 static int clk_rpm_set_rate_sleep(struct clk_rpm *r, unsigned long rate) in clk_rpm_set_rate_sleep() 156 static void to_active_sleep(struct clk_rpm *r, unsigned long rate, in to_active_sleep() 321 unsigned long rate, unsigned long parent_rate) in clk_rpm_set_rate() 360 static long clk_rpm_round_rate(struct clk_hw *hw, unsigned long rate, in clk_rpm_round_rate()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-highbank.c | 110 static void clk_pll_calc(unsigned long rate, unsigned long ref_freq, in clk_pll_calc() 134 static long clk_pll_round_rate(struct clk_hw *hwclk, unsigned long rate, in clk_pll_round_rate() 145 static int clk_pll_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_pll_set_rate() 231 static long clk_periclk_round_rate(struct clk_hw *hwclk, unsigned long rate, in clk_periclk_round_rate() 243 static int clk_periclk_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_periclk_set_rate()
|
/openbmc/linux/drivers/clk/hisilicon/ |
H A D | clk-hi3660-stub.c | 51 unsigned int rate; member 70 static long hi3660_stub_clk_round_rate(struct clk_hw *hw, unsigned long rate, in hi3660_stub_clk_round_rate() 80 static int hi3660_stub_clk_set_rate(struct clk_hw *hw, unsigned long rate, in hi3660_stub_clk_set_rate()
|
/openbmc/u-boot/drivers/sound/ |
H A D | max98088.c | 34 static int rate_value(int rate, u8 *value) in rate_value() 58 int max98088_hw_params(struct maxim_priv *priv, unsigned int rate, in max98088_hw_params() 384 static int max98088_set_params(struct udevice *dev, int interface, int rate, in max98088_set_params()
|
H A D | max98095.c | 33 static int rate_value(int rate, u8 *value) in rate_value() 59 unsigned int rate, unsigned int bits_per_sample) in max98095_hw_params() 424 static int max98095_set_params(struct udevice *dev, int interface, int rate, in max98095_set_params()
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_mult.c | 17 static void ccu_mult_find_best(unsigned long parent, unsigned long rate, in ccu_mult_find_best() 35 unsigned long rate, in ccu_mult_round_rate() 103 static int ccu_mult_set_rate(struct clk_hw *hw, unsigned long rate, in ccu_mult_set_rate()
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-stm32-lp.c | 109 unsigned long *rate) in stm32_clkevent_lp_set_prescaler() 126 struct device_node *np, unsigned long rate) in stm32_clkevent_lp_init() 146 unsigned long rate; in stm32_clkevent_lp_probe() local
|
H A D | clps711x-timer.c | 32 unsigned long rate = clk_get_rate(clock); in clps711x_clksrc_init() local 55 unsigned long rate; in _clps711x_clkevt_init() local
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | clk-audio-sync.c | 20 static long clk_sync_source_round_rate(struct clk_hw *hw, unsigned long rate, in clk_sync_source_round_rate() 31 static int clk_sync_source_set_rate(struct clk_hw *hw, unsigned long rate, in clk_sync_source_set_rate()
|
/openbmc/linux/drivers/clk/mvebu/ |
H A D | dove-divider.c | 67 static int dove_calc_divider(const struct dove_clk *dc, unsigned long rate, in dove_calc_divider() 103 unsigned long rate = DIV_ROUND_CLOSEST(parent, divider); in dove_recalc_rate() local 111 static long dove_round_rate(struct clk_hw *hw, unsigned long rate, in dove_round_rate() 130 static int dove_set_clock(struct clk_hw *hw, unsigned long rate, in dove_set_clock()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | ml26124.c | 36 u32 rate; member 44 u32 rate; member 293 static inline int get_srate(int rate) in get_srate() 313 static inline int get_coeff(int mclk, int rate) in get_coeff()
|
/openbmc/linux/sound/soc/mediatek/mt6797/ |
H A D | mt6797-dai-adda.c | 39 unsigned int rate) in adda_dl_rate_transform() 72 unsigned int rate) in adda_ul_rate_transform() 235 unsigned int rate = params_rate(params); in mtk_dai_adda_hw_params() local
|
/openbmc/u-boot/drivers/clk/renesas/ |
H A D | clk-rcar-gen2.c | 82 u32 value, mult, div, rate = 0; in gen2_clk_get_rate() local 209 static int gen2_clk_setup_mmcif_div(struct clk *clk, ulong rate) in gen2_clk_setup_mmcif_div() 249 static ulong gen2_clk_set_rate(struct clk *clk, ulong rate) in gen2_clk_set_rate()
|
/openbmc/u-boot/drivers/usb/phy/ |
H A D | omap_usb_phy.c | 34 unsigned long rate; member 51 unsigned long rate; in omap_usb3_get_dpll_params() local 117 u32 rate = get_sys_clk_freq()/1000000; in usb3_phy_partial_powerup() local
|
/openbmc/linux/drivers/clk/imx/ |
H A D | clk.c | 84 const char *name, unsigned long rate) in imx_obtain_fixed_clock() 95 const char *name, unsigned long rate) in imx_obtain_fixed_clock_hw() 106 const char *name, unsigned long rate) in imx_obtain_fixed_of_clock()
|
/openbmc/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_clk_div.c | 44 static int mcde_clk_div_choose_div(struct clk_hw *hw, unsigned long rate, in mcde_clk_div_choose_div() 74 static long mcde_clk_div_round_rate(struct clk_hw *hw, unsigned long rate, in mcde_clk_div_round_rate() 109 static int mcde_clk_div_set_rate(struct clk_hw *hw, unsigned long rate, in mcde_clk_div_set_rate()
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | time.c | 160 static __init void omap_init_mpu_timer(unsigned long rate) in omap_init_mpu_timer() 184 static void __init omap_init_clocksource(unsigned long rate) in omap_init_clocksource() 201 unsigned long rate; in omap_mpu_timer_init() local
|
/openbmc/linux/drivers/memory/tegra/ |
H A D | tegra210-emc-core.c | 856 unsigned long rate) in tegra210_emc_find_timing() 941 u32 temp = 0, rate = next->rate / 1000; in tegra210_emc_compensate() local 1533 unsigned long rate = config->rate; in tegra210_emc_set_rate() local 1597 unsigned long rate) in tegra210_emc_validate_rate() 1626 static int tegra210_emc_debug_min_rate_get(void *data, u64 *rate) in tegra210_emc_debug_min_rate_get() 1635 static int tegra210_emc_debug_min_rate_set(void *data, u64 rate) in tegra210_emc_debug_min_rate_set() 1656 static int tegra210_emc_debug_max_rate_get(void *data, u64 *rate) in tegra210_emc_debug_max_rate_get() 1665 static int tegra210_emc_debug_max_rate_set(void *data, u64 rate) in tegra210_emc_debug_max_rate_set() 1794 u32 rate = timings[i].rate; in tegra210_emc_validate_timings() local
|
H A D | tegra30-emc.c | 331 unsigned long rate; member 438 unsigned long rate) in emc_find_timing() 793 unsigned long rate) in emc_complete_timing_change() 844 unsigned long rate) in emc_unprepare_timing_change() 1193 static long emc_round_rate(unsigned long rate, in emc_round_rate() 1285 static int emc_set_min_rate(struct tegra_emc *emc, unsigned long rate, in emc_set_min_rate() 1364 static int tegra_emc_debug_min_rate_get(void *data, u64 *rate) in tegra_emc_debug_min_rate_get() 1373 static int tegra_emc_debug_min_rate_set(void *data, u64 rate) in tegra_emc_debug_min_rate_set() 1394 static int tegra_emc_debug_max_rate_get(void *data, u64 *rate) in tegra_emc_debug_max_rate_get() 1403 static int tegra_emc_debug_max_rate_set(void *data, u64 rate) in tegra_emc_debug_max_rate_set() [all …]
|
/openbmc/linux/drivers/clk/samsung/ |
H A D | clk-pll.c | 39 struct samsung_clk_pll *pll, unsigned long rate) in samsung_get_pll_settings() 252 const struct samsung_pll_rate_table *rate; in samsung_pll35xx_set_rate() local 363 const struct samsung_pll_rate_table *rate; in samsung_pll36xx_set_rate() local 454 const struct samsung_pll_rate_table *rate; in samsung_pll0822x_set_rate() local 543 const struct samsung_pll_rate_table *rate; in samsung_pll0831x_set_rate() local 638 const struct samsung_pll_rate_table *rate) in samsung_pll45xx_mp_change() 654 const struct samsung_pll_rate_table *rate; in samsung_pll45xx_set_rate() local 791 const struct samsung_pll_rate_table *rate; in samsung_pll46xx_set_rate() local 1029 const struct samsung_pll_rate_table *rate; in samsung_pll2550xx_set_rate() local 1124 const struct samsung_pll_rate_table *rate; in samsung_pll2650x_set_rate() local [all …]
|
/openbmc/linux/drivers/clk/at91/ |
H A D | clk-sam9x60-pll.c | 188 unsigned long rate, in sam9x60_frac_pll_compute_mul_frac() 228 static long sam9x60_frac_pll_round_rate(struct clk_hw *hw, unsigned long rate, in sam9x60_frac_pll_round_rate() 236 static int sam9x60_frac_pll_set_rate(struct clk_hw *hw, unsigned long rate, in sam9x60_frac_pll_set_rate() 244 static int sam9x60_frac_pll_set_rate_chg(struct clk_hw *hw, unsigned long rate, in sam9x60_frac_pll_set_rate_chg() 438 unsigned long rate) in sam9x60_div_pll_compute_div() 479 static long sam9x60_div_pll_round_rate(struct clk_hw *hw, unsigned long rate, in sam9x60_div_pll_round_rate() 487 static int sam9x60_div_pll_set_rate(struct clk_hw *hw, unsigned long rate, in sam9x60_div_pll_set_rate() 498 static int sam9x60_div_pll_set_rate_chg(struct clk_hw *hw, unsigned long rate, in sam9x60_div_pll_set_rate_chg()
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk_pic32.c | 170 int parent_rate, int rate, int parent_id) in pic32_set_refclk() 284 u64 rate; in pic32_get_mpll_rate() local 321 ulong rate, pll_hz; in pic32_clk_init() local 344 ulong rate; in pic32_get_rate() local 367 static ulong pic32_set_rate(struct clk *clk, ulong rate) in pic32_set_rate()
|
/openbmc/linux/drivers/clk/ti/ |
H A D | divider.c | 140 unsigned long parent_rate, unsigned long rate) in _div_round_up() 160 unsigned long parent_rate, unsigned long rate) in _div_round() 168 static int ti_clk_divider_bestdiv(struct clk_hw *hw, unsigned long rate, in ti_clk_divider_bestdiv() 226 static long ti_clk_divider_round_rate(struct clk_hw *hw, unsigned long rate, in ti_clk_divider_round_rate() 235 static int ti_clk_divider_set_rate(struct clk_hw *hw, unsigned long rate, in ti_clk_divider_set_rate()
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_hdmi_tmds_clk.c | 27 static unsigned long sun4i_tmds_calc_divider(unsigned long rate, in sun4i_tmds_calc_divider() 72 unsigned long rate = req->rate; in sun4i_tmds_determine_rate() local 143 static int sun4i_tmds_set_rate(struct clk_hw *hw, unsigned long rate, in sun4i_tmds_set_rate()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | main.h | 73 int b43legacy_is_cck_rate(int rate) in b43legacy_is_cck_rate() 82 int b43legacy_is_ofdm_rate(int rate) in b43legacy_is_ofdm_rate()
|