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