Lines Matching refs:map_bufs_cnt
74 dma_unmap_sg(dev, sr->in.buf, (sr->in.map_bufs_cnt - 1), sr->in.dir); in softreq_unmap_sgbufs()
81 sr->in.map_bufs_cnt = 0; in softreq_unmap_sgbufs()
94 dma_unmap_sg(dev, sr->out.buf, (sr->out.map_bufs_cnt - 3), in softreq_unmap_sgbufs()
106 sr->out.map_bufs_cnt = 0; in softreq_unmap_sgbufs()
239 sr->in.map_bufs_cnt = (1 + nents); in dma_map_inbufs()
242 ret = create_sg_component(sr, &sr->in, sr->in.map_bufs_cnt); in dma_map_inbufs()
250 sr->in.map_bufs_cnt = 0; in dma_map_inbufs()
266 int i, nents, map_bufs_cnt, ret = 0; in dma_map_outbufs() local
314 nents = sr->in.map_bufs_cnt - 1; in dma_map_outbufs()
315 map_bufs_cnt = sr->in.map_bufs_cnt; in dma_map_outbufs()
316 while (map_bufs_cnt--) { in dma_map_outbufs()
339 sr->out.map_bufs_cnt = (3 + nents); in dma_map_outbufs()
341 ret = create_sg_component(sr, &sr->out, sr->out.map_bufs_cnt); in dma_map_outbufs()
350 sr->out.map_bufs_cnt = 0; in dma_map_outbufs()
600 sr->instr.ih.s.gsz = sr->in.map_bufs_cnt; in nitrox_process_se_request()
601 sr->instr.ih.s.ssz = sr->out.map_bufs_cnt; in nitrox_process_se_request()
623 sr->instr.slc.s.ssz = sr->out.map_bufs_cnt; in nitrox_process_se_request()