Lines Matching refs:queue_entry
321 struct i2s_txq_entry queue_entry; in i2s_purge_stream_buffers() local
323 while (k_msgq_get(&stream->in_queue, &queue_entry, K_NO_WAIT) == 0) { in i2s_purge_stream_buffers()
324 k_mem_slab_free(mem_slab, queue_entry.mem_block); in i2s_purge_stream_buffers()
473 struct i2s_txq_entry queue_entry; in i2s_mcux_dma_tx_callback() local
478 ret = k_msgq_get(&stream->out_queue, &queue_entry.mem_block, K_NO_WAIT); in i2s_mcux_dma_tx_callback()
481 k_mem_slab_free(stream->cfg.mem_slab, queue_entry.mem_block); in i2s_mcux_dma_tx_callback()
498 ret = k_msgq_get(&stream->in_queue, &queue_entry, K_NO_WAIT); in i2s_mcux_dma_tx_callback()
502 (uint32_t *)queue_entry.mem_block, in i2s_mcux_dma_tx_callback()
503 queue_entry.size); in i2s_mcux_dma_tx_callback()
504 k_msgq_put(&stream->out_queue, &queue_entry.mem_block, K_NO_WAIT); in i2s_mcux_dma_tx_callback()
604 struct i2s_txq_entry queue_entry; in i2s_mcux_tx_stream_start() local
607 ret = k_msgq_get(&stream->in_queue, &queue_entry, K_NO_WAIT); in i2s_mcux_tx_stream_start()
614 (uint32_t *)queue_entry.mem_block, in i2s_mcux_tx_stream_start()
615 queue_entry.size); in i2s_mcux_tx_stream_start()
618 ret = k_msgq_put(&stream->out_queue, &queue_entry.mem_block, K_NO_WAIT); in i2s_mcux_tx_stream_start()
832 struct i2s_txq_entry queue_entry = { in i2s_mcux_write() local
843 ret = k_msgq_put(&stream->in_queue, &queue_entry, in i2s_mcux_write()