Searched refs:sgl_ptr (Results 1 – 5 of 5) sorted by relevance
672 struct efct_scsi_sgl *sgl_ptr = &io->sgl[sgl_count - 1]; in efct_scsi_xfer_data() local675 size_t len = sgl_ptr->len; in efct_scsi_xfer_data()678 sgl_ptr->len = len - residual; in efct_scsi_xfer_data()681 sgl_ptr->len = 0; in efct_scsi_xfer_data()685 sgl_ptr--; in efct_scsi_xfer_data()
667 u64 sgl_ptr; in mpi3mr_build_nvme_sgl() local683 sgl_ptr = (u64)drv_buf_iter->kern_buf_dma; in mpi3mr_build_nvme_sgl()690 if (sgl_ptr & sgemod_mask) { in mpi3mr_build_nvme_sgl()697 sgl_ptr &= ~sgemod_mask; in mpi3mr_build_nvme_sgl()698 sgl_ptr |= sgemod_val; in mpi3mr_build_nvme_sgl()702 nvme_sgl->base_addr = sgl_ptr; in mpi3mr_build_nvme_sgl()
2145 struct MPI25_IEEE_SGE_CHAIN64 *sgl_ptr, in megasas_make_prp_nvme() argument2185 ((u8 *)sgl_ptr + sizeof(struct MPI25_IEEE_SGE_CHAIN64)); in megasas_make_prp_nvme()2194 ptr_first_sgl = sgl_ptr; in megasas_make_prp_nvme()2269 struct MPI25_IEEE_SGE_CHAIN64 *sgl_ptr, in megasas_make_sgl_fusion() argument2279 struct MPI25_IEEE_SGE_CHAIN64 *sgl_ptr_end = sgl_ptr; in megasas_make_sgl_fusion()2285 sgl_ptr->Length = cpu_to_le32(sg_dma_len(os_sgl)); in megasas_make_sgl_fusion()2286 sgl_ptr->Address = cpu_to_le64(sg_dma_address(os_sgl)); in megasas_make_sgl_fusion()2287 sgl_ptr->Flags = 0; in megasas_make_sgl_fusion()2290 sgl_ptr->Flags = IEEE_SGE_FLAGS_END_OF_LIST; in megasas_make_sgl_fusion()2291 sgl_ptr++; in megasas_make_sgl_fusion()[all …]
185 pkg.sgl_ptr = kmalloc_array(pkg.wqe_req.num_sge, in mana_start_xmit()188 if (!pkg.sgl_ptr) in mana_start_xmit()191 pkg.wqe_req.sgl = pkg.sgl_ptr; in mana_start_xmit()287 kfree(pkg.sgl_ptr); in mana_start_xmit()291 kfree(pkg.sgl_ptr); in mana_start_xmit()
627 struct gdma_sge *sgl_ptr; member