Lines Matching refs:dma
11 #include <linux/dma-mapping.h>
140 wa->dma.address);
142 if (wa->dma.address)
143 dma_unmap_single(wa->dev, wa->dma.address, wa->length,
144 wa->dma.dir);
149 wa->dma.address = 0;
169 &wa->dma.address);
173 wa->dma.length = CCP_DMAPOOL_MAX_SIZE;
180 wa->dma.address = dma_map_single(wa->dev, wa->address, len,
182 if (dma_mapping_error(wa->dev, wa->dma.address)) {
188 wa->dma.length = len;
190 wa->dma.dir = dir;
351 * because the dma length is an unsigned int.
380 op->src.u.dma.address = src->dm_wa.dma.address;
381 op->src.u.dma.offset = 0;
382 op->src.u.dma.length = (blocksize_op) ? block_size : cp_len;
387 op->src.u.dma.address = sg_dma_address(src->sg_wa.dma_sg);
388 op->src.u.dma.offset = src->sg_wa.sg_used;
389 op->src.u.dma.length = op_len & ~(block_size - 1);
391 ccp_update_sg_workarea(&src->sg_wa, op->src.u.dma.length);
401 op->dst.u.dma.address = dst->dm_wa.dma.address;
402 op->dst.u.dma.offset = 0;
403 op->dst.u.dma.length = op->src.u.dma.length;
408 op->dst.u.dma.address = sg_dma_address(dst->sg_wa.dma_sg);
409 op->dst.u.dma.offset = dst->sg_wa.sg_used;
410 op->dst.u.dma.length = op->src.u.dma.length;
421 if (op->dst.u.dma.address == dst->dm_wa.dma.address)
425 op->dst.u.dma.length);
446 op.dst.u.dma.address = wa->dma.address;
447 op.dst.u.dma.length = wa->length;
450 op.src.u.dma.address = wa->dma.address;
451 op.src.u.dma.length = wa->length;
860 op.src.u.dma.address = final_wa.dma.address;
861 op.src.u.dma.length = AES_BLOCK_SIZE;
863 op.dst.u.dma.address = final_wa.dma.address;
864 op.dst.u.dma.length = AES_BLOCK_SIZE;
1016 * operations we need to set the dma direction to BIDIRECTIONAL
1226 * operations we need to set the dma direction to BIDIRECTIONAL
1415 * operations we need to set the dma direction to BIDIRECTIONAL
1907 op.exp.u.dma.address = exp.dma.address;
1908 op.exp.u.dma.offset = 0;
1932 op.src.u.dma.address = src.dma.address;
1933 op.src.u.dma.offset = 0;
1934 op.src.u.dma.length = i_len;
1935 op.dst.u.dma.address = dst.dma.address;
1936 op.dst.u.dma.offset = 0;
1937 op.dst.u.dma.length = o_len;
2019 * operations we need to set the dma direction to BIDIRECTIONAL
2042 * dma address at a time, each entry in the source scatterlist
2061 op.src.u.dma.address = sg_dma_address(src.sg_wa.sg);
2062 op.src.u.dma.offset = 0;
2063 op.src.u.dma.length = sg_dma_len(src.sg_wa.sg);
2066 op.dst.u.dma.address = sg_dma_address(dst.sg_wa.sg);
2067 op.dst.u.dma.offset = dst.sg_wa.sg_used;
2068 op.dst.u.dma.length = op.src.u.dma.length;
2131 mask.dma.address = pt->mask;
2132 mask.dma.length = pt->mask_len;
2147 op.src.u.dma.address = pt->src_dma;
2148 op.src.u.dma.offset = 0;
2149 op.src.u.dma.length = pt->src_len;
2152 op.dst.u.dma.address = pt->dst_dma;
2153 op.dst.u.dma.offset = 0;
2154 op.dst.u.dma.length = pt->src_len;
2235 op.src.u.dma.address = src.dma.address;
2236 op.src.u.dma.offset = 0;
2237 op.src.u.dma.length = src.length;
2238 op.dst.u.dma.address = dst.dma.address;
2239 op.dst.u.dma.offset = 0;
2240 op.dst.u.dma.length = dst.length;
2393 op.src.u.dma.address = src.dma.address;
2394 op.src.u.dma.offset = 0;
2395 op.src.u.dma.length = src.length;
2396 op.dst.u.dma.address = dst.dma.address;
2397 op.dst.u.dma.offset = 0;
2398 op.dst.u.dma.length = dst.length;