Searched refs:queue_entry (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/i2s/ |
D | i2s_mcux_flexcomm.c | 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() [all …]
|