/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
H A D | qlge_dbg.c | 631 pci_config_get16(qlge->pci_handle, PCI_CONF_VENID); in ql_dump_pci_config() 634 pci_config_get16(qlge->pci_handle, PCI_CONF_DEVID); in ql_dump_pci_config() 637 pci_config_get16(qlge->pci_handle, PCI_CONF_COMM); in ql_dump_pci_config() 640 pci_config_get16(qlge->pci_handle, PCI_CONF_STAT); in ql_dump_pci_config() 643 pci_config_get8(qlge->pci_handle, PCI_CONF_REVID); in ql_dump_pci_config() 646 pci_config_get8(qlge->pci_handle, PCI_CONF_PROGCLASS); in ql_dump_pci_config() 649 pci_config_get8(qlge->pci_handle, PCI_CONF_SUBCLASS); in ql_dump_pci_config() 652 pci_config_get8(qlge->pci_handle, PCI_CONF_BASCLASS); in ql_dump_pci_config() 655 pci_config_get8(qlge->pci_handle, PCI_CONF_CACHE_LINESZ); in ql_dump_pci_config() 658 pci_config_get8(qlge->pci_handle, PCI_CONF_LATENCY_TIMER); in ql_dump_pci_config() [all …]
|
H A D | qlge.c | 216 qlge->vendor_id = (uint16_t)pci_config_get16(qlge->pci_handle, in ql_pci_config() 218 qlge->device_id = (uint16_t)pci_config_get16(qlge->pci_handle, in ql_pci_config() 231 w = (uint16_t)pci_config_get16(qlge->pci_handle, PCI_CONF_COMM); in ql_pci_config() 237 pci_config_put16(qlge->pci_handle, PCI_CONF_COMM, w); in ql_pci_config() 239 w = pci_config_get16(qlge->pci_handle, 0x54); in ql_pci_config() 242 pci_config_put16(qlge->pci_handle, 0x54, w); in ql_pci_config() 4483 pci_config_teardown(&qlge->pci_handle); in ql_free_resources() 7488 if (pci_config_setup(dip, &qlge->pci_handle) != DDI_SUCCESS) { in ql_attach()
|
/titanic_44/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3.c | 773 ddi_acc_handle_t pci_handle; in cpqary3_update_ctlrdetails() local 845 if (pci_config_setup(cpqary3p->dip, &pci_handle) != DDI_SUCCESS) in cpqary3_update_ctlrdetails() 848 cpqary3p->irq = pci_config_get8(pci_handle, PCI_CONF_ILINE); in cpqary3_update_ctlrdetails() 850 (pci_config_get16(pci_handle, PCI_CONF_SUBVENID) << 16) in cpqary3_update_ctlrdetails() 851 | pci_config_get16(pci_handle, PCI_CONF_SUBSYSID); in cpqary3_update_ctlrdetails() 853 pci_config_teardown(&pci_handle); in cpqary3_update_ctlrdetails()
|
/titanic_44/usr/src/uts/common/io/rtls/ |
H A D | rtls.c | 339 ddi_acc_handle_t pci_handle; in rtls_attach() local 362 if (pci_config_setup(devinfo, &pci_handle) != DDI_SUCCESS) { in rtls_attach() 368 pci_commond = pci_config_get16(pci_handle, PCI_CONF_COMM); in rtls_attach() 371 pci_config_put32(pci_handle, PCI_CONF_COMM, pci_commond); in rtls_attach() 372 pci_config_teardown(&pci_handle); in rtls_attach() 401 if (pci_config_setup(devinfo, &pci_handle) != DDI_SUCCESS) { in rtls_attach() 409 vendorid = pci_config_get16(pci_handle, PCI_CONF_VENID); in rtls_attach() 410 deviceid = pci_config_get16(pci_handle, PCI_CONF_DEVID); in rtls_attach() 437 pci_commond = pci_config_get16(pci_handle, PCI_CONF_COMM); in rtls_attach() 440 pci_config_put32(pci_handle, PCI_CONF_COMM, pci_commond); in rtls_attach() [all …]
|
/titanic_44/usr/src/uts/intel/io/agpgart/ |
H A D | agptarget.c | 126 agp_target_cap_find(ddi_acc_handle_t pci_handle) in agp_target_cap_find() argument 133 value = (uint8_t)(pci_config_get16(pci_handle, PCI_CONF_STAT) in agp_target_cap_find() 139 nextcap = (off_t)(pci_config_get8(pci_handle, AGP_CONF_CAPPTR)); in agp_target_cap_find() 143 ncapid = pci_config_get32(pci_handle, nextcap); in agp_target_cap_find()
|
/titanic_44/usr/src/uts/common/io/mega_sas/ |
H A D | megaraid_sas.c | 360 if (pci_config_setup(dip, &instance->pci_handle) != in megasas_attach() 377 pci_config_teardown(&instance->pci_handle); in megasas_attach() 385 vendor_id = pci_config_get16(instance->pci_handle, in megasas_attach() 387 device_id = pci_config_get16(instance->pci_handle, in megasas_attach() 390 subsysvid = pci_config_get16(instance->pci_handle, in megasas_attach() 392 subsysid = pci_config_get16(instance->pci_handle, in megasas_attach() 395 pci_config_put16(instance->pci_handle, PCI_CONF_COMM, in megasas_attach() 396 (pci_config_get16(instance->pci_handle, in megasas_attach() 398 irq = pci_config_get8(instance->pci_handle, in megasas_attach() 407 command = pci_config_get16(instance->pci_handle, in megasas_attach() [all …]
|
H A D | megaraid_sas.h | 1180 ddi_acc_handle_t pci_handle; member
|
/titanic_44/usr/src/uts/intel/io/amd8111s/ |
H A D | amd8111s_main.c | 1675 ddi_acc_handle_t *pci_handle; in amd8111s_attach() local 1718 if (pci_config_setup(devinfo, &pOdl->pci_handle) != DDI_SUCCESS) { in amd8111s_attach() 1722 pci_handle = &pOdl->pci_handle; in amd8111s_attach() 1724 pOdl->vendor_id = pci_config_get16(*pci_handle, PCI_CONF_VENID); in amd8111s_attach() 1725 pOdl->device_id = pci_config_get16(*pci_handle, PCI_CONF_DEVID); in amd8111s_attach() 1877 pci_config_teardown(&pOdl->pci_handle); in amd8111s_unattach()
|
H A D | amd8111s_main.h | 300 ddi_acc_handle_t pci_handle; /* HW: access handle of PCI space */ member
|
/titanic_44/usr/src/uts/common/io/skd/ |
H A D | skd.c | 397 status = pci_config_get16(skdev->pci_handle, PCI_CONF_STAT); in skd_pci_find_capability() 402 hdr = pci_config_get8(skdev->pci_handle, PCI_CONF_HEADER); in skd_pci_find_capability() 407 pos = pci_config_get8(skdev->pci_handle, PCI_CONF_CAP_PTR); in skd_pci_find_capability() 411 id = pci_config_get8(skdev->pci_handle, pos+PCI_CAP_ID); in skd_pci_find_capability() 416 pos = pci_config_get8(skdev->pci_handle, pos+PCI_CAP_NEXT_PTR); in skd_pci_find_capability() 3762 lstat = pci_config_get16(skdev->pci_handle, pcie_reg); in skd_pci_info() 4386 pci_config_teardown(&skdev->pci_handle); in skd_dealloc_resources() 4752 if (pci_config_setup(dip, &skdev->pci_handle) != DDI_SUCCESS) { in skd_attach() 4802 cmd_reg = pci_config_get16(skdev->pci_handle, PCI_CONF_COMM); in skd_attach() 4805 pci_config_put16(skdev->pci_handle, PCI_CONF_COMM, cmd_reg); in skd_attach() [all …]
|
H A D | skd.h | 396 ddi_acc_handle_t pci_handle; member
|
/titanic_44/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.c | 511 if (pci_config_setup(dip, &instance->pci_handle) != in mrsas_attach() 522 pci_config_teardown(&instance->pci_handle); in mrsas_attach() 527 vendor_id = pci_config_get16(instance->pci_handle, in mrsas_attach() 529 device_id = pci_config_get16(instance->pci_handle, in mrsas_attach() 532 subsysvid = pci_config_get16(instance->pci_handle, in mrsas_attach() 534 subsysid = pci_config_get16(instance->pci_handle, in mrsas_attach() 537 pci_config_put16(instance->pci_handle, PCI_CONF_COMM, in mrsas_attach() 538 (pci_config_get16(instance->pci_handle, in mrsas_attach() 540 irq = pci_config_get8(instance->pci_handle, in mrsas_attach() 549 command = pci_config_get16(instance->pci_handle, in mrsas_attach() [all …]
|
H A D | mr_sas.h | 518 ddi_acc_handle_t pci_handle; member
|
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 617 ddi_acc_handle_t pci_handle; member
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_api.c | 981 if (pci_config_setup(ha->dip, &ha->pci_handle) != in ql_attach() 1583 pci_config_teardown(&ha->pci_handle); in ql_attach() 1918 pci_config_teardown(&ha->pci_handle); in ql_detach() 15316 return (pci_config_getb(ha->pci_handle, off)); in ql_pci_config_get8() 15318 return (pci_config_get8(ha->pci_handle, off)); in ql_pci_config_get8() 15331 return (pci_config_getw(ha->pci_handle, off)); in ql_pci_config_get16() 15333 return (pci_config_get16(ha->pci_handle, off)); in ql_pci_config_get16() 15346 return (pci_config_getl(ha->pci_handle, off)); in ql_pci_config_get32() 15348 return (pci_config_get32(ha->pci_handle, off)); in ql_pci_config_get32() 15360 pci_config_putb(ha->pci_handle, off, val); in ql_pci_config_put8() [all …]
|
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_api.h | 1513 ddi_acc_handle_t pci_handle; /* config space */ member
|
/titanic_44/usr/src/uts/common/io/aac/ |
H A D | aac.c | 2291 ddi_acc_handle_t pci_handle; in aac_check_firmware() local 2391 &pci_handle) == DDI_SUCCESS)) { in aac_check_firmware() 2393 softs->pci_mem_handle = pci_handle; in aac_check_firmware()
|