Home
last modified time | relevance | path

Searched refs:scaled_div (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/clk/bcm/
Dclk-kona.c108 divider(struct bcm_clk_div *div, u64 scaled_div) in divider() argument
110 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() argument
664 previous = div->u.s.scaled_div; in divider_write()
665 if (previous == scaled_div) in divider_write()
[all …]
Dclk-kona.h274 u64 scaled_div; /* scaled divider value */ member
304 .u.s.scaled_div = BAD_SCALED_DIV_VALUE, \
315 .u.s.scaled_div = BAD_SCALED_DIV_VALUE, \