Lines Matching defs:mqe

96 static int32_t ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void  *arg);
97 static void ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
142 static int32_t __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
2568 * @param mqe Mailbox response structure.
2574 ocs_hw_cb_port_control(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
2576 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5177 * @param mqe Mailbox response structure.
5184 ocs_hw_cb_fw_write(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5187 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
5198 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5224 * @param mqe Mailbox response structure.
5232 ocs_hw_cb_sfp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5255 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5376 * @param mqe Mailbox response structure.
5383 ocs_hw_cb_temp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5386 sli4_cmd_dump4_t* mbox_rsp = (sli4_cmd_dump4_t*) mqe;
5412 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5482 * @param mqe Mailbox response structure.
5489 ocs_hw_cb_link_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5492 sli4_cmd_read_link_stats_t* mbox_rsp = (sli4_cmd_read_link_stats_t*) mqe;
5555 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5617 * @param mqe Mailbox response structure.
5625 ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5628 sli4_cmd_read_status_t* mbox_rsp = (sli4_cmd_read_status_t*) mqe;
5664 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5915 * @param mqe Mailbox response structure.
5921 ocs_hw_set_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6107 * @param mqe Mailbox response structure.
6113 ocs_hw_get_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6287 ocs_hw_cb_cfg_watchdog(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6302 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
6737 * @param mqe Mailbox response structure.
6744 ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6747 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
6815 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
6917 * @param mqe Mailbox response structure.
6924 ocs_hw_cb_dump_get(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6926 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
7037 * @param mqe Mailbox response structure.
7044 ocs_hw_cb_dump_clear(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7047 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
7142 * @param mqe Pointer to mailbox command buffer.
7149 uint8_t *mqe, void *arg)
7194 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7294 * @param mqe Pointer to mailbox command buffer.
7300 ocs_hw_set_port_protocol_cb2(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7309 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7333 * @param mqe Pointer to mailbox command buffer.
7339 ocs_hw_set_port_protocol_cb1(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7465 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7585 * @param mqe Pointer to mailbox command buffer.
7591 ocs_hw_get_profile_list_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7625 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7716 * @param mqe Pointer to mailbox command buffer.
7722 ocs_hw_get_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7725 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
7735 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7816 * @param mqe Pointer to mailbox command buffer.
7822 ocs_hw_get_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7825 sli4_cmd_read_nvparms_t* mbox_rsp = (sli4_cmd_read_nvparms_t*) mqe;
7832 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7908 * @param mqe Pointer to mailbox command buffer.
7914 ocs_hw_set_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7922 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
8081 * @param mqe Pointer to mailbox command buffer.
8087 ocs_hw_set_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
8095 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9057 ocs_hw_command_process(ocs_hw_t *hw, int32_t status, uint8_t *mqe, size_t size)
9077 ocs_memcpy(ctx->buf, mqe, size);
9100 uint8_t mqe[SLI4_BMBX_SIZE];
9102 if (!sli_queue_read(&hw->sli, mq, mqe)) {
9103 ocs_hw_command_process(hw, status, mqe, mq->size);
9157 * @param mqe Pointer to the mailbox command/results buffer.
9163 ocs_hw_cb_read_fcf(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9166 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9169 ocs_log_test(hw->os, "bad status cqe=%#x mqe=%#x\n",
9225 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9383 ocs_hw_cb_node_attach(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9386 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9390 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
9405 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9411 ocs_hw_cb_node_free(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9414 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9419 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
9449 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9455 ocs_hw_cb_node_free_all(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9457 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9463 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
9484 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9711 uint8_t mqe[SLI4_BMBX_SIZE] = { 0 };
9718 ocs_hw_command_process(hw, -1/*Bad status*/, mqe, SLI4_BMBX_SIZE);
9883 __ocs_read_topology_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9885 sli4_cmd_read_topology_t *read_topo = (sli4_cmd_read_topology_t *)mqe;
9888 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n",
9890 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9950 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
10486 __ocs_hw_port_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
10489 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
10500 ocs_sm_post_event(&sport->ctx, evt, mqe);
10506 __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
10509 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
10530 ocs_memcpy(mqecpy, mqe, SLI4_BMBX_SIZE);
11171 __ocs_hw_domain_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11174 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
11185 ocs_sm_post_event(&domain->sm, evt, mqe);
11191 target_wqe_timer_nop_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11198 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
11374 * @param mqe Mailbox response structure.
11380 ocs_hw_cb_post_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11382 sli4_cmd_post_xri_t *post_xri = (sli4_cmd_post_xri_t*)mqe;
11391 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
11504 * @param mqe Mailbox response structure.
11510 ocs_hw_cb_release_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11512 sli4_cmd_release_xri_t *release_xri = (sli4_cmd_release_xri_t*)mqe;
11526 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
11772 * @param mqe Pointer to mailbox completion queue entry.
11778 ocs_hw_async_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11784 (*ctx->callback)(hw, status, mqe, ctx->arg);
12131 * @param mqe Pointer to mailbox command buffer.
12137 ocs_hw_set_persistent_topolgy_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)