Searched refs:buff_sg (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/crypto/ccree/ |
| D | cc_buffer_mgr.c | 360 sg_init_one(areq_ctx->buff_sg, curr_buff, curr_buff_cnt); in cc_set_hash_buf() 361 if (dma_map_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE) != 1) { in cc_set_hash_buf() 366 &sg_dma_address(areq_ctx->buff_sg), sg_page(areq_ctx->buff_sg), in cc_set_hash_buf() 367 sg_virt(areq_ctx->buff_sg), areq_ctx->buff_sg->offset, in cc_set_hash_buf() 368 areq_ctx->buff_sg->length); in cc_set_hash_buf() 370 areq_ctx->curr_sg = areq_ctx->buff_sg; in cc_set_hash_buf() 373 cc_add_sg_entry(dev, sg_data, 1, areq_ctx->buff_sg, curr_buff_cnt, 0, in cc_set_hash_buf() 1249 memcpy(areq_ctx->buff_sg, src, in cc_map_hash_request_final() 1251 areq_ctx->buff_sg->length = nbytes; in cc_map_hash_request_final() 1252 areq_ctx->curr_sg = areq_ctx->buff_sg; in cc_map_hash_request_final() [all …]
|
| D | cc_hash.h | 52 struct scatterlist buff_sg[2]; member
|