Lines Matching refs:wqbuf_firstindex
651 while ((acb->wqbuf_firstindex != acb->wqbuf_lastindex)
653 writeb(acb->wqbuffer[acb->wqbuf_firstindex], iop_data);
654 acb->wqbuf_firstindex++;
655 acb->wqbuf_firstindex %= ARCMSR_MAX_QBUFFER;
723 if (acb->wqbuf_firstindex != acb->wqbuf_lastindex) {
730 while ((acb->wqbuf_firstindex != acb->wqbuf_lastindex)
732 writeb(acb->wqbuffer[acb->wqbuf_firstindex], iop_data);
733 acb->wqbuf_firstindex++;
734 acb->wqbuf_firstindex %= ARCMSR_MAX_QBUFFER;
742 if (acb->wqbuf_firstindex == acb->wqbuf_lastindex)
924 int32_t my_empty_len, user_len, wqbuf_firstindex, wqbuf_lastindex;
936 wqbuf_firstindex = acb->wqbuf_firstindex;
937 if (wqbuf_lastindex != wqbuf_firstindex) {
949 my_empty_len = (wqbuf_firstindex-wqbuf_lastindex - 1)
1008 acb->wqbuf_firstindex = 0;
1029 acb->wqbuf_firstindex = 0;