Lines Matching refs:in_nents
332 areq_ctx->in_nents = 0; in cc_set_hash_buf()
360 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_TO_DEVICE); in cc_unmap_cipher_request()
365 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_BIDIRECTIONAL); in cc_unmap_cipher_request()
405 rc = cc_map_sg(dev, src, nbytes, src_direction, &req_ctx->in_nents, in cc_map_cipher_request()
416 cc_add_sg_entry(dev, &sg_data, req_ctx->in_nents, src, in cc_map_cipher_request()
431 cc_add_sg_entry(dev, &sg_data, req_ctx->in_nents, src, in cc_map_cipher_request()
1161 areq_ctx->in_nents = 0; in cc_map_hash_request_final()
1178 &areq_ctx->in_nents, LLI_MAX_NUM_OF_DATA_ENTRIES, in cc_map_hash_request_final()
1198 cc_add_sg_entry(dev, &sg_data, areq_ctx->in_nents, src, nbytes, in cc_map_hash_request_final()
1211 dma_unmap_sg(dev, src, areq_ctx->in_nents, DMA_TO_DEVICE); in cc_map_hash_request_final()
1246 areq_ctx->in_nents = 0; in cc_map_hash_request_update()
1251 areq_ctx->in_nents = sg_nents_for_len(src, nbytes); in cc_map_hash_request_update()
1252 sg_copy_to_buffer(src, areq_ctx->in_nents, in cc_map_hash_request_update()
1289 DMA_TO_DEVICE, &areq_ctx->in_nents, in cc_map_hash_request_update()
1310 cc_add_sg_entry(dev, &sg_data, areq_ctx->in_nents, src, in cc_map_hash_request_update()
1322 dma_unmap_sg(dev, src, areq_ctx->in_nents, DMA_TO_DEVICE); in cc_map_hash_request_update()
1349 if (src && areq_ctx->in_nents) { in cc_unmap_hash_request()
1353 areq_ctx->in_nents, DMA_TO_DEVICE); in cc_unmap_hash_request()