Searched refs:scaled_div (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/clk/bcm/ |
D | clk-kona.c | 109 divider(struct bcm_clk_div *div, u64 scaled_div) in divider() argument 111 BUG_ON(scaled_div < scaled_div_min(div)); in divider() 112 BUG_ON(scaled_div > scaled_div_max(div)); in divider() 114 return (u32)(scaled_div - ((u64)1 << div->u.s.frac_width)); in divider() 606 if (div->u.s.scaled_div == BAD_SCALED_DIV_VALUE) { in __div_commit() 610 div->u.s.scaled_div = scaled_div_value(div, reg_div); in __div_commit() 616 reg_div = divider(div, div->u.s.scaled_div); in __div_commit() 657 u64 scaled_div) in divider_write() argument 665 previous = div->u.s.scaled_div; in divider_write() 666 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-v5.10/net/dccp/ccids/lib/ |
D | tfrc.h | 27 static inline u64 scaled_div(u64 a, u64 b) in scaled_div() function 35 u64 result = scaled_div(a, b); in scaled_div32()
|
D | tfrc_equation.c | 652 result = scaled_div(s, R); in tfrc_calc_x() 700 return max_t(u32, scaled_div(1, loss_event_rate), TFRC_SMALLEST_P); in tfrc_invert_loss_event_rate()
|
/Linux-v5.10/net/dccp/ccids/ |
D | ccid3.c | 77 return scaled_div(w_init << 6, hc->tx_rtt); in rfc3390_initial_rate() 138 scaled_div(((__u64)hc->tx_s) << 6, hc->tx_rtt)); in ccid3_hc_tx_update_x() 691 fval = scaled_div(hc->rx_s, hc->rx_rtt); in ccid3_first_li() 698 return p == 0 ? ~0U : scaled_div(1, p); in ccid3_first_li()
|