Home
last modified time | relevance | path

Searched refs:emlxs_hba_t (Results 1 – 25 of 25) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h61 extern uint32_t emlxs_msg_log_create(emlxs_hba_t *hba);
62 extern void emlxs_msg_lock_reinit(emlxs_hba_t *hba);
63 extern void emlxs_msg_log_destroy(emlxs_hba_t *hba);
64 extern uint32_t emlxs_msg_log_get(emlxs_hba_t *hba,
71 extern void emlxs_timer_check_events(emlxs_hba_t *hba);
73 extern uint32_t emlxs_event_queue_create(emlxs_hba_t *hba);
75 extern void emlxs_event_queue_destroy(emlxs_hba_t *hba);
150 extern void emlxs_mem_free(emlxs_hba_t *hba,
152 extern uint8_t *emlxs_mem_alloc(emlxs_hba_t *hba,
154 extern int emlxs_map_bus(emlxs_hba_t *hba);
[all …]
H A Demlxs_device.h39 typedef struct emlxs_hba emlxs_hba_t; typedef
46 emlxs_hba_t *hba[MAX_FC_BRDS];
H A Demlxs_fc.h2150 } emlxs_hba_t; typedef
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_clock.c37 static void emlxs_timer_check_loopback(emlxs_hba_t *hba);
43 static void emlxs_timer_check_pools(emlxs_hba_t *hba);
45 static void emlxs_timer_check_fw_update(emlxs_hba_t *hba);
46 static void emlxs_timer_check_heartbeat(emlxs_hba_t *hba);
47 static uint32_t emlxs_timer_check_pkts(emlxs_hba_t *hba, uint8_t *flag);
49 static void emlxs_timer_check_linkup(emlxs_hba_t *hba);
53 static void emlxs_timer_check_channels(emlxs_hba_t *hba, uint8_t *flag);
58 static void emlxs_tx_watchdog(emlxs_hba_t *hba);
62 emlxs_timeout(emlxs_hba_t *hba, uint32_t timeout) in emlxs_timeout()
83 emlxs_hba_t *hba = (emlxs_hba_t *)arg; in emlxs_timer()
[all …]
H A Demlxs_download.c34 static uint32_t emlxs_erase_fcode_flash(emlxs_hba_t *hba);
36 static uint32_t emlxs_write_fcode_flash(emlxs_hba_t *hba,
41 static uint32_t emlxs_validate_image(emlxs_hba_t *hba, caddr_t Buffer,
43 static void emlxs_format_dump(emlxs_hba_t *hba, MAILBOXQ *mbq,
46 static uint32_t emlxs_start_abs_download(emlxs_hba_t *hba, PAIF_HDR AifHdr,
49 static uint32_t emlxs_start_abs_download_2mb(emlxs_hba_t *hba, caddr_t buffer,
52 static uint32_t emlxs_proc_abs_2mb(emlxs_hba_t *hba,
59 static uint32_t emlxs_build_parms_2mb_bwc(emlxs_hba_t *hba, PAIF_HDR AifHdr,
61 static uint32_t emlxs_update_exp_rom(emlxs_hba_t *hba,
63 extern uint32_t emlxs_get_max_sram(emlxs_hba_t *hba, uint32_t *MaxRbusSize,
[all …]
H A Demlxs_mbox.c213 emlxs_mb_resetport(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mb_resetport()
244 emlxs_mb_request_features(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t mask) in emlxs_mb_request_features()
268 emlxs_mb_noop(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mb_noop()
304 emlxs_mbext_noop(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mbext_noop()
344 emlxs_mb_eq_create(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t num) in emlxs_mb_eq_create()
417 emlxs_mb_cq_create(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t num) in emlxs_mb_cq_create()
521 emlxs_mb_get_port_name(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mb_get_port_name()
562 emlxs_mb_get_sli4_params(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mb_get_sli4_params()
592 emlxs_mb_get_extents_info(emlxs_hba_t *hba, MAILBOXQ *mbq, uint16_t type) in emlxs_mb_get_extents_info()
631 emlxs_mb_get_extents(emlxs_hba_t *hba, MAILBOXQ *mbq, uint16_t type) in emlxs_mb_get_extents()
[all …]
H A Demlxs_dump.c40 emlxs_hba_t *hba, in emlxs_menlo_set_mode()
104 emlxs_hba_t *hba, in emlxs_menlo_reset()
167 emlxs_hba_t *hba, in emlxs_menlo_get_cfg()
226 emlxs_hba_t *hba, in emlxs_menlo_get_logcfg()
282 emlxs_hba_t *hba, in emlxs_menlo_get_log()
339 emlxs_hba_t *hba, in emlxs_menlo_get_paniclog()
496 emlxs_hba_t *hba, in emlxs_fopen()
601 emlxs_hba_t *hba, in emlxs_get_dump()
721 emlxs_hba_t *hba, in emlxs_read_cfg_region()
1375 emlxs_hba_t *hba, in emlxs_dump_parm_table()
[all …]
H A Demlxs_sli4.c35 static int emlxs_sli4_init_extents(emlxs_hba_t *hba,
37 static uint32_t emlxs_sli4_read_status(emlxs_hba_t *hba);
39 static int emlxs_init_bootstrap_mb(emlxs_hba_t *hba);
41 static uint32_t emlxs_sli4_read_sema(emlxs_hba_t *hba);
43 static uint32_t emlxs_sli4_read_mbdb(emlxs_hba_t *hba);
45 static void emlxs_sli4_write_mbdb(emlxs_hba_t *hba, uint64_t phys,
48 static void emlxs_sli4_write_wqdb(emlxs_hba_t *hba, uint16_t qid,
51 static void emlxs_sli4_write_mqdb(emlxs_hba_t *hba, uint16_t qid,
54 static void emlxs_sli4_write_rqdb(emlxs_hba_t *hba, uint16_t qid,
57 static void emlxs_sli4_write_eqdb(emlxs_hba_t *hba, uint16_t qid,
[all …]
H A Demlxs_dfc.c33 static int32_t emlxs_dfc_get_rev(emlxs_hba_t *hba, dfc_t *dfc,
35 static int32_t emlxs_dfc_get_hbainfo(emlxs_hba_t *hba, dfc_t *dfc,
37 static int32_t emlxs_dfc_get_hbastats(emlxs_hba_t *hba, dfc_t *dfc,
39 static int32_t emlxs_dfc_get_drvstats(emlxs_hba_t *hba, dfc_t *dfc,
41 static int32_t emlxs_dfc_set_diag(emlxs_hba_t *hba, dfc_t *dfc,
43 static int32_t emlxs_dfc_send_mbox(emlxs_hba_t *hba, dfc_t *dfc,
45 static int32_t emlxs_dfc_read_pci(emlxs_hba_t *hba, dfc_t *dfc,
47 static int32_t emlxs_dfc_write_pci(emlxs_hba_t *hba, dfc_t *dfc,
49 static int32_t emlxs_dfc_get_cfg(emlxs_hba_t *hba, dfc_t *dfc,
51 static int32_t emlxs_dfc_set_cfg(emlxs_hba_t *hba, dfc_t *dfc,
[all …]
H A Demlxs_event.c37 static void emlxs_event_destroy(emlxs_hba_t *hba, emlxs_event_entry_t *entry);
46 emlxs_hba_t *hba = HBA; in emlxs_event_check()
65 emlxs_event_queue_create(emlxs_hba_t *hba) in emlxs_event_queue_create()
97 emlxs_event_queue_destroy(emlxs_hba_t *hba) in emlxs_event_queue_destroy()
152 emlxs_event_destroy(emlxs_hba_t *hba, emlxs_event_entry_t *entry) in emlxs_event_destroy()
215 emlxs_hba_t *hba = HBA; in emlxs_event()
308 emlxs_timer_check_events(emlxs_hba_t *hba) in emlxs_timer_check_events()
438 emlxs_hba_t *hba = HBA; in emlxs_flush_ct_event()
517 emlxs_hba_t *hba = HBA; in emlxs_ct_event_destroy()
537 emlxs_hba_t *hba = HBA; in emlxs_log_link_event()
[all …]
H A Demlxs_sli3.c33 static void emlxs_sli3_issue_iocb(emlxs_hba_t *hba, RING *rp, IOCBQ *iocbq);
34 static void emlxs_sli3_handle_link_event(emlxs_hba_t *hba);
35 static void emlxs_sli3_handle_ring_event(emlxs_hba_t *hba, int32_t ring_no,
45 static int emlxs_sli3_map_hdw(emlxs_hba_t *hba);
47 static void emlxs_sli3_unmap_hdw(emlxs_hba_t *hba);
49 static int32_t emlxs_sli3_online(emlxs_hba_t *hba);
51 static void emlxs_sli3_offline(emlxs_hba_t *hba,
54 static uint32_t emlxs_sli3_hba_reset(emlxs_hba_t *hba,
58 static void emlxs_sli3_hba_kill(emlxs_hba_t *hba);
59 static void emlxs_sli3_hba_kill4quiesce(emlxs_hba_t *hba);
[all …]
H A Demlxs_hba.c38 static void emlxs_handle_async_event(emlxs_hba_t *hba, CHANNEL *cp,
41 static void emlxs_pci_cap_offsets(emlxs_hba_t *hba);
130 emlxs_msi_init(emlxs_hba_t *hba, uint32_t max) in emlxs_msi_init()
497 emlxs_msi_uninit(emlxs_hba_t *hba) in emlxs_msi_uninit()
589 emlxs_msi_add(emlxs_hba_t *hba) in emlxs_msi_add()
694 emlxs_msi_remove(emlxs_hba_t *hba) in emlxs_msi_remove()
779 emlxs_intx_init(emlxs_hba_t *hba, uint32_t max) in emlxs_intx_init()
847 emlxs_intx_uninit(emlxs_hba_t *hba) in emlxs_intx_uninit()
885 emlxs_intx_add(emlxs_hba_t *hba) in emlxs_intx_add()
927 emlxs_intx_remove(emlxs_hba_t *hba) in emlxs_intx_remove()
[all …]
H A Demlxs_mem.c36 static uint32_t emlxs_mem_pool_alloc(emlxs_hba_t *hba, MEMSEG *seg,
38 static void emlxs_mem_pool_free(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count);
42 emlxs_mem_alloc_buffer(emlxs_hba_t *hba) in emlxs_mem_alloc_buffer()
291 emlxs_mem_free_buffer(emlxs_hba_t *hba) in emlxs_mem_free_buffer()
412 emlxs_mem_pool_alloc(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count) in emlxs_mem_pool_alloc()
577 emlxs_mem_pool_free(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count) in emlxs_mem_pool_free()
708 emlxs_mem_pool_create(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_create()
761 emlxs_mem_pool_destroy(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_destroy()
803 emlxs_mem_pool_clean(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_clean()
893 emlxs_mem_pool_get(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_get()
[all …]
H A Demlxs_fcf.c221 static void emlxs_fc_fcftab_online_timer(emlxs_hba_t *hba);
525 static void emlxs_fcoe_fcftab_read_timer(emlxs_hba_t *hba);
526 static void emlxs_fcoe_fcftab_sol_timer(emlxs_hba_t *hba);
527 static void emlxs_fcoe_fcftab_offline_timer(emlxs_hba_t *hba);
1689 static void emlxs_rpi_idle_timer(emlxs_hba_t *hba);
1853 emlxs_hba_t *hba = HBA; in emlxs_fcf_linkdown()
1885 emlxs_hba_t *hba = HBA; in emlxs_fcf_linkup()
1919 emlxs_fcf_fini(emlxs_hba_t *hba) in emlxs_fcf_fini()
1999 emlxs_fcf_init(emlxs_hba_t *hba) in emlxs_fcf_init()
2140 emlxs_fcf_timer_notify(emlxs_hba_t *hba) in emlxs_fcf_timer_notify()
[all …]
H A Demlxs_solaris.c47 static void emlxs_fca_attach(emlxs_hba_t *hba);
48 static void emlxs_fca_detach(emlxs_hba_t *hba);
49 static void emlxs_drv_banner(emlxs_hba_t *hba);
51 static int32_t emlxs_get_props(emlxs_hba_t *hba);
68 static uint32_t emlxs_integrity_check(emlxs_hba_t *hba);
69 static uint32_t emlxs_test(emlxs_hba_t *hba, uint32_t test_code,
73 static void emlxs_read_vport_prop(emlxs_hba_t *hba);
76 static void emlxs_mode_init_masks(emlxs_hba_t *hba);
80 emlxs_msiid_to_chan(emlxs_hba_t *hba, int msi_id);
82 emlxs_select_msiid(emlxs_hba_t *hba);
[all …]
H A Demlxs_msg.c42 emlxs_msg_log_create(emlxs_hba_t *hba) in emlxs_msg_log_create()
87 emlxs_msg_lock_reinit(emlxs_hba_t *hba) in emlxs_msg_lock_reinit()
111 emlxs_msg_log_destroy(emlxs_hba_t *hba) in emlxs_msg_log_destroy()
144 emlxs_hba_t *hba = HBA; in emlxs_msg_log()
312 emlxs_hba_t *hba = HBA; in emlxs_msg_print_check()
378 emlxs_hba_t *hba = HBA; in emlxs_msg_printf()
502 emlxs_msg_log_get(emlxs_hba_t *hba, emlxs_log_req_t *req, in emlxs_msg_log_get()
H A Demlxs_thread.c143 emlxs_taskq_create(emlxs_hba_t *hba, emlxs_taskq_t *taskq) in emlxs_taskq_create()
259 emlxs_hba_t *hba; in emlxs_thread()
347 emlxs_thread_create(emlxs_hba_t *hba, emlxs_thread_t *ethread) in emlxs_thread_create()
518 emlxs_thread_spawn(emlxs_hba_t *hba, void (*func) (), void *arg1, void *arg2) in emlxs_thread_spawn()
572 emlxs_thread_spawn_create(emlxs_hba_t *hba) in emlxs_thread_spawn_create()
590 emlxs_thread_spawn_destroy(emlxs_hba_t *hba) in emlxs_thread_spawn_destroy()
H A Demlxs_fcp.c52 emlxs_handle_fcp_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_handle_fcp_event()
724 emlxs_post_buffer(emlxs_hba_t *hba, RING *rp, int16_t cnt) in emlxs_post_buffer()
900 emlxs_hba_t *hba = HBA; in emlxs_port_offline()
1474 emlxs_hba_t *hba = vport->hba; in emlxs_port_online()
1641 emlxs_linkdown(emlxs_hba_t *hba) in emlxs_linkdown()
1684 emlxs_linkup(emlxs_hba_t *hba) in emlxs_linkup()
1740 emlxs_reset_link(emlxs_hba_t *hba, uint32_t linkup, uint32_t wait) in emlxs_reset_link()
1855 emlxs_online(emlxs_hba_t *hba) in emlxs_online()
1932 emlxs_offline(emlxs_hba_t *hba, uint32_t reset_requested) in emlxs_offline()
2043 emlxs_power_down(emlxs_hba_t *hba) in emlxs_power_down()
[all …]
H A Demlxs_fct.c37 static void emlxs_fct_memseg_init(emlxs_hba_t *hba);
85 static int emlxs_fct_dbuf_dma_sync(emlxs_hba_t *hba, stmf_data_buf_t *dbuf,
90 static void emlxs_fct_unsol_flush_thread(emlxs_hba_t *hba, void *arg1,
624 emlxs_hba_t *hba = HBA; in emlxs_fct_handle_unsol_flogi()
746 emlxs_fct_unsol_flush_thread(emlxs_hba_t *hba, void *arg1, void *arg2) in emlxs_fct_unsol_flush_thread()
760 emlxs_hba_t *hba = HBA; in emlxs_fct_unsol_flush()
872 emlxs_fct_init(emlxs_hba_t *hba) in emlxs_fct_init()
890 emlxs_fct_attach(emlxs_hba_t *hba) in emlxs_fct_attach()
921 emlxs_fct_detach(emlxs_hba_t *hba) in emlxs_fct_detach()
957 emlxs_hba_t *hba = HBA; in emlxs_fct_unbind_port()
[all …]
H A Demlxs_ip.c34 emlxs_ip_handle_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_ip_handle_event()
181 emlxs_hba_t *hba = HBA; in emlxs_ip_handle_unsol_req()
301 emlxs_ip_handle_rcv_seq_list(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_ip_handle_rcv_seq_list()
379 emlxs_handle_create_xri(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_handle_create_xri()
458 emlxs_hba_t *hba = HBA; in emlxs_create_xri()
H A Demlxs_els.c85 emlxs_els_handle_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_els_handle_event()
379 emlxs_hba_t *hba = HBA; in emlxs_els_handle_unsol_req()
523 emlxs_hba_t *hba = HBA; in emlxs_els_delay_discovery()
560 emlxs_hba_t *hba = HBA; in emlxs_handle_sol_flogi()
756 emlxs_hba_t *hba = HBA; in emlxs_handle_sol_fdisc()
826 emlxs_hba_t *hba = HBA; in emlxs_handle_sol_plogi()
909 emlxs_hba_t *hba = HBA; in emlxs_handle_sol_adisc()
952 emlxs_hba_t *hba = HBA; in emlxs_handle_sol_prli()
1042 emlxs_hba_t *hba = HBA; in emlxs_handle_sol_logo()
1167 emlxs_hba_t *hba = HBA; in emlxs_process_unsol_flogi()
[all …]
H A Demlxs_node.c42 emlxs_hba_t *hba = HBA; in emlxs_node_close()
179 emlxs_hba_t *hba = HBA; in emlxs_node_timeout()
227 emlxs_hba_t *hba = HBA; in emlxs_node_open()
477 emlxs_hba_t *hba = HBA; in emlxs_node_find_did()
711 emlxs_hba_t *hba = HBA; in emlxs_node_destroy_all()
780 emlxs_hba_t *hba = HBA; in emlxs_node_create()
970 emlxs_hba_t *hba = HBA; in emlxs_node_rm()
1032 emlxs_hba_t *hba = HBA; in emlxs_node_throttle_set()
H A Demlxs_dhchap.c59 static void emlxs_auth_cfg_init(emlxs_hba_t *hba);
60 static void emlxs_auth_cfg_fini(emlxs_hba_t *hba);
61 static void emlxs_auth_cfg_read(emlxs_hba_t *hba);
62 static uint32_t emlxs_auth_cfg_parse(emlxs_hba_t *hba,
64 static emlxs_auth_cfg_t *emlxs_auth_cfg_get(emlxs_hba_t *hba,
66 static emlxs_auth_cfg_t *emlxs_auth_cfg_create(emlxs_hba_t *hba,
68 static void emlxs_auth_cfg_destroy(emlxs_hba_t *hba,
70 static void emlxs_auth_cfg_print(emlxs_hba_t *hba,
73 static void emlxs_auth_key_init(emlxs_hba_t *hba);
74 static void emlxs_auth_key_fini(emlxs_hba_t *hba);
[all …]
H A Demlxs_diag.c136 emlxs_hba_t *hba = HBA; in emlxs_diag_echo_run()
295 emlxs_diag_biu_run(emlxs_hba_t *hba, uint32_t pattern) in emlxs_diag_biu_run()
431 emlxs_diag_post_run(emlxs_hba_t *hba) in emlxs_diag_post_run()
H A Demlxs_pkt.c45 emlxs_pkt_thread(emlxs_hba_t *hba, void *arg1, void *arg2) in emlxs_pkt_thread()
82 emlxs_hba_t *hba = HBA; in emlxs_pkt_send()
151 emlxs_hba_t *hba = HBA; in emlxs_pkt_alloc()