Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ocrdma/
Docrdma_main.c309 dev->mbx_cmd = kzalloc(sizeof(struct ocrdma_mqe_emb_cmd), GFP_KERNEL); in ocrdma_add()
310 if (!dev->mbx_cmd) in ocrdma_add()
361 kfree(dev->mbx_cmd); in ocrdma_add()
371 kfree(dev->mbx_cmd); in ocrdma_remove_free()
Docrdma_hw.c408 struct ocrdma_delete_q_req *cmd = dev->mbx_cmd; in ocrdma_mbx_delete_q()
437 struct ocrdma_create_eq_req *cmd = dev->mbx_cmd; in ocrdma_mbx_create_eq()
438 struct ocrdma_create_eq_rsp *rsp = dev->mbx_cmd; in ocrdma_mbx_create_eq()
528 struct ocrdma_create_cq_cmd *cmd = dev->mbx_cmd; in ocrdma_mbx_mq_cq_create()
529 struct ocrdma_create_cq_cmd_rsp *rsp = dev->mbx_cmd; in ocrdma_mbx_mq_cq_create()
570 struct ocrdma_create_mq_req *cmd = dev->mbx_cmd; in ocrdma_mbx_create_mq()
571 struct ocrdma_create_mq_rsp *rsp = dev->mbx_cmd; in ocrdma_mbx_create_mq()
Docrdma.h278 void *mbx_cmd; member
/drivers/scsi/qla4xxx/
Dql4_glbl.h83 uint8_t outCount, uint32_t *mbx_cmd, uint32_t *mbx_sts);
215 void qla4_82xx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd,
218 void qla4xxx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd,
240 void qla4_83xx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd,
Dql4_mbx.c15 void qla4xxx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd, in qla4xxx_queue_mbox_cmd() argument
22 writel(mbx_cmd[i], &ha->reg->mailbox[i]); in qla4xxx_queue_mbox_cmd()
25 writel(mbx_cmd[0], &ha->reg->mailbox[0]); in qla4xxx_queue_mbox_cmd()
84 uint8_t outCount, uint32_t *mbx_cmd, in qla4xxx_mailbox_command() argument
94 if (!mbx_cmd || !mbx_sts) { in qla4xxx_mailbox_command()
162 ha->isp_ops->queue_mailbox_command(ha, mbx_cmd, inCount); in qla4xxx_mailbox_command()
216 ha->host_no, mbx_cmd[0]); in qla4xxx_mailbox_command()
254 ha->host_no, __func__, mbx_cmd[0]); in qla4xxx_mailbox_command()
260 ha->host_no, __func__, mbx_cmd[0], mbx_sts[0], in qla4xxx_mailbox_command()
Dql4_83xx.c1316 void qla4_83xx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd, in qla4_83xx_queue_mbox_cmd() argument
1323 writel(mbx_cmd[i], &ha->qla4_83xx_reg->mailbox_in[i]); in qla4_83xx_queue_mbox_cmd()
1325 writel(mbx_cmd[0], &ha->qla4_83xx_reg->mailbox_in[0]); in qla4_83xx_queue_mbox_cmd()
Dql4_nx.c3921 void qla4_82xx_queue_mbox_cmd(struct scsi_qla_host *ha, uint32_t *mbx_cmd, in qla4_82xx_queue_mbox_cmd() argument
3928 writel(mbx_cmd[i], &ha->qla4_82xx_reg->mailbox_in[i]); in qla4_82xx_queue_mbox_cmd()
3931 writel(mbx_cmd[0], &ha->qla4_82xx_reg->mailbox_in[0]); in qla4_82xx_queue_mbox_cmd()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c205 .mbx_cmd = qlcnic_83xx_issue_cmd,
1112 err = ahw->hw_ops->mbx_cmd(adapter, &cmd); in qlcnic_83xx_add_rings()
1251 err = ahw->hw_ops->mbx_cmd(adapter, &cmd); in qlcnic_83xx_create_rx_ctx()
3955 u32 mbx_cmd, fw_hal_version, hdr_size, total_size, tmp; in qlcnic_83xx_encode_mbx_cmd() local
3960 mbx_cmd = cmd->req.arg[0]; in qlcnic_83xx_encode_mbx_cmd()
3961 writel(mbx_cmd, QLCNIC_MBX_HOST(ahw, 0)); in qlcnic_83xx_encode_mbx_cmd()
3969 mbx_cmd = tmp | fw_hal_version << 29; in qlcnic_83xx_encode_mbx_cmd()
3970 writel(mbx_cmd, QLCNIC_MBX_HOST(ahw, 0)); in qlcnic_83xx_encode_mbx_cmd()
3973 mbx_cmd = 0x1 | 1 << 4; in qlcnic_83xx_encode_mbx_cmd()
3976 mbx_cmd |= cmd->func_num << 5; in qlcnic_83xx_encode_mbx_cmd()
[all …]
Dqlcnic.h1776 int (*mbx_cmd) (struct qlcnic_adapter *, struct qlcnic_cmd_args *); member
1909 if (adapter->ahw->hw_ops->mbx_cmd) in qlcnic_issue_cmd()
1910 return adapter->ahw->hw_ops->mbx_cmd(adapter, cmd); in qlcnic_issue_cmd()
Dqlcnic_sriov_common.c55 .mbx_cmd = qlcnic_sriov_issue_cmd,
Dqlcnic_main.c592 .mbx_cmd = qlcnic_82xx_issue_cmd,