Lines Matching refs:prediv_value
33 unsigned int prediv_value; in imx8m_clk_composite_divider_recalc_rate() local
36 prediv_value = readl(divider->reg) >> divider->shift; in imx8m_clk_composite_divider_recalc_rate()
37 prediv_value &= clk_div_mask(divider->width); in imx8m_clk_composite_divider_recalc_rate()
39 prediv_rate = divider_recalc_rate(hw, parent_rate, prediv_value, in imx8m_clk_composite_divider_recalc_rate()
80 int prediv_value; in imx8m_clk_composite_divider_round_rate() local
84 &prediv_value, &div_value); in imx8m_clk_composite_divider_round_rate()
85 rate = DIV_ROUND_UP(*prate, prediv_value); in imx8m_clk_composite_divider_round_rate()
97 int prediv_value; in imx8m_clk_composite_divider_set_rate() local
103 &prediv_value, &div_value); in imx8m_clk_composite_divider_set_rate()
113 val |= (u32)(prediv_value - 1) << divider->shift; in imx8m_clk_composite_divider_set_rate()
128 int prediv_value; in imx8m_divider_determine_rate() local
136 prediv_value = val >> divider->shift; in imx8m_divider_determine_rate()
137 prediv_value &= clk_div_mask(divider->width); in imx8m_divider_determine_rate()
138 prediv_value++; in imx8m_divider_determine_rate()
146 divider->flags, prediv_value * div_value); in imx8m_divider_determine_rate()