Searched refs:hba (Results 1 - 25 of 94) sorted by relevance

1234

/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) argument
83 emlxs_hba_t *hba local
148 emlxs_timer_checks(emlxs_hba_t *hba) argument
232 emlxs_timer_start(emlxs_hba_t *hba) argument
251 emlxs_timer_stop(emlxs_hba_t *hba) argument
273 emlxs_timer_check_pkts(emlxs_hba_t *hba, uint8_t *flag) argument
607 emlxs_timer_check_channels(emlxs_hba_t *hba, uint8_t *flag) argument
668 emlxs_hba_t *hba = HBA; local
751 emlxs_timer_check_loopback(emlxs_hba_t *hba) argument
789 emlxs_timer_check_linkup(emlxs_hba_t *hba) argument
827 emlxs_timer_check_heartbeat(emlxs_hba_t *hba) argument
882 emlxs_timer_check_fw_update(emlxs_hba_t *hba) argument
926 emlxs_hba_t *hba = HBA; local
1024 emlxs_hba_t *hba = HBA; local
1060 emlxs_hba_t *hba = HBA; local
1082 emlxs_hba_t *hba = HBA; local
1156 emlxs_hba_t *hba = HBA; local
1269 emlxs_timer_check_pools(emlxs_hba_t *hba) argument
1324 emlxs_tx_watchdog(emlxs_hba_t *hba) argument
1442 emlxs_hba_t *hba = HBA; local
[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);
188 emlxs_sli3_online(emlxs_hba_t *hba) argument
1665 emlxs_sli3_offline(emlxs_hba_t *hba, uint32_t reset_requested) argument
1679 emlxs_sli3_map_hdw(emlxs_hba_t *hba) argument
1853 emlxs_sli3_unmap_hdw(emlxs_hba_t *hba) argument
1907 emlxs_sli3_hba_init(emlxs_hba_t *hba) argument
2027 emlxs_sli3_hba_reset(emlxs_hba_t *hba, uint32_t restart, uint32_t skip_post, uint32_t quiesce) argument
2343 emlxs_hba_t *hba = HBA; local
2642 emlxs_hba_t *hba = HBA; local
2780 emlxs_sli3_issue_iocb_cmd(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) argument
3148 emlxs_sli3_issue_mbox_cmd(emlxs_hba_t *hba, MAILBOXQ *mbq, int32_t flag, uint32_t tmo) argument
3576 emlxs_hba_t *hba = HBA; local
3772 emlxs_hba_t *hba = HBA; local
3867 emlxs_hba_t *hba = HBA; local
3972 emlxs_hba_t *hba = HBA; local
4070 emlxs_hba_t *hba = HBA; local
4169 emlxs_hba_t *hba = HBA; local
4195 emlxs_hba_t *hba = HBA; local
4209 emlxs_sli3_poll_intr(emlxs_hba_t *hba) argument
4236 emlxs_hba_t *hba = (emlxs_hba_t *)arg1; local
4347 emlxs_hba_t *hba = (emlxs_hba_t *)arg; local
4388 emlxs_get_attention(emlxs_hba_t *hba, int32_t msgid) argument
4485 emlxs_proc_attention(emlxs_hba_t *hba, uint32_t ha_copy) argument
4579 emlxs_handle_ff_error(emlxs_hba_t *hba) argument
4679 emlxs_sli3_handle_link_event(emlxs_hba_t *hba) argument
4731 emlxs_sli3_handle_ring_event(emlxs_hba_t *hba, int32_t ring_no, uint32_t ha_copy) argument
5050 emlxs_handle_rcv_seq(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) argument
5351 emlxs_sli3_issue_iocb(emlxs_hba_t *hba, RING *rp, IOCBQ *iocbq) argument
5440 emlxs_sli3_hba_kill(emlxs_hba_t *hba) argument
5675 emlxs_sli3_hba_kill4quiesce(emlxs_hba_t *hba) argument
5771 emlxs_handle_mb_event(emlxs_hba_t *hba) argument
5996 emlxs_sli3_timer(emlxs_hba_t *hba) argument
6006 emlxs_sli3_timer_check_mbox(emlxs_hba_t *hba) argument
6143 emlxs_mb_config_port(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t sli_mode, uint32_t hbainit) argument
6349 emlxs_hbq_setup(emlxs_hba_t *hba, uint32_t hbq_id) argument
6508 emlxs_hbq_free_all(emlxs_hba_t *hba, uint32_t hbq_id) argument
6575 emlxs_update_HBQ_index(emlxs_hba_t *hba, uint32_t hbq_id) argument
6642 emlxs_sli3_enable_intr(emlxs_hba_t *hba) argument
6677 emlxs_enable_latt(emlxs_hba_t *hba) argument
6696 emlxs_sli3_disable_intr(emlxs_hba_t *hba, uint32_t att) argument
6714 emlxs_check_attention(emlxs_hba_t *hba) argument
6732 emlxs_sli3_poll_erratt(emlxs_hba_t *hba) argument
6748 emlxs_sli3_reg_did_mbcmpl(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
6932 emlxs_hba_t *hba = HBA; local
7018 emlxs_sli3_unreg_node_mbcmpl(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
7057 emlxs_hba_t *hba = HBA; local
[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_
185 emlxs_sli4_set_default_params(emlxs_hba_t *hba) argument
276 emlxs_sli4_online(emlxs_hba_t *hba) argument
1449 emlxs_sli4_offline(emlxs_hba_t *hba, uint32_t reset_requested) argument
1483 emlxs_sli4_map_hdw(emlxs_hba_t *hba) argument
1658 emlxs_sli4_unmap_hdw(emlxs_hba_t *hba) argument
1704 emlxs_check_hdw_ready(emlxs_hba_t *hba) argument
1838 emlxs_sli4_read_status(emlxs_hba_t *hba) argument
1865 emlxs_sli4_read_sema(emlxs_hba_t *hba) argument
1901 emlxs_sli4_read_mbdb(emlxs_hba_t *hba) argument
1938 emlxs_sli4_write_mbdb(emlxs_hba_t *hba, uint32_t value) argument
1956 emlxs_sli4_write_cqdb(emlxs_hba_t *hba, uint32_t value) argument
1974 emlxs_sli4_write_rqdb(emlxs_hba_t *hba, uint32_t value) argument
1992 emlxs_sli4_write_mqdb(emlxs_hba_t *hba, uint32_t value) argument
2010 emlxs_sli4_write_wqdb(emlxs_hba_t *hba, uint32_t value) argument
2028 emlxs_check_bootstrap_ready(emlxs_hba_t *hba, uint32_t tmo) argument
2080 emlxs_issue_bootstrap_mb(emlxs_hba_t *hba, uint32_t tmo) argument
2123 emlxs_init_bootstrap_mb(emlxs_hba_t *hba) argument
2179 emlxs_sli4_hba_init(emlxs_hba_t *hba) argument
2246 emlxs_sli4_hba_reset(emlxs_hba_t *hba, uint32_t restart, uint32_t skip_post, uint32_t quiesce) argument
2417 emlxs_hba_t *hba = HBA; local
2542 emlxs_hba_t *hba = HBA; local
2663 emlxs_hba_t *hba = HBA; local
2832 emlxs_sli4_issue_iocb_cmd(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) argument
3146 emlxs_hba_t *hba = HBA; local
3232 emlxs_sli4_issue_bootstrap(emlxs_hba_t *hba, MAILBOX *mb, uint32_t tmo) argument
3362 emlxs_sli4_issue_mbox_cmd(emlxs_hba_t *hba, MAILBOXQ *mbq, int32_t flag, uint32_t tmo) argument
3760 emlxs_sli4_issue_mbox_cmd4quiesce(emlxs_hba_t *hba, MAILBOXQ *mbq, int32_t flag, uint32_t tmo) argument
3845 emlxs_hba_t *hba = HBA; local
4172 emlxs_hba_t *hba = HBA; local
4328 emlxs_hba_t *hba = HBA; local
4673 emlxs_hba_t *hba = HBA; local
4898 emlxs_sli4_read_eq(emlxs_hba_t *hba, EQ_DESC_t *eq) argument
4933 emlxs_sli4_poll_intr(emlxs_hba_t *hba) argument
4962 emlxs_sli4_process_async_event(emlxs_hba_t *hba, CQE_ASYNC_t *cqe) argument
5188 emlxs_sli4_process_mbox_event(emlxs_hba_t *hba, CQE_MBOX_t *cqe) argument
5407 emlxs_CQE_to_IOCB(emlxs_hba_t *hba, CQE_CmplWQ_t *cqe, emlxs_buf_t *sbp) argument
5511 emlxs_sli4_hba_flush_chipq(emlxs_hba_t *hba) argument
5602 emlxs_sli4_process_oor_wqe_cmpl(emlxs_hba_t *hba, CQ_DESC_t *cq, CQE_CmplWQ_t *cqe) argument
5626 emlxs_sli4_process_wqe_cmpl(emlxs_hba_t *hba, CQ_DESC_t *cq, CQE_CmplWQ_t *cqe) argument
5753 emlxs_sli4_process_release_wqe(emlxs_hba_t *hba, CQ_DESC_t *cq, CQE_RelWQ_t *cqe) argument
5795 emlxs_sli4_rxq_get(emlxs_hba_t *hba, fc_frame_hdr_t *fchdr) argument
5855 emlxs_sli4_rxq_put(emlxs_hba_t *hba, emlxs_iocbq_t *iocbq) argument
5899 emlxs_hba_t *hba = HBA; local
5917 emlxs_sli4_process_unsol_rcv(emlxs_hba_t *hba, CQ_DESC_t *cq, CQE_UnsolRcv_t *cqe) argument
6741 emlxs_sli4_process_xri_aborted(emlxs_hba_t *hba, CQ_DESC_t *cq, CQE_XRI_Abort_t *cqe) argument
6783 emlxs_sli4_process_cq(emlxs_hba_t *hba, CQ_DESC_t *cq) argument
6905 emlxs_sli4_process_eq(emlxs_hba_t *hba, EQ_DESC_t *eq) argument
7016 emlxs_hba_t *hba = (emlxs_hba_t *)arg1; local
7062 emlxs_hba_t *hba = (emlxs_hba_t *)arg; local
7087 emlxs_sli4_hba_kill(emlxs_hba_t *hba) argument
7131 emlxs_sli4_hba_reset_all(emlxs_hba_t *hba, uint32_t flag) argument
7161 emlxs_sli4_enable_intr(emlxs_hba_t *hba) argument
7188 emlxs_sli4_disable_intr(emlxs_hba_t *hba, uint32_t att) argument
7201 emlxs_sli4_resource_free(emlxs_hba_t *hba) argument
7279 emlxs_sli4_resource_alloc(emlxs_hba_t *hba) argument
7683 emlxs_sli4_zero_queue_stat(emlxs_hba_t *hba) argument
7722 emlxs_hba_t *hba = HBA; local
7788 emlxs_hba_t *hba = HBA; local
7878 emlxs_hba_t *hba = HBA; local
7961 emlxs_hba_t *hba = HBA; local
8031 emlxs_hba_t *hba = HBA; local
8057 emlxs_hba_t *hba = HBA; local
8177 emlxs_sli4_post_sgl_pages(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
8286 emlxs_sli4_post_hdr_tmplates(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
8362 emlxs_sli4_create_queues(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
8585 emlxs_sli4_timer(emlxs_hba_t *hba) argument
8599 emlxs_sli4_timer_check_mbox(emlxs_hba_t *hba) argument
8731 emlxs_ue_dump(emlxs_hba_t *hba, char *str) argument
8782 emlxs_sli4_poll_erratt(emlxs_hba_t *hba) argument
8870 emlxs_hba_t *hba = HBA; local
9029 emlxs_sli4_handle_fcoe_link_event(emlxs_hba_t *hba, CQE_ASYNC_t *cqe) argument
9080 emlxs_sli4_handle_fc_link_att(emlxs_hba_t *hba, CQE_ASYNC_t *cqe) argument
9142 emlxs_sli4_init_extents(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
9368 emlxs_sli4_index_to_rpi(emlxs_hba_t *hba, uint32_t index) argument
9384 emlxs_sli4_rpi_to_index(emlxs_hba_t *hba, uint32_t rpi) argument
9407 emlxs_sli4_index_to_xri(emlxs_hba_t *hba, uint32_t index) argument
9425 emlxs_sli4_index_to_vpi(emlxs_hba_t *hba, uint32_t index) argument
9441 emlxs_sli4_vpi_to_index(emlxs_hba_t *hba, uint32_t vpi) argument
9466 emlxs_sli4_index_to_vfi(emlxs_hba_t *hba, uint32_t index) argument
9482 emlxs_sli4_rqid_to_index(emlxs_hba_t *hba, uint16_t rqid) argument
9500 emlxs_sli4_wqid_to_index(emlxs_hba_t *hba, uint16_t wqid) argument
9518 emlxs_sli4_cqid_to_index(emlxs_hba_t *hba, uint16_t cqid) argument
[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) argument
149 if (!(hba->intr_flags & EMLXS_MSI_ENABLED)) {
150 return (emlxs_intx_init(hba, max));
153 if (hba->intr_flags & EMLXS_MSI_INITED) {
168 if (hba->model_info.intr_limit && (max > hba->model_info.intr_limit)) {
169 max = hba->model_info.intr_limit;
174 ret = ddi_intr_get_supported_types(hba
495 emlxs_msi_uninit(emlxs_hba_t *hba) argument
587 emlxs_msi_add(emlxs_hba_t *hba) argument
692 emlxs_msi_remove(emlxs_hba_t *hba) argument
777 emlxs_intx_init(emlxs_hba_t *hba, uint32_t max) argument
845 emlxs_intx_uninit(emlxs_hba_t *hba) argument
883 emlxs_intx_add(emlxs_hba_t *hba) argument
925 emlxs_intx_remove(emlxs_hba_t *hba) argument
946 emlxs_process_link_speed(emlxs_hba_t *hba) argument
1010 emlxs_parse_vpd(emlxs_hba_t *hba, uint8_t *vpd_buf, uint32_t size) argument
1257 emlxs_parse_fcoe(emlxs_hba_t *hba, uint8_t *fcoep, uint32_t size) argument
1330 emlxs_decode_firmware_rev(emlxs_hba_t *hba, emlxs_vpd_t *vpd) argument
1569 emlxs_parse_prog_types(emlxs_hba_t *hba, char *prog_types) argument
1793 emlxs_build_prog_types(emlxs_hba_t *hba, emlxs_vpd_t *vpd) argument
1935 emlxs_init_adapter_info(emlxs_hba_t *hba) argument
2208 emlxs_handle_async_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) argument
2265 emlxs_reset_link_thread(emlxs_hba_t *hba, void *arg1, void *arg2) argument
2279 emlxs_restart_thread(emlxs_hba_t *hba, void *arg1, void *arg2) argument
2299 emlxs_shutdown_thread(emlxs_hba_t *hba, void *arg1, void *arg2) argument
2342 emlxs_proc_channel(emlxs_hba_t *hba, CHANNEL *cp, void *arg2) argument
2382 emlxs_proc_channel_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) argument
2760 emlxs_pcix_mxr_update(emlxs_hba_t *hba, uint32_t verbose) argument
2835 emlxs_get_key(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2883 emlxs_fw_show(emlxs_hba_t *hba) argument
2901 emlxs_fw_load(emlxs_hba_t *hba, emlxs_firmware_t *fw) argument
2950 emlxs_fw_unload(emlxs_hba_t *hba, emlxs_firmware_t *fw) argument
2974 emlxs_pci_cap_offsets(emlxs_hba_t *hba) argument
[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) argument
54 bzero(hba->memseg, sizeof (hba->memseg));
58 buf_info->size = (hba->max_iotag * sizeof (emlxs_buf_t *));
60 (void) emlxs_mem_alloc(hba, buf_info);
68 hba->fc_table = buf_info->virt;
69 bzero(hba->fc_table, buf_info->size);
73 seg = &hba
253 emlxs_mem_free_buffer(emlxs_hba_t *hba) argument
374 emlxs_mem_pool_alloc(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count) argument
540 emlxs_mem_pool_free(emlxs_hba_t *hba, MEMSEG *seg, uint32_t count) argument
671 emlxs_mem_pool_create(emlxs_hba_t *hba, MEMSEG *seg) argument
724 emlxs_mem_pool_destroy(emlxs_hba_t *hba, MEMSEG *seg) argument
766 emlxs_mem_pool_clean(emlxs_hba_t *hba, MEMSEG *seg) argument
856 emlxs_mem_pool_get(emlxs_hba_t *hba, MEMSEG *seg) argument
943 emlxs_mem_pool_put(emlxs_hba_t *hba, MEMSEG *seg, void *bp) argument
1014 emlxs_mem_buf_alloc(emlxs_hba_t *hba, uint32_t size) argument
1075 emlxs_mem_buf_free(emlxs_hba_t *hba, MATCHMAP *mp) argument
1106 emlxs_mem_get(emlxs_hba_t *hba, uint32_t seg_id) argument
1153 emlxs_mem_put(emlxs_hba_t *hba, uint32_t seg_id, void *bp) argument
1235 emlxs_mem_get_vaddr(emlxs_hba_t *hba, RING *rp, uint64_t mapbp) argument
1394 emlxs_mem_map_vaddr(emlxs_hba_t *hba, RING *rp, MATCHMAP *mp, uint32_t *haddr, uint32_t *laddr) argument
1518 emlxs_hbq_alloc(emlxs_hba_t *hba, uint32_t hbq_id) argument
[all...]
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);
1203 emlxs_hba_t *hba; local
1248 emlxs_hba_t *hba; local
1362 emlxs_hba_t *hba = HBA; local
1404 emlxs_disable_pcie_ce_err(emlxs_hba_t *hba) argument
1448 emlxs_hba_t *hba; local
2092 emlxs_hba_t *hba = HBA; local
2157 emlxs_hba_t *hba = HBA; local
2181 emlxs_hba_t *hba = HBA; local
2272 emlxs_hba_t *hba = HBA; local
2415 emlxs_hba_t *hba = HBA; local
2467 emlxs_hba_t *hba = HBA; local
2622 emlxs_hba_t *hba = HBA; local
2806 emlxs_hba_t *hba = HBA; local
3065 emlxs_hba_t *hba = HBA; local
3133 emlxs_hba_t *hba = HBA; local
3343 emlxs_hba_t *hba = HBA; local
3417 emlxs_hba_t *hba = HBA; local
3826 emlxs_abort_all(emlxs_hba_t *hba, uint32_t *tx, uint32_t *chip) argument
3868 emlxs_hba_t *hba = HBA; local
4084 emlxs_hba_t *hba = HBA; local
4149 emlxs_hba_t *hba = HBA; local
5734 emlxs_test(emlxs_hba_t *hba, uint32_t test_code, uint32_t args, uint32_t *arg) argument
5771 emlxs_hba_t *hba; local
5801 emlxs_hba_t *hba; local
5911 emlxs_hba_t *hba; local
5939 emlxs_hba_t *hba; local
5995 emlxs_hba_t *hba; local
6031 emlxs_hba_t *hba; local
6091 emlxs_hba_t *hba; local
6129 emlxs_hba_t *hba; local
6162 emlxs_lock_init(emlxs_hba_t *hba) argument
6258 emlxs_lock_destroy(emlxs_hba_t *hba) argument
6336 emlxs_hba_t *hba = NULL; local
6448 emlxs_fca_init(emlxs_hba_t *hba) argument
6475 emlxs_mode_init(emlxs_hba_t *hba) argument
6632 emlxs_mode_set(emlxs_hba_t *hba) argument
6677 emlxs_mode_init_masks(emlxs_hba_t *hba) argument
6765 emlxs_fca_attach(emlxs_hba_t *hba) argument
6791 emlxs_fca_detach(emlxs_hba_t *hba) argument
6817 emlxs_drv_banner(emlxs_hba_t *hba) argument
6957 emlxs_get_fcode_version(emlxs_hba_t *hba) argument
6985 emlxs_hba_t *hba; local
7445 emlxs_hba_t *hba; local
7527 emlxs_map_bus(emlxs_hba_t *hba) argument
7610 emlxs_unmap_bus(emlxs_hba_t *hba) argument
7628 emlxs_get_props(emlxs_hba_t *hba) argument
7668 emlxs_check_parm(emlxs_hba_t *hba, uint32_t index, uint32_t new_value) argument
7947 emlxs_set_parm(emlxs_hba_t *hba, uint32_t index, uint32_t new_value) argument
8176 emlxs_mem_alloc(emlxs_hba_t *hba, MBUF_INFO *buf_info) argument
8419 emlxs_mem_free(emlxs_hba_t *hba, MBUF_INFO *buf_info) argument
8454 emlxs_select_fcp_channel(emlxs_hba_t *hba, NODELIST *ndlp, int reset) argument
8483 emlxs_hba_t *hba = HBA; local
8554 emlxs_hba_t *hba = HBA; local
8763 emlxs_select_msiid(emlxs_hba_t *hba) argument
8802 emlxs_msiid_to_chan(emlxs_hba_t *hba, int msi_id) argument
8835 emlxs_hba_t *hba = HBA; local
8880 emlxs_hba_t *hba = HBA; local
8925 emlxs_hba_t *hba = HBA; local
9021 emlxs_hba_t *hba = HBA; local
9382 emlxs_hba_t *hba = HBA; local
9846 emlxs_hba_t *hba = HBA; local
9941 emlxs_hba_t *hba = HBA; local
10053 emlxs_hba_t *hba = HBA; local
10184 emlxs_hba_t *hba; local
10400 emlxs_hba_t *hba = (emlxs_hba_t *)arg1; local
10448 emlxs_hba_t *hba = port->hba; local
10549 emlxs_hba_t *hba = HBA; local
11323 emlxs_hba_t *hba; local
11356 emlxs_hba_t *hba; local
11383 emlxs_pm_busy_component(emlxs_hba_t *hba) argument
11430 emlxs_pm_idle_component(emlxs_hba_t *hba) argument
11475 emlxs_pm_idle_timer(emlxs_hba_t *hba) argument
11507 emlxs_read_vport_prop(emlxs_hba_t *hba) argument
11807 emlxs_hba_t *hba = HBA; local
11847 emlxs_hba_t *hba = HBA; local
11901 emlxs_integrity_check(emlxs_hba_t *hba) argument
12033 emlxs_fm_init(emlxs_hba_t *hba) argument
12074 emlxs_fm_fini(emlxs_hba_t *hba) argument
12095 emlxs_fm_check_acc_handle(emlxs_hba_t *hba, ddi_acc_handle_t handle) argument
12122 emlxs_fm_check_dma_handle(emlxs_hba_t *hba, ddi_dma_handle_t handle) argument
12139 emlxs_fm_ereport(emlxs_hba_t *hba, char *detail) argument
12162 emlxs_fm_service_impact(emlxs_hba_t *hba, int impact) argument
12203 emlxs_check_dma(emlxs_hba_t *hba, emlxs_buf_t *sbp) argument
12365 emlxs_hba_t *hba = HBA; local
12391 emlxs_hba_t *hba = HBA; local
[all...]
H A Demlxs_thread.c67 func(taskq->hba, arg);
143 emlxs_taskq_create(emlxs_hba_t *hba, emlxs_taskq_t *taskq) argument
158 DDI_INTR_PRI(hba->intr_arg));
162 taskq->hba = hba;
165 DDI_INTR_PRI(hba->intr_arg));
172 DDI_INTR_PRI(hba->intr_arg));
259 emlxs_hba_t *hba; local
265 hba = ethread->hba;
347 emlxs_thread_create(emlxs_hba_t *hba, emlxs_thread_t *ethread) argument
518 emlxs_thread_spawn(emlxs_hba_t *hba, void (*func) (), void *arg1, void *arg2) argument
572 emlxs_thread_spawn_create(emlxs_hba_t *hba) argument
590 emlxs_thread_spawn_destroy(emlxs_hba_t *hba) argument
[all...]
H A Demlxs_fcp.c32 #define EMLXS_GET_VADDR(hba, rp, icmd) emlxs_mem_get_vaddr(hba, rp, \
51 emlxs_handle_fcp_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) argument
123 if (hba->underrun_counter && (iostat == IOSTAT_SUCCESS) &&
125 hba->underrun_counter--;
163 emlxs_check_dma(hba, sbp);
170 if (hba->flag & FC_DMA_CHECK_ERROR) {
171 emlxs_thread_spawn(hba, emlxs_restart_thread,
479 } else if ((hba->sli_mode == EMLXS_HBA_SLI4_MODE) &&
723 emlxs_post_buffer(emlxs_hba_t *hba, RIN argument
899 emlxs_hba_t *hba = HBA; local
1471 emlxs_hba_t *hba = vport->hba; local
1632 emlxs_linkdown(emlxs_hba_t *hba) argument
1675 emlxs_linkup(emlxs_hba_t *hba) argument
1731 emlxs_reset_link(emlxs_hba_t *hba, uint32_t linkup, uint32_t wait) argument
1846 emlxs_online(emlxs_hba_t *hba) argument
1923 emlxs_offline(emlxs_hba_t *hba, uint32_t reset_requested) argument
2034 emlxs_power_down(emlxs_hba_t *hba) argument
2062 emlxs_power_up(emlxs_hba_t *hba) argument
2112 emlxs_ffcleanup(emlxs_hba_t *hba) argument
2140 emlxs_hba_t *hba; local
2194 emlxs_hba_t *hba; local
2248 emlxs_tx_channel_flush(emlxs_hba_t *hba, CHANNEL *cp, emlxs_buf_t *fpkt) argument
2465 emlxs_hba_t *hba = HBA; local
2716 emlxs_hba_t *hba = HBA; local
2758 emlxs_hba_t *hba = HBA; local
3019 emlxs_hba_t *hba; local
3187 emlxs_hba_t *hba; local
3352 emlxs_hba_t *hba; local
3674 emlxs_hba_t *hba = HBA; local
3744 emlxs_iotag_flush(emlxs_hba_t *hba) argument
3892 emlxs_hba_t *hba = HBA; local
3937 emlxs_hba_t *hba = HBA; local
4006 emlxs_hba_t *hba = HBA; local
4071 emlxs_hba_t *hba = HBA; local
4126 emlxs_hba_t *hba = HBA; local
4190 emlxs_hba_t *hba = HBA; local
4239 emlxs_close_els_exchange(emlxs_hba_t *hba, emlxs_port_t *port, uint32_t rxid) argument
4280 emlxs_abort_els_exchange(emlxs_hba_t *hba, emlxs_port_t *port, uint32_t rxid) argument
4330 emlxs_abort_ct_exchange(emlxs_hba_t *hba, emlxs_port_t *port, uint32_t rxid) argument
4383 emlxs_hba_t *hba = HBA; local
[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_
159 emlxs_fw_download(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, uint32_t offline) argument
383 emlxs_be_flash_image(emlxs_hba_t *hba, caddr_t buffer, emlxs_be_fw_file_t *file, MAILBOXQ *mbq, MATCHMAP *mp) argument
498 emlxs_be_verify_crc(emlxs_hba_t *hba, emlxs_be_fw_file_t *file, MAILBOXQ *mbq, MATCHMAP *mp) argument
594 emlxs_be_verify_phy(emlxs_hba_t *hba, emlxs_be_fw_file_t *file, MAILBOXQ *mbq, MATCHMAP *mp) argument
668 emlxs_be_read_fw_version(emlxs_hba_t *hba, emlxs_firmware_t *fw) argument
851 emlxs_be2_validate_image(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, emlxs_be_fw_image_t *fw_image) argument
1224 emlxs_be3_validate_image(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, emlxs_be_fw_image_t *fw_image) argument
1591 emlxs_be_fw_download(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, uint32_t offline) argument
1772 emlxs_obj_flash_image(emlxs_hba_t *hba, caddr_t buffer, uint32_t size, MAILBOXQ *mbq, MATCHMAP *mp, uint32_t *change_status) argument
1923 emlxs_obj_validate_image(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, emlxs_obj_header_t *obj_hdr_in) argument
2010 emlxs_obj_fw_download(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, uint32_t offline) argument
2129 emlxs_cfl_download(emlxs_hba_t *hba, uint32_t region, caddr_t buffer, uint32_t len) argument
2324 emlxs_disp_aif_header(emlxs_hba_t *hba, PAIF_HDR AifHdr) argument
2371 emlxs_dump_image_header(emlxs_hba_t *hba, PIMAGE_HDR image) argument
2411 emlxs_format_dump(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t Type, uint32_t RegionId, uint32_t WordCount, uint32_t BaseAddr) argument
2461 emlxs_start_abs_download(emlxs_hba_t *hba, PAIF_HDR AifHdr, caddr_t Buffer, uint32_t len, PWAKE_UP_PARMS WakeUpParms) argument
2675 emlxs_format_update_pci_cfg(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t region_id, uint32_t size) argument
2697 emlxs_update_boot_wakeup_parms(emlxs_hba_t *hba, PWAKE_UP_PARMS WakeUpParms, PROG_ID * prog_id, uint32_t proc_erom) argument
2747 emlxs_update_ff_wakeup_parms(emlxs_hba_t *hba, PWAKE_UP_PARMS WakeUpParms, PROG_ID *prog_id) argument
2793 emlxs_update_sli1_wakeup_parms(emlxs_hba_t *hba, PWAKE_UP_PARMS WakeUpParms, PROG_ID * prog_id) argument
2839 emlxs_update_sli2_wakeup_parms(emlxs_hba_t *hba, PWAKE_UP_PARMS WakeUpParms, PROG_ID * prog_id) argument
2885 emlxs_update_sli3_wakeup_parms(emlxs_hba_t *hba, PWAKE_UP_PARMS WakeUpParms, PROG_ID *prog_id) argument
2931 emlxs_update_sli4_wakeup_parms(emlxs_hba_t *hba, PWAKE_UP_PARMS WakeUpParms, PROG_ID *prog_id) argument
2977 emlxs_clean_flash(emlxs_hba_t *hba, PWAKE_UP_PARMS OldWakeUpParms, PWAKE_UP_PARMS NewWakeUpParms) argument
3149 emlxs_start_rel_download(emlxs_hba_t *hba, PIMAGE_HDR ImageHdr, caddr_t Buffer, PWAKE_UP_PARMS WakeUpParms, uint32_t dwc_flag) argument
3358 emlxs_proc_rel_2mb(emlxs_hba_t *hba, caddr_t buffer, emlxs_fw_image_t *fw_image) argument
3440 emlxs_write_fcode_flash(emlxs_hba_t *hba, PIMAGE_HDR ImageHdr, caddr_t Buffer) argument
3585 emlxs_erase_fcode_flash(emlxs_hba_t *hba) argument
3697 emlxs_delete_load_entry(emlxs_hba_t *hba, PROG_ID *progId) argument
3737 emlxs_get_load_list(emlxs_hba_t *hba, PROG_ID *load_list) argument
3783 emlxs_read_wakeup_parms(emlxs_hba_t *hba, PWAKE_UP_PARMS WakeUpParms, uint32_t verbose) argument
3909 emlxs_read_load_list(emlxs_hba_t *hba, LOAD_LIST *LoadList) argument
4017 emlxs_get_boot_config(emlxs_hba_t *hba, uint8_t *boot_state) argument
4074 emlxs_set_boot_config(emlxs_hba_t *hba, uint8_t boot_state) argument
4202 emlxs_update_wakeup_parms(emlxs_hba_t *hba, PWAKE_UP_PARMS AbsWakeUpParms, PWAKE_UP_PARMS WakeUpParms) argument
4247 emlxs_validate_version(emlxs_hba_t *hba, emlxs_fw_file_t *file, uint32_t id, uint32_t type, char *file_type) argument
4406 emlxs_verify_image(emlxs_hba_t *hba, emlxs_fw_image_t *fw_image) argument
4564 emlxs_validate_image(emlxs_hba_t *hba, caddr_t Buffer, uint32_t Size, emlxs_fw_image_t *image) argument
4927 emlxs_update_exp_rom(emlxs_hba_t *hba, PWAKE_UP_PARMS WakeUpParms) argument
5065 emlxs_start_abs_download_2mb(emlxs_hba_t *hba, caddr_t buffer, uint32_t len, uint32_t offline, emlxs_fw_image_t *fw_image) argument
5148 emlxs_proc_abs_2mb(emlxs_hba_t *hba, caddr_t EntireBuffer, uint32_t FileType, uint32_t extType) argument
5400 emlxs_build_parms_2mb_bwc(emlxs_hba_t *hba, PAIF_HDR AifHdr, uint32_t extType, PWAKE_UP_PARMS AbsWakeUpParms) argument
5462 emlxs_get_max_sram(emlxs_hba_t *hba, uint32_t *MaxRbusSize, uint32_t *MaxIbusSize) argument
5543 emlxs_kern_check(emlxs_hba_t *hba, uint32_t version) argument
5562 emlxs_stub_check(emlxs_hba_t *hba, uint32_t version) argument
5581 emlxs_bios_check(emlxs_hba_t *hba, uint32_t version) argument
5600 emlxs_sli1_check(emlxs_hba_t *hba, uint32_t version) argument
5619 emlxs_sli2_check(emlxs_hba_t *hba, uint32_t version) argument
5638 emlxs_sli3_check(emlxs_hba_t *hba, uint32_t version) argument
5658 emlxs_sli4_check(emlxs_hba_t *hba, uint32_t version) argument
5678 emlxs_sbus_fcode_check(emlxs_hba_t *hba, uint32_t version) argument
5714 emlxs_boot_code_disable(emlxs_hba_t *hba) argument
5806 emlxs_boot_code_enable(emlxs_hba_t *hba) argument
5924 emlxs_boot_code_state(emlxs_hba_t *hba) argument
[all...]
H A Demlxs_mbox.c211 emlxs_mb_resetport(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
242 emlxs_mb_request_features(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t mask) argument
246 hba->flag &= ~FC_NPIV_ENABLED;
247 hba->sli.sli4.flag &= ~(EMLXS_SLI4_PHON | EMLXS_SLI4_PHWQ);
266 emlxs_mb_noop(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
302 emlxs_mbext_noop(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
311 if ((mp = (MATCHMAP *)emlxs_mem_get(hba, MEM_BUF)) == 0) {
342 emlxs_mb_eq_create(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t num) argument
377 addr = hba->sli.sli4.eq[num].addr.phys;
390 emlxs_mb_cq_create(emlxs_hba_t *hba, MAILBOX argument
489 emlxs_mb_get_port_name(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
530 emlxs_mb_get_sli4_params(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
560 emlxs_mb_get_extents_info(emlxs_hba_t *hba, MAILBOXQ *mbq, uint16_t type) argument
599 emlxs_mb_get_extents(emlxs_hba_t *hba, MAILBOXQ *mbq, uint16_t type) argument
638 emlxs_mb_alloc_extents(emlxs_hba_t *hba, MAILBOXQ *mbq, uint16_t type, uint16_t count) argument
681 emlxs_mb_dealloc_extents(emlxs_hba_t *hba, MAILBOXQ *mbq, uint16_t type) argument
720 emlxs_mb_wq_create(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t num) argument
808 emlxs_mb_rq_create(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t num) argument
896 emlxs_mb_mq_create(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
942 emlxs_mb_mq_create_ext(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1029 emlxs_mb_async_event(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1048 emlxs_mb_heartbeat(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1068 emlxs_mb_config_msi(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t *intr_map, uint32_t intr_count) argument
1149 emlxs_mb_config_msix(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t *intr_map, uint32_t intr_count) argument
1233 emlxs_mb_reset_ring(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t ringno) argument
1252 emlxs_mb_dump_vpd(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t offset) argument
1306 emlxs_mb_dump_fcoe(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t offset) argument
1342 emlxs_mb_dump(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t offset, uint32_t words) argument
1398 emlxs_mb_read_nv(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1417 emlxs_mb_read_rev(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t v3) argument
1447 emlxs_mb_run_biu_diag(emlxs_hba_t *hba, MAILBOXQ *mbq, uint64_t out, uint64_t in) argument
1471 emlxs_mb_retry(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1512 emlxs_read_la_mbcmpl(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1751 emlxs_mb_read_la(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1784 emlxs_clear_la_mbcmpl(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1892 emlxs_mb_clear_la(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1918 emlxs_mb_read_status(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1937 emlxs_mb_read_lnk_stat(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
1959 emlxs_mb_config_ring(emlxs_hba_t *hba, int32_t ring, MAILBOXQ *mbq) argument
2007 emlxs_mb_config_link(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2048 emlxs_init_link_mbcmpl(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2088 emlxs_mb_init_link(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t topology, uint32_t linkspeed) argument
2209 emlxs_mb_down_link(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2226 emlxs_read_sparam_mbcmpl(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2314 emlxs_mb_read_sparam(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2350 emlxs_mb_read_rpi(emlxs_hba_t *hba, uint32_t rpi, MAILBOXQ *mbq, uint32_t flag) argument
2376 emlxs_mb_read_xri(emlxs_hba_t *hba, uint32_t xri, MAILBOXQ *mbq, uint32_t flag) argument
2399 emlxs_mb_check_sparm(emlxs_hba_t *hba, SERV_PARM *nsp) argument
2459 emlxs_mb_set_var(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t addr, uint32_t value) argument
2492 emlxs_disable_tc(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2510 emlxs_mb_config_hbq(emlxs_hba_t *hba, MAILBOXQ *mbq, int hbq_id) argument
2566 emlxs_reg_vpi_mbcmpl(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2602 emlxs_hba_t *hba = HBA; local
2693 emlxs_unreg_vpi_mbcmpl(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2723 emlxs_hba_t *hba = HBA; local
2790 emlxs_mb_config_farp(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2818 emlxs_mb_read_config(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2854 emlxs_mb_put(emlxs_hba_t *hba, MAILBOXQ *mbq) argument
2899 emlxs_mb_get(emlxs_hba_t *hba) argument
2928 emlxs_mb_init(emlxs_hba_t *hba, MAILBOXQ *mbq, uint32_t flag, uint32_t tmo) argument
2967 emlxs_mb_fini(emlxs_hba_t *hba, MAILBOX *mb, uint32_t mbxStatus) argument
3080 emlxs_hba_t *hba = HBA; local
3147 emlxs_mb_flush(emlxs_hba_t *hba) argument
[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_
362 emlxs_dfc_func(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
414 emlxs_dfc_copyin(emlxs_hba_t *hba, void *arg, dfc_t *dfc1, dfc_t *dfc2, int32_t mode) argument
553 emlxs_dfc_copyout(emlxs_hba_t *hba, void *arg, dfc_t *dfc2, dfc_t *dfc1, int32_t mode) argument
667 emlxs_dfc_manage(emlxs_hba_t *hba, void *arg, int32_t mode) argument
802 emlxs_fcio_manage(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
910 emlxs_hba_t *hba = HBA; local
1232 emlxs_hba_t *hba = HBA; local
1350 emlxs_hba_t *hba = HBA; local
1755 emlxs_hba_t *hba = HBA; local
2013 emlxs_hba_t *hba = HBA; local
2107 emlxs_hba_t *hba = HBA; local
2139 emlxs_hba_t *hba = HBA; local
2426 emlxs_hba_t *hba = HBA; local
2912 emlxs_dfc_create_vport(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
3113 emlxs_dfc_destroy_vport(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
3225 emlxs_dfc_get_vportinfo(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
3316 emlxs_vport_find_wwpn(emlxs_hba_t *hba, uint8_t *wwpn) argument
3354 emlxs_dfc_npiv_resource(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
3452 emlxs_dfc_npiv_test(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
3722 emlxs_dfc_get_rev(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
3752 emlxs_dfc_get_hbainfo(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
4056 emlxs_dfc_get_hbastats(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
4218 emlxs_dfc_get_drvstats(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
4356 emlxs_set_hba_mode(emlxs_hba_t *hba, uint32_t mode) argument
4570 emlxs_dfc_set_diag(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
4602 emlxs_dfc_send_mbox(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
5231 emlxs_dfc_read_pci(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
5328 emlxs_dfc_write_pci(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
5432 emlxs_dfc_get_cfg(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
5524 emlxs_dfc_set_cfg(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
5557 emlxs_dfc_send_ct(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
5761 emlxs_dfc_send_ct_rsp(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
5859 emlxs_dfc_send_menlo(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
5940 emlxs_send_menlo_cmd(emlxs_hba_t *hba, uint8_t *cmd_buf, uint32_t cmd_size, uint8_t *rsp_buf, uint32_t *rsp_size) argument
6347 emlxs_fcoe_attention_thread(emlxs_hba_t *hba, void *arg1, void *arg2) argument
6482 emlxs_dfc_write_flash(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
6567 emlxs_dfc_read_flash(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
6644 emlxs_dfc_send_els(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
6839 emlxs_dfc_get_ioinfo(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
6909 emlxs_dfc_get_linkinfo(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
6993 emlxs_dfc_get_fctstat(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
7080 emlxs_dfc_get_nodeinfo(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
7178 emlxs_dfc_read_mem(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
7260 emlxs_dfc_write_mem(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
7342 emlxs_dfc_write_ctlreg(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
7400 emlxs_dfc_read_ctlreg(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
7466 emlxs_dfc_set_event(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
7618 emlxs_dfc_get_eventinfo(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
7716 emlxs_dfc_get_event(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
7810 emlxs_get_dump_region(emlxs_hba_t *hba, uint32_t region, uint8_t *buffer, uint32_t *psize) argument
8087 emlxs_dfc_get_dump_region(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
8156 emlxs_dfc_menlo_port_offset(emlxs_hba_t *hba) argument
8170 emlxs_dfc_set_menlo_loopback(emlxs_hba_t *hba) argument
8357 emlxs_dfc_set_menlo_fte(emlxs_hba_t *hba) argument
8446 emlxs_dfc_reset_menlo(emlxs_hba_t *hba) argument
8491 emlxs_dfc_loopback_mode(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
8821 emlxs_dfc_loopback_test(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9039 emlxs_dfc_reset_port(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9078 emlxs_dfc_handle_event(emlxs_hba_t *hba, CHANNEL *cp, IOCBQ *iocbq) argument
9164 emlxs_hba_t *hba = HBA; local
9212 emlxs_dfc_init_auth(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9262 emlxs_dfc_get_auth_cfg(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9297 emlxs_dfc_set_auth_cfg(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9359 emlxs_dfc_get_auth_pwd(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9394 emlxs_dfc_set_auth_pwd(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9428 emlxs_dfc_get_auth_status(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9463 emlxs_dfc_get_auth_cfg_table(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9520 emlxs_dfc_get_auth_key_table(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9581 emlxs_dfc_sd_set_bucket(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9612 emlxs_dfc_sd_destroy_bucket(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9639 emlxs_dfc_sd_get_bucket(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9665 emlxs_dfc_sd_start_collection(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9727 emlxs_dfc_sd_stop_collection(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9790 emlxs_dfc_sd_reset_collection(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9840 emlxs_dfc_sd_get_data(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
9941 emlxs_dfc_sd_set_event(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
10046 emlxs_dfc_sd_get_event(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
10120 emlxs_dfc_send_scsi_fcp(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
10300 emlxs_dfc_get_persist_linkdown(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
10331 emlxs_dfc_set_persist_linkdown(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
10357 emlxs_dfc_get_fcflist(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
10453 emlxs_dfc_send_mbox4(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
10827 emlxs_dfc_rd_be_fcf(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
10918 emlxs_dfc_set_be_dcbx(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
10974 emlxs_dfc_get_be_dcbx(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
11033 emlxs_dfc_get_qos(emlxs_hba_t *hba, dfc_t *dfc, int32_t mode) argument
[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; local
48 if ((hba->event_mask & evt->mask)) {
64 emlxs_event_queue_create(emlxs_hba_t *hba) argument
74 if (!(hba->intr_flags & EMLXS_MSI_ENABLED)) {
76 (void) ddi_get_iblock_cookie(hba->dip, (uint_t)EMLXS_INUMBER,
86 DDI_INTR_PRI(hba->intr_arg));
96 emlxs_event_queue_destroy(emlxs_hba_t *hba) argument
107 if (hba->event_mask) {
108 hba
151 emlxs_event_destroy(emlxs_hba_t *hba, emlxs_event_entry_t *entry) argument
214 emlxs_hba_t *hba = HBA; local
307 emlxs_timer_check_events(emlxs_hba_t *hba) argument
437 emlxs_hba_t *hba = HBA; local
516 emlxs_hba_t *hba = HBA; local
536 emlxs_hba_t *hba = HBA; local
660 emlxs_hba_t *hba = HBA; local
698 emlxs_hba_t *hba = HBA; local
734 emlxs_hba_t *hba = HBA; local
799 emlxs_hba_t *hba = HBA; local
963 emlxs_hba_t *hba = HBA; local
1087 emlxs_hba_t *hba = HBA; local
1388 emlxs_hba_t *hba = HBA; local
[all...]
H A Demlxs_dump.c40 emlxs_hba_t *hba,
50 if (hba->model_info.device_id != PCI_DEVICE_ID_HORNET) {
68 if (rval = emlxs_send_menlo_cmd(hba, (uint8_t *)cmd_buf, cmd_size,
103 emlxs_hba_t *hba,
113 if (hba->model_info.device_id != PCI_DEVICE_ID_HORNET) {
130 if (rval = emlxs_send_menlo_cmd(hba, (uint8_t *)cmd_buf, cmd_size,
165 emlxs_hba_t *hba,
174 if (hba->model_info.device_id != PCI_DEVICE_ID_HORNET) {
191 if (rval = emlxs_send_menlo_cmd(hba, (uint8_t *)cmd_buf, cmd_size,
223 emlxs_hba_t *hba,
39 emlxs_menlo_set_mode( emlxs_hba_t *hba, uint32_t mode) argument
102 emlxs_menlo_reset( emlxs_hba_t *hba, uint32_t firmware) argument
164 emlxs_menlo_get_cfg( emlxs_hba_t *hba, menlo_get_config_rsp_t *rsp_buf, uint32_t rsp_size) argument
222 emlxs_menlo_get_logcfg( emlxs_hba_t *hba, menlo_rsp_t *rsp_buf, uint32_t rsp_size) argument
277 emlxs_menlo_get_log( emlxs_hba_t *hba, uint32_t id, menlo_rsp_t *rsp_buf, uint32_t rsp_size) argument
333 emlxs_menlo_get_paniclog( emlxs_hba_t *hba, menlo_rsp_t *rsp_buf, uint32_t rsp_size) argument
489 emlxs_fopen( emlxs_hba_t *hba, uint32_t file_type) argument
594 emlxs_get_dump( emlxs_hba_t *hba, uint8_t *buffer, uint32_t *buflen) argument
714 emlxs_read_cfg_region( emlxs_hba_t *hba, uint32_t Identifier, uint32_t ByteCount, uint32_t *pRetByteCount, uint8_t *pBuffer) argument
1368 emlxs_dump_parm_table( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
1417 emlxs_dump_model( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
1453 emlxs_dump_wwn( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
1500 emlxs_dump_serial_number( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
1532 emlxs_dump_fw_version( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
1609 emlxs_dump_boot_version( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
1681 emlxs_dump_cfg_region4_decoded( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, char *pLidLegend, DUMP_WAKE_UP_PARAMS *pBuffer, uint32_t ByteCount) argument
1761 emlxs_dump_cfg_region14_decoded( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, char *pLidLegend, char *pBuffer, uint32_t ByteCount) argument
1891 emlxs_dump_cfg_region( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile, uint8_t Region, char *pLidLegend, int fSwap) argument
1973 emlxs_dump_cfg_regions( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
2119 emlxs_dump_os_version( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
2161 emlxs_dump_drv_version( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
2209 emlxs_dump_file_create( emlxs_hba_t *hba, emlxs_file_t ** fpTxtFile, emlxs_file_t ** fpDmpFile, emlxs_file_t ** fpCeeFile) argument
2266 emlxs_dump_file_terminate( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile, emlxs_file_t *fpCeeFile) argument
2331 emlxs_dump_rev_info( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
2345 emlxs_dump_hba_info( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile, uint32_t dump_type) argument
2371 emlxs_dump_table_check( emlxs_hba_t *hba, uint32_t *pSize) argument
2481 emlxs_dump_table_read( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, uint32_t **ppDumpTable, uint32_t *pDumpTableSize) argument
2659 emlxs_dump_hba_memory( emlxs_hba_t *hba, emlxs_file_t *fpDmpFile, uint32_t *pDumpTable) argument
2846 emlxs_dump_hba( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
2885 emlxs_dump_drv_region( emlxs_hba_t *hba, uint32_t regionId, uint8_t **pBuf, uint32_t *pBufLen) argument
2924 emlxs_dump_sli_regs( emlxs_hba_t *hba, emlxs_file_t *fpDmpFile) argument
2959 emlxs_dump_slim( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile, uint32_t dump_type) argument
3000 emlxs_dump_pcb( emlxs_hba_t *hba, emlxs_file_t *fpDmpFile) argument
3034 emlxs_dump_mbox( emlxs_hba_t *hba, emlxs_file_t *fpDmpFile) argument
3068 emlxs_dump_host_pointers( emlxs_hba_t *hba, emlxs_file_t *fpDmpFile) argument
3102 emlxs_dump_port_pointers( emlxs_hba_t *hba, emlxs_file_t *fpDmpFile) argument
3136 emlxs_dump_rings( emlxs_hba_t *hba, emlxs_file_t *fpDmpFile) argument
3171 emlxs_dump_drv_internals( emlxs_hba_t *hba, emlxs_file_t *fpDmpFile) argument
3205 emlxs_dump_sli_interface( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile, uint32_t dump_type) argument
3232 emlxs_dump_menlo_log( emlxs_hba_t *hba, emlxs_file_t *fpCeeFile) argument
3527 emlxs_dump_saturn_log( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpDmpFile) argument
3687 emlxs_dump_tigershark_log( emlxs_hba_t *hba, emlxs_file_t *fpTxtFile, emlxs_file_t *fpCeeFile) argument
3878 emlxs_dump_user_event( emlxs_hba_t *hba) argument
3946 emlxs_dump_temp_event( emlxs_hba_t *hba, uint32_t tempType, uint32_t temp) argument
4026 emlxs_dump_drv_event( emlxs_hba_t *hba) argument
4103 emlxs_dump_drv_thread(emlxs_hba_t *hba, void *arg1, void *arg2) argument
4120 emlxs_dump_user_thread(emlxs_hba_t *hba, void *arg1, void *arg2) argument
4137 emlxs_dump_temp_thread(emlxs_hba_t *hba, void *arg1, void *arg2) argument
4161 emlxs_dump(emlxs_hba_t *hba, uint32_t type, uint32_t temp_type, uint32_t temp) argument
4247 emlxs_dump_wait(emlxs_hba_t *hba) argument
[all...]
/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...]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DAdapterEventListener.h51 AdapterEventListener(HBA *hba, AdapterCallback myCallback, void *data);
55 HBA *hba; member in class:AdapterEventListener
H A DAdapterEventBridge.h42 virtual void addListener(AdapterEventListener *listener, HBA *hba) = 0;
H A DSun_fcRegisterForAdapterEvents.cc60 HBA *hba = myHandle->getHBA(); local
61 AdapterEventListener *listener = new AdapterEventListener(hba,
65 bridge->addListener(listener, hba);
H A DAdapterEventListener.cc45 hba(myHBA), Listener(data), callback(myCallback) {
66 if (hba->containsWWN(lwwn)) {
H A DHandleNPIVPort.h51 HBA *hba, HBAPort *port, HBANPIVPort *vport);
65 HBA *hba; member in class:HandleNPIVPort
H A DSun_fcGetFcpTargetMappingV2.cc63 HBA *hba = myHandle->getHBA(); local
64 HBAPort *port = hba->getPort(wwnConversion(portWWN.wwn));
H A DSun_fcGetRNIDMgmtInfo.cc58 HBA *hba = myHandle->getHBA(); local
59 HBAPort *port = hba->getPortByIndex(0); // Always use port zero
H A DSun_fcSendCTPassThru.cc48 HBA *hba = myHandle->getHBA(); local
49 HBAPort *port = hba->getPortByIndex(0);
H A DSun_fcSendRNID.cc47 HBA *hba = myHandle->getHBA(); local
48 HBAPort *port = hba->getPortByIndex(0);
H A DSun_fcSetRNIDMgmtInfo.cc57 HBA *hba = myHandle->getHBA(); local
58 hba->setRNID(info);
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_device_util.h65 extern int hba_is_multiplex(dm_descriptor_t hba, boolean_t *bool);
67 extern int hba_set_n_avail_disks(dm_descriptor_t hba, uint16_t val);
68 extern int hba_get_n_avail_disks(dm_descriptor_t hba, uint16_t *val);
70 extern int hba_get_type(dm_descriptor_t hba, char **type);
71 extern int hba_is_fast(dm_descriptor_t hba, boolean_t *bool);
72 extern int hba_is_fast_20(dm_descriptor_t hba, boolean_t *bool);
73 extern int hba_is_fast_40(dm_descriptor_t hba, boolean_t *bool);
74 extern int hba_is_fast_80(dm_descriptor_t hba, boolean_t *bool);
76 dm_descriptor_t hba, char *attr, boolean_t *bool);
77 extern int hba_supports_wide(dm_descriptor_t hba, boolean_
[all...]

Completed in 292 milliseconds

1234