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

Lines Matching refs: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);
145 static int32_t __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg);
2571 * @param mqe Mailbox response structure.
2577 ocs_hw_cb_port_control(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
2579 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5178 * @param mqe Mailbox response structure.
5185 ocs_hw_cb_fw_write(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5188 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
5199 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5225 * @param mqe Mailbox response structure.
5233 ocs_hw_cb_sfp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5256 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5377 * @param mqe Mailbox response structure.
5384 ocs_hw_cb_temp(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5387 sli4_cmd_dump4_t* mbox_rsp = (sli4_cmd_dump4_t*) mqe;
5413 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5483 * @param mqe Mailbox response structure.
5490 ocs_hw_cb_link_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5493 sli4_cmd_read_link_stats_t* mbox_rsp = (sli4_cmd_read_link_stats_t*) mqe;
5556 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5619 * @param mqe Mailbox response structure.
5627 ocs_hw_cb_host_stat(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
5630 sli4_cmd_read_status_t* mbox_rsp = (sli4_cmd_read_status_t*) mqe;
5667 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
5918 * @param mqe Mailbox response structure.
5924 ocs_hw_set_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6110 * @param mqe Mailbox response structure.
6116 ocs_hw_get_active_link_config_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6291 ocs_hw_cb_cfg_watchdog(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6306 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
6741 * @param mqe Mailbox response structure.
6748 ocs_hw_dmtf_clp_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6751 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
6819 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
6921 * @param mqe Mailbox response structure.
6928 ocs_hw_cb_dump_get(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
6930 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
7042 * @param mqe Mailbox response structure.
7049 ocs_hw_cb_dump_clear(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7052 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
7147 * @param mqe Pointer to mailbox command buffer.
7154 uint8_t *mqe, void *arg)
7200 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7301 * @param mqe Pointer to mailbox command buffer.
7307 ocs_hw_set_port_protocol_cb2(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7316 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7340 * @param mqe Pointer to mailbox command buffer.
7346 ocs_hw_set_port_protocol_cb1(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7474 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7597 * @param mqe Pointer to mailbox command buffer.
7603 ocs_hw_get_profile_list_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7632 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7724 * @param mqe Pointer to mailbox command buffer.
7730 ocs_hw_get_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7733 sli4_cmd_sli_config_t* mbox_rsp = (sli4_cmd_sli_config_t*) mqe;
7743 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7824 * @param mqe Pointer to mailbox command buffer.
7830 ocs_hw_get_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7833 sli4_cmd_read_nvparms_t* mbox_rsp = (sli4_cmd_read_nvparms_t*) mqe;
7840 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
7916 * @param mqe Pointer to mailbox command buffer.
7922 ocs_hw_set_nvparms_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
7930 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
8091 * @param mqe Pointer to mailbox command buffer.
8097 ocs_hw_set_active_profile_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
8105 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9066 ocs_hw_command_process(ocs_hw_t *hw, int32_t status, uint8_t *mqe, size_t size)
9086 ocs_memcpy(ctx->buf, mqe, size);
9112 uint8_t mqe[SLI4_BMBX_SIZE];
9114 if (!sli_queue_read(&hw->sli, mq, mqe)) {
9115 ocs_hw_command_process(hw, status, mqe, mq->size);
9169 * @param mqe Pointer to the mailbox command/results buffer.
9175 ocs_hw_cb_read_fcf(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9178 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9181 ocs_log_test(hw->os, "bad status cqe=%#x mqe=%#x\n",
9237 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9390 ocs_hw_cb_node_attach(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9393 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9397 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
9412 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9418 ocs_hw_cb_node_free(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9421 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9426 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
9456 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9462 ocs_hw_cb_node_free_all(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9464 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
9470 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status,
9491 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9718 uint8_t mqe[SLI4_BMBX_SIZE] = { 0 };
9725 ocs_hw_command_process(hw, -1/*Bad status*/, mqe, SLI4_BMBX_SIZE);
9890 __ocs_read_topology_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
9892 sli4_cmd_read_topology_t *read_topo = (sli4_cmd_read_topology_t *)mqe;
9895 ocs_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n",
9897 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
9957 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
10493 __ocs_hw_port_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
10496 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
10507 ocs_sm_post_event(&sport->ctx, evt, mqe);
10513 __ocs_hw_port_realloc_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
10516 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
10537 ocs_memcpy(mqecpy, mqe, SLI4_BMBX_SIZE);
11179 __ocs_hw_domain_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11182 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
11193 ocs_sm_post_event(&domain->sm, evt, mqe);
11199 target_wqe_timer_nop_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11206 sli4_mbox_command_header_t *hdr = (sli4_mbox_command_header_t *)mqe;
11377 * @param mqe Mailbox response structure.
11383 ocs_hw_cb_post_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11385 sli4_cmd_post_xri_t *post_xri = (sli4_cmd_post_xri_t*)mqe;
11394 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
11508 * @param mqe Mailbox response structure.
11514 ocs_hw_cb_release_xri(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11516 sli4_cmd_release_xri_t *release_xri = (sli4_cmd_release_xri_t*)mqe;
11530 ocs_free(hw->os, mqe, SLI4_BMBX_SIZE);
11777 * @param mqe Pointer to mailbox completion queue entry.
11783 ocs_hw_async_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg)
11789 (*ctx->callback)(hw, status, mqe, ctx->arg);