Lines Matching refs:cur_idx
634 mask = (u64)buf->cur_idx;
828 buf->cur_idx++;
830 if (buf->cur_idx == buf->cur->last) {
836 buf->cur_idx = 0;
860 for (topa_idx = 0; topa_idx < buf->cur_idx; topa_idx++)
881 return phys_to_virt(TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT);
890 return TOPA_ENTRY_SIZE(buf->cur, buf->cur_idx);
972 buf->cur_idx = (pt->output_mask & 0xffffff80) >> 7;
1158 * This function modifies buf::{cur,cur_idx,output_off} that will be programmed
1178 buf->cur_idx = te - TOPA_ENTRY(buf->cur, 0);