Searched refs:ref_rate (Results 1 – 13 of 13) sorted by relevance
/linux/arch/mips/ath79/ |
A D | clock.c | 95 unsigned long ref_rate; in ar71xx_clocks_init() local 108 freq = div * ref_rate; in ar71xx_clocks_init() 251 ref_rate = ath79_setup_ref_clk(ref_rate); in ar934x_clocks_init() 313 cpu_rate = ref_rate; in ar934x_clocks_init() 323 ddr_rate = ref_rate; in ar934x_clocks_init() 333 ahb_rate = ref_rate; in ar934x_clocks_init() 366 ref_rate = ath79_setup_ref_clk(ref_rate); in qca953x_clocks_init() 402 cpu_rate = ref_rate; in qca953x_clocks_init() 412 ddr_rate = ref_rate; in qca953x_clocks_init() 449 ref_rate = ath79_setup_ref_clk(ref_rate); in qca955x_clocks_init() [all …]
|
/linux/drivers/clk/ti/ |
A D | clkt_dpll.c | 292 unsigned long ref_rate; in omap2_dpll_round_rate() local 305 ref_rate = clk_hw_get_rate(dd->clk_ref); in omap2_dpll_round_rate() 310 scaled_rt_rp = target_rate / (ref_rate / DPLL_SCALE_FACTOR); in omap2_dpll_round_rate() 336 ref_rate); in omap2_dpll_round_rate()
|
A D | dpll3xxx.c | 304 unsigned long ref_rate; in omap3_noncore_dpll_ssc_program() local 318 ref_rate = clk_hw_get_rate(dd->clk_ref); in omap3_noncore_dpll_ssc_program() 320 (ref_rate / dd->last_rounded_n) / (4 * dd->ssc_modfreq); in omap3_noncore_dpll_ssc_program() 321 if (dd->ssc_modfreq > (ref_rate / 70)) in omap3_noncore_dpll_ssc_program() 323 __clk_get_name(clk->hw.clk), ref_rate / 70); in omap3_noncore_dpll_ssc_program()
|
/linux/drivers/clk/tegra/ |
A D | clk-dfll.c | 202 #define DVCO_RATE_TO_MULT(rate, ref_rate) ((rate) / ((ref_rate) / 2)) argument 203 #define MULT_TO_DVCO_RATE(mult, ref_rate) ((mult) * ((ref_rate) / 2)) argument 275 unsigned long ref_rate; member 583 div = DIV_ROUND_UP(td->ref_rate, td->pwm_rate); in dfll_pwm_set_output_enabled() 854 val = DVCO_RATE_TO_MULT(rate, td->ref_rate); in dfll_calculate_rate_request() 1236 unsigned long ref_rate) in dfll_calc_monitored_rate() argument 1264 pre_scaler_rate = dfll_calc_monitored_rate(v, td->ref_rate); in dfll_read_monitor_rate() 1399 val = DIV_ROUND_UP(td->ref_rate, td->sample_rate * 32); in dfll_set_default_params() 1460 td->ref_rate = clk_get_rate(td->ref_clk); in dfll_init() 1461 if (td->ref_rate != REF_CLOCK_RATE) { in dfll_init() [all …]
|
/linux/arch/arm64/kernel/ |
A D | topology.c | 169 static int freq_inv_set_max_ratio(int cpu, u64 max_rate, u64 ref_rate) in freq_inv_set_max_ratio() argument 173 if (unlikely(!max_rate || !ref_rate)) { in freq_inv_set_max_ratio() 192 ratio = ref_rate << (2 * SCHED_CAPACITY_SHIFT); in freq_inv_set_max_ratio()
|
/linux/arch/arm/mach-omap1/ |
A D | clock.c | 195 unsigned long ref_rate; in omap1_select_table_rate() local 197 ref_rate = ck_ref_p->rate; in omap1_select_table_rate() 203 if (ptr->xtal != ref_rate) in omap1_select_table_rate() 281 unsigned long ref_rate; in omap1_round_to_table_rate() local 283 ref_rate = ck_ref_p->rate; in omap1_round_to_table_rate() 291 if (ptr->xtal != ref_rate) in omap1_round_to_table_rate()
|
/linux/sound/soc/meson/ |
A D | axg-spdifin.c | 49 unsigned int ref_rate; member 193 ret = clk_set_rate(priv->refclk, priv->conf->ref_rate); in axg_spdifin_sample_mode_config() 408 .ref_rate = 333333333,
|
/linux/drivers/phy/samsung/ |
A D | phy-samsung-usb2.c | 207 drv->ref_rate = clk_get_rate(drv->ref_clk); in samsung_usb2_phy_probe() 209 ret = drv->cfg->rate_to_clk(drv->ref_rate, &drv->ref_reg_val); in samsung_usb2_phy_probe()
|
A D | phy-samsung-usb2.h | 39 unsigned long ref_rate; member
|
A D | phy-exynos5-usbdrd.c | 718 unsigned long ref_rate; in exynos5_usbdrd_phy_clk_handle() local 732 ref_rate = clk_get_rate(phy_drd->ref_clk); in exynos5_usbdrd_phy_clk_handle() 734 ret = exynos5_rate_to_clk(ref_rate, &phy_drd->extrefclk); in exynos5_usbdrd_phy_clk_handle() 737 ref_rate); in exynos5_usbdrd_phy_clk_handle()
|
/linux/arch/mips/ralink/ |
A D | mt7620.c | 53 mt7620_calc_rate(u32 ref_rate, u32 mul, u32 div) in mt7620_calc_rate() argument 57 t = ref_rate; in mt7620_calc_rate()
|
/linux/drivers/clk/nxp/ |
A D | clk-lpc32xx.c | 477 unsigned long rate, cco_rate, ref_rate; in clk_pll_recalc_rate() local 503 ref_rate = parent_rate / clk->n_div; in clk_pll_recalc_rate() 504 rate = cco_rate = ref_rate * clk->m_div; in clk_pll_recalc_rate() 524 && pll_is_valid(ref_rate, 1, 1000000, 27000000))) in clk_pll_recalc_rate() 527 parent_rate, cco_rate, ref_rate); in clk_pll_recalc_rate()
|
/linux/block/ |
A D | bfq-iosched.c | 305 static int ref_rate[2] = {14000, 33000}; variable 7036 bfqd->rate_dur_prod = ref_rate[blk_queue_nonrot(bfqd->queue)] * in bfq_init_queue() 7038 bfqd->peak_rate = ref_rate[blk_queue_nonrot(bfqd->queue)] * 2 / 3; in bfq_init_queue()
|
Completed in 43 milliseconds