Searched refs:down_rate (Results 1 – 3 of 3) sorted by relevance
53 unsigned long up_rate, down_rate; in div_round_closest() local59 down_rate = DIV_ROUND_UP_ULL((u64)parent_rate, down); in div_round_closest()61 return (rate - up_rate) <= (down_rate - rate) ? up : down; in div_round_closest()
52 unsigned long up_rate, down_rate; in zynqmp_divider_get_val() local62 down_rate = DIV_ROUND_UP_ULL((u64)parent_rate, down); in zynqmp_divider_get_val()64 return (rate - up_rate) <= (down_rate - rate) ? up : down; in zynqmp_divider_get_val()
237 unsigned long up_rate, down_rate; in _div_round_closest() local251 down_rate = DIV_ROUND_UP_ULL((u64)parent_rate, down); in _div_round_closest()253 return (rate - up_rate) <= (down_rate - rate) ? up : down; in _div_round_closest()