Searched refs:strm (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/drivers/i2s/ |
D | i2s_mcux_sai.c | 119 static inline void i2s_purge_stream_buffers(struct stream *strm, in i2s_purge_stream_buffers() argument 126 while (k_msgq_get(&strm->in_queue, &buffer, K_NO_WAIT) == 0) { in i2s_purge_stream_buffers() 132 while (k_msgq_get(&strm->out_queue, &buffer, K_NO_WAIT) == 0) { in i2s_purge_stream_buffers() 141 struct stream *strm = &dev_data->tx; in i2s_tx_stream_disable() local 145 LOG_DBG("Stopping DMA channel %u for TX stream", strm->dma_channel); in i2s_tx_stream_disable() 151 dma_stop(dev_dma, strm->dma_channel); in i2s_tx_stream_disable() 172 i2s_purge_stream_buffers(strm, dev_data->tx.cfg.mem_slab, in i2s_tx_stream_disable() 181 struct stream *strm = &dev_data->rx; in i2s_rx_stream_disable() local 185 LOG_DBG("Stopping RX stream & DMA channel %u", strm->dma_channel); in i2s_rx_stream_disable() 186 dma_stop(dev_dma, strm->dma_channel); in i2s_rx_stream_disable() [all …]
|