Searched refs:scaled_div (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/clk/bcm/ |
D | clk-kona.c | 108 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 …]
|
D | clk-kona.h | 274 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, \
|
/Linux-v4.19/net/dccp/ccids/lib/ |
D | tfrc.h | 31 static inline u64 scaled_div(u64 a, u64 b) in scaled_div() function 39 u64 result = scaled_div(a, b); in scaled_div32()
|
D | tfrc_equation.c | 656 result = scaled_div(s, R); in tfrc_calc_x() 704 return max_t(u32, scaled_div(1, loss_event_rate), TFRC_SMALLEST_P); in tfrc_invert_loss_event_rate()
|
/Linux-v4.19/net/dccp/ccids/ |
D | ccid3.c | 90 return scaled_div(w_init << 6, hc->tx_rtt); in rfc3390_initial_rate() 151 scaled_div(((__u64)hc->tx_s) << 6, hc->tx_rtt)); in ccid3_hc_tx_update_x() 704 fval = scaled_div(hc->rx_s, hc->rx_rtt); in ccid3_first_li() 711 return p == 0 ? ~0U : scaled_div(1, p); in ccid3_first_li()
|