Home
last modified time | relevance | path

Searched refs:of_clk_get_by_name (Results 1 – 25 of 57) 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()
/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-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()
H A Dtimer-of.c106 of_clk->clk = of_clk->name ? of_clk_get_by_name(np, of_clk->name) : in timer_of_clk_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/sound/soc/samsung/
H A Dodroid.c284 priv->sclk_i2s = of_clk_get_by_name(cpu_dai, "i2s_opclk1"); in odroid_audio_probe()
290 priv->clk_i2s_bus = of_clk_get_by_name(cpu_dai, "iis"); in odroid_audio_probe()
H A Dsnow.c180 priv->clk_i2s_bus = of_clk_get_by_name(link->cpus->of_node, in snow_probe()
/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.h1226 struct clk *of_clk_get_by_name(struct device_node *np, const char *name);
1233 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.c784 clk = of_clk_get_by_name(tdm_np, tsa_is_qe(tsa) ? "rsync" : "l1rsync"); in tsa_of_parse_tdms()
796 clk = of_clk_get_by_name(tdm_np, tsa_is_qe(tsa) ? "rclk" : "l1rclk"); in tsa_of_parse_tdms()
809 clk = of_clk_get_by_name(tdm_np, tsa_is_qe(tsa) ? "tsync" : "l1tsync"); in tsa_of_parse_tdms()
821 clk = of_clk_get_by_name(tdm_np, tsa_is_qe(tsa) ? "tclk" : "l1tclk"); in tsa_of_parse_tdms()
/linux/drivers/clk/samsung/
H A Dclk-exynos-clkout.c148 parents[i] = of_clk_get_by_name(clkout->np, name); in exynos_clkout_probe()
/linux/drivers/clk/berlin/
H A Dbg2.c516 clk = of_clk_get_by_name(np, clk_names[REFCLK]); in berlin2_clock_setup()
522 clk = of_clk_get_by_name(np, clk_names[VIDEO_EXT0]); in berlin2_clock_setup()

123