Searched refs:n_sg (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/block/ |
| D | skd_main.c | 173 u32 n_sg; member 515 skreq->n_sg = 0; in skd_mq_queue_rq() 530 skreq->n_sg * in skd_mq_queue_rq() 624 int n_sg; in skd_preop_sg_list() local 632 n_sg = blk_rq_map_sg(skdev->queue, req, sgl); in skd_preop_sg_list() 633 if (n_sg <= 0) in skd_preop_sg_list() 640 n_sg = dma_map_sg(&skdev->pdev->dev, sgl, n_sg, skreq->data_dir); in skd_preop_sg_list() 641 if (n_sg <= 0) in skd_preop_sg_list() 644 SKD_ASSERT(n_sg <= skdev->sgs_per_request); in skd_preop_sg_list() 646 skreq->n_sg = n_sg; in skd_preop_sg_list() [all …]
|
| D | sx8.c | 328 u8 n_sg; member 611 ab->n_sg = 1; in carm_fill_alloc_buf()
|
| /Linux-v5.4/drivers/crypto/ccp/ |
| D | ccp-crypto-rsa.c | 83 rctx->cmd.u.rsa.mod = &ctx->u.rsa.n_sg; in ccp_rsa_crypt() 148 sg_init_one(&ctx->u.rsa.n_sg, ctx->u.rsa.n_buf, ctx->u.rsa.n_len); in ccp_rsa_setkey()
|
| D | ccp-crypto.h | 242 struct scatterlist n_sg; member
|
| /Linux-v5.4/drivers/dma/ |
| D | stm32-dma.c | 1080 u32 n_sg = next_sg; in stm32_dma_desc_residue() local 1112 n_sg++; in stm32_dma_desc_residue() 1113 if (n_sg == chan->desc->num_sgs) in stm32_dma_desc_residue() 1114 n_sg = 0; in stm32_dma_desc_residue() 1125 if (!chan->desc->cyclic || n_sg != 0) in stm32_dma_desc_residue() 1126 for (i = n_sg; i < desc->num_sgs; i++) in stm32_dma_desc_residue()
|
| /Linux-v5.4/drivers/xen/ |
| D | xen-scsiback.c | 122 uint16_t n_sg; /* real length of SG list */ member 279 req->n_sg = 0; in scsiback_fast_flush_area() 408 pending_req->sgl, pending_req->n_sg, in scsiback_cmd_exec() 485 pending_req->n_sg = 0; in scsiback_gnttab_data_map() 530 pending_req->n_sg = nr_segments; in scsiback_gnttab_data_map()
|
| /Linux-v5.4/drivers/mmc/host/ |
| D | mmc_spi.c | 873 unsigned n_sg; in mmc_spi_data_do() local 894 for_each_sg(data->sg, sg, data->sg_len, n_sg) { in mmc_spi_data_do()
|
| /Linux-v5.4/drivers/crypto/ |
| D | talitos.c | 1102 int n_sg = elen ? sg_count + 1 : sg_count; in sg_to_link_tbl_offset() local 1106 while (cryptlen && sg && n_sg--) { in sg_to_link_tbl_offset()
|