Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/clk/
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()
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()
/linux-6.1.9/include/linux/
Dclk-provider.h352 unsigned long fixed_rate; member
364 unsigned long fixed_rate, unsigned long fixed_accuracy,
368 unsigned long fixed_rate);
378 #define clk_hw_register_fixed_rate(dev, name, parent_name, flags, fixed_rate) \ argument
380 NULL, (flags), (fixed_rate), 0, 0, false)
391 #define devm_clk_hw_register_fixed_rate(dev, name, parent_name, flags, fixed_rate) \ argument
393 NULL, (flags), (fixed_rate), 0, 0, true)
404 fixed_rate) \
406 NULL, (flags), (fixed_rate), 0, 0, false)
417 fixed_rate) \
[all …]
/linux-6.1.9/drivers/clk/uniphier/
Dclk-uniphier-fixed-rate.c31 fixed->fixed_rate = data->fixed_rate; in uniphier_clk_register_fixed_rate()
Dclk-uniphier.h39 unsigned long fixed_rate; member
/linux-6.1.9/drivers/clk/hisilicon/
Dclk.h31 unsigned long fixed_rate; member
151 hisi_clk_unregister(fixed_rate)
/linux-6.1.9/sound/usb/
Dimplicit.h12 int stream, bool *fixed_rate);
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()
Dendpoint.h18 bool fixed_rate);
Dcard.h134 bool fixed_rate; /* skip rate setup */ member
/linux-6.1.9/drivers/clk/sunxi/
Dclk-a10-hosc.c42 fixed->fixed_rate = rate; in sun4i_osc_clk_setup()
/linux-6.1.9/drivers/clk/microchip/
Dclk-core.h55 const unsigned long fixed_rate; member
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()
Dclk-pic32mzda.c114 .fixed_rate = 32768,
/linux-6.1.9/drivers/clk/samsung/
Dclk-s3c2412.c198 s3c2412_common_frate_clks[0].fixed_rate = xti_f; in s3c2412_common_clk_register_fixed_ext()
199 s3c2412_common_frate_clks[1].fixed_rate = ext_f; in s3c2412_common_clk_register_fixed_ext()
Dclk.h64 unsigned long fixed_rate; member
73 .fixed_rate = frate, \
Dclk.c135 list->parent_name, list->flags, list->fixed_rate); in samsung_clk_register_fixed_rate()
266 fixed_rate_clk[(unsigned long)match->data].fixed_rate = freq; in samsung_clk_of_register_fixed_ext()
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()
/linux-6.1.9/drivers/clk/x86/
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()
/linux-6.1.9/drivers/clk/ti/
Dapll.c255 return clk->fixed_rate; in omap2_apll_recalc()
377 clk_hw->fixed_rate = val; in of_omap2_apll_setup()
/linux-6.1.9/include/linux/clk/
Dti.h166 unsigned long fixed_rate; member
/linux-6.1.9/sound/soc/generic/
Dsimple-card-utils.c329 unsigned int fixed_rate = fixed_sysclk / props->mclk_fs; in asoc_simple_startup() local
337 fixed_rate, fixed_rate); in asoc_simple_startup()
/linux-6.1.9/drivers/clk/mmp/
Dclk.c37 clks[i].fixed_rate); in mmp_register_fixed_rate_clks()
Dclk.h147 unsigned long fixed_rate; member
/linux-6.1.9/drivers/clk/tegra/
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()

123