Searched refs:pci_regh (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | adapter.h | 506 ddi_acc_handle_t pci_regh; member 703 *val = pci_config_get8(sc->pci_regh, reg); in t4_os_pci_read_cfg1() 709 pci_config_put8(sc->pci_regh, reg, val); in t4_os_pci_write_cfg1() 715 *val = pci_config_get16(sc->pci_regh, reg); in t4_os_pci_read_cfg2() 721 pci_config_put16(sc->pci_regh, reg, val); in t4_os_pci_write_cfg2() 727 *val = pci_config_get32(sc->pci_regh, reg); in t4_os_pci_read_cfg4() 733 pci_config_put32(sc->pci_regh, reg, val); in t4_os_pci_write_cfg4()
|
H A D | t4_nexus.c | 366 rc = pci_config_setup(dip, &sc->pci_regh); in t4_devo_attach() 925 if (sc->pci_regh != NULL) in t4_devo_detach() 926 pci_config_teardown(&sc->pci_regh); in t4_devo_detach()
|