Lines Matching refs:d_pcih

591 		val = pci_config_get32(dev->d_pcih, PCI_OUR_REG_1);  in yge_phy_power()
602 pci_config_put32(dev->d_pcih, PCI_OUR_REG_1, val); in yge_phy_power()
613 pci_config_put32(dev->d_pcih, PCI_OUR_REG_3, 0); in yge_phy_power()
615 our = pci_config_get32(dev->d_pcih, PCI_OUR_REG_4); in yge_phy_power()
619 pci_config_put32(dev->d_pcih, PCI_OUR_REG_4, our); in yge_phy_power()
622 our = pci_config_get32(dev->d_pcih, PCI_OUR_REG_5); in yge_phy_power()
624 pci_config_put32(dev->d_pcih, PCI_OUR_REG_5, our); in yge_phy_power()
626 pci_config_put32(dev->d_pcih, PCI_OUR_REG_1, 0); in yge_phy_power()
650 val = pci_config_get32(dev->d_pcih, PCI_OUR_REG_1); in yge_phy_power()
660 pci_config_put32(dev->d_pcih, PCI_OUR_REG_1, val); in yge_phy_power()
687 ddi_acc_handle_t pcih = dev->d_pcih; in yge_reset()
1161 ddi_acc_handle_t pcih = dev->d_pcih; in yge_find_capability()
1186 if (pci_config_setup(dip, &dev->d_pcih) != DDI_SUCCESS) { in yge_attach()
1199 pmcsr = pci_config_get16(dev->d_pcih, pm_cap + PCI_PMCSR); in yge_attach()
1201 pci_config_put16(dev->d_pcih, pm_cap + PCI_PMCSR, in yge_attach()
1206 pci_config_put16(dev->d_pcih, PCI_CONF_COMM, in yge_attach()
1207 pci_config_get16(dev->d_pcih, PCI_CONF_COMM) | in yge_attach()
1222 pci_config_put32(dev->d_pcih, PCI_OUR_REG_3, 0); in yge_attach()
1460 if (dev->d_pcih != NULL) in yge_detach()
1461 pci_config_teardown(&dev->d_pcih); in yge_detach()
1755 pmcsr = pci_config_get16(dev->d_pcih, pm_cap + PCI_PMCSR); in yge_resume()
1757 pci_config_put16(dev->d_pcih, pm_cap + PCI_PMCSR, in yge_resume()
1762 pci_config_put16(dev->d_pcih, PCI_CONF_COMM, in yge_resume()
1763 pci_config_get16(dev->d_pcih, PCI_CONF_COMM) | in yge_resume()
1771 pci_config_put32(dev->d_pcih, PCI_OUR_REG_3, 0); in yge_resume()
2116 v16 = pci_config_get16(dev->d_pcih, PCI_CONF_STAT); in yge_intr_hwerr()
2118 pci_config_put16(dev->d_pcih, PCI_CONF_STAT, v16 | in yge_intr_hwerr()