Searched refs:external_clk (Results 1 – 3 of 3) sorted by relevance
156 struct clk *external_clk; in kona_timer_init() local158 external_clk = of_clk_get_by_name(node, NULL); in kona_timer_init()160 if (!IS_ERR(external_clk)) { in kona_timer_init()161 arch_timer_rate = clk_get_rate(external_clk); in kona_timer_init()162 clk_prepare_enable(external_clk); in kona_timer_init()
52 static unsigned int external_clk; variable53 module_param(external_clk, uint, 0444);54 MODULE_PARM_DESC(external_clk, "External clock when internal_clk disabled");131 external_clk / 1000000); in f81601_pci_probe()167 priv->can.clock.freq = external_clk / 2; in f81601_pci_probe()
149 struct clk *external_clk; member555 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()599 rc = clk_prepare_enable(dev->external_clk); in bcm_kona_i2c_xfer()688 clk_disable_unprepare(dev->external_clk); in bcm_kona_i2c_xfer()759 dev->external_clk = devm_clk_get(dev->device, NULL); in bcm_kona_i2c_probe()760 if (IS_ERR(dev->external_clk)) { in bcm_kona_i2c_probe()765 rc = clk_set_rate(dev->external_clk, STD_EXT_CLK_FREQ); in bcm_kona_i2c_probe()772 rc = clk_prepare_enable(dev->external_clk); in bcm_kona_i2c_probe()836 clk_disable_unprepare(dev->external_clk); in bcm_kona_i2c_probe()[all …]