Lines Matching refs:div_value
34 unsigned int div_value; in imx8m_clk_composite_divider_recalc_rate() local
43 div_value = readl(divider->reg) >> PCG_DIV_SHIFT; in imx8m_clk_composite_divider_recalc_rate()
44 div_value &= clk_div_mask(PCG_DIV_WIDTH); in imx8m_clk_composite_divider_recalc_rate()
46 return divider_recalc_rate(hw, prediv_rate, div_value, NULL, in imx8m_clk_composite_divider_recalc_rate()
81 int div_value; in imx8m_clk_composite_divider_round_rate() local
84 &prediv_value, &div_value); in imx8m_clk_composite_divider_round_rate()
87 return DIV_ROUND_UP(rate, div_value); in imx8m_clk_composite_divider_round_rate()
98 int div_value; in imx8m_clk_composite_divider_set_rate() local
103 &prediv_value, &div_value); in imx8m_clk_composite_divider_set_rate()
114 val |= (u32)(div_value - 1) << PCG_DIV_SHIFT; in imx8m_clk_composite_divider_set_rate()
129 int div_value; in imx8m_divider_determine_rate() local
140 div_value = val >> PCG_DIV_SHIFT; in imx8m_divider_determine_rate()
141 div_value &= clk_div_mask(PCG_DIV_WIDTH); in imx8m_divider_determine_rate()
142 div_value++; in imx8m_divider_determine_rate()
146 divider->flags, prediv_value * div_value); in imx8m_divider_determine_rate()