/linux/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 1266 int sge_count; in megasas_make_sgl32() local 1269 sge_count = scsi_dma_map(scp); in megasas_make_sgl32() 1270 BUG_ON(sge_count < 0); in megasas_make_sgl32() 1272 if (sge_count) { in megasas_make_sgl32() 1273 scsi_for_each_sg(scp, os_sgl, sge_count, i) { in megasas_make_sgl32() 1278 return sge_count; in megasas_make_sgl32() 1295 int sge_count; in megasas_make_sgl64() local 1298 sge_count = scsi_dma_map(scp); in megasas_make_sgl64() 1299 BUG_ON(sge_count < 0); in megasas_make_sgl64() 1301 if (sge_count) { in megasas_make_sgl64() [all …]
|
H A D | megaraid_sas_fusion.h | 205 u16 sge_count) in set_num_sge() argument 207 rctx_g35->u.bytes[0] = (u8)(sge_count & NUM_SGE_MASK_LOWER); in set_num_sge() 208 rctx_g35->u.bytes[1] |= (u8)((sge_count >> NUM_SGE_SHIFT_UPPER) in set_num_sge() 214 u16 sge_count; in get_num_sge() local 216 sge_count = (u16)(((rctx_g35->u.bytes[1] & NUM_SGE_MASK_UPPER) in get_num_sge() 218 return sge_count; in get_num_sge()
|
H A D | megaraid_sas_fusion.c | 1341 dcmd->sge_count = 1; in megasas_sync_pd_seq_num() 1437 dcmd->sge_count = 1; in megasas_get_ld_map_info() 1540 dcmd->sge_count = 1; in megasas_sync_map_info() 2100 struct scsi_cmnd *scmd, int sge_count) in megasas_is_prp_possible() argument 2149 struct megasas_cmd_fusion *cmd, int sge_count) in megasas_make_prp_nvme() argument 2164 build_prp = megasas_is_prp_possible(instance, scmd, sge_count); in megasas_make_prp_nvme() 2273 struct megasas_cmd_fusion *cmd, int sge_count) in megasas_make_sgl_fusion() argument 2287 scsi_for_each_sg(scp, os_sgl, sge_count, i) { in megasas_make_sgl_fusion() 2292 if (i == sge_count - 1) in megasas_make_sgl_fusion() 2298 (sge_count > fusion->max_sge_in_main_msg)) { in megasas_make_sgl_fusion() [all …]
|
H A D | megaraid_sas.h | 1740 u8 sge_count; /*07h */ member 1854 u8 sge_count; /*07h */ member 1883 u8 sge_count; /*07h */ member 1906 u8 sge_count; /*07h */ member 1961 u8 sge_count; /*07h */ member 1988 u8 sge_count; /*07h */ member 2622 u32 sge_count; member 2645 u32 sge_count; member
|
/linux/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 841 __u32 sge_count; member 860 __u32 sge_count; member 873 __u32 sge_count; member
|
/linux/drivers/scsi/ |
H A D | myrs.c | 188 sgl->sge[0].sge_count = mbox->ctlr_info.dma_size; in myrs_get_ctlr_info() 247 sgl->sge[0].sge_count = mbox->ldev_info.dma_size; in myrs_get_ldev_info() 335 sgl->sge[0].sge_count = mbox->pdev_info.dma_size; in myrs_get_pdev_info() 406 sgl->sge[0].sge_count = mbox->pdev_info.dma_size; in myrs_translate_pdev() 442 sgl->sge[0].sge_count = mbox->get_event.dma_size; in myrs_get_event() 470 sgl->sge[0].sge_count = mbox->ctlr_info.dma_size; in myrs_get_fwstatus() 1722 hw_sge->sge[0].sge_count = (u64)sg_dma_len(sgl); in myrs_queuecommand() 1765 hw_sgl->sge_count = (u64)sg_dma_len(sgl); in myrs_queuecommand()
|
H A D | myrb.h | 566 u32 sge_count; /* Bytes 4-7 */ member
|
H A D | myrs.h | 663 u64 sge_count; /* Bytes 8-15 */ member
|
H A D | myrb.c | 1594 hw_sgl->sge_count = (u32)sg_dma_len(sgl); in myrb_ldev_queuecommand()
|
/linux/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 2016 size_mul(cmd.sge_count, in ib_uverbs_post_send() 2044 if (user_wr->num_sge + sg_ind > cmd.sge_count) { in ib_uverbs_post_send() 2190 u32 wqe_size, u32 sge_count) in ib_uverbs_unmarshall_recv() argument 2206 sgls = uverbs_request_next_ptr(iter, size_mul(sge_count, in ib_uverbs_unmarshall_recv() 2227 if (user_wr->num_sge + sg_ind > sge_count) { in ib_uverbs_unmarshall_recv() 2301 cmd.sge_count); in ib_uverbs_post_recv() 2352 cmd.sge_count); in ib_uverbs_post_srq_recv()
|
/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_app.c | 1669 u16 i, sge_count = 0; in mpi3mr_total_num_ioctl_sges() local 1675 sge_count += drv_bufs->num_dma_desc; in mpi3mr_total_num_ioctl_sges() 1677 sge_count++; in mpi3mr_total_num_ioctl_sges() 1679 return sge_count; in mpi3mr_total_num_ioctl_sges()
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.c | 2443 u16 smid, int sge_count) in base_make_prp_nvme() argument 2568 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible() argument 2583 if ((data_length <= NVME_PRP_PAGE_SIZE*4) && (sge_count <= 2)) in base_is_prp_possible()
|