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);
388 ahd->suspend_state.pci_state.devconfig =
401 ahd->suspend_state.pci_state.devconfig, /*bytes*/4);
644 uint32_t devconfig;
646 devconfig = ahd_pci_read_config(ahd->dev_softc, DEVCONFIG, /*bytes*/4);
647 devconfig &= ~STPWLEVEL;
649 devconfig |= STPWLEVEL;
652 ahd_name(ahd), (devconfig & STPWLEVEL) ? "on" : "off");
653 ahd_pci_write_config(ahd->dev_softc, DEVCONFIG, devconfig, /*bytes*/4);