Home
last modified time | relevance | path

Searched refs:gclk (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-microchip-pit64b.c60 struct clk *gclk; member
165 clk_disable_unprepare(timer->gclk); in mchp_pit64b_clkevt_suspend()
175 clk_prepare_enable(timer->gclk); in mchp_pit64b_clkevt_resume()
254 gclk_round = clk_round_rate(timer->gclk, max_rate); in mchp_pit64b_init_mode()
267 clk_set_rate(timer->gclk, gclk_round); in mchp_pit64b_init_mode()
282 clk_set_rate(timer->gclk, gclk_round); in mchp_pit64b_init_mode()
336 ce->timer.gclk = timer->gclk; in mchp_pit64b_init_clkevt()
376 timer.gclk = of_clk_get_by_name(node, "gclk"); in mchp_pit64b_dt_init_timer()
377 if (IS_ERR(timer.gclk)) in mchp_pit64b_dt_init_timer()
378 return PTR_ERR(timer.gclk); in mchp_pit64b_dt_init_timer()
[all …]
/kernel/linux/linux-5.10/sound/soc/atmel/
Datmel-i2s.c197 struct clk *gclk; member
295 if (!dev->gclk) { in atmel_i2s_get_gck_param()
442 clk_disable_unprepare(dev->gclk); in atmel_i2s_switch_mck_generator()
452 ret = clk_set_rate(dev->gclk, gclk_rate); in atmel_i2s_switch_mck_generator()
456 ret = clk_prepare_enable(dev->gclk); in atmel_i2s_switch_mck_generator()
575 if (!dev->gclk) in atmel_i2s_sama5d2_mck_init()
589 return clk_set_parent(muxclk, dev->gclk); in atmel_i2s_sama5d2_mck_init()
661 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in atmel_i2s_probe()
662 if (IS_ERR(dev->gclk)) { in atmel_i2s_probe()
663 if (PTR_ERR(dev->gclk) == -EPROBE_DEFER) in atmel_i2s_probe()
[all …]
Dmchp-i2s-mcc.c234 struct clk *gclk; member
425 ret = mchp_i2s_mcc_clk_get_rate_diff(dev->gclk, clk_rate, in mchp_i2s_mcc_config_divs()
469 if (best_clk == dev->gclk) in mchp_i2s_mcc_config_divs()
657 ret = clk_set_rate(dev->gclk, rate); in mchp_i2s_mcc_hw_params()
665 ret = clk_prepare(dev->gclk); in mchp_i2s_mcc_hw_params()
679 clk_unprepare(dev->gclk); in mchp_i2s_mcc_hw_params()
722 clk_disable(dev->gclk); in mchp_i2s_mcc_hw_free()
726 clk_unprepare(dev->gclk); in mchp_i2s_mcc_hw_free()
781 err = clk_enable(dev->gclk); in mchp_i2s_mcc_trigger()
923 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in mchp_i2s_mcc_probe()
[all …]
Datmel-classd.c31 struct clk *gclk; member
130 err = clk_prepare_enable(dd->gclk); in atmel_classd_cpu_dai_startup()
365 clk_disable_unprepare(dd->gclk); in atmel_classd_cpu_dai_hw_params()
367 ret = clk_set_rate(dd->gclk, sample_rates[best].gclk_rate); in atmel_classd_cpu_dai_hw_params()
377 return clk_prepare_enable(dd->gclk); in atmel_classd_cpu_dai_hw_params()
387 clk_disable_unprepare(dd->gclk); in atmel_classd_cpu_dai_shutdown()
553 dd->gclk = devm_clk_get(dev, "gclk"); in atmel_classd_probe()
554 if (IS_ERR(dd->gclk)) { in atmel_classd_probe()
555 ret = PTR_ERR(dd->gclk); in atmel_classd_probe()
Datmel-pdmic.c31 struct clk *gclk; member
111 ret = clk_prepare_enable(dd->gclk); in atmel_pdmic_cpu_dai_startup()
117 clk_disable_unprepare(dd->gclk); in atmel_pdmic_cpu_dai_startup()
141 clk_disable_unprepare(dd->gclk); in atmel_pdmic_cpu_dai_shutdown()
406 gclk_rate = clk_get_rate(dd->gclk); in atmel_pdmic_cpu_dai_hw_params()
531 u32 clk_min_rate = (u32)(clk_get_rate(dd->gclk) >> 8); in atmel_pdmic_get_sample_rate()
606 dd->gclk = devm_clk_get(dev, "gclk"); in atmel_pdmic_probe()
607 if (IS_ERR(dd->gclk)) { in atmel_pdmic_probe()
608 ret = PTR_ERR(dd->gclk); in atmel_pdmic_probe()
616 ret = clk_set_rate(dd->gclk, clk_get_rate(dd->pclk)/3); in atmel_pdmic_probe()
Dmchp-spdifrx.c239 struct clk *gclk; member
449 clk_disable_unprepare(dev->gclk); in mchp_spdifrx_hw_params()
452 ret = clk_set_min_rate(dev->gclk, params_rate(params) * in mchp_spdifrx_hw_params()
460 ret = clk_prepare_enable(dev->gclk); in mchp_spdifrx_hw_params()
479 clk_disable_unprepare(dev->gclk); in mchp_spdifrx_hw_free()
696 rate = clk_get_rate(dev->gclk); in mchp_spdifrx_rate_get()
908 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in mchp_spdifrx_probe()
909 if (IS_ERR(dev->gclk)) { in mchp_spdifrx_probe()
910 err = PTR_ERR(dev->gclk); in mchp_spdifrx_probe()
Dmchp-spdiftx.c197 struct clk *gclk; member
491 clk_disable_unprepare(dev->gclk); in mchp_spdiftx_hw_params()
494 ret = clk_set_rate(dev->gclk, params_rate(params) * in mchp_spdiftx_hw_params()
502 ret = clk_prepare_enable(dev->gclk); in mchp_spdiftx_hw_params()
528 clk_disable_unprepare(dev->gclk); in mchp_spdiftx_hw_free()
811 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in mchp_spdiftx_probe()
812 if (IS_ERR(dev->gclk)) { in mchp_spdiftx_probe()
813 err = PTR_ERR(dev->gclk); in mchp_spdiftx_probe()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Demev2.dtsi78 compatible = "renesas,emev2-smu-gclk";
90 compatible = "renesas,emev2-smu-gclk";
127 compatible = "renesas,emev2-smu-gclk";
133 compatible = "renesas,emev2-smu-gclk";
139 compatible = "renesas,emev2-smu-gclk";
145 compatible = "renesas,emev2-smu-gclk";
151 compatible = "renesas,emev2-smu-gclk";
Dsama5d2.dtsi391 clock-names = "t0_clk", "gclk", "slow_clk";
401 clock-names = "t0_clk", "gclk", "slow_clk";
429 clock-names = "pclk", "gclk";
720 clock-names = "pclk", "gclk";
1110 clock-names = "pclk", "gclk";
1126 clock-names = "pclk", "gclk";
Dsam9x60.dtsi241 clock-names = "pclk", "gclk";
270 clock-names = "pclk", "gclk";
335 clock-names = "pclk", "gclk";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Drenesas,emev2-smu.txt32 - compatible: Should be "renesas,emev2-smu-gclk"
47 compatible = "renesas,emev2-smu-gclk";
93 compatible = "renesas,emev2-smu-gclk";
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dnv40.c149 int gclk = cstate->domain[nv_clk_src_core]; in nv40_clk_calc() local
155 ret = nv40_clk_calc_pll(clk, 0x004000, gclk, in nv40_clk_calc()
169 if (sclk && sclk != gclk) { in nv40_clk_calc()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dmchp-i2s-mcc.txt16 - "gclk" (generated clock) Optional (1).
40 clock-names = "pclk", "gclk";
Datmel-classd.txt16 Required elements: "pclk" and "gclk".
47 clock-names = "pclk", "gclk";
Datmel-pdmic.txt17 - "gclk" generated clock
47 clock-names = "pclk", "gclk";
Datmel-i2s.txt17 - "gclk" (generated clock) Optional (1).
43 clock-names = "pclk", "gclk", "muxclk";
/kernel/linux/linux-5.10/drivers/w1/masters/
Dds1wm.c297 static int ds1wm_find_divisor(int gclk) in ds1wm_find_divisor() argument
302 if (gclk >= freq[i].freq) in ds1wm_find_divisor()