Home
last modified time | relevance | path

Searched refs:sgl_size (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dsgl.c44 size_t sgl_size; member
59 u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl = 0; in hisi_acc_create_sgl_pool() local
67 sgl_size = sizeof(struct acc_hw_sge) * sge_nr + in hisi_acc_create_sgl_pool()
71 sgl_num_per_block = block_size / sgl_size; in hisi_acc_create_sgl_pool()
95 block[i].sgl = dma_alloc_coherent(dev, remain_sgl * sgl_size, in hisi_acc_create_sgl_pool()
101 block[i].size = remain_sgl * sgl_size; in hisi_acc_create_sgl_pool()
107 pool->sgl_size = sgl_size; in hisi_acc_create_sgl_pool()
161 *hw_sgl_dma = block[block_index].sgl_dma + pool->sgl_size * offset; in acc_get_sgl()
162 return (void *)block[block_index].sgl + pool->sgl_size * offset; in acc_get_sgl()
/kernel/linux/linux-5.10/drivers/misc/genwqe/
Dcard_utils.c309 sgl->sgl_size = genwqe_sgl_size(sgl->nr_pages); in genwqe_alloc_sync_sgl()
311 if (get_order(sgl->sgl_size) > MAX_ORDER) { in genwqe_alloc_sync_sgl()
317 sgl->sgl = __genwqe_alloc_consistent(cd, sgl->sgl_size, in genwqe_alloc_sync_sgl()
365 __genwqe_free_consistent(cd, sgl->sgl_size, sgl->sgl, in genwqe_alloc_sync_sgl()
369 sgl->sgl_size = 0; in genwqe_alloc_sync_sgl()
513 __genwqe_free_consistent(cd, sgl->sgl_size, sgl->sgl, in genwqe_free_sync_sgl()
518 sgl->sgl_size = 0; in genwqe_free_sync_sgl()
Dcard_base.h349 size_t sgl_size; /* size of sgl */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c433 static size_t sgl_size; in vmw_ttm_map_dma() local
449 if (unlikely(!sgl_size)) { in vmw_ttm_map_dma()
450 sgl_size = ttm_round_pot(sizeof(struct scatterlist)); in vmw_ttm_map_dma()
453 vmw_tt->sg_alloc_size = sgt_size + sgl_size * vsgt->num_pages; in vmw_ttm_map_dma()
470 sgl_size * (vsgt->num_pages - in vmw_ttm_map_dma()
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c1548 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = in bnx2fc_init_seq_cleanup_task()
1559 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_seq_cleanup_task()
1643 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = 1; in bnx2fc_init_mp_task()
1699 sgl->mul_sgl.sgl_size = 1; in bnx2fc_init_mp_task()
1753 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = in bnx2fc_init_task()
1845 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_task()
1851 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_task()
D57xx_hsi_bnx2fc.h249 u8 sgl_size; member
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.h273 u16 sgl_size; member
Dena_netdev.c637 txr->sgl_size = adapter->max_tx_sgl_size; in ena_init_io_rings()
650 rxr->sgl_size = adapter->max_rx_sgl_size; in ena_init_io_rings()
1578 ena_rx_ctx.max_bufs = rx_ring->sgl_size; in ena_clean_rx_irq()
2822 if (num_frags < tx_ring->sgl_size) in ena_check_and_linearize_skb()
2825 if ((num_frags == tx_ring->sgl_size) && in ena_check_and_linearize_skb()
3010 tx_ring->sgl_size + 2))) { in ena_start_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dcnic_defs.h2551 u8 sgl_size; member
3931 u8 sgl_size; member
3937 u8 sgl_size; member
4542 u8 sgl_size; member
4548 u8 sgl_size; member
4929 u8 sgl_size; member
4935 u8 sgl_size; member
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_lib.c1893 unsigned int cmd_size, sgl_size; in scsi_mq_setup_tags() local
1896 sgl_size = max_t(unsigned int, sizeof(struct scatterlist), in scsi_mq_setup_tags()
1898 cmd_size = sizeof(struct scsi_cmnd) + shost->hostt->cmd_size + sgl_size; in scsi_mq_setup_tags()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_sli.c17307 int status, sgl_size; in lpfc_sli4_post_io_sgl_list() local
17320 sgl_size = phba->cfg_sg_dma_buf_size; in lpfc_sli4_post_io_sgl_list()
17353 if (sgl_size > SGL_PAGE_SIZE) in lpfc_sli4_post_io_sgl_list()