Searched refs:sgl_size (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/drivers/crypto/hisilicon/ |
D | sgl.c | 70 u32 sgl_size; in hisi_acc_create_sgl_pool() local 76 sgl_size = sizeof(struct acc_hw_sge) * acc_sgl_sge_nr + in hisi_acc_create_sgl_pool() 78 size = sgl_size * count; in hisi_acc_create_sgl_pool() 86 pool->sgl_size = sgl_size; in hisi_acc_create_sgl_pool() 112 *hw_sgl_dma = pool->sgl_dma + pool->sgl_size * index; in acc_get_sgl() 113 return (void *)pool->sgl + pool->sgl_size * index; in acc_get_sgl()
|
D | sgl.h | 11 size_t sgl_size; member
|
/Linux-v5.4/drivers/misc/genwqe/ |
D | card_utils.c | 306 sgl->sgl_size = genwqe_sgl_size(sgl->nr_pages); in genwqe_alloc_sync_sgl() 308 if (get_order(sgl->sgl_size) > MAX_ORDER) { in genwqe_alloc_sync_sgl() 314 sgl->sgl = __genwqe_alloc_consistent(cd, sgl->sgl_size, in genwqe_alloc_sync_sgl() 362 __genwqe_free_consistent(cd, sgl->sgl_size, sgl->sgl, in genwqe_alloc_sync_sgl() 366 sgl->sgl_size = 0; in genwqe_alloc_sync_sgl() 508 __genwqe_free_consistent(cd, sgl->sgl_size, sgl->sgl, in genwqe_free_sync_sgl() 513 sgl->sgl_size = 0; in genwqe_free_sync_sgl()
|
D | card_base.h | 349 size_t sgl_size; /* size of sgl */ member
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_buffer.c | 420 static size_t sgl_size; in vmw_ttm_map_dma() local 435 if (unlikely(!sgl_size)) { in vmw_ttm_map_dma() 436 sgl_size = ttm_round_pot(sizeof(struct scatterlist)); in vmw_ttm_map_dma() 439 vmw_tt->sg_alloc_size = sgt_size + sgl_size * vsgt->num_pages; in vmw_ttm_map_dma() 454 sgl_size * (vsgt->num_pages - in vmw_ttm_map_dma()
|
/Linux-v5.4/drivers/scsi/bnx2fc/ |
D | bnx2fc_hwi.c | 1510 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = in bnx2fc_init_seq_cleanup_task() 1523 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_seq_cleanup_task() 1607 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = 1; in bnx2fc_init_mp_task() 1663 sgl->mul_sgl.sgl_size = 1; in bnx2fc_init_mp_task() 1717 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = in bnx2fc_init_task() 1809 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_task() 1815 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_task()
|
D | 57xx_hsi_bnx2fc.h | 249 u8 sgl_size; member
|
/Linux-v5.4/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 265 u16 sgl_size; member
|
D | ena_netdev.c | 187 txr->sgl_size = adapter->max_tx_sgl_size; in ena_init_io_rings() 194 rxr->sgl_size = adapter->max_rx_sgl_size; in ena_init_io_rings() 1069 ena_rx_ctx.max_bufs = rx_ring->sgl_size; in ena_clean_rx_irq() 2114 if (num_frags < tx_ring->sgl_size) in ena_check_and_linearize_skb() 2117 if ((num_frags == tx_ring->sgl_size) && in ena_check_and_linearize_skb() 2335 tx_ring->sgl_size + 2))) { in ena_start_xmit()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | cnic_defs.h | 2551 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
|
/Linux-v5.4/drivers/scsi/ |
D | scsi_lib.c | 1884 unsigned int cmd_size, sgl_size; in scsi_mq_setup_tags() local 1886 sgl_size = max_t(unsigned int, sizeof(struct scatterlist), in scsi_mq_setup_tags() 1888 cmd_size = sizeof(struct scsi_cmnd) + shost->hostt->cmd_size + sgl_size; in scsi_mq_setup_tags()
|
/Linux-v5.4/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 16756 int status, sgl_size; in lpfc_sli4_post_io_sgl_list() local 16769 sgl_size = phba->cfg_sg_dma_buf_size; in lpfc_sli4_post_io_sgl_list() 16802 if (sgl_size > SGL_PAGE_SIZE) in lpfc_sli4_post_io_sgl_list()
|