Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/dma/
Ddma_pl330.c32 uint32_t loop_counter, residue; in dma_pl330_get_counter() local
37 loop_counter = ch_handle->trans_size / in dma_pl330_get_counter()
40 residue = ch_handle->trans_size - loop_counter * in dma_pl330_get_counter()
45 *ploop_counter = loop_counter; in dma_pl330_get_counter()
166 uint32_t loop_counter, residue; in dma_pl330_setup_ch() local
187 &loop_counter, &residue); in dma_pl330_setup_ch()
189 if (loop_counter >= PL330_LOOP_COUNTER0_MAX) { in dma_pl330_setup_ch()
191 loop_counter1 = loop_counter / PL330_LOOP_COUNTER0_MAX - 1; in dma_pl330_setup_ch()
215 if ((loop_counter % PL330_LOOP_COUNTER0_MAX) != 0) { in dma_pl330_setup_ch()
216 loop_counter0 = (loop_counter % PL330_LOOP_COUNTER0_MAX) - 1; in dma_pl330_setup_ch()