Home
last modified time | relevance | path

Searched refs:ptr_data (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/dma/
Ddma_intel_lpss.c69 chan_data->ptr_data.current_ptr = dst; in dma_intel_lpss_reload()
70 chan_data->ptr_data.buffer_bytes = size; in dma_intel_lpss_reload()
77 chan_data->ptr_data.start_ptr = DW_DMA_LLI_ADDRESS(chan_data->lli_current, in dma_intel_lpss_reload()
79 chan_data->ptr_data.end_ptr = chan_data->ptr_data.start_ptr + in dma_intel_lpss_reload()
80 chan_data->ptr_data.buffer_bytes; in dma_intel_lpss_reload()
81 chan_data->ptr_data.hw_ptr = chan_data->ptr_data.start_ptr; in dma_intel_lpss_reload()
110 stat->pending_length = chan_data->ptr_data.buffer_bytes; in dma_intel_lpss_get_status()
117 } else if (current_length == chan_data->ptr_data.buffer_bytes) { in dma_intel_lpss_get_status()
118 stat->pending_length = chan_data->ptr_data.buffer_bytes; in dma_intel_lpss_get_status()
121 chan_data->ptr_data.buffer_bytes - current_length; in dma_intel_lpss_get_status()
Ddma_dw_common.c197 chan_data->ptr_data.buffer_bytes = 0; in dw_dma_config()
367 chan_data->ptr_data.buffer_bytes += block_cfg->block_size; in dw_dma_config()
402 chan_data->ptr_data.start_ptr = DW_DMA_LLI_ADDRESS(chan_data->lli, in dw_dma_config()
404 chan_data->ptr_data.end_ptr = chan_data->ptr_data.start_ptr + in dw_dma_config()
405 chan_data->ptr_data.buffer_bytes; in dw_dma_config()
406 chan_data->ptr_data.current_ptr = chan_data->ptr_data.start_ptr; in dw_dma_config()
407 chan_data->ptr_data.hw_ptr = chan_data->ptr_data.start_ptr; in dw_dma_config()
762 int32_t read_ptr = chan_data->ptr_data.current_ptr; in dw_dma_avail_data_size()
764 int32_t delta = write_ptr - chan_data->ptr_data.hw_ptr; in dw_dma_avail_data_size()
767 chan_data->ptr_data.hw_ptr = write_ptr; in dw_dma_avail_data_size()
[all …]
Ddma_intel_adsp_gpdma.c241 chan_data->ptr_data.current_ptr += size; in intel_adsp_gpdma_copy()
242 if (chan_data->ptr_data.current_ptr >= chan_data->ptr_data.end_ptr) { in intel_adsp_gpdma_copy()
243 chan_data->ptr_data.current_ptr = chan_data->ptr_data.start_ptr + in intel_adsp_gpdma_copy()
244 (chan_data->ptr_data.current_ptr - chan_data->ptr_data.end_ptr); in intel_adsp_gpdma_copy()
Ddma_dw_common.h232 struct dw_dma_ptr_data ptr_data; /* pointer data */ member