Searched refs:curdiv (Results 1 – 1 of 1) sorted by relevance
1150 u32 curdiv, mindiv, maxdiv; in bcm2835_clock_choose_div_and_prate() local1189 for (curdiv = mindiv; curdiv <= maxdiv; curdiv++) { in bcm2835_clock_choose_div_and_prate()1192 tmp_rate = clk_hw_round_rate(parent, rate * curdiv); in bcm2835_clock_choose_div_and_prate()1193 tmp_rate /= curdiv; in bcm2835_clock_choose_div_and_prate()1194 if (curdiv == mindiv || in bcm2835_clock_choose_div_and_prate()1202 *div = curdiv << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div_and_prate()1203 *prate = curdiv * best_rate; in bcm2835_clock_choose_div_and_prate()