Home
last modified time | relevance | path

Searched refs:mem_block_queue (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/i2s/
Di2s_sam_ssc.c86 struct ring_buf mem_block_queue; member
224 ret = queue_put(&stream->mem_block_queue, stream->mem_block, in dma_rx_callback()
296 ret = queue_get(&stream->mem_block_queue, &stream->mem_block, in dma_tx_callback()
686 ret = queue_get(&stream->mem_block_queue, &stream->mem_block, in tx_stream_start()
761 while (queue_get(&stream->mem_block_queue, &mem_block, &size) == 0) { in rx_queue_drop()
774 while (queue_get(&stream->mem_block_queue, &mem_block, &size) == 0) { in tx_queue_drop()
894 ret = queue_get(&dev_data->rx.mem_block_queue, mem_block, size); in i2s_sam_read()
921 queue_put(&dev_data->tx.mem_block_queue, mem_block, size); in i2s_sam_write()
1032 .mem_block_queue.buf = rx_0_ring_buf,
1033 .mem_block_queue.len = ARRAY_SIZE(rx_0_ring_buf),
[all …]
Di2s_ll_stm32.c388 if ((queue_is_empty(&stream->mem_block_queue) == false) || in i2s_stm32_trigger()
456 ret = queue_get(&dev_data->rx.mem_block_queue, mem_block, size); in i2s_stm32_read()
483 return queue_put(&dev_data->tx.mem_block_queue, mem_block, size); in i2s_stm32_write()
607 ret = queue_put(&stream->mem_block_queue, mblk_tmp, in dma_rx_callback()
662 if (queue_is_empty(&stream->mem_block_queue) == true) { in dma_tx_callback()
684 ret = queue_get(&stream->mem_block_queue, &stream->mem_block, in dma_tx_callback()
850 ret = queue_get(&stream->mem_block_queue, &stream->mem_block, in tx_stream_start()
956 while (queue_get(&stream->mem_block_queue, &mem_block, &size) == 0) { in rx_queue_drop()
969 while (queue_get(&stream->mem_block_queue, &mem_block, &size) == 0) { in tx_queue_drop()
1015 .mem_block_queue.buf = dir##_##index##_ring_buf, \
[all …]
Di2s_ll_stm32.h47 struct ring_buf mem_block_queue; member
Di2s_litex.c446 return queue_get(&dev_data->rx.mem_block_queue, mem_block, size); in i2s_litex_read()
468 ret = queue_put(&dev_data->tx.mem_block_queue, mem_block, size); in i2s_litex_write()
557 ret = queue_put(&stream->mem_block_queue, stream->mem_block, in i2s_litex_isr_rx()
579 ret = queue_get(&stream->mem_block_queue, &stream->mem_block, in i2s_litex_isr_tx()
607 .dir.mem_block_queue.buf = dir##_ring_buf, \
608 .dir.mem_block_queue.len = \
Di2s_litex.h84 struct ring_buf mem_block_queue; member