Searched refs:sgl_size (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/crypto/hisilicon/ |
A D | sgl.c | 44 size_t sgl_size; member 59 u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl; in hisi_acc_create_sgl_pool() local 67 sgl_size = sizeof(struct acc_hw_sge) * sge_nr + in hisi_acc_create_sgl_pool() 76 sgl_num_per_block = block_size / sgl_size; in hisi_acc_create_sgl_pool() 102 block[i].sgl = dma_alloc_coherent(dev, remain_sgl * sgl_size, in hisi_acc_create_sgl_pool() 110 block[i].size = remain_sgl * sgl_size; in hisi_acc_create_sgl_pool() 116 pool->sgl_size = sgl_size; in hisi_acc_create_sgl_pool() 170 *hw_sgl_dma = block[block_index].sgl_dma + pool->sgl_size * offset; in acc_get_sgl() 171 return (void *)block[block_index].sgl + pool->sgl_size * offset; in acc_get_sgl()
|
/linux/drivers/misc/genwqe/ |
A 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()
|
A D | card_base.h | 349 size_t sgl_size; /* size of sgl */ member
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_ttm_buffer.c | 329 static size_t sgl_size; in vmw_ttm_map_dma() local 344 if (unlikely(!sgl_size)) { in vmw_ttm_map_dma() 345 sgl_size = ttm_round_pot(sizeof(struct scatterlist)); in vmw_ttm_map_dma() 348 vmw_tt->sg_alloc_size = sgt_size + sgl_size * vsgt->num_pages; in vmw_ttm_map_dma() 362 sgl_size * (vsgt->num_pages - in vmw_ttm_map_dma()
|
/linux/drivers/scsi/bnx2fc/ |
A D | bnx2fc_hwi.c | 1547 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = in bnx2fc_init_seq_cleanup_task() 1558 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_seq_cleanup_task() 1642 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = 1; in bnx2fc_init_mp_task() 1698 sgl->mul_sgl.sgl_size = 1; in bnx2fc_init_mp_task() 1752 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = in bnx2fc_init_task() 1844 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_task() 1850 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_task()
|
A D | 57xx_hsi_bnx2fc.h | 249 u8 sgl_size; member
|
/linux/drivers/net/ethernet/microsoft/mana/ |
A D | gdma_main.c | 997 u32 sgl_size = sizeof(struct gdma_sge) * wqe_req->num_sge; in mana_gd_write_sgl() local 1006 if (size_to_end < sgl_size) { in mana_gd_write_sgl() 1011 sgl_size -= size_to_end; in mana_gd_write_sgl() 1014 memcpy(wqe_ptr, address, sgl_size); in mana_gd_write_sgl()
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_netdev.h | 268 u16 sgl_size; member
|
A D | ena_netdev.c | 703 txr->sgl_size = adapter->max_tx_sgl_size; in ena_init_io_rings() 717 rxr->sgl_size = adapter->max_rx_sgl_size; in ena_init_io_rings() 1679 ena_rx_ctx.max_bufs = rx_ring->sgl_size; in ena_clean_rx_irq() 2922 if (num_frags < tx_ring->sgl_size) in ena_check_and_linearize_skb() 2925 if ((num_frags == tx_ring->sgl_size) && in ena_check_and_linearize_skb() 3105 tx_ring->sgl_size + 2))) { in ena_start_xmit()
|
/linux/drivers/net/ethernet/broadcom/ |
A 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/drivers/scsi/ |
A D | scsi_lib.c | 1925 unsigned int cmd_size, sgl_size; in scsi_mq_setup_tags() local 1928 sgl_size = max_t(unsigned int, sizeof(struct scatterlist), in scsi_mq_setup_tags() 1930 cmd_size = sizeof(struct scsi_cmnd) + shost->hostt->cmd_size + sgl_size; in scsi_mq_setup_tags()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_sli.c | 18305 int status, sgl_size; in lpfc_sli4_post_io_sgl_list() local 18318 sgl_size = phba->cfg_sg_dma_buf_size; in lpfc_sli4_post_io_sgl_list() 18351 if (sgl_size > SGL_PAGE_SIZE) in lpfc_sli4_post_io_sgl_list()
|
Completed in 96 milliseconds