Lines Matching refs:devconfig

790 	uint32_t devconfig;  in ahc_pci_config()  local
815 devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_pci_config()
828 devconfig |= DACEN; in ahc_pci_config()
832 devconfig |= PCIERRGENDIS; in ahc_pci_config()
834 ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahc_pci_config()
940 uint32_t devconfig; in ahc_pci_config() local
942 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_config()
944 if ((devconfig & REXTVALID) == 0) in ahc_pci_config()
1007 ahc->bus_softc.pci_softc.devconfig = in ahc_pci_config()
1063 uint32_t devconfig; in ahc_ext_scbram_present() local
1066 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_ext_scbram_present()
1068 single_user = (devconfig & MPORTMODE) != 0; in ahc_ext_scbram_present()
1081 ramps = (devconfig & RAMPSM) != 0; in ahc_ext_scbram_present()
1097 uint32_t devconfig; in ahc_scbram_config() local
1110 devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_scbram_config()
1126 devconfig &= ~EXTSCBTIME; in ahc_scbram_config()
1128 devconfig |= EXTSCBTIME; in ahc_scbram_config()
1130 devconfig &= ~SCBRAMSEL; in ahc_scbram_config()
1132 devconfig |= SCBRAMSEL; in ahc_scbram_config()
1134 devconfig &= ~SCBSIZE32; in ahc_scbram_config()
1136 devconfig |= SCBSIZE32; in ahc_scbram_config()
1139 devconfig |= EXTSCBPEN; in ahc_scbram_config()
1141 devconfig &= ~EXTSCBPEN; in ahc_scbram_config()
1143 ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahc_scbram_config()
1575 uint32_t devconfig; in ahc_parse_pci_eeprom() local
1578 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_parse_pci_eeprom()
1580 devconfig &= ~STPWLEVEL; in ahc_parse_pci_eeprom()
1582 devconfig |= STPWLEVEL; in ahc_parse_pci_eeprom()
1584 devconfig, /*bytes*/4); in ahc_parse_pci_eeprom()
2105 ahc->bus_softc.pci_softc.devconfig); in ahc_pci_resume()
2343 uint32_t devconfig; in ahc_aic7895_setup()
2350 devconfig = ahc_pci_read_config(pci, DEVCONFIG, /*bytes*/1); in ahc_aic7895_setup()
2351 devconfig |= MRDCEN; in ahc_aic7895_setup()
2352 ahc_pci_write_config(pci, DEVCONFIG, devconfig, /*bytes*/1); in ahc_aic7895_setup()