/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_extern.h | 56 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 D | emlxs_fc.h | 1151 } emlxs_port_t; typedef 2066 emlxs_port_t port[MAX_VPORTS + 1]; /* port specific info */
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_fcf.c | 181 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 D | emlxs_event.c | 35 static uint32_t emlxs_event_check(emlxs_port_t *port, emlxs_event_t *evt); 43 emlxs_event_check(emlxs_port_t *port, emlxs_event_t *evt) in emlxs_event_check() 98 emlxs_port_t *vport; in emlxs_event_queue_destroy() 154 emlxs_port_t *port; in emlxs_event_destroy() 157 port = (emlxs_port_t *)entry->port; in emlxs_event_destroy() 212 emlxs_event(emlxs_port_t *port, emlxs_event_t *evt, void *bp, uint32_t size) in emlxs_event() 351 emlxs_log_rscn_event(emlxs_port_t *port, uint8_t *payload, uint32_t size) in emlxs_log_rscn_event() 392 emlxs_log_vportrscn_event(emlxs_port_t *port, uint8_t *payload, uint32_t size) in emlxs_log_vportrscn_event() 435 emlxs_flush_ct_event(emlxs_port_t *port, uint32_t rxid) in emlxs_flush_ct_event() 471 emlxs_log_ct_event(emlxs_port_t *port, uint8_t *payload, uint32_t size, in emlxs_log_ct_event() [all …]
|
H A D | emlxs_clock.c | 40 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() 609 emlxs_port_t *port = &PPORT; in emlxs_timer_check_channels() [all …]
|
H A D | emlxs_fct.c | 37 static fct_status_t emlxs_fct_cmd_acquire(emlxs_port_t *port, 39 static fct_status_t emlxs_fct_cmd_accept(emlxs_port_t *port, 41 static void emlxs_fct_cmd_release(emlxs_port_t *port, fct_cmd_t *fct_cmd, 44 static emlxs_buf_t *emlxs_fct_cmd_init(emlxs_port_t *port, 46 static void emlxs_fct_cmd_done(emlxs_port_t *port, fct_cmd_t *fct_cmd, 48 static void emlxs_fct_cmd_post(emlxs_port_t *port, fct_cmd_t *fct_cmd, 76 static fct_status_t emlxs_fct_dmem_init(emlxs_port_t *port); 77 static void emlxs_fct_dmem_fini(emlxs_port_t *port); 85 static emlxs_buf_t *emlxs_fct_pkt_init(emlxs_port_t *port, 90 static void emlxs_fct_unsol_flush(emlxs_port_t *port); [all …]
|
H A D | emlxs_dhchap.c | 54 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 D | emlxs_els.c | 32 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 D | emlxs_node.c | 33 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 D | emlxs_dfc.c | 108 static emlxs_port_t *emlxs_vport_find_wwpn(emlxs_hba_t *hba, uint8_t *wwpn); 155 static int32_t emlxs_fcio_get_num_devs(emlxs_port_t *port, 157 static int32_t emlxs_fcio_get_dev_list(emlxs_port_t *port, 159 static int32_t emlxs_fcio_get_sym_pname(emlxs_port_t *port, 161 static int32_t emlxs_fcio_get_sym_nname(emlxs_port_t *port, 163 static int32_t emlxs_fcio_unsupported(emlxs_port_t *port, 165 static int32_t emlxs_fcio_get_logi_params(emlxs_port_t *port, 167 static int32_t emlxs_fcio_get_state(emlxs_port_t *port, 169 static int32_t emlxs_fcio_get_fcode_rev(emlxs_port_t *port, 171 static int32_t emlxs_fcio_get_fw_rev(emlxs_port_t *port, [all …]
|
H A D | emlxs_pkt.c | 47 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 D | emlxs_diag.c | 120 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 D | emlxs_solaris.c | 43 static int32_t emlxs_send_menlo(emlxs_port_t *port, emlxs_buf_t *sbp); 51 static int32_t emlxs_send_fcp_cmd(emlxs_port_t *port, emlxs_buf_t *sbp, 53 static int32_t emlxs_send_fct_status(emlxs_port_t *port, emlxs_buf_t *sbp); 54 static int32_t emlxs_send_fct_abort(emlxs_port_t *port, emlxs_buf_t *sbp); 55 static int32_t emlxs_send_ip(emlxs_port_t *port, emlxs_buf_t *sbp); 56 static int32_t emlxs_send_els(emlxs_port_t *port, emlxs_buf_t *sbp); 57 static int32_t emlxs_send_els_rsp(emlxs_port_t *port, emlxs_buf_t *sbp); 58 static int32_t emlxs_send_ct(emlxs_port_t *port, emlxs_buf_t *sbp); 59 static int32_t emlxs_send_ct_rsp(emlxs_port_t *port, emlxs_buf_t *sbp); 103 static void emlxs_initialize_pkt(emlxs_port_t *, emlxs_buf_t *); [all …]
|
H A D | emlxs_fcp.c | 35 static void emlxs_sbp_abort_add(emlxs_port_t *port, emlxs_buf_t *sbp, 53 emlxs_port_t *port = &PPORT; in emlxs_handle_fcp_event() 725 emlxs_port_t *port = &PPORT; in emlxs_post_buffer() 843 emlxs_fcp_tag_nodes(emlxs_port_t *port) in emlxs_fcp_tag_nodes() 862 emlxs_find_tagged_node(emlxs_port_t *port) in emlxs_find_tagged_node() 897 emlxs_port_offline(emlxs_port_t *port, uint32_t scope) in emlxs_port_offline() 1469 emlxs_port_online(emlxs_port_t *vport) in emlxs_port_online() 1472 emlxs_port_t *port = &PPORT; in emlxs_port_online() 1634 emlxs_port_t *port = &PPORT; in emlxs_linkdown() 1677 emlxs_port_t *port = &PPORT; in emlxs_linkup() [all …]
|
H A D | emlxs_sli3.c | 37 static uint32_t emlxs_fct_bde_setup(emlxs_port_t *port, emlxs_buf_t *sbp); 40 static uint32_t emlxs_bde_setup(emlxs_port_t *port, emlxs_buf_t *sbp); 61 static uint32_t emlxs_sli2_bde_setup(emlxs_port_t *port, 63 static uint32_t emlxs_sli3_bde_setup(emlxs_port_t *port, 65 static uint32_t emlxs_sli2_fct_bde_setup(emlxs_port_t *port, 67 static uint32_t emlxs_sli3_fct_bde_setup(emlxs_port_t *port, 81 static uint32_t emlxs_sli3_prep_fct_iocb(emlxs_port_t *port, 86 static uint32_t emlxs_sli3_prep_fcp_iocb(emlxs_port_t *port, 89 static uint32_t emlxs_sli3_prep_ip_iocb(emlxs_port_t *port, 92 static uint32_t emlxs_sli3_prep_els_iocb(emlxs_port_t *port, [all …]
|
H A D | emlxs_msg.c | 36 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 D | emlxs_mem.c | 42 emlxs_port_t *port = &PPORT; in emlxs_mem_alloc_buffer() 255 emlxs_port_t *port = &PPORT; in emlxs_mem_free_buffer() 256 emlxs_port_t *vport; in emlxs_mem_free_buffer() 376 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_alloc() 542 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_free() 726 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_destroy() 768 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_clean() 858 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_get() 945 emlxs_port_t *port = &PPORT; in emlxs_mem_pool_put() 1016 emlxs_port_t *port = &PPORT; in emlxs_mem_buf_alloc() [all …]
|
H A D | emlxs_ip.c | 36 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 D | emlxs_hba.c | 130 emlxs_port_t *port = &PPORT; in emlxs_msi_init() 589 emlxs_port_t *port = &PPORT; in emlxs_msi_add() 694 emlxs_port_t *port = &PPORT; in emlxs_msi_remove() 779 emlxs_port_t *port = &PPORT; in emlxs_intx_init() 885 emlxs_port_t *port = &PPORT; in emlxs_intx_add() 1012 emlxs_port_t *port = &PPORT; in emlxs_parse_vpd() 1259 emlxs_port_t *port = &PPORT; in emlxs_parse_fcoe() 1571 emlxs_port_t *port = &PPORT; in emlxs_parse_prog_types() 1937 emlxs_port_t *port = &PPORT; in emlxs_init_adapter_info() 2210 emlxs_port_t *port = &PPORT; in emlxs_handle_async_event() [all …]
|
H A D | emlxs_sli4.c | 77 static uint32_t emlxs_sli4_bde_setup(emlxs_port_t *port, 87 static uint32_t emlxs_sli4_prep_fct_iocb(emlxs_port_t *port, 89 static uint32_t emlxs_sli4_fct_bde_setup(emlxs_port_t *port, 93 static uint32_t emlxs_sli4_prep_fcp_iocb(emlxs_port_t *port, 95 static uint32_t emlxs_sli4_prep_ip_iocb(emlxs_port_t *port, 97 static uint32_t emlxs_sli4_prep_els_iocb(emlxs_port_t *port, 99 static uint32_t emlxs_sli4_prep_ct_iocb(emlxs_port_t *port, 113 static XRIobj_t *emlxs_sli4_alloc_xri(emlxs_port_t *port, 126 extern XRIobj_t *emlxs_sli4_reserve_xri(emlxs_port_t *port, 130 static uint32_t emlxs_sli4_reg_did(emlxs_port_t *port, [all …]
|
H A D | emlxs_download.c | 162 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 D | emlxs_mbox.c | 1514 emlxs_port_t *port = (emlxs_port_t *)mbq->port; in emlxs_read_la_mbcmpl() 1786 emlxs_port_t *port = (emlxs_port_t *)mbq->port; in emlxs_clear_la_mbcmpl() 1789 emlxs_port_t *vport; in emlxs_clear_la_mbcmpl() 2010 emlxs_port_t *port = &PPORT; in emlxs_mb_config_link() 2050 emlxs_port_t *port = (emlxs_port_t *)mbq->port; in emlxs_init_link_mbcmpl() 2228 emlxs_port_t *port = &PPORT; in emlxs_read_sparam_mbcmpl() 2231 emlxs_port_t *vport; in emlxs_read_sparam_mbcmpl() 2568 emlxs_port_t *port = (emlxs_port_t *)mbq->port; in emlxs_reg_vpi_mbcmpl() 2600 emlxs_mb_reg_vpi(emlxs_port_t *port, emlxs_buf_t *sbp) in emlxs_mb_reg_vpi() 2695 emlxs_port_t *port = (emlxs_port_t *)mbq->port; in emlxs_unreg_vpi_mbcmpl() [all …]
|
H A D | emlxs_dump.c | 43 emlxs_port_t *port = &PPORT; in emlxs_menlo_set_mode() 106 emlxs_port_t *port = &PPORT; in emlxs_menlo_reset() 169 emlxs_port_t *port = &PPORT; in emlxs_menlo_get_cfg() 227 emlxs_port_t *port = &PPORT; in emlxs_menlo_get_logcfg() 283 emlxs_port_t *port = &PPORT; in emlxs_menlo_get_log() 338 emlxs_port_t *port = &PPORT; in emlxs_menlo_get_paniclog() 599 emlxs_port_t *port = &PPORT; in emlxs_get_dump() 721 emlxs_port_t *port = &PPORT; in emlxs_read_cfg_region() 2375 emlxs_port_t *port = &PPORT; in emlxs_dump_table_check() 2487 emlxs_port_t *port = &PPORT; in emlxs_dump_table_read() [all …]
|
H A D | emlxs_thread.c | 520 emlxs_port_t *port = &PPORT; in emlxs_thread_spawn()
|