Searched refs:fast_clk (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/clocksource/
H A Dtime-pistachio.c153 struct clk *sys_clk, *fast_clk; pistachio_clksrc_of_init() local
183 fast_clk = of_clk_get_by_name(node, "fast"); pistachio_clksrc_of_init()
184 if (IS_ERR(fast_clk)) { pistachio_clksrc_of_init()
185 pr_err("clock get failed (%lu)\n", PTR_ERR(fast_clk)); pistachio_clksrc_of_init()
195 ret = clk_prepare_enable(fast_clk); pistachio_clksrc_of_init()
202 rate = clk_get_rate(fast_clk); pistachio_clksrc_of_init()
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-tegra.c154 * @fast_clk: clock reference for fast clock of i2c controller.
172 struct clk *fast_clk; member in struct:tegra_i2c_dev
396 ret = clk_enable(i2c_dev->fast_clk); tegra_i2c_clock_enable()
407 clk_disable(i2c_dev->fast_clk); tegra_i2c_clock_enable()
416 clk_disable(i2c_dev->fast_clk); tegra_i2c_clock_disable()
758 struct clk *fast_clk; tegra_i2c_probe() local
819 fast_clk = devm_clk_get(&pdev->dev, "fast-clk"); tegra_i2c_probe()
820 if (IS_ERR(fast_clk)) { tegra_i2c_probe()
822 return PTR_ERR(fast_clk); tegra_i2c_probe()
824 i2c_dev->fast_clk = fast_clk; tegra_i2c_probe()
830 ret = clk_prepare(i2c_dev->fast_clk); tegra_i2c_probe()
893 clk_unprepare(i2c_dev->fast_clk); tegra_i2c_probe()
905 clk_unprepare(i2c_dev->fast_clk); tegra_i2c_remove()

Completed in 116 milliseconds