/linux/drivers/clocksource/ |
A D | timer-microchip-pit64b.c | 60 struct clk *gclk; member 137 clk_disable_unprepare(timer->gclk); in mchp_pit64b_suspend() 145 clk_prepare_enable(timer->gclk); in mchp_pit64b_resume() 306 clk_set_rate(timer->gclk, gclk_round); in mchp_pit64b_init_mode() 351 cs->timer.gclk = timer->gclk; in mchp_pit64b_init_clksrc() 392 ce->timer.gclk = timer->gclk; in mchp_pit64b_init_clkevt() 433 if (IS_ERR(timer.gclk)) in mchp_pit64b_dt_init_timer() 434 return PTR_ERR(timer.gclk); in mchp_pit64b_dt_init_timer() 458 ret = clk_prepare_enable(timer.gclk); in mchp_pit64b_dt_init_timer() 462 clk_rate = clk_get_rate(timer.gclk); in mchp_pit64b_dt_init_timer() [all …]
|
/linux/sound/soc/atmel/ |
A D | atmel-i2s.c | 197 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() 576 if (!dev->gclk) in atmel_i2s_sama5d2_mck_init() 590 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 …]
|
A D | atmel-classd.c | 31 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() 554 dd->gclk = devm_clk_get(dev, "gclk"); in atmel_classd_probe() 555 if (IS_ERR(dd->gclk)) { in atmel_classd_probe() 556 ret = PTR_ERR(dd->gclk); in atmel_classd_probe()
|
A D | atmel-pdmic.c | 31 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() 532 u32 clk_min_rate = (u32)(clk_get_rate(dd->gclk) >> 8); in atmel_pdmic_get_sample_rate() 607 dd->gclk = devm_clk_get(dev, "gclk"); in atmel_pdmic_probe() 608 if (IS_ERR(dd->gclk)) { in atmel_pdmic_probe() 609 ret = PTR_ERR(dd->gclk); in atmel_pdmic_probe() 617 ret = clk_set_rate(dd->gclk, clk_get_rate(dd->pclk)/3); in atmel_pdmic_probe()
|
A D | mchp-i2s-mcc.c | 242 struct clk *gclk; member 491 if (best_clk == dev->gclk) in mchp_i2s_mcc_config_divs() 702 ret = clk_set_rate(dev->gclk, rate); in mchp_i2s_mcc_hw_params() 710 ret = clk_prepare(dev->gclk); in mchp_i2s_mcc_hw_params() 724 clk_unprepare(dev->gclk); in mchp_i2s_mcc_hw_params() 776 clk_disable(dev->gclk); in mchp_i2s_mcc_hw_free() 780 clk_unprepare(dev->gclk); in mchp_i2s_mcc_hw_free() 841 err = clk_enable(dev->gclk); in mchp_i2s_mcc_trigger() 1039 if (IS_ERR(dev->gclk)) { in mchp_i2s_mcc_probe() 1040 if (PTR_ERR(dev->gclk) == -EPROBE_DEFER) in mchp_i2s_mcc_probe() [all …]
|
A D | mchp-spdifrx.c | 239 struct clk *gclk; member 447 clk_disable_unprepare(dev->gclk); in mchp_spdifrx_hw_params() 450 ret = clk_set_min_rate(dev->gclk, params_rate(params) * in mchp_spdifrx_hw_params() 458 ret = clk_prepare_enable(dev->gclk); in mchp_spdifrx_hw_params() 477 clk_disable_unprepare(dev->gclk); in mchp_spdifrx_hw_free() 693 rate = clk_get_rate(dev->gclk); in mchp_spdifrx_rate_get() 905 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in mchp_spdifrx_probe() 906 if (IS_ERR(dev->gclk)) { in mchp_spdifrx_probe() 907 err = PTR_ERR(dev->gclk); in mchp_spdifrx_probe()
|
A D | mchp-spdiftx.c | 197 struct clk *gclk; member 492 clk_disable_unprepare(dev->gclk); in mchp_spdiftx_hw_params() 495 ret = clk_set_rate(dev->gclk, params_rate(params) * in mchp_spdiftx_hw_params() 503 ret = clk_prepare_enable(dev->gclk); in mchp_spdiftx_hw_params() 529 clk_disable_unprepare(dev->gclk); in mchp_spdiftx_hw_free() 819 dev->gclk = devm_clk_get(&pdev->dev, "gclk"); in mchp_spdiftx_probe() 820 if (IS_ERR(dev->gclk)) { in mchp_spdiftx_probe() 821 err = PTR_ERR(dev->gclk); in mchp_spdiftx_probe()
|
/linux/arch/arm/boot/dts/ |
A D | emev2.dtsi | 78 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";
|
A D | sama7g5.dtsi | 256 clock-names = "pclk", "gclk"; 268 clock-names = "pclk", "gclk"; 279 clock-names = "pclk", "gclk"; 291 clock-names = "pclk", "gclk"; 300 clock-names = "pclk", "gclk"; 308 clock-names = "pclk", "gclk";
|
A D | sama5d2.dtsi | 391 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";
|
A D | sam9x60.dtsi | 241 clock-names = "pclk", "gclk"; 270 clock-names = "pclk", "gclk"; 335 clock-names = "pclk", "gclk";
|
/linux/drivers/pwm/ |
A D | pwm-atmel-tcb.c | 58 struct clk *gclk; member 309 if (tcbpwmc->gclk) in atmel_tcb_pwm_config() 426 struct clk *clk, *gclk = NULL; in atmel_tcb_pwm_probe() local 459 gclk = of_clk_get_by_name(np->parent, "gclk"); in atmel_tcb_pwm_probe() 460 if (IS_ERR(gclk)) in atmel_tcb_pwm_probe() 461 return PTR_ERR(gclk); in atmel_tcb_pwm_probe() 476 tcbpwm->gclk = gclk; in atmel_tcb_pwm_probe()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
A D | nv40.c | 149 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/Documentation/devicetree/bindings/sound/ |
A D | mchp,spdifrx.yaml | 37 - const: gclk 72 clock-names = "pclk", "gclk";
|
A D | mchp,spdiftx.yaml | 37 - const: gclk 72 clock-names = "pclk", "gclk";
|
A D | atmel-classd.txt | 16 Required elements: "pclk" and "gclk". 47 clock-names = "pclk", "gclk";
|
A D | atmel-pdmic.txt | 17 - "gclk" generated clock 47 clock-names = "pclk", "gclk";
|
A D | atmel-i2s.txt | 17 - "gclk" (generated clock) Optional (1). 43 clock-names = "pclk", "gclk", "muxclk";
|
A D | mchp,i2s-mcc.yaml | 47 - const: gclk 105 clock-names = "pclk", "gclk";
|
/linux/Documentation/devicetree/bindings/clock/ |
A D | renesas,emev2-smu.yaml | 81 const: renesas,emev2-smu-gclk 135 compatible = "renesas,emev2-smu-gclk";
|
/linux/drivers/w1/masters/ |
A D | ds1wm.c | 297 static int ds1wm_find_divisor(int gclk) in ds1wm_find_divisor() argument 302 if (gclk >= freq[i].freq) in ds1wm_find_divisor()
|
/linux/Documentation/devicetree/bindings/soc/microchip/ |
A D | atmel,at91rm9200-tcb.yaml | 116 - const: gclk
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
A D | arm,gic.yaml | 136 - const: gclk #for "arm,pl390"
|