Searched refs:read_position (Results 1 – 9 of 9) sorted by relevance
368 chan->stat.read_position = in edma_chan_cyclic_consume()369 (chan->stat.read_position + bytes) % chan->bsize; in edma_chan_cyclic_consume()371 if (chan->stat.read_position > chan->stat.write_position) { in edma_chan_cyclic_consume()372 chan->stat.free = chan->stat.read_position - in edma_chan_cyclic_consume()374 } else if (chan->stat.read_position == chan->stat.write_position) { in edma_chan_cyclic_consume()378 (chan->stat.write_position - chan->stat.read_position); in edma_chan_cyclic_consume()410 if (chan->stat.write_position > chan->stat.read_position) { in edma_chan_cyclic_produce()412 chan->stat.read_position; in edma_chan_cyclic_produce()413 } else if (chan->stat.write_position == chan->stat.read_position) { in edma_chan_cyclic_produce()417 (chan->stat.read_position - chan->stat.write_position); in edma_chan_cyclic_produce()
56 chan_data->stat.read_position = 0; in dma_nxp_sdma_init_stat()82 chan_data->stat.read_position += bytes; in dma_nxp_sdma_consume()83 chan_data->stat.read_position %= chan_data->capacity; in dma_nxp_sdma_consume()85 if (chan_data->stat.read_position > chan_data->stat.write_position) in dma_nxp_sdma_consume()86 chan_data->stat.free = chan_data->stat.read_position - in dma_nxp_sdma_consume()90 (chan_data->stat.write_position - chan_data->stat.read_position); in dma_nxp_sdma_consume()105 if (chan_data->stat.write_position > chan_data->stat.read_position) in dma_nxp_sdma_produce()107 chan_data->stat.read_position; in dma_nxp_sdma_produce()110 (chan_data->stat.read_position - chan_data->stat.write_position); in dma_nxp_sdma_produce()
476 status->read_position = desc - dma_channel->desc_list; in dma_esp32_get_status()479 * status->read_position; in dma_esp32_get_status()
234 stat->read_position = *DGBRP(cfg->base, cfg->regblock_size, channel); in intel_adsp_hda_dma_status()
253 chan->stat.read_position = 0; in edma_config()
851 stat->read_position = 0; in dma_smartbond_get_status()
42 size_t read_position; member376 read_remaining = data->read_size - data->read_position; in async_rx_run()378 read_len = ring_buf_get(data->read_queue, &data->read_buf[data->read_position], in async_rx_run()386 .data.rx.offset = data->read_position, in async_rx_run()391 data->read_position += read_len; in async_rx_run()393 if (data->read_position == data->read_size) { in async_rx_run()421 data->read_position = 0; in serial_vnd_rx_enable()
118 if (status.read_position == status.write_position) { in ZTEST()
287 uint32_t read_position; member