Lines Matching refs:sg_used

602 				     dma_addr_t buf_addr, size_t sg_used,  in xilinx_axidma_buf()  argument
606 hw->buf_addr = lower_32_bits(buf_addr + sg_used + period_len); in xilinx_axidma_buf()
607 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used + in xilinx_axidma_buf()
610 hw->buf_addr = buf_addr + sg_used + period_len; in xilinx_axidma_buf()
616 dma_addr_t buf_addr, size_t sg_used) in xilinx_aximcdma_buf() argument
619 hw->buf_addr = lower_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
620 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
622 hw->buf_addr = buf_addr + sg_used; in xilinx_aximcdma_buf()
2152 size_t sg_used; in xilinx_dma_prep_slave_sg() local
2168 sg_used = 0; in xilinx_dma_prep_slave_sg()
2171 while (sg_used < sg_dma_len(sg)) { in xilinx_dma_prep_slave_sg()
2184 sg_used); in xilinx_dma_prep_slave_sg()
2189 sg_used, 0); in xilinx_dma_prep_slave_sg()
2199 sg_used += copy; in xilinx_dma_prep_slave_sg()
2248 size_t copy, sg_used; in xilinx_dma_prep_dma_cyclic() local
2274 sg_used = 0; in xilinx_dma_prep_dma_cyclic()
2276 while (sg_used < period_len) { in xilinx_dma_prep_dma_cyclic()
2289 sg_used); in xilinx_dma_prep_dma_cyclic()
2291 xilinx_axidma_buf(chan, hw, buf_addr, sg_used, in xilinx_dma_prep_dma_cyclic()
2299 sg_used += copy; in xilinx_dma_prep_dma_cyclic()
2359 size_t sg_used; in xilinx_mcdma_prep_slave_sg() local
2375 sg_used = 0; in xilinx_mcdma_prep_slave_sg()
2378 while (sg_used < sg_dma_len(sg)) { in xilinx_mcdma_prep_slave_sg()
2390 copy = min_t(size_t, sg_dma_len(sg) - sg_used, in xilinx_mcdma_prep_slave_sg()
2396 sg_used); in xilinx_mcdma_prep_slave_sg()
2404 sg_used += copy; in xilinx_mcdma_prep_slave_sg()