Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/target/
H A Ddiscovery.c287 id->sgls = cpu_to_le32(1 << 0); /* we always support SGLs */ in nvmet_execute_disc_identify()
289 id->sgls |= cpu_to_le32(1 << 2); in nvmet_execute_disc_identify()
291 id->sgls |= cpu_to_le32(1 << 20); in nvmet_execute_disc_identify()
H A Dpassthru.c140 id->sgls = cpu_to_le32(1 << 0); /* we always support SGLs */ in nvmet_passthru_override_id_ctrl()
142 id->sgls |= cpu_to_le32(1 << 2); in nvmet_passthru_override_id_ctrl()
144 id->sgls |= cpu_to_le32(1 << 20); in nvmet_passthru_override_id_ctrl()
H A Dadmin-cmd.c448 id->sgls = cpu_to_le32(1 << 0); /* we always support SGLs */ in nvmet_execute_identify_ctrl()
450 id->sgls |= cpu_to_le32(1 << 2); in nvmet_execute_identify_ctrl()
452 id->sgls |= cpu_to_le32(1 << 20); in nvmet_execute_identify_ctrl()
/openbmc/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
/openbmc/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_array(sgls_per_request, sizeof(*sgls), GFP_KERNEL); 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()
/openbmc/linux/drivers/infiniband/core/
H A Duverbs_cmd.c2005 const struct ib_sge __user *sgls; in ib_uverbs_post_send() local
2015 sgls = uverbs_request_next_ptr( in ib_uverbs_post_send()
2017 if (IS_ERR(sgls)) in ib_uverbs_post_send()
2018 return PTR_ERR(sgls); in ib_uverbs_post_send()
2145 if (copy_from_user(next->sg_list, sgls + sg_ind, in ib_uverbs_post_send()
2196 const struct ib_sge __user *sgls; in ib_uverbs_unmarshall_recv() local
2205 sgls = uverbs_request_next_ptr( in ib_uverbs_unmarshall_recv()
2207 if (IS_ERR(sgls)) in ib_uverbs_unmarshall_recv()
2208 return ERR_CAST(sgls); in ib_uverbs_unmarshall_recv()
2259 if (copy_from_user(next->sg_list, sgls + sg_ind, in ib_uverbs_unmarshall_recv()
/openbmc/linux/drivers/nvme/host/
H A Dnvme.h326 u32 sgls; member
1087 return ctrl->sgls & ((1 << 0) | (1 << 1)); in nvme_ctrl_sgl_supported()
H A Drdma.c1020 if (!(ctrl->ctrl.sgls & (1 << 2))) { in nvme_rdma_setup_ctrl()
1047 if (ctrl->ctrl.sgls & (1 << 20)) in nvme_rdma_setup_ctrl()
H A Dcore.c3073 ctrl->sgls = le32_to_cpu(id->sgls); in nvme_init_identify()
/openbmc/u-boot/drivers/nvme/
H A Dnvme.h74 __le32 sgls; member
/openbmc/linux/include/linux/
H A Dnvme.h341 __le32 sgls; member
/openbmc/qemu/include/block/
H A Dnvme.h1155 uint32_t sgls; member
/openbmc/qemu/hw/nvme/
H A Dctrl.c1010 uint32_t sgls = le32_to_cpu(n->id_ctrl.sgls); in nvme_map_sgl_data() local
1011 if (sgls & NVME_CTRL_SGLS_EXCESS_LENGTH) { in nvme_map_sgl_data()
8539 id->sgls = cpu_to_le32(NVME_CTRL_SGLS_SUPPORT_NO_ALIGN); in nvme_init_ctrl()