Home
last modified time | relevance | path

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

/titanic_44/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.h2116 } emlxs_hba_t; typedef
/titanic_44/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.c211 emlxs_mb_resetport(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mb_resetport()
242 emlxs_mb_request_features(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t mask) in emlxs_mb_request_features()
266 emlxs_mb_noop(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mb_noop()
302 emlxs_mbext_noop(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mbext_noop()
342 emlxs_mb_eq_create(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t num) in emlxs_mb_eq_create()
390 emlxs_mb_cq_create(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t num) in emlxs_mb_cq_create()
489 emlxs_mb_get_port_name(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mb_get_port_name()
530 emlxs_mb_get_sli4_params(emlxs_hba_t *hba, MAILBOXQ *mbq) in emlxs_mb_get_sli4_params()
560 emlxs_mb_get_extents_info(emlxs_hba_t *hba, MAILBOXQ *mbq, uint16_t type) in emlxs_mb_get_extents_info()
599 emlxs_mb_get_extents(emlxs_hba_t *hba, MAILBOXQ *mbq, uint16_t type) in emlxs_mb_get_extents()
[all …]
H A Demlxs_dfc.c32 static int32_t emlxs_dfc_get_rev(emlxs_hba_t *hba, dfc_t *dfc,
34 static int32_t emlxs_dfc_get_hbainfo(emlxs_hba_t *hba, dfc_t *dfc,
36 static int32_t emlxs_dfc_get_hbastats(emlxs_hba_t *hba, dfc_t *dfc,
38 static int32_t emlxs_dfc_get_drvstats(emlxs_hba_t *hba, dfc_t *dfc,
40 static int32_t emlxs_dfc_set_diag(emlxs_hba_t *hba, dfc_t *dfc,
42 static int32_t emlxs_dfc_send_mbox(emlxs_hba_t *hba, dfc_t *dfc,
44 static int32_t emlxs_dfc_read_pci(emlxs_hba_t *hba, dfc_t *dfc,
46 static int32_t emlxs_dfc_write_pci(emlxs_hba_t *hba, dfc_t *dfc,
48 static int32_t emlxs_dfc_get_cfg(emlxs_hba_t *hba, dfc_t *dfc,
50 static int32_t emlxs_dfc_set_cfg(emlxs_hba_t *hba, dfc_t *dfc,
[all …]
H A Demlxs_dump.c40 emlxs_hba_t *hba, in emlxs_menlo_set_mode()
103 emlxs_hba_t *hba, in emlxs_menlo_reset()
165 emlxs_hba_t *hba, in emlxs_menlo_get_cfg()
223 emlxs_hba_t *hba, in emlxs_menlo_get_logcfg()
278 emlxs_hba_t *hba, in emlxs_menlo_get_log()
334 emlxs_hba_t *hba, in emlxs_menlo_get_paniclog()
490 emlxs_hba_t *hba, in emlxs_fopen()
595 emlxs_hba_t *hba, in emlxs_get_dump()
715 emlxs_hba_t *hba, in emlxs_read_cfg_region()
1369 emlxs_hba_t *hba, in emlxs_dump_parm_table()
[all …]
H A Demlxs_event.c36 static void emlxs_event_destroy(emlxs_hba_t *hba, emlxs_event_entry_t *entry);
45 emlxs_hba_t *hba = HBA; in emlxs_event_check()
64 emlxs_event_queue_create(emlxs_hba_t *hba) in emlxs_event_queue_create()
96 emlxs_event_queue_destroy(emlxs_hba_t *hba) in emlxs_event_queue_destroy()
151 emlxs_event_destroy(emlxs_hba_t *hba, emlxs_event_entry_t *entry) in emlxs_event_destroy()
214 emlxs_hba_t *hba = HBA; in emlxs_event()
307 emlxs_timer_check_events(emlxs_hba_t *hba) in emlxs_timer_check_events()
437 emlxs_hba_t *hba = HBA; in emlxs_flush_ct_event()
516 emlxs_hba_t *hba = HBA; in emlxs_ct_event_destroy()
536 emlxs_hba_t *hba = HBA; in emlxs_log_link_event()
[all …]
H A Demlxs_sli4.c33 static int emlxs_sli4_init_extents(emlxs_hba_t *hba,
35 static uint32_t emlxs_sli4_read_status(emlxs_hba_t *hba);
37 static int emlxs_init_bootstrap_mb(emlxs_hba_t *hba);
39 static uint32_t emlxs_sli4_read_sema(emlxs_hba_t *hba);
41 static uint32_t emlxs_sli4_read_mbdb(emlxs_hba_t *hba);
43 static void emlxs_sli4_write_mbdb(emlxs_hba_t *hba, uint32_t value);
45 static void emlxs_sli4_write_wqdb(emlxs_hba_t *hba, uint32_t value);
47 static void emlxs_sli4_write_mqdb(emlxs_hba_t *hba, uint32_t value);
49 static void emlxs_sli4_write_rqdb(emlxs_hba_t *hba, uint32_t value);
51 static void emlxs_sli4_write_cqdb(emlxs_hba_t *hba, uint32_t value);
[all …]
H A Demlxs_hba.c36 static void emlxs_handle_async_event(emlxs_hba_t *hba, CHANNEL *cp,
39 static void emlxs_pci_cap_offsets(emlxs_hba_t *hba);
128 emlxs_msi_init(emlxs_hba_t *hba, uint32_t max) in emlxs_msi_init()
495 emlxs_msi_uninit(emlxs_hba_t *hba) in emlxs_msi_uninit()
587 emlxs_msi_add(emlxs_hba_t *hba) in emlxs_msi_add()
692 emlxs_msi_remove(emlxs_hba_t *hba) in emlxs_msi_remove()
777 emlxs_intx_init(emlxs_hba_t *hba, uint32_t max) in emlxs_intx_init()
845 emlxs_intx_uninit(emlxs_hba_t *hba) in emlxs_intx_uninit()
883 emlxs_intx_add(emlxs_hba_t *hba) in emlxs_intx_add()
925 emlxs_intx_remove(emlxs_hba_t *hba) in emlxs_intx_remove()
[all …]
H A Demlxs_mem.c34 static uint32_t emlxs_mem_pool_alloc(emlxs_hba_t *hba, MEMSEG *seg,
36 static void emlxs_mem_pool_free(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count);
40 emlxs_mem_alloc_buffer(emlxs_hba_t *hba) in emlxs_mem_alloc_buffer()
253 emlxs_mem_free_buffer(emlxs_hba_t *hba) in emlxs_mem_free_buffer()
374 emlxs_mem_pool_alloc(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count) in emlxs_mem_pool_alloc()
540 emlxs_mem_pool_free(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count) in emlxs_mem_pool_free()
671 emlxs_mem_pool_create(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_create()
724 emlxs_mem_pool_destroy(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_destroy()
766 emlxs_mem_pool_clean(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_clean()
856 emlxs_mem_pool_get(emlxs_hba_t *hba, MEMSEG *seg) in emlxs_mem_pool_get()
[all …]
H A Demlxs_sli3.c32 static void emlxs_sli3_issue_iocb(emlxs_hba_t *hba, RING *rp, IOCBQ *iocbq);
33 static void emlxs_sli3_handle_link_event(emlxs_hba_t *hba);
34 static void emlxs_sli3_handle_ring_event(emlxs_hba_t *hba, int32_t ring_no,
44 static int emlxs_sli3_map_hdw(emlxs_hba_t *hba);
46 static void emlxs_sli3_unmap_hdw(emlxs_hba_t *hba);
48 static int32_t emlxs_sli3_online(emlxs_hba_t *hba);
50 static void emlxs_sli3_offline(emlxs_hba_t *hba,
53 static uint32_t emlxs_sli3_hba_reset(emlxs_hba_t *hba,
57 static void emlxs_sli3_hba_kill(emlxs_hba_t *hba);
58 static void emlxs_sli3_hba_kill4quiesce(emlxs_hba_t *hba);
[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_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_solaris.c46 static void emlxs_fca_attach(emlxs_hba_t *hba);
47 static void emlxs_fca_detach(emlxs_hba_t *hba);
48 static void emlxs_drv_banner(emlxs_hba_t *hba);
50 static int32_t emlxs_get_props(emlxs_hba_t *hba);
67 static uint32_t emlxs_integrity_check(emlxs_hba_t *hba);
68 static uint32_t emlxs_test(emlxs_hba_t *hba, uint32_t test_code,
72 static void emlxs_read_vport_prop(emlxs_hba_t *hba);
75 static void emlxs_mode_init_masks(emlxs_hba_t *hba);
79 emlxs_msiid_to_chan(emlxs_hba_t *hba, int msi_id);
81 emlxs_select_msiid(emlxs_hba_t *hba);
[all …]
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.c51 emlxs_handle_fcp_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) in emlxs_handle_fcp_event()
723 emlxs_post_buffer(emlxs_hba_t *hba, RING *rp, int16_t cnt) in emlxs_post_buffer()
899 emlxs_hba_t *hba = HBA; in emlxs_port_offline()
1471 emlxs_hba_t *hba = vport->hba; in emlxs_port_online()
1632 emlxs_linkdown(emlxs_hba_t *hba) in emlxs_linkdown()
1675 emlxs_linkup(emlxs_hba_t *hba) in emlxs_linkup()
1731 emlxs_reset_link(emlxs_hba_t *hba, uint32_t linkup, uint32_t wait) in emlxs_reset_link()
1846 emlxs_online(emlxs_hba_t *hba) in emlxs_online()
1923 emlxs_offline(emlxs_hba_t *hba, uint32_t reset_requested) in emlxs_offline()
2034 emlxs_power_down(emlxs_hba_t *hba) in emlxs_power_down()
[all …]
H A Demlxs_fct.c35 static void emlxs_fct_memseg_init(emlxs_hba_t *hba);
83 static int emlxs_fct_dbuf_dma_sync(emlxs_hba_t *hba, stmf_data_buf_t *dbuf,
88 static void emlxs_fct_unsol_flush_thread(emlxs_hba_t *hba, void *arg1,
621 emlxs_hba_t *hba = HBA;
743 emlxs_fct_unsol_flush_thread(emlxs_hba_t *hba, void *arg1, void *arg2)
757 emlxs_hba_t *hba = HBA;
869 emlxs_fct_init(emlxs_hba_t *hba)
887 emlxs_fct_attach(emlxs_hba_t *hba)
918 emlxs_fct_detach(emlxs_hba_t *hba)
954 emlxs_hba_t *hba = HBA;
[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_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_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_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()