Lines Matching refs:index
55 unsigned short index;
100 /** _bcom_next_index - Get next input index.
108 return ((tsk->index + 1) == tsk->num_bd) ? 0 : tsk->index + 1;
111 /** _bcom_next_outdex - Get next output index.
129 return tsk->index == tsk->outdex;
145 * index: Index of the BD to fetch
148 *bcom_get_bd(struct bcom_task *tsk, unsigned int index)
152 return ((void *)tsk->bd) + (index * tsk->bd_size);
181 bd = bcom_get_bd(tsk, tsk->index);
189 struct bcom_bd *bd = bcom_get_bd(tsk, tsk->index);
191 tsk->cookie[tsk->index] = cookie;
194 tsk->index = _bcom_next_index(tsk);