Lines Matching full:divider
57 u32 divider; /* Cached divider value */ member
93 cdesc->divider - 1); in atl_clk_enable()
128 return parent_rate / cdesc->divider; in atl_clk_recalc_rate()
134 unsigned divider; in atl_clk_round_rate() local
136 divider = (*parent_rate + rate / 2) / rate; in atl_clk_round_rate()
137 if (divider > DRA7_ATL_DIVIDER_MASK + 1) in atl_clk_round_rate()
138 divider = DRA7_ATL_DIVIDER_MASK + 1; in atl_clk_round_rate()
140 return *parent_rate / divider; in atl_clk_round_rate()
147 u32 divider; in atl_clk_set_rate() local
153 divider = ((parent_rate + rate / 2) / rate) - 1; in atl_clk_set_rate()
154 if (divider > DRA7_ATL_DIVIDER_MASK) in atl_clk_set_rate()
155 divider = DRA7_ATL_DIVIDER_MASK; in atl_clk_set_rate()
157 cdesc->divider = divider + 1; in atl_clk_set_rate()
185 clk_hw->divider = 1; in of_dra7_atl_clock_setup()