Home
last modified time | relevance | path

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

/drivers/misc/genwqe/
Dcard_utils.c315 sgl->sgl_size = genwqe_sgl_size(sgl->nr_pages); in genwqe_alloc_sync_sgl()
317 if (get_order(sgl->sgl_size) > MAX_ORDER) { in genwqe_alloc_sync_sgl()
323 sgl->sgl = __genwqe_alloc_consistent(cd, sgl->sgl_size, in genwqe_alloc_sync_sgl()
371 __genwqe_free_consistent(cd, sgl->sgl_size, sgl->sgl, in genwqe_alloc_sync_sgl()
375 sgl->sgl_size = 0; in genwqe_alloc_sync_sgl()
507 __genwqe_free_consistent(cd, sgl->sgl_size, sgl->sgl, in genwqe_free_sync_sgl()
512 sgl->sgl_size = 0; in genwqe_free_sync_sgl()
Dcard_base.h355 size_t sgl_size; /* size of sgl */ member
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c400 static size_t sgl_size; in vmw_ttm_map_dma() local
415 if (unlikely(!sgl_size)) { in vmw_ttm_map_dma()
416 sgl_size = ttm_round_pot(sizeof(struct scatterlist)); in vmw_ttm_map_dma()
419 vmw_tt->sg_alloc_size = sgt_size + sgl_size * vsgt->num_pages; in vmw_ttm_map_dma()
435 sgl_size * (vsgt->num_pages - in vmw_ttm_map_dma()
/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c1522 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = in bnx2fc_init_seq_cleanup_task()
1539 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_seq_cleanup_task()
1623 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = 1; in bnx2fc_init_mp_task()
1679 sgl->mul_sgl.sgl_size = 1; in bnx2fc_init_mp_task()
1733 task->txwr_only.sgl_ctx.sgl.mul_sgl.sgl_size = in bnx2fc_init_task()
1825 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_task()
1831 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_task()
D57xx_hsi_bnx2fc.h248 u8 sgl_size; member
/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
/drivers/scsi/
Dscsi_lib.c2190 unsigned int cmd_size, sgl_size, tbl_size; in scsi_mq_setup_tags() local
2195 sgl_size = tbl_size * sizeof(struct scatterlist); in scsi_mq_setup_tags()
2196 cmd_size = sizeof(struct scsi_cmnd) + shost->hostt->cmd_size + sgl_size; in scsi_mq_setup_tags()
2198 cmd_size += sizeof(struct scsi_data_buffer) + sgl_size; in scsi_mq_setup_tags()
/drivers/scsi/lpfc/
Dlpfc_scsi.c628 int status, sgl_size; in lpfc_sli4_post_scsi_sgl_list() local
640 sgl_size = phba->cfg_sg_dma_buf_size - in lpfc_sli4_post_scsi_sgl_list()
675 if (sgl_size > SGL_PAGE_SIZE) in lpfc_sli4_post_scsi_sgl_list()
800 int bcnt, num_posted, sgl_size; in lpfc_new_scsi_buf_s4() local
805 sgl_size = phba->cfg_sg_dma_buf_size - in lpfc_new_scsi_buf_s4()
810 num_to_alloc, phba->cfg_sg_dma_buf_size, sgl_size, in lpfc_new_scsi_buf_s4()
869 psb->fcp_cmnd = (psb->data + sgl_size); in lpfc_new_scsi_buf_s4()
876 pdma_phys_fcp_cmd = (psb->dma_handle + sgl_size); in lpfc_new_scsi_buf_s4()