Home | History | Annotate | Download | only in dist

Lines Matching defs:inc

6  * Copyright (C) 2004-2013 Synopsys, Inc.
70 static u16 dwc2_desclist_idx_inc(u16 idx, u16 inc, u8 speed)
72 return (idx + inc) &
77 static u16 dwc2_desclist_idx_dec(u16 idx, u16 inc, u8 speed)
79 return (idx - inc) &
237 u16 i, j, inc;
256 inc = dwc2_frame_incr_val(qh);
268 j = (j + inc) & (FRLISTEN_64_SIZE - 1);
285 inc = (8 + qh->interval - 1) / qh->interval;
286 for (i = 0; i < inc; i++) {
581 u16 idx, inc, n_desc = 0, ntd_max = 0;
586 inc = qh->interval;
589 next_idx = dwc2_desclist_idx_inc(qh->td_last, inc, qh->dev_speed);
599 if (inc < 32) {
602 qh->td_last = dwc2_desclist_idx_inc(cur_idx, inc,
629 idx = dwc2_desclist_idx_inc(idx, inc, qh->dev_speed);
641 idx = dwc2_desclist_idx_dec(qh->td_last, inc, qh->dev_speed);
666 idx = dwc2_desclist_idx_dec(idx, inc * ((qh->ntd + 1) / 2),
674 idx = dwc2_desclist_idx_dec(qh->td_last, inc, qh->dev_speed);