Home
last modified time | relevance | path

Searched refs:fixed_rate (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/linux/drivers/clk/
H A Dclk-pwm.c17 u32 fixed_rate; member
44 return clk_pwm->fixed_rate; in clk_pwm_recalc_rate()
91 if (of_property_read_u32(node, "clock-frequency", &clk_pwm->fixed_rate)) in clk_pwm_probe()
92 clk_pwm->fixed_rate = div64_u64(NSEC_PER_SEC, pargs.period); in clk_pwm_probe()
94 if (!clk_pwm->fixed_rate) { in clk_pwm_probe()
99 if (pargs.period != NSEC_PER_SEC / clk_pwm->fixed_rate && in clk_pwm_probe()
100 pargs.period != DIV_ROUND_UP(NSEC_PER_SEC, clk_pwm->fixed_rate)) { in clk_pwm_probe()
H A Dclk-fixed-rate.c32 return to_clk_fixed_rate(hw)->fixed_rate; in clk_fixed_rate_recalc_rate()
68 unsigned long fixed_rate, unsigned long fixed_accuracy, in __clk_hw_register_fixed_rate() argument
98 fixed->fixed_rate = fixed_rate; in __clk_hw_register_fixed_rate()
123 unsigned long fixed_rate) in clk_register_fixed_rate() argument
128 flags, fixed_rate, 0); in clk_register_fixed_rate()
/openbmc/u-boot/drivers/clk/
H A Dclk_fixed_rate.c11 unsigned long fixed_rate; member
21 return to_clk_fixed_rate(clk->dev)->fixed_rate; in clk_fixed_rate_get_rate()
31 to_clk_fixed_rate(dev)->fixed_rate = in clk_fixed_rate_ofdata_to_platdata()
/openbmc/linux/include/linux/
H A Dclk-provider.h354 unsigned long fixed_rate; member
366 unsigned long fixed_rate, unsigned long fixed_accuracy,
370 unsigned long fixed_rate);
380 #define clk_hw_register_fixed_rate(dev, name, parent_name, flags, fixed_rate) \ argument
382 NULL, (flags), (fixed_rate), 0, 0, false)
393 #define devm_clk_hw_register_fixed_rate(dev, name, parent_name, flags, fixed_rate) \ argument
395 NULL, (flags), (fixed_rate), 0, 0, true)
406 fixed_rate) \
408 NULL, (flags), (fixed_rate), 0, 0, false)
419 fixed_rate) \
[all …]
/openbmc/linux/drivers/clk/uniphier/
H A Dclk-uniphier-fixed-rate.c31 fixed->fixed_rate = data->fixed_rate; in uniphier_clk_register_fixed_rate()
H A Dclk-uniphier.h39 unsigned long fixed_rate; member
/openbmc/u-boot/drivers/clk/uniphier/
H A Dclk-uniphier.h23 unsigned long fixed_rate; member
55 .fixed_rate = (_rate), \
H A Dclk-uniphier-core.c154 return data->data.rate.fixed_rate; in __uniphier_clk_get_rate()
188 return data->data.rate.fixed_rate; in __uniphier_clk_set_rate()
/openbmc/linux/drivers/clk/hisilicon/
H A Dclk.h31 unsigned long fixed_rate; member
151 hisi_clk_unregister(fixed_rate)
/openbmc/linux/sound/usb/
H A Dimplicit.h12 int stream, bool *fixed_rate);
H A Dimplicit.c460 bool *fixed_rate) in snd_usb_find_implicit_fb_sync_format() argument
489 if (fixed_rate) in snd_usb_find_implicit_fb_sync_format()
490 *fixed_rate = snd_usb_pcm_has_fixed_rate(subs); in snd_usb_find_implicit_fb_sync_format()
H A Dendpoint.h18 bool fixed_rate);
H A Dcard.h134 bool fixed_rate; /* skip rate setup */ member
/openbmc/linux/drivers/clk/sunxi/
H A Dclk-a10-hosc.c42 fixed->fixed_rate = rate; in sun4i_osc_clk_setup()
/openbmc/linux/drivers/clk/microchip/
H A Dclk-core.h55 const unsigned long fixed_rate; member
H A Dclk-core.c958 unsigned long fixed_rate; member
1000 return clkhw_to_sosc(hw)->fixed_rate; in sosc_clk_calc_rate()
1021 sosc->fixed_rate = data->fixed_rate; in pic32_sosc_clk_register()
H A Dclk-pic32mzda.c114 .fixed_rate = 32768,
/openbmc/linux/drivers/clk/x86/
H A Dclk-pmc-atom.c216 unsigned long fixed_rate) in plt_clk_register_fixed_rate() argument
225 0, fixed_rate); in plt_clk_register_fixed_rate()
/openbmc/linux/drivers/clk/samsung/
H A Dclk.h65 unsigned long fixed_rate; member
74 .fixed_rate = frate, \
H A Dclk.c146 list->parent_name, list->flags, list->fixed_rate); in samsung_clk_register_fixed_rate()
277 fixed_rate_clk[(unsigned long)match->data].fixed_rate = freq; in samsung_clk_of_register_fixed_ext()
H A Dclk-s3c64xx.c385 s3c64xx_fixed_rate_ext_clks[0].fixed_rate = fin_pll_f; in s3c64xx_clk_register_fixed_ext()
386 s3c64xx_fixed_rate_ext_clks[1].fixed_rate = xusbxti_f; in s3c64xx_clk_register_fixed_ext()
/openbmc/linux/drivers/clk/ti/
H A Dapll.c255 return clk->fixed_rate; in omap2_apll_recalc()
377 clk_hw->fixed_rate = val; in of_omap2_apll_setup()
/openbmc/linux/include/linux/clk/
H A Dti.h166 unsigned long fixed_rate; member
/openbmc/linux/drivers/clk/tegra/
H A Dclk-pll.c810 if (rate != pll->params->fixed_rate) { in clk_pll_set_rate()
813 pll->params->fixed_rate, rate); in clk_pll_set_rate()
853 return pll->params->fixed_rate; in clk_pll_round_rate()
881 if (_get_table_rate(hw, &sel, pll->params->fixed_rate, in clk_pll_recalc_rate()
887 return pll->params->fixed_rate; in clk_pll_recalc_rate()
968 if (_get_table_rate(hw, &sel, pll->params->fixed_rate, input_rate)) in clk_plle_enable()
1620 if (_get_table_rate(hw, &sel, pll->params->fixed_rate, input_rate)) in clk_plle_tegra114_enable()
2462 if (_get_table_rate(hw, &sel, pll->params->fixed_rate, input_rate)) in clk_plle_tegra210_enable()
/openbmc/linux/drivers/clk/mmp/
H A Dclk.c37 clks[i].fixed_rate); in mmp_register_fixed_rate_clks()

123