Lines Matching refs:dma_len
335 return ((struct talitos_desc *)(edesc->buf + edesc->dma_len))->hdr1; in get_request_hdr()
495 (edesc->buf + edesc->dma_len))->hdr;
1006 if (edesc->dma_len) in ipsec_esp_unmap()
1007 dma_unmap_single(dev, edesc->dma_link_tbl, edesc->dma_len, in ipsec_esp_unmap()
1057 oicv = edesc->buf + edesc->dma_len; in ipsec_esp_decrypt_swauth_done()
1214 dma_addr_t dma_icv = edesc->dma_link_tbl + edesc->dma_len - authsize; in ipsec_esp()
1304 edesc->dma_len, in ipsec_esp()
1331 int src_nents, dst_nents, alloc_len, dma_len, src_len, dst_len; in talitos_edesc_alloc() local
1379 dma_len = (src_nents ? src_len : 0) + in talitos_edesc_alloc()
1382 dma_len = (src_nents + dst_nents + 2) * in talitos_edesc_alloc()
1384 alloc_len += dma_len; in talitos_edesc_alloc()
1386 dma_len = 0; in talitos_edesc_alloc()
1407 edesc->dma_len = dma_len; in talitos_edesc_alloc()
1408 if (dma_len) in talitos_edesc_alloc()
1410 edesc->dma_len, in talitos_edesc_alloc()
1482 icvdata = edesc->buf + edesc->dma_len; in aead_decrypt()
1540 if (edesc->dma_len) in common_nonsnoop_unmap()
1541 dma_unmap_single(dev, edesc->dma_link_tbl, edesc->dma_len, in common_nonsnoop_unmap()
1628 edesc->dma_len, DMA_BIDIRECTIONAL); in common_nonsnoop()
1709 (edesc->buf + edesc->dma_len); in common_nonsnoop_hash_unmap()
1734 if (edesc->dma_len) in common_nonsnoop_hash_unmap()
1735 dma_unmap_single(dev, edesc->dma_link_tbl, edesc->dma_len, in common_nonsnoop_hash_unmap()
1863 (edesc->buf + edesc->dma_len); in common_nonsnoop_hash()
1901 edesc->dma_len, DMA_BIDIRECTIONAL); in common_nonsnoop_hash()