Searched refs:sgl_size (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/ |
D | sgl.c | 44 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/ |
D | card_utils.c | 309 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()
|
D | card_base.h | 349 size_t sgl_size; /* size of sgl */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_buffer.c | 433 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/ |
D | bnx2fc_hwi.c | 1548 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()
|
D | 57xx_hsi_bnx2fc.h | 249 u8 sgl_size; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 273 u16 sgl_size; member
|
D | ena_netdev.c | 637 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/ |
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
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_lib.c | 1893 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/ |
D | lpfc_sli.c | 17307 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()
|