/openbmc/linux/drivers/scsi/elx/libefc/ |
H A D | efc_cmds.c | 34 efc_nport_get_mbox_status(struct efc_nport *nport, u8 *mqe, int status) in efc_nport_get_mbox_status() argument 38 (struct sli4_mbox_command_header *)mqe; in efc_nport_get_mbox_status() 50 efc_nport_free_unreg_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) in efc_nport_free_unreg_vpi_cb() argument 56 rc = efc_nport_get_mbox_status(nport, mqe, status); in efc_nport_free_unreg_vpi_cb() 60 efc_nport_free_resources(nport, evt, mqe); in efc_nport_free_unreg_vpi_cb() 105 efc_nport_alloc_init_vpi_cb(struct efc *efc, int status, u8 *mqe, void *arg) in efc_nport_alloc_init_vpi_cb() argument 109 if (efc_nport_get_mbox_status(nport, mqe, status)) { in efc_nport_alloc_init_vpi_cb() 110 efc_nport_free_resources(nport, EFC_EVT_NPORT_ALLOC_FAIL, mqe); in efc_nport_alloc_init_vpi_cb() 114 efc_nport_send_evt(nport, EFC_EVT_NPORT_ALLOC_OK, mqe); in efc_nport_alloc_init_vpi_cb() 148 efc_nport_alloc_read_sparm64_cb(struct efc *efc, int status, u8 *mqe, void *arg) in efc_nport_alloc_read_sparm64_cb() argument [all …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_mbox.c | 1102 struct lpfc_mqe *mqe; in lpfc_sli4_swap_str() local 1106 mqe = &pmb->u.mqe; in lpfc_sli4_swap_str() 1107 lpfc_sli_pcimem_bcopy(mqe->un.read_rev.fw_name, in lpfc_sli4_swap_str() 1108 mqe->un.read_rev.fw_name, 16); in lpfc_sli4_swap_str() 1109 lpfc_sli_pcimem_bcopy(mqe->un.read_rev.ulp_fw_name, in lpfc_sli4_swap_str() 1110 mqe->un.read_rev.ulp_fw_name, 16); in lpfc_sli4_swap_str() 1750 &mbox->u.mqe.un.nembed_cmd; in lpfc_sli4_mbx_sge_set() 1772 &mbox->u.mqe.un.nembed_cmd; in lpfc_sli4_mbx_sge_get() 1795 sli4_cfg = &mbox->u.mqe.un.sli4_config; in lpfc_sli4_mbox_cmd_free() 1852 bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_SLI4_CONFIG); in lpfc_sli4_config() [all …]
|
H A D | lpfc_sli.c | 381 lpfc_sli4_mq_put(struct lpfc_queue *q, struct lpfc_mqe *mqe) in lpfc_sli4_mq_put() argument 394 lpfc_sli4_pcimem_bcopy(mqe, temp_mqe, q->entry_size); in lpfc_sli4_mq_put() 2966 if (bf_get(lpfc_mqe_command, &pmb->u.mqe) == MBX_SLI4_CONFIG) in lpfc_sli_def_mbox_cmpl() 5810 struct lpfc_mqe *mqe; in lpfc_sli4_read_fcoe_params() local 5824 mqe = &mboxq->u.mqe; in lpfc_sli4_read_fcoe_params() 5839 bf_get(lpfc_mqe_command, mqe), in lpfc_sli4_read_fcoe_params() 5840 bf_get(lpfc_mqe_status, mqe), in lpfc_sli4_read_fcoe_params() 5841 mqe->un.mb_words[0], mqe->un.mb_words[1], in lpfc_sli4_read_fcoe_params() 5842 mqe->un.mb_words[2], mqe->un.mb_words[3], in lpfc_sli4_read_fcoe_params() 5843 mqe->un.mb_words[4], mqe->un.mb_words[5], in lpfc_sli4_read_fcoe_params() [all …]
|
H A D | lpfc_init.c | 680 struct lpfc_mqe *mqe; in lpfc_sli4_refresh_params() local 688 mqe = &mboxq->u.mqe; in lpfc_sli4_refresh_params() 701 mbx_sli4_parameters = &mqe->un.get_sli4_parameters.sli4_parameters; in lpfc_sli4_refresh_params() 4613 bf_get(lpfc_mqe_command, &mboxq->u.mqe), in lpfc_get_wwpn() 4614 bf_get(lpfc_mqe_status, &mboxq->u.mqe)); in lpfc_get_wwpn() 8128 bf_get(lpfc_mqe_command, &mboxq->u.mqe), in lpfc_sli4_driver_resource_setup() 8129 bf_get(lpfc_mqe_status, &mboxq->u.mqe)); in lpfc_sli4_driver_resource_setup() 9945 bf_get(lpfc_mqe_command, &pmb->u.mqe), in lpfc_sli4_read_config() 9946 bf_get(lpfc_mqe_status, &pmb->u.mqe)); in lpfc_sli4_read_config() 9949 rd_config = &pmb->u.mqe.un.rd_config; in lpfc_sli4_read_config() [all …]
|
H A D | lpfc_sli.h | 182 struct lpfc_mqe mqe; member
|
H A D | lpfc_els.c | 7306 &mbox->u.mqe.un.mem_dump_type3, DMP_SFF_PAGE_A0_SIZE); in lpfc_get_sfp_info_wait() 7307 mbox->u.mqe.un.mem_dump_type3.addr_lo = putPaddrLow(mp->phys); in lpfc_get_sfp_info_wait() 7308 mbox->u.mqe.un.mem_dump_type3.addr_hi = putPaddrHigh(mp->phys); in lpfc_get_sfp_info_wait() 7324 if (bf_get(lpfc_mqe_status, &mbox->u.mqe)) { in lpfc_get_sfp_info_wait() 7340 bf_set(lpfc_mqe_command, &mbox->u.mqe, MBX_DUMP_MEMORY); in lpfc_get_sfp_info_wait() 7342 &mbox->u.mqe.un.mem_dump_type3, DMP_LMSD); in lpfc_get_sfp_info_wait() 7344 &mbox->u.mqe.un.mem_dump_type3, phba->sli4_hba.physical_port); in lpfc_get_sfp_info_wait() 7346 &mbox->u.mqe.un.mem_dump_type3, DMP_PAGE_A2); in lpfc_get_sfp_info_wait() 7366 &mbox->u.mqe.un.mem_dump_type3, DMP_SFF_PAGE_A2_SIZE); in lpfc_get_sfp_info_wait() 7367 mbox->u.mqe.un.mem_dump_type3.addr_lo = putPaddrLow(mp->phys); in lpfc_get_sfp_info_wait() [all …]
|
H A D | lpfc_bsg.c | 1883 link_diag_state = &pmboxq->u.mqe.un.link_diag_state; in lpfc_sli4_bsg_set_link_diag_state() 1941 link_diag_loopback = &pmboxq->u.mqe.un.link_diag_loopback; in lpfc_sli4_bsg_set_loopback_mode() 2410 run_link_diag_test = &pmboxq->u.mqe.un.link_diag_test; in lpfc_sli4_bsg_link_diag_test() 2427 &pmboxq->u.mqe.un.sli4_config.header.cfg_shdr; in lpfc_sli4_bsg_link_diag_test() 4842 sli4_config = &pmboxq->u.mqe.un.sli4_config; in lpfc_bsg_issue_mbox()
|
H A D | lpfc_hbadisc.c | 1620 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi() 4114 byte_count = pmb->u.mqe.un.mb_words[5]; in lpfc_create_static_vport()
|
H A D | lpfc_hw4.h | 4351 struct lpfc_mqe mqe; member
|
H A D | lpfc_attr.c | 1874 &mbox->u.mqe.un.set_trunk_mode, in lpfc_set_trunking()
|
/openbmc/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 356 struct ocrdma_mqe *mqe; in ocrdma_init_emb_mqe() local 358 mqe = kzalloc(sizeof(struct ocrdma_mqe), GFP_KERNEL); in ocrdma_init_emb_mqe() 359 if (!mqe) in ocrdma_init_emb_mqe() 361 mqe->hdr.spcl_sge_cnt_emb |= in ocrdma_init_emb_mqe() 364 mqe->hdr.pyld_len = cmd_len - sizeof(struct ocrdma_mqe_hdr); in ocrdma_init_emb_mqe() 366 ocrdma_init_mch(&mqe->u.emb_req.mch, opcode, OCRDMA_SUBSYS_ROCE, in ocrdma_init_emb_mqe() 367 mqe->hdr.pyld_len); in ocrdma_init_emb_mqe() 368 return mqe; in ocrdma_init_emb_mqe() 1041 struct ocrdma_mqe *mqe; in ocrdma_post_mqe() local 1045 mqe = ocrdma_get_mqe(dev); in ocrdma_post_mqe() [all …]
|
H A D | ocrdma.h | 220 struct ocrdma_mqe mqe; member
|
/openbmc/linux/drivers/scsi/elx/efct/ |
H A D | efct_hw.c | 29 int (*callback)(struct efc *efc, int status, u8 *mqe, void *arg); 79 __efct_read_topology_cb(struct efct_hw *hw, int status, u8 *mqe, void *arg) in __efct_read_topology_cb() argument 82 (struct sli4_cmd_read_topology *)mqe; in __efct_read_topology_cb() 1451 efct_hw_command_process(struct efct_hw *hw, int status, u8 *mqe, in efct_hw_command_process() argument 1477 memcpy(ctx->buf, mqe, size); in efct_hw_command_process() 1490 u8 mqe[SLI4_BMBX_SIZE]; in efct_hw_mq_process() local 1493 rc = sli_mq_read(&hw->sli, mq, mqe); in efct_hw_mq_process() 1495 rc = efct_hw_command_process(hw, status, mqe, mq->size); in efct_hw_mq_process() 1514 u8 mqe[SLI4_BMBX_SIZE] = { 0 }; in efct_hw_command_cancel() local 1523 rc = efct_hw_command_process(hw, -1, mqe, SLI4_BMBX_SIZE); in efct_hw_command_cancel() [all …]
|
H A D | efct_hw.h | 137 int (*cb)(struct efct_hw *hw, int status, u8 *mqe, void *arg); 733 u8 *mqe, void *arg);
|
H A D | efct_scsi.c | 254 u8 *mqe, void *arg) in efct_scsi_check_pending_async_cb() argument
|