Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/dma/
Ddma_pl330.c25 static void dma_pl330_get_counter(struct dma_pl330_ch_internal *ch_handle, in dma_pl330_get_counter() argument
34 srcbytewidth = BYTE_WIDTH(ch_handle->src_burst_sz); in dma_pl330_get_counter()
35 dstbytewidth = BYTE_WIDTH(ch_handle->dst_burst_sz); in dma_pl330_get_counter()
37 loop_counter = ch_handle->trans_size / in dma_pl330_get_counter()
38 (srcbytewidth * (ch_handle->src_burst_len + 1)); in dma_pl330_get_counter()
40 residue = ch_handle->trans_size - loop_counter * in dma_pl330_get_counter()
41 (srcbytewidth * (ch_handle->src_burst_len + 1)); in dma_pl330_get_counter()
49 static uint32_t dma_pl330_ch_ccr(struct dma_pl330_ch_internal *ch_handle) in dma_pl330_ch_ccr() argument
52 int secure = ch_handle->nonsec_mode ? SRC_PRI_NONSEC_VALUE : in dma_pl330_ch_ccr()
55 ccr = ((ch_handle->dst_cache_ctrl & CC_SRCCCTRL_MASK) << in dma_pl330_ch_ccr()
[all …]