Lines Matching refs:devconfig
218 #define PCI_BUS_MODES_INDEX(devconfig) \ argument
219 (((devconfig) & PCIXINITPAT) >> 13)
299 uint32_t devconfig; in ahd_pci_config() local
317 devconfig = ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4); in ahd_pci_config()
318 if ((devconfig & PCIXINITPAT) == PCIXINIT_PCI33_66) { in ahd_pci_config()
325 ahd->bus_description = pci_bus_modes[PCI_BUS_MODES_INDEX(devconfig)]; in ahd_pci_config()
343 devconfig = ahd_pci_read_config(ahd->dev_softc, in ahd_pci_config()
345 devconfig |= DACEN; in ahd_pci_config()
347 devconfig, /*bytes*/4); in ahd_pci_config()
396 ahd->suspend_state.pci_state.devconfig = in ahd_pci_suspend()
409 ahd->suspend_state.pci_state.devconfig, /*bytes*/4); in ahd_pci_resume()
652 uint32_t devconfig; in ahd_configure_termination() local
654 devconfig = ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4); in ahd_configure_termination()
655 devconfig &= ~STPWLEVEL; in ahd_configure_termination()
657 devconfig |= STPWLEVEL; in ahd_configure_termination()
660 ahd_name(ahd), (devconfig & STPWLEVEL) ? "on" : "off"); in ahd_configure_termination()
661 ahd_pci_write_config(ahd->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahd_configure_termination()