Lines Matching refs:rcvidx
245 if ((cs->rcvidx + count) >= MAX_DFRAME_LEN_L1) { in dch_empty_fifo()
249 cs->rcvidx = 0; in dch_empty_fifo()
253 ptr = cs->rcvbuf + cs->rcvidx; in dch_empty_fifo()
254 cs->rcvidx += count; in dch_empty_fifo()
348 if ((count = cs->rcvidx) > 0) { in dch_int()
349 cs->rcvidx = 0; in dch_int()
358 cs->rcvidx = 0; in dch_int()
519 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) { in bch_empty_fifo()
523 bcs->hw.hscx.rcvidx = 0; in bch_empty_fifo()
527 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in bch_empty_fifo()
532 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in bch_empty_fifo()
533 bcs->hw.hscx.rcvidx += count; in bch_empty_fifo()
624 if ((count = bcs->hw.hscx.rcvidx - 1) > 0) { in bch_int()
636 bcs->hw.hscx.rcvidx = 0; in bch_int()
652 bcs->hw.hscx.rcvidx = 0; in bch_int()
805 bcs->hw.hscx.rcvidx = 0; in bch_open_state()