Lines Matching refs:external_clk
149 struct clk *external_clk; member
555 rc = clk_set_rate(dev->external_clk, HS_EXT_CLK_FREQ); in bcm_kona_i2c_switch_to_hs()
581 rc = clk_set_rate(dev->external_clk, STD_EXT_CLK_FREQ); in bcm_kona_i2c_switch_to_std()
598 rc = clk_prepare_enable(dev->external_clk); in bcm_kona_i2c_xfer()
687 clk_disable_unprepare(dev->external_clk); in bcm_kona_i2c_xfer()
758 dev->external_clk = devm_clk_get(dev->device, NULL); in bcm_kona_i2c_probe()
759 if (IS_ERR(dev->external_clk)) { in bcm_kona_i2c_probe()
764 rc = clk_set_rate(dev->external_clk, STD_EXT_CLK_FREQ); in bcm_kona_i2c_probe()
771 rc = clk_prepare_enable(dev->external_clk); in bcm_kona_i2c_probe()
835 clk_disable_unprepare(dev->external_clk); in bcm_kona_i2c_probe()
856 clk_disable_unprepare(dev->external_clk); in bcm_kona_i2c_probe()