Home
last modified time | relevance | path

Searched refs:pci_acc_handle (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_fwlog.c738 pci_config_get16(pwp->pci_acc_handle, PCI_CONF_VENID)); in pmcs_dump_pcie_conf()
740 pci_config_get16(pwp->pci_acc_handle, PCI_CONF_DEVID)); in pmcs_dump_pcie_conf()
742 pci_config_get16(pwp->pci_acc_handle, PCI_CONF_COMM)); in pmcs_dump_pcie_conf()
744 pci_config_get16(pwp->pci_acc_handle, PCI_CONF_STAT)); in pmcs_dump_pcie_conf()
746 pci_config_get32(pwp->pci_acc_handle, PCI_CONF_REVID)); in pmcs_dump_pcie_conf()
749 pci_config_get32(pwp->pci_acc_handle, PCI_CONF_CACHE_LINESZ)); in pmcs_dump_pcie_conf()
751 pci_config_get32(pwp->pci_acc_handle, PCI_CONF_BASE0)); in pmcs_dump_pcie_conf()
753 pci_config_get32(pwp->pci_acc_handle, PCI_CONF_BASE1)); in pmcs_dump_pcie_conf()
755 pci_config_get32(pwp->pci_acc_handle, PCI_CONF_BASE2)); in pmcs_dump_pcie_conf()
757 pci_config_get32(pwp->pci_acc_handle, PCI_CONF_BASE3)); in pmcs_dump_pcie_conf()
[all …]
H A Dpmcs_attach.c638 if (pci_config_setup(dip, &pwp->pci_acc_handle)) { in pmcs_attach()
651 pci_config_teardown(&pwp->pci_acc_handle); in pmcs_attach()
665 pci_config_teardown(&pwp->pci_acc_handle); in pmcs_attach()
675 pci_config_teardown(&pwp->pci_acc_handle); in pmcs_attach()
686 pci_config_teardown(&pwp->pci_acc_handle); in pmcs_attach()
698 pci_config_teardown(&pwp->pci_acc_handle); in pmcs_attach()
1538 if (pwp->pci_acc_handle) { in pmcs_unattach()
1539 pci_config_teardown(&pwp->pci_acc_handle); in pmcs_unattach()
1540 pwp->pci_acc_handle = 0; in pmcs_unattach()
H A Dpmcs_subr.c7633 if ((pmcs_check_acc_handle(pwp->pci_acc_handle) != DDI_SUCCESS) || in pmcs_check_acc_dma_handle()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_hba.c1957 if (hba->pci_acc_handle == NULL) { in emlxs_init_adapter_info()
1969 ddi_get32(hba->pci_acc_handle, in emlxs_init_adapter_info()
1997 if (hba->pci_acc_handle == NULL) { in emlxs_init_adapter_info()
2009 ddi_get16(hba->pci_acc_handle, in emlxs_init_adapter_info()
2013 ddi_get16(hba->pci_acc_handle, in emlxs_init_adapter_info()
2018 ddi_get16(hba->pci_acc_handle, in emlxs_init_adapter_info()
2027 ddi_get32(hba->pci_acc_handle, in emlxs_init_adapter_info()
2145 ddi_get32(hba->pci_acc_handle, in emlxs_init_adapter_info()
2218 if (emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_init_adapter_info()
3017 offset = ddi_get8(hba->pci_acc_handle, in emlxs_pci_cap_offsets()
[all …]
H A Demlxs_sli4.c418 if ((emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_sli4_online()
432 if ((emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_sli4_online()
445 hba->pci_acc_handle) != DDI_FM_OK) || in emlxs_sli4_online()
721 ssvid = ddi_get16(hba->pci_acc_handle, in emlxs_sli4_online()
1999 err1 = ddi_get32(hba->pci_acc_handle, in emlxs_check_hdw_ready()
2001 err2 = ddi_get32(hba->pci_acc_handle, in emlxs_check_hdw_ready()
2405 err1 = ddi_get32(hba->pci_acc_handle, in emlxs_check_bootstrap_ready()
2407 err2 = ddi_get32(hba->pci_acc_handle, in emlxs_check_bootstrap_ready()
2581 hba->sli.sli4.ue_mask_lo = ddi_get32(hba->pci_acc_handle, in emlxs_sli4_hba_init()
2583 hba->sli.sli4.ue_mask_hi = ddi_get32(hba->pci_acc_handle, in emlxs_sli4_hba_init()
[all …]
H A Demlxs_solaris.c1415 reg = ddi_get16(hba->pci_acc_handle, in emlxs_disable_pcie_ce_err()
1422 (void) ddi_put16(hba->pci_acc_handle, in emlxs_disable_pcie_ce_err()
5413 *datap = ddi_get32(hba->pci_acc_handle, in emlxs_fca_port_manage()
5421 EMLXS_CHK_ACC_HANDLE(hba, hba->pci_acc_handle); in emlxs_fca_port_manage()
7551 if (hba->pci_acc_handle == 0) { in emlxs_map_bus()
7555 0, 0, &emlxs_dev_acc_attr, &hba->pci_acc_handle); in emlxs_map_bus()
7581 if (hba->pci_acc_handle == 0) { in emlxs_map_bus()
7585 0, 0, &emlxs_dev_acc_attr, &hba->pci_acc_handle); in emlxs_map_bus()
7596 (void) ddi_put16(hba->pci_acc_handle, in emlxs_map_bus()
7601 if (emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_map_bus()
[all …]
H A Demlxs_sli3.c297 if ((emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_sli3_online()
2111 cfg_value = ddi_get16(hba->pci_acc_handle, in emlxs_sli3_hba_reset()
2114 ddi_put16(hba->pci_acc_handle, in emlxs_sli3_hba_reset()
2125 ddi_put16(hba->pci_acc_handle, in emlxs_sli3_hba_reset()
2195 if ((emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_sli3_hba_reset()
6288 (uint32_t)ddi_get32(hba->pci_acc_handle, in emlxs_mb_config_port()
6292 ddi_get32(hba->pci_acc_handle, in emlxs_mb_config_port()
6300 EMLXS_CHK_ACC_HANDLE(hba, hba->pci_acc_handle); in emlxs_mb_config_port()
H A Demlxs_fcp.c2057 if (emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_power_down()
2080 if (emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_power_up()
2092 (void) ddi_put8(hba->pci_acc_handle, in emlxs_power_up()
H A Demlxs_dfc.c4094 if (emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_dfc_get_hbainfo()
5362 ddi_get32(hba->pci_acc_handle, in emlxs_dfc_read_pci()
5369 if (emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_dfc_read_pci()
5463 ddi_put16(hba->pci_acc_handle, in emlxs_dfc_write_pci()
5467 ddi_put16(hba->pci_acc_handle, in emlxs_dfc_write_pci()
5473 if (emlxs_fm_check_acc_handle(hba, hba->pci_acc_handle) in emlxs_dfc_write_pci()
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c400 pci_config_teardown(&acb->pci_acc_handle); in arcmsr_detach()
2527 wlval = pci_config_get32(acb->pci_acc_handle, 0); in arcmsr_initialize()
2821 if (pci_config_setup(dev_info, &acb->pci_acc_handle) != DDI_SUCCESS) { in arcmsr_do_ddi_attach()
2826 wval = pci_config_get16(acb->pci_acc_handle, PCI_CONF_VENID); in arcmsr_do_ddi_attach()
2835 wval = pci_config_get16(acb->pci_acc_handle, PCI_CONF_DEVID); in arcmsr_do_ddi_attach()
2984 if (acb->pci_acc_handle) in arcmsr_do_ddi_attach()
2985 pci_config_teardown(&acb->pci_acc_handle); in arcmsr_do_ddi_attach()
5102 value[i] = pci_config_get8(acb->pci_acc_handle, i); in arcmsr_hba_hardware_reset()
5106 pci_config_get16(acb->pci_acc_handle, PCI_CONF_DEVID))) { in arcmsr_hba_hardware_reset()
5110 pci_config_put8(acb->pci_acc_handle, 0x84, 0x20); in arcmsr_hba_hardware_reset()
[all …]
H A Darcmsr.h838 ddi_acc_handle_t pci_acc_handle; member
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs.h364 ddi_acc_handle_t pci_acc_handle; member
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h1905 ddi_acc_handle_t pci_acc_handle; member