Home
last modified time | relevance | path

Searched refs:hba (Results 1 – 25 of 89) sorted by last modified time

1234

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c1227 hba = emlxs_device.hba[emlxinst]; in emlxs_attach()
1257 hba = emlxs_device.hba[emlxinst]; in emlxs_detach()
1761 hba->wwpn.IEEEextMsn, hba->wwpn.IEEEextLsb, hba->wwpn.IEEE[0], in emlxs_fca_bind_port()
1762 hba->wwpn.IEEE[1], hba->wwpn.IEEE[2], hba->wwpn.IEEE[3], in emlxs_fca_bind_port()
2689 &hba->chan[hba->channel_fcp], in emlxs_poll()
2724 &hba->chan[hba->channel_fcp], in emlxs_poll()
5614 hba->wwpn.IEEE[1], hba->wwpn.IEEE[2], hba->wwpn.IEEE[3], in emlxs_fca_port_manage()
7054 emlxs_device.hba[emlxinst] = hba; in emlxs_hba_attach()
7071 port->hba = hba; in emlxs_hba_attach()
8959 cp = &hba->chan[hba->channel_ip]; in emlxs_send_ip()
[all …]
H A Demlxs_sli4.c358 hba->channel_ip = hba->chan_count - 1; in emlxs_sli4_online()
359 hba->channel_els = hba->chan_count - 1; in emlxs_sli4_online()
360 hba->channel_ct = hba->chan_count - 1; in emlxs_sli4_online()
1158 hba->fc_oor_iotag = hba->max_iotag; in emlxs_sli4_online()
1397 hba->wwpn.nameType, hba->wwpn.IEEEextMsn, hba->wwpn.IEEEextLsb, in emlxs_sli4_online()
1398 hba->wwpn.IEEE[0], hba->wwpn.IEEE[1], hba->wwpn.IEEE[2], in emlxs_sli4_online()
1399 hba->wwpn.IEEE[3], hba->wwpn.IEEE[4], hba->wwpn.IEEE[5]); in emlxs_sli4_online()
2550 vport->hba = hba; in emlxs_sli4_hba_init()
2701 cp->hba = hba; in emlxs_sli4_hba_reset()
5028 cp = &hba->chan[hba->channel_ct]; in emlxs_sli4_prep_ct_iocb()
[all …]
H A Demlxs_mbox.c1604 WRITE_CSR_REG(hba, FC_HC_REG(hba), in emlxs_read_la_mbcmpl()
1790 emlxs_linkup(hba); in emlxs_read_la_mbcmpl()
1804 WRITE_CSR_REG(hba, FC_HC_REG(hba), hba->sli.sli3.hc_copy); in emlxs_read_la_mbcmpl()
1807 EMLXS_CHK_ACC_HANDLE(hba, hba->sli.sli3.csr_acc_handle); in emlxs_read_la_mbcmpl()
1892 WRITE_CSR_REG(hba, FC_HC_REG(hba), in emlxs_clear_la_mbcmpl()
1904 WRITE_CSR_REG(hba, FC_HC_REG(hba), in emlxs_clear_la_mbcmpl()
1922 WRITE_CSR_REG(hba, FC_HC_REG(hba), hba->sli.sli3.hc_copy); in emlxs_clear_la_mbcmpl()
1925 EMLXS_CHK_ACC_HANDLE(hba, hba->sli.sli3.csr_acc_handle); in emlxs_clear_la_mbcmpl()
1951 EMLXS_SLI_ISSUE_IOCB_CMD(hba, &hba->chan[hba->channel_fcp], 0); in emlxs_clear_la_mbcmpl()
2346 hba->fc_edtov, hba->sparam.cmn.e_d_tov, in emlxs_read_sparam_mbcmpl()
[all …]
H A Demlxs_mem.c56 bzero(hba->memseg, sizeof (hba->memseg)); in emlxs_mem_alloc_buffer()
75 seg = &hba->memseg[i]; in emlxs_mem_alloc_buffer()
306 cp = &hba->chan[j]; in emlxs_mem_free_buffer()
334 emlxs_mem_put(hba, in emlxs_mem_free_buffer()
337 emlxs_mem_put(hba, in emlxs_mem_free_buffer()
340 emlxs_mem_put(hba, in emlxs_mem_free_buffer()
345 emlxs_mem_put(hba, in emlxs_mem_free_buffer()
374 emlxs_mb_flush(hba); in emlxs_mem_free_buffer()
376 if (hba->fc_table) { in emlxs_mem_free_buffer()
381 hba->fc_table = NULL; in emlxs_mem_free_buffer()
[all …]
H A Demlxs_fct.c1970 fct_port, port->fct_flags, hba->state, hba->flag, hba->topology); in emlxs_fct_get_link_info()
2072 cmd_sbp->channel = &hba->chan[hba->channel_els]; in emlxs_fct_register_remote_port()
2403 cmd_sbp->ticks = hba->timer_tics + (2 * hba->fc_ratov); in emlxs_fct_handle_unsol_req()
2684 ((2 * hba->fc_ratov) < 30) ? 30 : (2 * hba->fc_ratov); in emlxs_fct_send_fcp_status()
2796 CHANNEL *cp = &hba->chan[hba->CHANNEL_FCT]; in emlxs_fct_send_qfull_reply()
2817 ((2 * hba->fc_ratov) < 30) ? 30 : (2 * hba->fc_ratov); in emlxs_fct_send_qfull_reply()
3818 hba = HBA; in emlxs_fct_pkt_comp()
4063 cmd_sbp->channel = &hba->chan[hba->channel_els]; in emlxs_fct_send_els_cmd()
4071 ((2 * hba->fc_ratov) < 30) ? 30 : (2 * hba->fc_ratov); in emlxs_fct_send_els_cmd()
4245 cmd_sbp->channel = &hba->chan[hba->channel_ct]; in emlxs_fct_send_ct_cmd()
[all …]
H A Demlxs_hba.c423 hba->chan_count = hba->intr_count * cfg[CFG_NUM_WQ].current; in emlxs_msi_init()
442 emlxs_thread_create(hba, &hba->chan[i].intr_thread); in emlxs_msi_init()
475 bzero(hba->intr_map, sizeof (hba->intr_map)); in emlxs_msi_init()
476 bzero(hba->intr_lock, sizeof (hba->intr_lock)); in emlxs_msi_init()
545 bzero(hba->intr_map, sizeof (hba->intr_map)); in emlxs_msi_uninit()
795 hba->model_info.model, hba->model_info.flags); in emlxs_intx_init()
837 emlxs_thread_create(hba, &hba->chan[i].intr_thread); in emlxs_intx_init()
2190 hba->sli_intf, hba->model_info.sli_mask); in emlxs_init_adapter_info()
2202 hba->sli_intf, hba->model_info.sli_mask); in emlxs_init_adapter_info()
2213 hba->sli_intf, hba->model_info.sli_mask); in emlxs_init_adapter_info()
[all …]
H A Demlxs_fcf.c1853 emlxs_hba_t *hba = HBA; in emlxs_fcf_linkdown() local
1871 hba->linkup_timer = 0; in emlxs_fcf_linkdown()
1885 emlxs_hba_t *hba = HBA; in emlxs_fcf_linkup() local
1900 emlxs_mode_set(hba); in emlxs_fcf_linkup()
1905 hba->discovery_timer = hba->timer_tics + in emlxs_fcf_linkup()
2176 emlxs_hba_t *hba = HBA; in emlxs_fcf_shutdown_notify() local
2234 emlxs_hba_t *hba = HBA; in emlxs_fcf_linkup_notify() local
2268 emlxs_hba_t *hba = HBA; in emlxs_fcf_linkdown_notify() local
2302 emlxs_hba_t *hba = HBA; in emlxs_fcf_cvl_notify() local
3685 hba->fc_edtov, hba->sparam.cmn.e_d_tov, in emlxs_fc_fcftab_sparm_mbcmpl()
[all …]
H A Demlxs_clock.c295 if (hba->pkt_timer > hba->timer_tics) { in emlxs_timer_check_pkts()
299 hba->pkt_timer = hba->timer_tics + EMLXS_PKT_PERIOD; in emlxs_timer_check_pkts()
771 if (!hba->loopback_tics || (hba->timer_tics < hba->loopback_tics)) { in emlxs_timer_check_loopback()
814 if (hba->linkup_timer && (hba->timer_tics >= hba->linkup_timer)) { in emlxs_timer_check_linkup()
845 if (hba->timer_tics < hba->heartbeat_timer) { in emlxs_timer_check_heartbeat()
849 hba->heartbeat_timer = hba->timer_tics + 5; in emlxs_timer_check_heartbeat()
899 if (hba->timer_tics < hba->fw_timer) { in emlxs_timer_check_fw_update()
923 hba->fw_timer = hba->timer_tics + (60 * 60 * 24); in emlxs_timer_check_fw_update()
950 (hba->timer_tics >= hba->discovery_timer) && in emlxs_timer_check_discovery()
1192 hba->timer_tics + (4 * hba->fc_ratov) + 10; in emlxs_pkt_chip_timeout()
[all …]
H A Demlxs_sli3.c1066 cp->hba = hba; in emlxs_sli3_online()
1082 rp->hba = hba; in emlxs_sli3_online()
1297 hba->wwpn.IEEE[0], hba->wwpn.IEEE[1], hba->wwpn.IEEE[2], in emlxs_sli3_online()
1298 hba->wwpn.IEEE[3], hba->wwpn.IEEE[4], hba->wwpn.IEEE[5]); in emlxs_sli3_online()
1996 vport->hba = hba; in emlxs_sli3_hba_init()
2119 WRITE_CSR_REG(hba, FC_HC_REG(hba), hba->sli.sli3.hc_copy); in emlxs_sli3_hba_reset()
2191 hba->sli.sli3.hc_copy = READ_CSR_REG(hba, FC_HC_REG(hba)); in emlxs_sli3_hba_reset()
4333 WRITE_CSR_REG(hba, FC_HC_REG(hba), hba->sli.sli3.hc_copy); in emlxs_sli3_msi_intr()
5494 WRITE_CSR_REG(hba, FC_HC_REG(hba), hba->sli.sli3.hc_copy); in emlxs_sli3_hba_kill()
5694 WRITE_CSR_REG(hba, FC_HC_REG(hba), hba->sli.sli3.hc_copy); in emlxs_sli3_hba_kill4quiesce()
[all …]
H A Demlxs_fcp.c1474 emlxs_hba_t *hba = vport->hba; in emlxs_port_online() local
2154 hba = cp->hba; in emlxs_register_pkt()
2168 if (!hba->fc_iotag || hba->fc_iotag >= hba->max_iotag) { in emlxs_register_pkt()
2207 hba = cp->hba; in emlxs_unregister_pkt()
3202 hba = cp->hba; in emlxs_tx_get()
3379 hba = from_chan->hba; in emlxs_tx_move()
4035 hba->fc_oor_iotag = hba->max_iotag; in emlxs_create_abort_xri_cn()
4099 hba->fc_oor_iotag = hba->max_iotag; in emlxs_create_abort_xri_cx()
4267 cp = &hba->chan[hba->channel_els]; in emlxs_close_els_exchange()
4312 cp = &hba->chan[hba->channel_els]; in emlxs_abort_els_exchange()
[all …]
/illumos-gate/usr/src/uts/common/
H A DMakefile.files887 SCSA1394_OBJS += hba.o sbp2_driver.o sbp2_bus.o
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h522 #define MEM_ELSBUF_COUNT hba->max_nodes
993 struct emlxs_hba *hba; member
2131 #define EMLXS_DUMP_LOCK hba->dump_lock
2195 #define HBA port->hba
2196 #define PPORT hba->port[0]
2197 #define VPORT(x) hba->port[x]
2199 #define VPD hba->vpd
2200 #define CFG hba->config[0]
2201 #define LOG hba->log
2202 #define EVENTQ hba->event_queue
[all …]
H A Demlxs_extern.h150 extern void emlxs_mem_free(emlxs_hba_t *hba,
154 extern int emlxs_map_bus(emlxs_hba_t *hba);
224 extern void emlxs_mode_set(emlxs_hba_t *hba);
234 extern void emlxs_fm_init(emlxs_hba_t *hba);
235 extern void emlxs_fm_fini(emlxs_hba_t *hba);
460 extern void emlxs_mb_put(emlxs_hba_t *hba,
481 extern void emlxs_mb_fini(emlxs_hba_t *hba,
496 extern void emlxs_mb_noop(emlxs_hba_t *hba,
557 extern void emlxs_mem_put(emlxs_hba_t *hba,
595 extern void emlxs_fw_load(emlxs_hba_t *hba,
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c1673 ASSERT(hba != NULL); in vhci_scsi_reset_target()
4092 ASSERT(hba != NULL); in vhci_pathinfo_init()
4145 hba = clone; in vhci_pathinfo_init()
4146 hba->tran_sd = psd; in vhci_pathinfo_init()
4211 if (hba && (hba->tran_hba_flags & SCSI_HBA_TRAN_CLONE)) in vhci_pathinfo_init()
4240 ASSERT(hba != NULL); in vhci_pathinfo_uninit()
4264 (*hba->tran_tgt_free) (pdip, cdip, hba, psd); in vhci_pathinfo_uninit()
4269 kmem_free(hba, sizeof (*hba)); in vhci_pathinfo_uninit()
5082 ASSERT(hba != NULL); in vhci_pathinfo_online()
5325 ASSERT(hba != NULL); in vhci_pathinfo_offline()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_api.h1638 ql_link_t hba; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_ioctl.c1737 ql_adapter_info_t hba; in ql_adm_adapter_info() local
1744 hba.device_id = ha->device_id; in ql_adm_adapter_info()
1747 bcopy(dp, hba.wwpn, 8); in ql_adm_adapter_info()
1749 hba.d_id = ha->d_id.b24; in ql_adm_adapter_info()
1775 hba.flash_size = ha->xioctl->fdesc.flash_size; in ql_adm_adapter_info()
1777 (void) strcpy(hba.driver_ver, QL_VERSION); in ql_adm_adapter_info()
1779 (void) sprintf(hba.fw_ver, "%d.%d.%d", ha->fw_major_version, in ql_adm_adapter_info()
1782 bzero(hba.fcode_ver, sizeof (hba.fcode_ver)); in ql_adm_adapter_info()
1791 if (length > (uint32_t)sizeof (hba.fcode_ver)) { in ql_adm_adapter_info()
1792 length = sizeof (hba.fcode_ver) - 1; in ql_adm_adapter_info()
[all …]
H A Dql_init.c4545 vha->hba.next = NULL; in ql_vport_create()
4546 vha->hba.prev = NULL; in ql_vport_create()
4547 vha->hba.base_address = vha; in ql_vport_create()
H A Dql_api.c926 ha->hba.base_address = ha; in ql_attach()
1694 ql_add_link_b(&ql_hba, &ha->hba); in ql_attach()
2068 ql_hba.last == &ha->hba) { in ql_detach()
2079 ql_remove_link(&ql_hba, &ha->hba); in ql_detach()
2248 ql_hba.last == &ha->hba) { in ql_detach()
17250 link = ha == NULL ? ql_hba.first : &ha->hba; in ql_stall_driver()
17261 link = ha == NULL ? ql_hba.first : &ha->hba; in ql_stall_driver()
17279 link = ha == NULL ? ql_hba.first : &ha->hba; in ql_stall_driver()
17317 link = ha == NULL ? ql_hba.first : &ha->hba; in ql_restart_driver()
17328 link = ha == NULL ? ql_hba.first : &ha->hba; in ql_restart_driver()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/qlc/
H A Dqlc.c320 qlstate->hba.base_address, qlstate->instance); in qlclinks_dcmd()
361 vqlstate->hba.base_address, in qlclinks_dcmd()
374 hbaptr = (uintptr_t)qlstate->hba.next; in qlclinks_dcmd()
500 hbaptr = (uintptr_t)qlstate->hba.next; in qlcver_dcmd()
622 hbaptr = (uintptr_t)qlstate->hba.next; in qlc_el_dcmd()
645 hbaptr = (uintptr_t)qlstate->hba.next; in qlc_el_dcmd()
681 uintptr_t hbaptr = (uintptr_t)qlstate->hba.base_address; in ql_elog_common()
1239 (((ql_adapter_state_t *)wsp->walk_data)->hba.next); in qlstates_walk_step()
1666 hbaptr = (uintptr_t)qlstate->hba.next;
1701 hbaptr = (uintptr_t)qlstate->hba.next;
[all …]
/illumos-gate/usr/src/uts/intel/
H A DMakefile.rules221 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi.h94 #define TRAN2PQI(hba) ((pqi_state_t *)(hba)->tran_hba_private) argument
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h1126 #define TRAN2MPT(hba) ((mptsas_t *)(hba)->tran_hba_private) argument
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCSyseventBridge.h61 virtual void addListener(AdapterEventListener *listener, HBA *hba);
H A DHandlePort.h54 HandlePort(Handle *handle, HBA *hba, HBAPort *port);
77 HBA *hba; variable
H A DAdapterEventBridge.h42 virtual void addListener(AdapterEventListener *listener, HBA *hba) = 0;

1234