Home
last modified time | relevance | path

Searched refs:mbx_cmd (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_main.c274 dev->mbx_cmd = kzalloc(sizeof(struct ocrdma_mqe_emb_cmd), GFP_KERNEL); in ocrdma_add()
275 if (!dev->mbx_cmd) in ocrdma_add()
316 kfree(dev->mbx_cmd); in ocrdma_add()
325 kfree(dev->mbx_cmd); in ocrdma_remove_free()
H A Docrdma_hw.c407 struct ocrdma_delete_q_req *cmd = dev->mbx_cmd; in ocrdma_mbx_delete_q()
436 struct ocrdma_create_eq_req *cmd = dev->mbx_cmd; in ocrdma_mbx_create_eq()
437 struct ocrdma_create_eq_rsp *rsp = dev->mbx_cmd; in ocrdma_mbx_create_eq()
527 struct ocrdma_create_cq_cmd *cmd = dev->mbx_cmd; in ocrdma_mbx_mq_cq_create()
528 struct ocrdma_create_cq_cmd_rsp *rsp = dev->mbx_cmd; in ocrdma_mbx_mq_cq_create()
569 struct ocrdma_create_mq_req *cmd = dev->mbx_cmd; in ocrdma_mbx_create_mq()
570 struct ocrdma_create_mq_rsp *rsp = dev->mbx_cmd; in ocrdma_mbx_create_mq()
H A Docrdma.h276 void *mbx_cmd; member
/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_glbl.h82 uint8_t outCount, uint32_t *mbx_cmd, uint32_t *mbx_sts);
213 void qla4_82xx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd,
216 void qla4xxx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd,
238 void qla4_83xx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd,
H A Dql4_mbx.c14 void qla4xxx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd, in qla4xxx_queue_mbox_cmd() argument
21 writel(mbx_cmd[i], &ha->reg->mailbox[i]); in qla4xxx_queue_mbox_cmd()
24 writel(mbx_cmd[0], &ha->reg->mailbox[0]); in qla4xxx_queue_mbox_cmd()
83 uint8_t outCount, uint32_t *mbx_cmd, in qla4xxx_mailbox_command() argument
93 if (!mbx_cmd || !mbx_sts) { in qla4xxx_mailbox_command()
161 ha->isp_ops->queue_mailbox_command(ha, mbx_cmd, inCount); in qla4xxx_mailbox_command()
215 ha->host_no, mbx_cmd[0]); in qla4xxx_mailbox_command()
253 ha->host_no, __func__, mbx_cmd[0]); in qla4xxx_mailbox_command()
259 ha->host_no, __func__, mbx_cmd[0], mbx_sts[0], in qla4xxx_mailbox_command()
H A Dql4_83xx.c1314 void qla4_83xx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd, in qla4_83xx_queue_mbox_cmd() argument
1321 writel(mbx_cmd[i], &ha->qla4_83xx_reg->mailbox_in[i]); in qla4_83xx_queue_mbox_cmd()
1323 writel(mbx_cmd[0], &ha->qla4_83xx_reg->mailbox_in[0]); in qla4_83xx_queue_mbox_cmd()
H A Dql4_nx.c3901 void qla4_82xx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd, in qla4_82xx_queue_mbox_cmd() argument
3908 writel(mbx_cmd[i], &ha->qla4_82xx_reg->mailbox_in[i]); in qla4_82xx_queue_mbox_cmd()
3911 writel(mbx_cmd[0], &ha->qla4_82xx_reg->mailbox_in[0]); in qla4_82xx_queue_mbox_cmd()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c203 .mbx_cmd = qlcnic_83xx_issue_cmd,
1116 err = ahw->hw_ops->mbx_cmd(adapter, &cmd); in qlcnic_83xx_add_rings()
1255 err = ahw->hw_ops->mbx_cmd(adapter, &cmd); in qlcnic_83xx_create_rx_ctx()
3958 u32 mbx_cmd, fw_hal_version, hdr_size, total_size, tmp; in qlcnic_83xx_encode_mbx_cmd() local
3963 mbx_cmd = cmd->req.arg[0]; in qlcnic_83xx_encode_mbx_cmd()
3964 writel(mbx_cmd, QLCNIC_MBX_HOST(ahw, 0)); in qlcnic_83xx_encode_mbx_cmd()
3972 mbx_cmd = tmp | fw_hal_version << 29; in qlcnic_83xx_encode_mbx_cmd()
3973 writel(mbx_cmd, QLCNIC_MBX_HOST(ahw, 0)); in qlcnic_83xx_encode_mbx_cmd()
3976 mbx_cmd = 0x1 | 1 << 4; in qlcnic_83xx_encode_mbx_cmd()
3979 mbx_cmd |= cmd->func_num << 5; in qlcnic_83xx_encode_mbx_cmd()
[all …]
H A Dqlcnic.h1772 int (*mbx_cmd) (struct qlcnic_adapter *, struct qlcnic_cmd_args *); member
1899 if (adapter->ahw->hw_ops->mbx_cmd) in qlcnic_issue_cmd()
1900 return adapter->ahw->hw_ops->mbx_cmd(adapter, cmd); in qlcnic_issue_cmd()
H A Dqlcnic_sriov_common.c54 .mbx_cmd = qlcnic_sriov_issue_cmd,
H A Dqlcnic_main.c563 .mbx_cmd = qlcnic_82xx_issue_cmd,
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h811 u8 mbx_cmd; member
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_els.c5283 u32 mbx_cmd = pmb->u.mb.mbxCommand; in lpfc_mbx_cmpl_dflt_rpi() local
5290 kref_read(&ndlp->kref), ndlp, mbx_cmd, in lpfc_mbx_cmpl_dflt_rpi()
5300 if (mbx_cmd == MBX_UNREG_LOGIN) in lpfc_mbx_cmpl_dflt_rpi()