Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c727 size_t axi_block_len; in dw_axi_dma_chan_prep_cyclic() local
737 axi_block_len = calculate_block_len(chan, dma_addr, buf_len, direction); in dw_axi_dma_chan_prep_cyclic()
738 if (axi_block_len == 0) in dw_axi_dma_chan_prep_cyclic()
741 num_segments = DIV_ROUND_UP(period_len, axi_block_len); in dw_axi_dma_chan_prep_cyclic()
805 size_t axi_block_len; in dw_axi_dma_chan_prep_slave_sg() local
819 axi_block_len = calculate_block_len(chan, mem, len, direction); in dw_axi_dma_chan_prep_slave_sg()
820 if (axi_block_len == 0) in dw_axi_dma_chan_prep_slave_sg()
824 num_sgs += DIV_ROUND_UP(sg_dma_len(sg), axi_block_len); in dw_axi_dma_chan_prep_slave_sg()
837 num_segments = DIV_ROUND_UP(sg_dma_len(sg), axi_block_len); in dw_axi_dma_chan_prep_slave_sg()