Lines Matching refs:peripheral
344 static struct clk_bit_info *get_clk_bit_info(int peripheral) in get_clk_bit_info() argument
355 if (info[i].id == peripheral) in get_clk_bit_info()
360 debug("ERROR: Peripheral ID %d not found\n", peripheral); in get_clk_bit_info()
365 static unsigned long exynos5_get_periph_rate(int peripheral) in exynos5_get_periph_rate() argument
367 struct clk_bit_info *bit_info = get_clk_bit_info(peripheral); in exynos5_get_periph_rate()
373 switch (peripheral) { in exynos5_get_periph_rate()
429 debug("%s: invalid peripheral %d", __func__, peripheral); in exynos5_get_periph_rate()
464 static unsigned long exynos542x_get_periph_rate(int peripheral) in exynos542x_get_periph_rate() argument
466 struct clk_bit_info *bit_info = get_clk_bit_info(peripheral); in exynos542x_get_periph_rate()
472 switch (peripheral) { in exynos542x_get_periph_rate()
520 debug("%s: invalid peripheral %d", __func__, peripheral); in exynos542x_get_periph_rate()
558 unsigned long clock_get_periph_rate(int peripheral) in clock_get_periph_rate() argument
562 return exynos542x_get_periph_rate(peripheral); in clock_get_periph_rate()
563 return exynos5_get_periph_rate(peripheral); in clock_get_periph_rate()