Searched refs:scaled_div (Results 1 – 2 of 2) sorted by relevance
108 divider(struct bcm_clk_div *div, u64 scaled_div) in divider() argument110 BUG_ON(scaled_div < scaled_div_min(div)); in divider()111 BUG_ON(scaled_div > scaled_div_max(div)); in divider()113 return (u32)(scaled_div - ((u64)1 << div->u.s.frac_width)); in divider()605 if (div->u.s.scaled_div == BAD_SCALED_DIV_VALUE) { in __div_commit()609 div->u.s.scaled_div = scaled_div_value(div, reg_div); in __div_commit()615 reg_div = divider(div, div->u.s.scaled_div); in __div_commit()656 u64 scaled_div) in divider_write() argument664 previous = div->u.s.scaled_div; in divider_write()665 if (previous == scaled_div) in divider_write()[all …]
274 u64 scaled_div; /* scaled divider value */ member304 .u.s.scaled_div = BAD_SCALED_DIV_VALUE, \315 .u.s.scaled_div = BAD_SCALED_DIV_VALUE, \