Lines Matching refs:bit_info
366 struct clk_bit_info *bit_info = get_clk_bit_info(peripheral); in exynos5_get_periph_rate() local
432 if (bit_info->src_bit >= 0) in exynos5_get_periph_rate()
433 src = (src >> bit_info->src_bit) & bit_info->src_mask; in exynos5_get_periph_rate()
451 if (bit_info->div_bit >= 0) in exynos5_get_periph_rate()
452 div = (div >> bit_info->div_bit) & bit_info->div_mask; in exynos5_get_periph_rate()
455 if (bit_info->prediv_bit >= 0) in exynos5_get_periph_rate()
456 sub_div = (sub_div >> bit_info->prediv_bit) in exynos5_get_periph_rate()
457 & bit_info->prediv_mask; in exynos5_get_periph_rate()
465 struct clk_bit_info *bit_info = get_clk_bit_info(peripheral); in exynos542x_get_periph_rate() local
523 if (bit_info->src_bit >= 0) in exynos542x_get_periph_rate()
524 src = (src >> bit_info->src_bit) & bit_info->src_mask; in exynos542x_get_periph_rate()
545 if (bit_info->div_bit >= 0) in exynos542x_get_periph_rate()
546 div = (div >> bit_info->div_bit) & bit_info->div_mask; in exynos542x_get_periph_rate()
549 if (bit_info->prediv_bit >= 0) in exynos542x_get_periph_rate()
550 sub_div = (sub_div >> bit_info->prediv_bit) in exynos542x_get_periph_rate()
551 & bit_info->prediv_mask; in exynos542x_get_periph_rate()