Lines Matching refs:cur_idx
618 mask = (u64)buf->cur_idx;
811 buf->cur_idx++;
813 if (buf->cur_idx == buf->cur->last) {
819 buf->cur_idx = 0;
843 for (topa_idx = 0; topa_idx < buf->cur_idx; topa_idx++)
864 return phys_to_virt(TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT);
873 return TOPA_ENTRY_SIZE(buf->cur, buf->cur_idx);
955 buf->cur_idx = (pt->output_mask & 0xffffff80) >> 7;
1141 * This function modifies buf::{cur,cur_idx,output_off} that will be programmed
1161 buf->cur_idx = te - TOPA_ENTRY(buf->cur, 0);