Home
last modified time | relevance | path

Searched refs:sgls (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/nvme/target/
H A Dpci-epf.c976 struct nvme_sgl_desc *sgls; in nvmet_pci_epf_get_sgl_segment() local
992 sgls = buf; in nvmet_pci_epf_get_sgl_segment()
994 if (sgls[nr_descs - 1].type == (NVME_SGL_FMT_SEG_DESC << 4) || in nvmet_pci_epf_get_sgl_segment()
995 sgls[nr_descs - 1].type == (NVME_SGL_FMT_LAST_SEG_DESC << 4)) { in nvmet_pci_epf_get_sgl_segment()
1001 *desc = sgls[nr_descs - 1]; in nvmet_pci_epf_get_sgl_segment()
1010 return sgls; in nvmet_pci_epf_get_sgl_segment()
1018 struct nvme_sgl_desc *sgls = NULL; in nvmet_pci_epf_iod_parse_sgl_segments() local
1033 sgls = nvmet_pci_epf_get_sgl_segment(ctrl, &seg, &nr_sgls); in nvmet_pci_epf_iod_parse_sgl_segments()
1034 if (!sgls) { in nvmet_pci_epf_iod_parse_sgl_segments()
1051 if (sgls[i].type != (NVME_SGL_FMT_DATA_DESC << 4)) { in nvmet_pci_epf_iod_parse_sgl_segments()
[all …]
H A Dpassthru.c149 id->sgls = cpu_to_le32(1 << 0); /* we always support SGLs */ in nvmet_passthru_override_id_ctrl()
151 id->sgls |= cpu_to_le32(1 << 2); in nvmet_passthru_override_id_ctrl()
153 id->sgls |= cpu_to_le32(1 << 20); in nvmet_passthru_override_id_ctrl()
H A Dadmin-cmd.c747 id->sgls = cpu_to_le32(NVME_CTRL_SGLS_BYTE_ALIGNED); in nvmet_execute_identify_ctrl()
749 id->sgls |= cpu_to_le32(NVME_CTRL_SGLS_KSDBDS); in nvmet_execute_identify_ctrl()
751 id->sgls |= cpu_to_le32(NVME_CTRL_SGLS_SAOS); in nvmet_execute_identify_ctrl()
/linux/drivers/misc/genwqe/
H A Dcard_dev.c846 if (req->sgls[i].sgl != NULL) in ddcb_cmd_cleanup()
847 genwqe_free_sync_sgl(cd, &req->sgls[i]); in ddcb_cmd_cleanup()
958 rc = genwqe_alloc_sync_sgl(cd, &req->sgls[i], in ddcb_cmd_fixups()
964 genwqe_setup_sgl(cd, &req->sgls[i], in ddcb_cmd_fixups()
968 cpu_to_be64(req->sgls[i].sgl_dma_addr); in ddcb_cmd_fixups()
H A Dcard_base.h387 struct genwqe_sgl sgls[DDCB_FIXUPS]; member
/linux/drivers/nvme/host/
H A Dnvme.h402 u32 sgls; member
1273 return ctrl->sgls & (NVME_CTRL_SGLS_BYTE_ALIGNED | in nvme_ctrl_sgl_supported()
1281 return ctrl->sgls & NVME_CTRL_SGLS_MSDS; in nvme_ctrl_meta_sgl_supported()
H A Dcore.c3692 ctrl->sgls = le32_to_cpu(id->sgls); in nvme_init_identify()
/linux/drivers/scsi/elx/efct/
H A Defct_hw.c610 struct efc_dma **sgls = NULL; in efct_hw_init_prereg_io() local
614 sgls = kmalloc_objs(*sgls, sgls_per_request); in efct_hw_init_prereg_io()
615 if (!sgls) in efct_hw_init_prereg_io()
623 kfree(sgls); in efct_hw_init_prereg_io()
641 sgls[n] = hw->io[idx + n]->sgl; in efct_hw_init_prereg_io()
645 hw->io[idx]->indicator, n, sgls, NULL, &req)) { in efct_hw_init_prereg_io()
667 kfree(sgls); in efct_hw_init_prereg_io()
/linux/include/linux/
H A Dnvme.h380 __le32 sgls; member