Searched refs:axi_block_len (Results 1 – 1 of 1) sorted by relevance
774 size_t axi_block_len; in dw_axi_dma_chan_prep_cyclic() local784 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() local866 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()