Home
last modified time | relevance | path

Searched refs:of_clk_get_by_name (Results 1 – 25 of 66) sorted by relevance

123

/linux/drivers/cpufreq/
H A Dtegra124-cpufreq.c72 priv->cpu_clk = of_clk_get_by_name(np, "cpu_g"); in tegra124_cpufreq_probe()
76 priv->dfll_clk = of_clk_get_by_name(np, "dfll"); in tegra124_cpufreq_probe()
82 priv->pllx_clk = of_clk_get_by_name(np, "pll_x"); in tegra124_cpufreq_probe()
88 priv->pllp_clk = of_clk_get_by_name(np, "pll_p"); in tegra124_cpufreq_probe()
H A Dkirkwood-cpufreq.c119 priv.cpu_clk = of_clk_get_by_name(np, "cpu_clk"); in kirkwood_cpufreq_probe()
134 priv.ddr_clk = of_clk_get_by_name(np, "ddrclk"); in kirkwood_cpufreq_probe()
148 priv.powersave_clk = of_clk_get_by_name(np, "powersave"); in kirkwood_cpufreq_probe()
/linux/drivers/clocksource/
H A Ddw_apb_timer_of.c44 pclk = of_clk_get_by_name(np, "pclk"); in timer_get_base_and_rate()
54 timer_clk = of_clk_get_by_name(np, "timer"); in timer_get_base_and_rate()
H A Dtimer-atmel-tcb.c395 t0_clk = of_clk_get_by_name(node->parent, "t0_clk"); in tcb_clksrc_init()
399 tc.slow_clk = of_clk_get_by_name(node->parent, "slow_clk"); in tcb_clksrc_init()
404 tc.clk[1] = of_clk_get_by_name(node->parent, "t1_clk"); in tcb_clksrc_init()
407 tc.clk[2] = of_clk_get_by_name(node->parent, "t2_clk"); in tcb_clksrc_init()
H A Dtimer-pistachio.c175 sys_clk = of_clk_get_by_name(node, "sys"); in pistachio_clksrc_of_init()
181 fast_clk = of_clk_get_by_name(node, "fast"); in pistachio_clksrc_of_init()
H A Dnomadik-mtu.c262 pclk = of_clk_get_by_name(node, "apb_pclk"); in nmdk_timer_of_init()
268 clk = of_clk_get_by_name(node, "timclk"); in nmdk_timer_of_init()
H A Dtimer-lpc32xx.c162 clk = of_clk_get_by_name(np, "timerclk"); in lpc32xx_clocksource_init()
223 clk = of_clk_get_by_name(np, "timerclk"); in lpc32xx_clockevent_init()
H A Dtimer-imx-gpt.c447 imxtm->clk_ipg = of_clk_get_by_name(np, "ipg"); in mxc_timer_init_dt()
450 imxtm->clk_per = of_clk_get_by_name(np, "osc_per"); in mxc_timer_init_dt()
452 imxtm->clk_per = of_clk_get_by_name(np, "per"); in mxc_timer_init_dt()
H A Dtimer-rockchip.c146 pclk = of_clk_get_by_name(np, "pclk"); in rk_timer_probe()
160 timer_clk = of_clk_get_by_name(np, "timer"); in rk_timer_probe()
H A Dtimer-armada-370-xp.c335 struct clk *clk = of_clk_get_by_name(np, "fixed"); in armada_xp_timer_init()
359 clk = of_clk_get_by_name(np, "fixed"); in armada_375_timer_init()
H A Dtimer-fsl-ftm.c236 clk = of_clk_get_by_name(np, cnt_name); in __ftm_clk_init()
248 clk = of_clk_get_by_name(np, ftm_name); in __ftm_clk_init()
H A Dtimer-ti-32k.c86 clock = of_clk_get_by_name(np->parent, name); in ti_32k_timer_enable_clock()
H A Dbcm_kona_timer.c158 external_clk = of_clk_get_by_name(node, NULL); in kona_timer_init()
H A Dtimer-microchip-pit64b.c442 timer.pclk = of_clk_get_by_name(node, "pclk"); in mchp_pit64b_dt_init_timer()
446 timer.gclk = of_clk_get_by_name(node, "gclk"); in mchp_pit64b_dt_init_timer()
H A Dtimer-imx-tpm.c188 ipg = of_clk_get_by_name(np, "ipg"); in tpm_timer_init()
/linux/drivers/clk/imx/
H A Dclk.c108 struct clk *clk = of_clk_get_by_name(np, name); in imx_obtain_fixed_of_clock()
123 clk = of_clk_get_by_name(np, name); in imx_get_clk_hw_by_name()
/linux/drivers/pwm/
H A Dpwm-atmel-tcb.c409 tcbpwmc->slow_clk = of_clk_get_by_name(np->parent, "slow_clk"); in atmel_tcb_pwm_probe()
414 tcbpwmc->clk = of_clk_get_by_name(np->parent, clk_name); in atmel_tcb_pwm_probe()
416 tcbpwmc->clk = of_clk_get_by_name(np->parent, "t0_clk"); in atmel_tcb_pwm_probe()
426 tcbpwmc->gclk = of_clk_get_by_name(np->parent, "gclk"); in atmel_tcb_pwm_probe()
/linux/drivers/soc/imx/
H A Dsoc-imx8m.c68 clk = of_clk_get_by_name(np, NULL); in imx8mq_soc_revision()
113 clk = of_clk_get_by_name(np, NULL); in imx8mm_soc_uid()
/linux/sound/soc/samsung/
H A Dodroid.c285 priv->sclk_i2s = of_clk_get_by_name(cpu_dai, "i2s_opclk1"); in odroid_audio_probe()
291 priv->clk_i2s_bus = of_clk_get_by_name(cpu_dai, "iis"); in odroid_audio_probe()
/linux/drivers/gpu/drm/fsl-dcu/
H A Dfsl_tcon.c80 tcon->ipg_clk = of_clk_get_by_name(np, "ipg"); in fsl_tcon_init()
/linux/drivers/counter/
H A Dmicrochip-tcb-capture.c348 clk[i] = of_clk_get_by_name(np->parent, clk_name); in mchp_tc_probe()
351 clk[i] = of_clk_get_by_name(np->parent, "t0_clk"); in mchp_tc_probe()
/linux/arch/arm/mach-mvebu/
H A Dmvebu-soc-id.c78 clk = of_clk_get_by_name(child, NULL); in get_soc_id_by_pci()
/linux/include/linux/
H A Dclk.h1215 struct clk *of_clk_get_by_name(struct device_node *np, const char *name);
1222 static inline struct clk *of_clk_get_by_name(struct device_node *np, in of_clk_get_by_name() function
/linux/arch/arm/mach-imx/
H A Dmach-imx6q.c97 fec_enet_ref = of_clk_get_by_name(np, "enet_clk_ref"); in imx6q_1588_init()
/linux/drivers/soc/fsl/qe/
H A Dtsa.c792 clk = of_clk_get_by_name(tdm_np, tsa_is_qe(tsa) ? "rsync" : "l1rsync"); in tsa_of_parse_tdms()
806 clk = of_clk_get_by_name(tdm_np, tsa_is_qe(tsa) ? "rclk" : "l1rclk"); in tsa_of_parse_tdms()
821 clk = of_clk_get_by_name(tdm_np, tsa_is_qe(tsa) ? "tsync" : "l1tsync"); in tsa_of_parse_tdms()
835 clk = of_clk_get_by_name(tdm_np, tsa_is_qe(tsa) ? "tclk" : "l1tclk"); in tsa_of_parse_tdms()

123