Home
last modified time | relevance | path

Searched refs:sqid (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.h113 unsigned int sqid) in fun_sq_db_addr() argument
115 return fun_db_addr(fdev, sqid * 2); in fun_sq_db_addr()
H A Dfun_hci.h1035 __be16 sqid; member
/linux/drivers/nvme/target/
H A Dadmin-cmd.c18 u16 sqid = le16_to_cpu(req->cmd->delete_queue.qid); in nvmet_execute_delete_sq() local
26 if (!sqid) { in nvmet_execute_delete_sq()
31 status = nvmet_check_sqid(ctrl, sqid, false); in nvmet_execute_delete_sq()
35 status = ctrl->ops->delete_sq(ctrl, sqid); in nvmet_execute_delete_sq()
45 u16 sqid = le16_to_cpu(cmd->create_sq.sqid); in nvmet_execute_create_sq() local
57 if (!sqid) { in nvmet_execute_create_sq()
62 status = nvmet_check_sqid(ctrl, sqid, true); in nvmet_execute_create_sq()
71 if (!cqid || cqid != sqid) { in nvmet_execute_create_sq()
72 pr_err("SQ %u: Unsupported CQID %u\n", sqid, cqid); in nvmet_execute_create_sq()
82 status = ctrl->ops->create_sq(ctrl, sqid, sq_flags, qsize, prp1); in nvmet_execute_create_sq()
H A Dpci-epf.c1330 u16 sqid, u16 flags, u16 qsize, u64 pci_addr) in nvmet_pci_epf_create_sq() argument
1333 struct nvmet_pci_epf_queue *sq = &ctrl->sq[sqid]; in nvmet_pci_epf_create_sq()
1343 sq->qid = sqid; in nvmet_pci_epf_create_sq()
1348 sq->db = NVME_REG_DBS + (sqid * 2 * sizeof(u32)); in nvmet_pci_epf_create_sq()
1350 if (!sqid) in nvmet_pci_epf_create_sq()
1356 status = nvmet_sq_create(tctrl, &sq->nvme_sq, sqid, sq->depth); in nvmet_pci_epf_create_sq()
1361 min_t(int, sq->depth, WQ_MAX_ACTIVE), sqid); in nvmet_pci_epf_create_sq()
1363 dev_err(ctrl->dev, "Failed to create SQ %d work queue\n", sqid); in nvmet_pci_epf_create_sq()
1369 sqid, qsize, sq->qes); in nvmet_pci_epf_create_sq()
1380 static u16 nvmet_pci_epf_delete_sq(struct nvmet_ctrl *tctrl, u16 sqid) in nvmet_pci_epf_delete_sq() argument
[all …]
H A Dcore.c769 new_error_slot->sqid = cpu_to_le16(req->sq->qid); in nvmet_set_error()
874 u16 nvmet_check_sqid(struct nvmet_ctrl *ctrl, u16 sqid, in nvmet_check_sqid() argument
880 if (sqid > ctrl->subsys->max_qid) in nvmet_check_sqid()
883 if ((create && ctrl->sqs[sqid]) || in nvmet_check_sqid()
884 (!create && !ctrl->sqs[sqid])) in nvmet_check_sqid()
891 u16 sqid, u16 size) in nvmet_sq_create() argument
899 status = nvmet_check_sqid(ctrl, sqid, true); in nvmet_sq_create()
909 nvmet_sq_setup(ctrl, sq, sqid, size); in nvmet_sq_create()
H A Dnvmet.h420 u16 (*create_sq)(struct nvmet_ctrl *ctrl, u16 sqid, u16 flags,
422 u16 (*delete_sq)(struct nvmet_ctrl *ctrl, u16 sqid);
572 u16 nvmet_check_sqid(struct nvmet_ctrl *ctrl, u16 sqid, bool create);
/linux/include/uapi/rdma/
H A Dmana-abi.h42 __u32 sqid; member
H A Dcxgb4-abi.h80 __u32 sqid; member
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth.h161 int fun_create_and_bind_tx(struct funeth_priv *fp, u32 sqid);
H A Dfuneth_main.c637 int fun_create_and_bind_tx(struct funeth_priv *fp, u32 sqid) in fun_create_and_bind_tx() argument
643 rc = fun_bind(fp->fdev, FUN_ADMIN_BIND_TYPE_EPSQ, sqid, in fun_create_and_bind_tx()
/linux/include/linux/
H A Dnvme-fc-driver.h226 __le16 sqid; member
H A Dnvme.h1427 __le16 sqid; member
1449 __le16 sqid; member
1969 __le16 sqid; member
/linux/drivers/nvme/host/
H A Dpci.c1327 c.create_sq.sqid = cpu_to_le16(qid); in adapter_alloc_sq()
1340 static int adapter_delete_sq(struct nvme_dev *dev, u16 sqid) in adapter_delete_sq() argument
1342 return adapter_delete_queue(dev, nvme_admin_delete_sq, sqid); in adapter_delete_sq()
1496 cmd.abort.sqid = cpu_to_le16(nvmeq->qid); in nvme_timeout()
H A Dapple.c714 c.create_sq.sqid = cpu_to_le16(1); in apple_nvme_create_sq()
H A Dfc.c2668 op->fcp_req.sqid = cpu_to_le16(queue->qnum); in nvme_fc_start_fcp_op()
/linux/drivers/infiniband/hw/mana/
H A Dqp.c372 resp.sqid = qp->raw_sq.id; in mana_ib_create_qp_raw()
/linux/drivers/scsi/lpfc/
H A Dlpfc_nvme.c1036 ep->cqe.sq_id = nCmd->sqid; in lpfc_nvme_io_cmd_cmpl()