Lines Matching refs:index
141 static inline void index_adv(u32 *index, u32 val, u32 limit)
143 *index = MODULO((*index + val), limit);
146 static inline void index_inc(u32 *index, u32 limit)
148 *index = MODULO((*index + 1), limit);
161 static inline void *queue_index_node(struct be_queue_info *q, u16 index)
163 return q->dma_mem.va + index * q->entry_size;
171 static inline void index_dec(u32 *index, u32 limit)
173 *index = MODULO((*index - 1), limit);
187 u8 idx; /* array index */
245 u16 last_req_hdr; /* index of the last req's hdr-wrb */