Lines Matching refs:bd
52 struct bcom_bd *bd; member
152 return ((void *)tsk->bd) + (index * tsk->bd_size); in bcom_get_bd()
162 struct bcom_bd *bd; in bcom_buffer_done() local
166 bd = bcom_get_bd(tsk, tsk->outdex); in bcom_buffer_done()
167 return !(bd->status & BCOM_BD_READY); in bcom_buffer_done()
179 struct bcom_bd *bd; in bcom_prepare_next_buffer() local
181 bd = bcom_get_bd(tsk, tsk->index); in bcom_prepare_next_buffer()
182 bd->status = 0; /* cleanup last status */ in bcom_prepare_next_buffer()
183 return bd; in bcom_prepare_next_buffer()
189 struct bcom_bd *bd = bcom_get_bd(tsk, tsk->index); in bcom_submit_next_buffer() local
193 bd->status |= BCOM_BD_READY; in bcom_submit_next_buffer()
203 struct bcom_bd *bd = bcom_get_bd(tsk, tsk->outdex); in bcom_retrieve_buffer() local
206 *p_status = bd->status; in bcom_retrieve_buffer()
208 *p_bd = bd; in bcom_retrieve_buffer()