Searched refs:axi_block_len (Results 1 – 1 of 1) sorted by relevance
728 size_t axi_block_len; in dw_axi_dma_chan_prep_cyclic() local738 axi_block_len = calculate_block_len(chan, dma_addr, buf_len, direction); in dw_axi_dma_chan_prep_cyclic()739 if (axi_block_len == 0) in dw_axi_dma_chan_prep_cyclic()742 num_segments = DIV_ROUND_UP(period_len, axi_block_len); in dw_axi_dma_chan_prep_cyclic()806 size_t axi_block_len; in dw_axi_dma_chan_prep_slave_sg() local820 axi_block_len = calculate_block_len(chan, mem, len, direction); in dw_axi_dma_chan_prep_slave_sg()821 if (axi_block_len == 0) in dw_axi_dma_chan_prep_slave_sg()825 num_sgs += DIV_ROUND_UP(sg_dma_len(sg), axi_block_len); in dw_axi_dma_chan_prep_slave_sg()838 num_segments = DIV_ROUND_UP(sg_dma_len(sg), axi_block_len); in dw_axi_dma_chan_prep_slave_sg()