Searched refs:sg_wa (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/crypto/ccp/ |
D | ccp-ops.c | 265 ccp_sg_free(&data->sg_wa); in ccp_free_data() 277 ret = ccp_init_sg_workarea(&data->sg_wa, cmd_q->ccp->dev, sg, sg_len, in ccp_init_data() 296 struct ccp_sg_workarea *sg_wa = &data->sg_wa; in ccp_queue_buf() local 304 if (!sg_wa->sg) in ccp_queue_buf() 311 nbytes = min_t(u64, sg_wa->bytes_left, dm_wa->length); in ccp_queue_buf() 312 scatterwalk_map_and_copy(dm_wa->address, sg_wa->sg, sg_wa->sg_used, in ccp_queue_buf() 317 while (sg_wa->bytes_left && (buf_count < dm_wa->length)) { in ccp_queue_buf() 318 nbytes = min(sg_dma_len(sg_wa->dma_sg) - sg_wa->sg_used, in ccp_queue_buf() 320 nbytes = min_t(u64, sg_wa->bytes_left, nbytes); in ccp_queue_buf() 323 ccp_update_sg_workarea(sg_wa, nbytes); in ccp_queue_buf() [all …]
|
D | ccp-dev.h | 481 struct ccp_sg_workarea sg_wa; member
|