• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/ocs_fc/

Lines Matching defs:mqe

98 static int32_t ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void  *arg);
99 static void ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
144 static int32_t __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
2555 * @param mqe Mailbox response structure.
2561 ocs_hw_cb_port_control(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
2563 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5157 * @param mqe Mailbox response structure.
5164 ocs_hw_cb_fw_write(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5167 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
5178 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5204 * @param mqe Mailbox response structure.
5212 ocs_hw_cb_sfp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5235 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5356 * @param mqe Mailbox response structure.
5363 ocs_hw_cb_temp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5366 sli4_cmd_dump4_t* mbox_rsp = (sli4_cmd_dump4_t*) mqe;
5392 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5462 * @param mqe Mailbox response structure.
5469 ocs_hw_cb_link_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5472 sli4_cmd_read_link_stats_t* mbox_rsp = (sli4_cmd_read_link_stats_t*) mqe;
5535 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5597 * @param mqe Mailbox response structure.
5605 ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5608 sli4_cmd_read_status_t* mbox_rsp = (sli4_cmd_read_status_t*) mqe;
5644 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5895 * @param mqe Mailbox response structure.
5901 ocs_hw_set_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6086 * @param mqe Mailbox response structure.
6092 ocs_hw_get_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6266 ocs_hw_cb_cfg_watchdog(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6281 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
6716 * @param mqe Mailbox response structure.
6723 ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6726 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
6794 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
6896 * @param mqe Mailbox response structure.
6903 ocs_hw_cb_dump_get(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6905 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
7016 * @param mqe Mailbox response structure.
7023 ocs_hw_cb_dump_clear(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7026 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
7121 * @param mqe Pointer to mailbox command buffer.
7128 uint8_t *mqe, void *arg)
7173 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7273 * @param mqe Pointer to mailbox command buffer.
7279 ocs_hw_set_port_protocol_cb2(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7288 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7312 * @param mqe Pointer to mailbox command buffer.
7318 ocs_hw_set_port_protocol_cb1(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7444 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7564 * @param mqe Pointer to mailbox command buffer.
7570 ocs_hw_get_profile_list_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7599 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7690 * @param mqe Pointer to mailbox command buffer.
7696 ocs_hw_get_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7699 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
7709 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7790 * @param mqe Pointer to mailbox command buffer.
7796 ocs_hw_get_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7799 sli4_cmd_read_nvparms_t* mbox_rsp = (sli4_cmd_read_nvparms_t*) mqe;
7806 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7882 * @param mqe Pointer to mailbox command buffer.
7888 ocs_hw_set_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7896 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
8055 * @param mqe Pointer to mailbox command buffer.
8061 ocs_hw_set_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
8069 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9031 ocs_hw_command_process(ocs_hw_t *hw, int32_t status, uint8_t *mqe, size_t size)
9051 ocs_memcpy(ctx->buf, mqe, size);
9074 uint8_t mqe[SLI4_BMBX_SIZE];
9076 if (!sli_queue_read(&hw->sli, mq, mqe)) {
9077 ocs_hw_command_process(hw, status, mqe, mq->size);
9131 * @param mqe Pointer to the mailbox command/results buffer.
9137 ocs_hw_cb_read_fcf(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9140 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9143 ocs_log_test(hw->os, "bad status cqe=%#x mqe=%#x\n",
9199 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9357 ocs_hw_cb_node_attach(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9360 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9364 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
9379 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9385 ocs_hw_cb_node_free(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9388 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9393 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
9423 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9429 ocs_hw_cb_node_free_all(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9431 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9437 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
9458 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9685 uint8_t mqe[SLI4_BMBX_SIZE] = { 0 };
9692 ocs_hw_command_process(hw, -1/*Bad status*/, mqe, SLI4_BMBX_SIZE);
9857 __ocs_read_topology_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9859 sli4_cmd_read_topology_t *read_topo = (sli4_cmd_read_topology_t *)mqe;
9862 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n",
9864 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9924 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
10460 __ocs_hw_port_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
10463 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
10474 ocs_sm_post_event(&sport->ctx, evt, mqe);
10480 __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
10483 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
10504 ocs_memcpy(mqecpy, mqe, SLI4_BMBX_SIZE);
11145 __ocs_hw_domain_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11148 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
11159 ocs_sm_post_event(&domain->sm, evt, mqe);
11165 target_wqe_timer_nop_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11173 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
11349 * @param mqe Mailbox response structure.
11355 ocs_hw_cb_post_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11357 sli4_cmd_post_xri_t *post_xri = (sli4_cmd_post_xri_t*)mqe;
11366 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
11479 * @param mqe Mailbox response structure.
11485 ocs_hw_cb_release_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11487 sli4_cmd_release_xri_t *release_xri = (sli4_cmd_release_xri_t*)mqe;
11501 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
11747 * @param mqe Pointer to mailbox completion queue entry.
11753 ocs_hw_async_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11759 (*ctx->callback)(hw, status, mqe, ctx->arg);