Home
last modified time | relevance | path

Searched refs:clk2 (Results 1 – 6 of 6) sorted by relevance

/drivers/clk/ti/
Dclk-33xx.c280 struct clk *clk1, *clk2; in am33xx_dt_clk_init() local
304 clk2 = clk_get_sys(NULL, "timer3_fck"); in am33xx_dt_clk_init()
305 clk_set_parent(clk2, clk1); in am33xx_dt_clk_init()
307 clk2 = clk_get_sys(NULL, "timer6_fck"); in am33xx_dt_clk_init()
308 clk_set_parent(clk2, clk1); in am33xx_dt_clk_init()
317 clk2 = clk_get_sys(NULL, "clkdiv32k_ick"); in am33xx_dt_clk_init()
318 clk_set_parent(clk1, clk2); in am33xx_dt_clk_init()
Dclk-43xx.c282 struct clk *clk1, *clk2; in am43xx_dt_clk_init() local
307 clk2 = clk_get_sys(NULL, "dpll_core_m5_ck"); in am43xx_dt_clk_init()
308 clk_set_parent(clk1, clk2); in am43xx_dt_clk_init()
/drivers/clocksource/
Dtimer-sp804.c259 struct clk *clk1, *clk2; in sp804_of_init() local
284 clk2 = of_clk_get(np, 1); in sp804_of_init()
285 if (IS_ERR(clk2)) { in sp804_of_init()
287 (int)PTR_ERR(clk2)); in sp804_of_init()
288 clk2 = NULL; in sp804_of_init()
291 clk2 = clk1; in sp804_of_init()
302 ret = sp804_clockevents_init(timer2_base, irq, clk2, name); in sp804_of_init()
317 name, clk2, 1); in sp804_of_init()
/drivers/phy/allwinner/
Dphy-sun4i-usb.c136 struct clk *clk2; member
278 ret = clk_prepare_enable(phy->clk2); in sun4i_usb_phy_init()
286 clk_disable_unprepare(phy->clk2); in sun4i_usb_phy_init()
357 clk_disable_unprepare(phy->clk2); in sun4i_usb_phy_exit()
781 phy->clk2 = devm_clk_get(dev, name); in sun4i_usb_phy_probe()
782 if (IS_ERR(phy->clk2)) { in sun4i_usb_phy_probe()
784 return PTR_ERR(phy->clk2); in sun4i_usb_phy_probe()
/drivers/clk/rockchip/
Dclk-rk3188.c815 struct clk *clk1, *clk2; in rk3188a_clk_init() local
835 clk2 = __clk_lookup("gpll"); in rk3188a_clk_init()
836 if (clk1 && clk2) { in rk3188a_clk_init()
839 ret = clk_set_parent(clk1, clk2); in rk3188a_clk_init()
/drivers/pinctrl/
Dpinctrl-lpc18xx.c416 LPC_N(clk2, 0xc08, EMC, CLKOUT, R, R, SDMMC, EMC_ALT,I2S0_TX_MCLK,I2S1, 0, HS);
625 LPC18XX_PIN(clk2, PIN_CLK2),