Home
last modified time | relevance | path

Searched refs:dm_wa (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/crypto/ccp/
Dccp-ops.c264 ccp_dm_free(&data->dm_wa); in ccp_free_data()
282 ret = ccp_init_dm_workarea(&data->dm_wa, cmd_q, dm_len, dir); in ccp_init_data()
297 struct ccp_dm_workarea *dm_wa = &data->dm_wa; in ccp_queue_buf() local
302 memset(dm_wa->address, 0, dm_wa->length); 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()
319 dm_wa->length - buf_count); in ccp_queue_buf()
377 op->src.u.dma.address = src->dm_wa.dma.address; in ccp_prepare_data()
398 op->dst.u.dma.address = dst->dm_wa.dma.address; in ccp_prepare_data()
[all …]
Dccp-dev.h482 struct ccp_dm_workarea dm_wa; member