Lines Matching refs:index
140 static inline void index_adv(u32 *index, u32 val, u32 limit)
142 *index = MODULO((*index + val), limit);
145 static inline void index_inc(u32 *index, u32 limit)
147 *index = MODULO((*index + 1), limit);
160 static inline void *queue_index_node(struct be_queue_info *q, u16 index)
162 return q->dma_mem.va + index * q->entry_size;
170 static inline void index_dec(u32 *index, u32 limit)
172 *index = MODULO((*index - 1), limit);
186 u8 idx; /* array index */
244 u16 last_req_hdr; /* index of the last req's hdr-wrb */