Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/atmel/
Datmel-i2s.c208 struct clk *gclk; member
305 if (!dev->gclk) { in atmel_i2s_get_gck_param()
445 clk_disable_unprepare(dev->gclk); in atmel_i2s_switch_mck_generator()
455 ret = clk_set_rate(dev->gclk, gclk_rate); in atmel_i2s_switch_mck_generator()
459 ret = clk_prepare_enable(dev->gclk); in atmel_i2s_switch_mck_generator()
568 if (!dev->gclk) in atmel_i2s_sama5d2_mck_init()
582 return clk_set_parent(muxclk, dev->gclk); in atmel_i2s_sama5d2_mck_init()
654 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in atmel_i2s_probe()
655 if (IS_ERR(dev->gclk)) { in atmel_i2s_probe()
656 if (PTR_ERR(dev->gclk) == -EPROBE_DEFER) in atmel_i2s_probe()
[all …]
Datmel-classd.c34 struct clk *gclk; member
330 return clk_prepare_enable(dd->gclk); in atmel_classd_codec_dai_startup()
407 clk_disable_unprepare(dd->gclk); in atmel_classd_codec_dai_hw_params()
409 ret = clk_set_rate(dd->gclk, sample_rates[best].gclk_rate); in atmel_classd_codec_dai_hw_params()
419 return clk_prepare_enable(dd->gclk); in atmel_classd_codec_dai_hw_params()
429 clk_disable_unprepare(dd->gclk); in atmel_classd_codec_dai_shutdown()
577 dd->gclk = devm_clk_get(dev, "gclk"); in atmel_classd_probe()
578 if (IS_ERR(dd->gclk)) { in atmel_classd_probe()
579 ret = PTR_ERR(dd->gclk); in atmel_classd_probe()
Datmel-pdmic.c34 struct clk *gclk; member
114 ret = clk_prepare_enable(dd->gclk); in atmel_pdmic_cpu_dai_startup()
120 clk_disable_unprepare(dd->gclk); in atmel_pdmic_cpu_dai_startup()
144 clk_disable_unprepare(dd->gclk); in atmel_pdmic_cpu_dai_shutdown()
426 gclk_rate = clk_get_rate(dd->gclk); in atmel_pdmic_codec_dai_hw_params()
540 u32 clk_min_rate = (u32)(clk_get_rate(dd->gclk) >> 8); in atmel_pdmic_get_sample_rate()
618 dd->gclk = devm_clk_get(dev, "gclk"); in atmel_pdmic_probe()
619 if (IS_ERR(dd->gclk)) { in atmel_pdmic_probe()
620 ret = PTR_ERR(dd->gclk); in atmel_pdmic_probe()
628 ret = clk_set_rate(dd->gclk, clk_get_rate(dd->pclk)/3); in atmel_pdmic_probe()
/Linux-v4.19/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.dtsi1141 clock-names = "pclk", "gclk";
1487 clock-names = "pclk", "gclk";
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Demev2-clock.txt32 - compatible: Should be "renesas,emev2-smu-gclk"
47 compatible = "renesas,emev2-smu-gclk";
93 compatible = "renesas,emev2-smu-gclk";
/Linux-v4.19/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()
/Linux-v4.19/Documentation/devicetree/bindings/sound/
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";
/Linux-v4.19/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()
/Linux-v4.19/Documentation/devicetree/bindings/interrupt-controller/
Darm,gic.txt73 "gclk" (for "arm,pl390")