Lines Matching refs:devconfig
212 #define PCI_BUS_MODES_INDEX(devconfig) \ argument
213 (((devconfig) & PCIXINITPAT) >> 13)
292 uint32_t devconfig; in ahd_pci_config() local
309 devconfig = ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4); in ahd_pci_config()
310 if ((devconfig & PCIXINITPAT) == PCIXINIT_PCI33_66) { in ahd_pci_config()
317 ahd->bus_description = pci_bus_modes[PCI_BUS_MODES_INDEX(devconfig)]; in ahd_pci_config()
335 devconfig = ahd_pci_read_config(ahd->dev_softc, in ahd_pci_config()
337 devconfig |= DACEN; in ahd_pci_config()
339 devconfig, /*bytes*/4); in ahd_pci_config()
387 ahd->suspend_state.pci_state.devconfig = in ahd_pci_suspend()
400 ahd->suspend_state.pci_state.devconfig, /*bytes*/4); in ahd_pci_resume()
642 uint32_t devconfig; in ahd_configure_termination() local
644 devconfig = ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4); in ahd_configure_termination()
645 devconfig &= ~STPWLEVEL; in ahd_configure_termination()
647 devconfig |= STPWLEVEL; in ahd_configure_termination()
650 ahd_name(ahd), (devconfig & STPWLEVEL) ? "on" : "off"); in ahd_configure_termination()
651 ahd_pci_write_config(ahd->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahd_configure_termination()