Searched refs:external_clk (Results 1 – 2 of 2) sorted by relevance
169 struct clk *external_clk; in kona_timer_init() local176 external_clk = of_clk_get_by_name(node, NULL); in kona_timer_init()178 if (!IS_ERR(external_clk)) { in kona_timer_init()179 arch_timer_rate = clk_get_rate(external_clk); in kona_timer_init()180 clk_prepare_enable(external_clk); in kona_timer_init()
159 struct clk *external_clk; member568 rc = clk_set_rate(dev->external_clk, HS_EXT_CLK_FREQ); in bcm_kona_i2c_switch_to_hs()594 rc = clk_set_rate(dev->external_clk, STD_EXT_CLK_FREQ); in bcm_kona_i2c_switch_to_std()612 rc = clk_prepare_enable(dev->external_clk); in bcm_kona_i2c_xfer()701 clk_disable_unprepare(dev->external_clk); in bcm_kona_i2c_xfer()774 dev->external_clk = devm_clk_get(dev->device, NULL); in bcm_kona_i2c_probe()775 if (IS_ERR(dev->external_clk)) { in bcm_kona_i2c_probe()780 rc = clk_set_rate(dev->external_clk, STD_EXT_CLK_FREQ); in bcm_kona_i2c_probe()787 rc = clk_prepare_enable(dev->external_clk); in bcm_kona_i2c_probe()852 clk_disable_unprepare(dev->external_clk); in bcm_kona_i2c_probe()[all …]