Home
last modified time | relevance | path

Searched refs:external_clk (Results 1 – 2 of 2) sorted by relevance

/drivers/clocksource/
Dbcm_kona_timer.c172 struct clk *external_clk; in kona_timer_init() local
174 external_clk = of_clk_get_by_name(node, NULL); in kona_timer_init()
176 if (!IS_ERR(external_clk)) { in kona_timer_init()
177 arch_timer_rate = clk_get_rate(external_clk); in kona_timer_init()
178 clk_prepare_enable(external_clk); in kona_timer_init()
/drivers/i2c/busses/
Di2c-bcm-kona.c159 struct clk *external_clk; member
565 rc = clk_set_rate(dev->external_clk, HS_EXT_CLK_FREQ); in bcm_kona_i2c_switch_to_hs()
591 rc = clk_set_rate(dev->external_clk, STD_EXT_CLK_FREQ); in bcm_kona_i2c_switch_to_std()
609 rc = clk_prepare_enable(dev->external_clk); in bcm_kona_i2c_xfer()
698 clk_disable_unprepare(dev->external_clk); in bcm_kona_i2c_xfer()
771 dev->external_clk = devm_clk_get(dev->device, NULL); in bcm_kona_i2c_probe()
772 if (IS_ERR(dev->external_clk)) { in bcm_kona_i2c_probe()
777 rc = clk_set_rate(dev->external_clk, STD_EXT_CLK_FREQ); in bcm_kona_i2c_probe()
784 rc = clk_prepare_enable(dev->external_clk); in bcm_kona_i2c_probe()
849 clk_disable_unprepare(dev->external_clk); in bcm_kona_i2c_probe()
[all …]