Lines Matching refs:devconfig

712 	uint32_t devconfig;  in ahc_pci_config()  local
737 devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_pci_config()
750 devconfig |= DACEN; in ahc_pci_config()
754 devconfig |= PCIERRGENDIS; in ahc_pci_config()
756 ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahc_pci_config()
860 uint32_t devconfig; in ahc_pci_config() local
862 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_config()
864 if ((devconfig & REXTVALID) == 0) in ahc_pci_config()
927 ahc->bus_softc.pci_softc.devconfig = in ahc_pci_config()
974 uint32_t devconfig; in ahc_ext_scbram_present() local
977 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_ext_scbram_present()
979 single_user = (devconfig & MPORTMODE) != 0; in ahc_ext_scbram_present()
992 ramps = (devconfig & RAMPSM) != 0; in ahc_ext_scbram_present()
1008 uint32_t devconfig; in ahc_scbram_config() local
1021 devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_scbram_config()
1037 devconfig &= ~EXTSCBTIME; in ahc_scbram_config()
1039 devconfig |= EXTSCBTIME; in ahc_scbram_config()
1041 devconfig &= ~SCBRAMSEL; in ahc_scbram_config()
1043 devconfig |= SCBRAMSEL; in ahc_scbram_config()
1045 devconfig &= ~SCBSIZE32; in ahc_scbram_config()
1047 devconfig |= SCBSIZE32; in ahc_scbram_config()
1050 devconfig |= EXTSCBPEN; in ahc_scbram_config()
1052 devconfig &= ~EXTSCBPEN; in ahc_scbram_config()
1054 ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahc_scbram_config()
1500 uint32_t devconfig; in ahc_parse_pci_eeprom() local
1503 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_parse_pci_eeprom()
1505 devconfig &= ~STPWLEVEL; in ahc_parse_pci_eeprom()
1507 devconfig |= STPWLEVEL; in ahc_parse_pci_eeprom()
1509 devconfig, /*bytes*/4); in ahc_parse_pci_eeprom()
2021 ahc->bus_softc.pci_softc.devconfig, /*bytes*/4); in ahc_pci_resume()
2309 uint32_t devconfig; in ahc_aic7895_setup()
2316 devconfig = ahc_pci_read_config(pci, DEVCONFIG, /*bytes*/1); in ahc_aic7895_setup()
2317 devconfig |= MRDCEN; in ahc_aic7895_setup()
2318 ahc_pci_write_config(pci, DEVCONFIG, devconfig, /*bytes*/1); in ahc_aic7895_setup()