Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c774 size_t axi_block_len; in dw_axi_dma_chan_prep_cyclic() local
784 axi_block_len = calculate_block_len(chan, dma_addr, buf_len, direction); in dw_axi_dma_chan_prep_cyclic()
785 if (axi_block_len == 0) in dw_axi_dma_chan_prep_cyclic()
788 num_segments = DIV_ROUND_UP(period_len, axi_block_len); in dw_axi_dma_chan_prep_cyclic()
852 size_t axi_block_len; in dw_axi_dma_chan_prep_slave_sg() local
866 axi_block_len = calculate_block_len(chan, mem, len, direction); in dw_axi_dma_chan_prep_slave_sg()
867 if (axi_block_len == 0) in dw_axi_dma_chan_prep_slave_sg()
871 num_sgs += DIV_ROUND_UP(sg_dma_len(sg), axi_block_len); in dw_axi_dma_chan_prep_slave_sg()
884 num_segments = DIV_ROUND_UP(sg_dma_len(sg), axi_block_len); in dw_axi_dma_chan_prep_slave_sg()