Searched refs:write_position (Results 1 – 8 of 8) sorted by relevance
371 if (chan->stat.read_position > chan->stat.write_position) { in edma_chan_cyclic_consume()373 chan->stat.write_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()407 chan->stat.write_position = in edma_chan_cyclic_produce()408 (chan->stat.write_position + bytes) % chan->bsize; in edma_chan_cyclic_produce()410 if (chan->stat.write_position > chan->stat.read_position) { in edma_chan_cyclic_produce()411 chan->stat.pending_length = chan->stat.write_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()
57 chan_data->stat.write_position = 0; in dma_nxp_sdma_init_stat()85 if (chan_data->stat.read_position > chan_data->stat.write_position) in dma_nxp_sdma_consume()87 chan_data->stat.write_position; in dma_nxp_sdma_consume()90 (chan_data->stat.write_position - chan_data->stat.read_position); in dma_nxp_sdma_consume()102 chan_data->stat.write_position += bytes; in dma_nxp_sdma_produce()103 chan_data->stat.write_position %= chan_data->capacity; in dma_nxp_sdma_produce()105 if (chan_data->stat.write_position > chan_data->stat.read_position) in dma_nxp_sdma_produce()106 chan_data->stat.pending_length = chan_data->stat.write_position - in dma_nxp_sdma_produce()110 (chan_data->stat.read_position - chan_data->stat.write_position); in dma_nxp_sdma_produce()
233 stat->write_position = *DGBWP(cfg->base, cfg->regblock_size, channel); in intel_adsp_hda_dma_status()
254 chan->stat.write_position = 0; in edma_config()
852 stat->write_position = 0; in dma_smartbond_get_status()
487 status->write_position = desc - dma_channel->desc_list; in dma_esp32_get_status()
118 if (status.read_position == status.write_position) { in ZTEST()
285 uint32_t write_position; member