Lines Matching refs:cur_idx
634 mask = (u64)buf->cur_idx;
827 buf->cur_idx++;
829 if (buf->cur_idx == buf->cur->last) {
835 buf->cur_idx = 0;
859 for (topa_idx = 0; topa_idx < buf->cur_idx; topa_idx++)
880 return phys_to_virt(TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT);
889 return TOPA_ENTRY_SIZE(buf->cur, buf->cur_idx);
971 buf->cur_idx = (pt->output_mask & 0xffffff80) >> 7;
1157 * This function modifies buf::{cur,cur_idx,output_off} that will be programmed
1177 buf->cur_idx = te - TOPA_ENTRY(buf->cur, 0);