Home
last modified time | relevance | path

Searched refs:emlxs_port_t (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h56 extern void emlxs_msg_printf(emlxs_port_t *port,
69 extern uint32_t emlxs_flush_ct_event(emlxs_port_t *port,
77 extern void emlxs_event(emlxs_port_t *port,
80 extern void emlxs_log_dump_event(emlxs_port_t *port,
82 extern void emlxs_log_link_event(emlxs_port_t *port);
84 extern uint32_t emlxs_log_ct_event(emlxs_port_t *port,
87 extern void emlxs_log_rscn_event(emlxs_port_t *port,
89 extern void emlxs_log_vportrscn_event(emlxs_port_t *port,
91 extern void emlxs_get_dfc_event(emlxs_port_t *port,
94 extern uint32_t emlxs_kill_dfc_event(emlxs_port_t *port,
[all …]
H A Demlxs_fc.h1155 } emlxs_port_t; typedef
2100 emlxs_port_t port[MAX_VPORTS + 1]; /* port specific info */
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcf.c181 static char *emlxs_fcftab_state_xlate(emlxs_port_t *port,
183 static uint32_t emlxs_fcftab_event(emlxs_port_t *port, uint32_t evt,
185 static uint32_t emlxs_fcftab_shutdown_action(emlxs_port_t *port,
223 static uint32_t emlxs_fc_fcftab_offline_action(emlxs_port_t *port,
225 static uint32_t emlxs_fc_fcftab_online_action(emlxs_port_t *port,
228 static uint32_t emlxs_fc_fcftab_topo_cmpl_action(emlxs_port_t *port,
230 static uint32_t emlxs_fc_fcftab_topo_failed_action(emlxs_port_t *port,
232 static uint32_t emlxs_fc_fcftab_topo_action(emlxs_port_t *port,
235 static uint32_t emlxs_fc_fcftab_cfglink_cmpl_action(emlxs_port_t *port,
237 static uint32_t emlxs_fc_fcftab_cfglink_failed_action(emlxs_port_t *port,
[all …]
H A Demlxs_event.c36 static uint32_t emlxs_event_check(emlxs_port_t *port, emlxs_event_t *evt);
44 emlxs_event_check(emlxs_port_t *port, emlxs_event_t *evt) in emlxs_event_check()
99 emlxs_port_t *vport; in emlxs_event_queue_destroy()
155 emlxs_port_t *port; in emlxs_event_destroy()
158 port = (emlxs_port_t *)entry->port; in emlxs_event_destroy()
213 emlxs_event(emlxs_port_t *port, emlxs_event_t *evt, void *bp, uint32_t size) in emlxs_event()
352 emlxs_log_rscn_event(emlxs_port_t *port, uint8_t *payload, uint32_t size) in emlxs_log_rscn_event()
393 emlxs_log_vportrscn_event(emlxs_port_t *port, uint8_t *payload, uint32_t size) in emlxs_log_vportrscn_event()
436 emlxs_flush_ct_event(emlxs_port_t *port, uint32_t rxid) in emlxs_flush_ct_event()
472 emlxs_log_ct_event(emlxs_port_t *port, uint8_t *payload, uint32_t size, in emlxs_log_ct_event()
[all …]
H A Demlxs_clock.c40 static void emlxs_timer_check_dhchap(emlxs_port_t *port);
48 static void emlxs_timer_check_nodes(emlxs_port_t *port, uint8_t *flag);
50 static void emlxs_timer_check_discovery(emlxs_port_t *port);
51 static void emlxs_timer_check_clean_address(emlxs_port_t *port);
52 static void emlxs_timer_check_ub(emlxs_port_t *port);
54 static uint32_t emlxs_pkt_chip_timeout(emlxs_port_t *port, emlxs_buf_t *sbp,
84 emlxs_port_t *port = &PPORT; in emlxs_timer()
150 emlxs_port_t *port = &PPORT; in emlxs_timer_checks()
275 emlxs_port_t *port = &PPORT; in emlxs_timer_check_pkts()
616 emlxs_port_t *port = &PPORT; in emlxs_timer_check_channels()
[all …]
H A Demlxs_fct.c39 static fct_status_t emlxs_fct_cmd_acquire(emlxs_port_t *port,
41 static fct_status_t emlxs_fct_cmd_accept(emlxs_port_t *port,
43 static void emlxs_fct_cmd_release(emlxs_port_t *port, fct_cmd_t *fct_cmd,
46 static emlxs_buf_t *emlxs_fct_cmd_init(emlxs_port_t *port,
48 static void emlxs_fct_cmd_done(emlxs_port_t *port, fct_cmd_t *fct_cmd,
50 static void emlxs_fct_cmd_post(emlxs_port_t *port, fct_cmd_t *fct_cmd,
78 static fct_status_t emlxs_fct_dmem_init(emlxs_port_t *port);
79 static void emlxs_fct_dmem_fini(emlxs_port_t *port);
87 static emlxs_buf_t *emlxs_fct_pkt_init(emlxs_port_t *port,
92 static void emlxs_fct_unsol_flush(emlxs_port_t *port);
[all …]
H A Demlxs_dhchap.c54 static uint32_t emlxs_check_dhgp(emlxs_port_t *port, NODELIST *ndlp,
56 static void emlxs_dhc_set_reauth_time(emlxs_port_t *port,
89 static emlxs_auth_cfg_t *emlxs_auth_cfg_find(emlxs_port_t *port,
91 static emlxs_auth_key_t *emlxs_auth_key_find(emlxs_port_t *port,
93 static void emlxs_dhc_auth_complete(emlxs_port_t *port,
95 static void emlxs_log_auth_event(emlxs_port_t *port, NODELIST *ndlp,
97 static int emlxs_issue_auth_negotiate(emlxs_port_t *port,
100 static uint32_t *emlxs_hash_rsp(emlxs_port_t *port,
103 static fc_packet_t *emlxs_prep_els_fc_pkt(emlxs_port_t *port,
107 static uint32_t *emlxs_hash_vrf(emlxs_port_t *port,
[all …]
H A Demlxs_els.c32 static void emlxs_handle_sol_flogi(emlxs_port_t *port, emlxs_buf_t *sbp);
33 static void emlxs_handle_sol_fdisc(emlxs_port_t *port, emlxs_buf_t *sbp);
34 static void emlxs_handle_sol_plogi(emlxs_port_t *port, emlxs_buf_t *sbp);
35 static void emlxs_handle_sol_adisc(emlxs_port_t *port, emlxs_buf_t *sbp);
36 static void emlxs_handle_sol_logo(emlxs_port_t *port, emlxs_buf_t *sbp);
37 static void emlxs_handle_sol_prli(emlxs_port_t *port, emlxs_buf_t *sbp);
39 static void emlxs_handle_unsol_rscn(emlxs_port_t *port, CHANNEL *cp,
41 static void emlxs_handle_unsol_flogi(emlxs_port_t *port, CHANNEL *cp,
43 static void emlxs_handle_unsol_plogi(emlxs_port_t *port, CHANNEL *cp,
45 static void emlxs_handle_unsol_logo(emlxs_port_t *port, CHANNEL *cp,
[all …]
H A Demlxs_node.c33 static void emlxs_node_add(emlxs_port_t *, NODELIST *);
34 static int emlxs_node_match_did(emlxs_port_t *, NODELIST *, uint32_t);
39 emlxs_node_close(emlxs_port_t *port, NODELIST *ndlp, uint32_t channelno, in emlxs_node_close()
177 emlxs_node_timeout(emlxs_port_t *port, NODELIST *ndlp, uint32_t channelno) in emlxs_node_timeout()
225 emlxs_node_open(emlxs_port_t *port, NODELIST *ndlp, uint32_t channelno) in emlxs_node_open()
378 emlxs_node_match_did(emlxs_port_t *port, NODELIST *ndlp, uint32_t did) in emlxs_node_match_did()
428 emlxs_node_find_mac(emlxs_port_t *port, uint8_t *mac) in emlxs_node_find_mac()
475 emlxs_node_find_did(emlxs_port_t *port, uint32_t did, uint32_t lock) in emlxs_node_find_did()
556 emlxs_node_find_rpi(emlxs_port_t *port, uint32_t rpi) in emlxs_node_find_rpi()
585 emlxs_node_find_wwpn(emlxs_port_t *port, uint8_t *wwpn, uint32_t lock) in emlxs_node_find_wwpn()
[all …]
H A Demlxs_dfc.c109 static emlxs_port_t *emlxs_vport_find_wwpn(emlxs_hba_t *hba, uint8_t *wwpn);
156 static int32_t emlxs_fcio_get_num_devs(emlxs_port_t *port,
158 static int32_t emlxs_fcio_get_dev_list(emlxs_port_t *port,
160 static int32_t emlxs_fcio_get_sym_pname(emlxs_port_t *port,
162 static int32_t emlxs_fcio_get_sym_nname(emlxs_port_t *port,
164 static int32_t emlxs_fcio_unsupported(emlxs_port_t *port,
166 static int32_t emlxs_fcio_get_logi_params(emlxs_port_t *port,
168 static int32_t emlxs_fcio_get_state(emlxs_port_t *port,
170 static int32_t emlxs_fcio_get_fcode_rev(emlxs_port_t *port,
172 static int32_t emlxs_fcio_get_fw_rev(emlxs_port_t *port,
[all …]
H A Demlxs_pkt.c47 emlxs_port_t *port; in emlxs_pkt_thread()
81 emlxs_port_t *port = (emlxs_port_t *)pkt->pkt_ulp_private; in emlxs_pkt_send()
102 emlxs_port_t *port = (emlxs_port_t *)pkt->pkt_ulp_private; in emlxs_pkt_free()
148 emlxs_pkt_alloc(emlxs_port_t *port, uint32_t cmdlen, uint32_t rsplen, in emlxs_pkt_alloc()
H A Demlxs_diag.c120 emlxs_port_t *port = (emlxs_port_t *)pkt->pkt_ulp_private; in emlxs_diag_pkt_callback()
134 emlxs_diag_echo_run(emlxs_port_t *port, uint32_t did, uint32_t pattern) in emlxs_diag_echo_run()
297 emlxs_port_t *port = &PPORT; in emlxs_diag_biu_run()
433 emlxs_port_t *port = &PPORT; in emlxs_diag_post_run()
H A Demlxs_solaris.c44 static int32_t emlxs_send_menlo(emlxs_port_t *port, emlxs_buf_t *sbp);
52 static int32_t emlxs_send_fcp_cmd(emlxs_port_t *port, emlxs_buf_t *sbp,
54 static int32_t emlxs_send_fct_status(emlxs_port_t *port, emlxs_buf_t *sbp);
55 static int32_t emlxs_send_fct_abort(emlxs_port_t *port, emlxs_buf_t *sbp);
56 static int32_t emlxs_send_ip(emlxs_port_t *port, emlxs_buf_t *sbp);
57 static int32_t emlxs_send_els(emlxs_port_t *port, emlxs_buf_t *sbp);
58 static int32_t emlxs_send_els_rsp(emlxs_port_t *port, emlxs_buf_t *sbp);
59 static int32_t emlxs_send_ct(emlxs_port_t *port, emlxs_buf_t *sbp);
60 static int32_t emlxs_send_ct_rsp(emlxs_port_t *port, emlxs_buf_t *sbp);
104 static void emlxs_initialize_pkt(emlxs_port_t *, emlxs_buf_t *);
[all …]
H A Demlxs_fcp.c36 static void emlxs_sbp_abort_add(emlxs_port_t *port, emlxs_buf_t *sbp,
54 emlxs_port_t *port = &PPORT; in emlxs_handle_fcp_event()
726 emlxs_port_t *port = &PPORT; in emlxs_post_buffer()
844 emlxs_fcp_tag_nodes(emlxs_port_t *port) in emlxs_fcp_tag_nodes()
863 emlxs_find_tagged_node(emlxs_port_t *port) in emlxs_find_tagged_node()
898 emlxs_port_offline(emlxs_port_t *port, uint32_t scope) in emlxs_port_offline()
1472 emlxs_port_online(emlxs_port_t *vport) in emlxs_port_online()
1475 emlxs_port_t *port = &PPORT; in emlxs_port_online()
1643 emlxs_port_t *port = &PPORT; in emlxs_linkdown()
1686 emlxs_port_t *port = &PPORT; in emlxs_linkup()
[all …]
H A Demlxs_sli3.c38 static uint32_t emlxs_fct_bde_setup(emlxs_port_t *port, emlxs_buf_t *sbp);
41 static uint32_t emlxs_bde_setup(emlxs_port_t *port, emlxs_buf_t *sbp);
62 static uint32_t emlxs_sli2_bde_setup(emlxs_port_t *port,
64 static uint32_t emlxs_sli3_bde_setup(emlxs_port_t *port,
66 static uint32_t emlxs_sli2_fct_bde_setup(emlxs_port_t *port,
68 static uint32_t emlxs_sli3_fct_bde_setup(emlxs_port_t *port,
82 static uint32_t emlxs_sli3_prep_fct_iocb(emlxs_port_t *port,
87 static uint32_t emlxs_sli3_prep_fcp_iocb(emlxs_port_t *port,
90 static uint32_t emlxs_sli3_prep_ip_iocb(emlxs_port_t *port,
93 static uint32_t emlxs_sli3_prep_els_iocb(emlxs_port_t *port,
[all …]
H A Demlxs_mem.c44 emlxs_port_t *port = &PPORT; in emlxs_mem_alloc_buffer()
293 emlxs_port_t *port = &PPORT; in emlxs_mem_free_buffer()
294 emlxs_port_t *vport; in emlxs_mem_free_buffer()
414 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_alloc()
579 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_free()
763 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_destroy()
805 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_clean()
895 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_get()
982 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_put()
1053 emlxs_port_t *port = &PPORT; in emlxs_mem_buf_alloc()
[all …]
H A Demlxs_msg.c36 static uint32_t emlxs_msg_log_check(emlxs_port_t *port, emlxs_msg_t *msg);
37 static uint32_t emlxs_msg_print_check(emlxs_port_t *port, emlxs_msg_t *msg);
141 emlxs_msg_log(emlxs_port_t *port, const uint32_t fileno, const uint32_t line, in emlxs_msg_log()
272 emlxs_msg_log_check(emlxs_port_t *port, emlxs_msg_t *msg) in emlxs_msg_log_check()
310 emlxs_msg_print_check(emlxs_port_t *port, emlxs_msg_t *msg) in emlxs_msg_print_check()
374 emlxs_msg_printf(emlxs_port_t *port, const uint32_t fileno, in emlxs_msg_printf()
H A Demlxs_ip.c36 emlxs_port_t *port = &PPORT; in emlxs_ip_handle_event()
178 emlxs_ip_handle_unsol_req(emlxs_port_t *port, CHANNEL *cp, IOCBQ *iocbq, in emlxs_ip_handle_unsol_req()
303 emlxs_port_t *port = &PPORT; in emlxs_ip_handle_rcv_seq_list()
381 emlxs_port_t *port = &PPORT; in emlxs_handle_create_xri()
456 emlxs_create_xri(emlxs_port_t *port, CHANNEL *cp, NODELIST *ndlp) in emlxs_create_xri()
H A Demlxs_sli4.c86 static uint32_t emlxs_sli4_bde_setup(emlxs_port_t *port,
96 static uint32_t emlxs_sli4_prep_fct_iocb(emlxs_port_t *port,
98 static uint32_t emlxs_sli4_fct_bde_setup(emlxs_port_t *port,
102 static uint32_t emlxs_sli4_prep_fcp_iocb(emlxs_port_t *port,
104 static uint32_t emlxs_sli4_prep_ip_iocb(emlxs_port_t *port,
106 static uint32_t emlxs_sli4_prep_els_iocb(emlxs_port_t *port,
108 static uint32_t emlxs_sli4_prep_ct_iocb(emlxs_port_t *port,
122 static XRIobj_t *emlxs_sli4_alloc_xri(emlxs_port_t *port,
148 extern XRIobj_t *emlxs_sli4_reserve_xri(emlxs_port_t *port,
152 static uint32_t emlxs_sli4_reg_did(emlxs_port_t *port,
[all …]
H A Demlxs_hba.c132 emlxs_port_t *port = &PPORT; in emlxs_msi_init()
591 emlxs_port_t *port = &PPORT; in emlxs_msi_add()
696 emlxs_port_t *port = &PPORT; in emlxs_msi_remove()
781 emlxs_port_t *port = &PPORT; in emlxs_intx_init()
887 emlxs_port_t *port = &PPORT; in emlxs_intx_add()
1019 emlxs_port_t *port = &PPORT; in emlxs_parse_vpd()
1266 emlxs_port_t *port = &PPORT; in emlxs_parse_fcoe()
1578 emlxs_port_t *port = &PPORT; in emlxs_parse_prog_types()
1944 emlxs_port_t *port = &PPORT; in emlxs_init_adapter_info()
2235 emlxs_port_t *port = &PPORT; in emlxs_handle_async_event()
[all …]
H A Demlxs_download.c162 emlxs_port_t *port = &PPORT; in emlxs_fw_download()
386 emlxs_port_t *port = &PPORT; in emlxs_be_flash_image()
501 emlxs_port_t *port = &PPORT; in emlxs_be_verify_crc()
597 emlxs_port_t *port = &PPORT; in emlxs_be_verify_phy()
670 emlxs_port_t *port = &PPORT; in emlxs_be_read_fw_version()
854 emlxs_port_t *port = &PPORT; in emlxs_be2_validate_image()
1227 emlxs_port_t *port = &PPORT; in emlxs_be3_validate_image()
1594 emlxs_port_t *port = &PPORT; in emlxs_be_fw_download()
1775 emlxs_port_t *port = &PPORT; in emlxs_obj_flash_image()
1926 emlxs_port_t *port = &PPORT; in emlxs_obj_validate_image()
[all …]
H A Demlxs_mbox.c349 emlxs_port_t *port = &PPORT; in emlxs_mb_eq_create()
1100 emlxs_port_t *port = &PPORT; in emlxs_mb_gpio_write()
1581 emlxs_port_t *port = (emlxs_port_t *)mbq->port; in emlxs_read_la_mbcmpl()
1854 emlxs_port_t *port = (emlxs_port_t *)mbq->port; in emlxs_clear_la_mbcmpl()
1857 emlxs_port_t *vport; in emlxs_clear_la_mbcmpl()
2081 emlxs_port_t *port = &PPORT; in emlxs_mb_config_link()
2121 emlxs_port_t *port = (emlxs_port_t *)mbq->port; in emlxs_init_link_mbcmpl()
2300 emlxs_port_t *port = &PPORT; in emlxs_read_sparam_mbcmpl()
2303 emlxs_port_t *vport; in emlxs_read_sparam_mbcmpl()
2640 emlxs_port_t *port = (emlxs_port_t *)mbq->port; in emlxs_reg_vpi_mbcmpl()
[all …]
H A Demlxs_dump.c43 emlxs_port_t *port = &PPORT; in emlxs_menlo_set_mode()
107 emlxs_port_t *port = &PPORT; in emlxs_menlo_reset()
171 emlxs_port_t *port = &PPORT; in emlxs_menlo_get_cfg()
230 emlxs_port_t *port = &PPORT; in emlxs_menlo_get_logcfg()
287 emlxs_port_t *port = &PPORT; in emlxs_menlo_get_log()
343 emlxs_port_t *port = &PPORT; in emlxs_menlo_get_paniclog()
605 emlxs_port_t *port = &PPORT; in emlxs_get_dump()
727 emlxs_port_t *port = &PPORT; in emlxs_read_cfg_region()
2383 emlxs_port_t *port = &PPORT; in emlxs_dump_table_check()
2495 emlxs_port_t *port = &PPORT; in emlxs_dump_table_read()
[all …]
H A Demlxs_thread.c520 emlxs_port_t *port = &PPORT; in emlxs_thread_spawn()