Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/ccree/
Dcc_buffer_mgr.c321 sg_init_one(areq_ctx->buff_sg, curr_buff, curr_buff_cnt); in cc_set_hash_buf()
322 if (dma_map_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE) != 1) { in cc_set_hash_buf()
327 &sg_dma_address(areq_ctx->buff_sg), sg_page(areq_ctx->buff_sg), in cc_set_hash_buf()
328 sg_virt(areq_ctx->buff_sg), areq_ctx->buff_sg->offset, in cc_set_hash_buf()
329 areq_ctx->buff_sg->length); in cc_set_hash_buf()
331 areq_ctx->curr_sg = areq_ctx->buff_sg; in cc_set_hash_buf()
334 cc_add_sg_entry(dev, sg_data, 1, areq_ctx->buff_sg, curr_buff_cnt, 0, in cc_set_hash_buf()
1184 memcpy(areq_ctx->buff_sg, src, in cc_map_hash_request_final()
1186 areq_ctx->buff_sg->length = nbytes; in cc_map_hash_request_final()
1187 areq_ctx->curr_sg = areq_ctx->buff_sg; in cc_map_hash_request_final()
[all …]
Dcc_hash.h52 struct scatterlist buff_sg[2]; member