Lines Matching refs:devconfig

719 	uint32_t devconfig;  in ahc_pci_config()  local
744 devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_pci_config()
757 devconfig |= DACEN; in ahc_pci_config()
761 devconfig |= PCIERRGENDIS; in ahc_pci_config()
763 ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahc_pci_config()
867 uint32_t devconfig; in ahc_pci_config() local
869 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_pci_config()
871 if ((devconfig & REXTVALID) == 0) in ahc_pci_config()
934 ahc->bus_softc.pci_softc.devconfig = in ahc_pci_config()
981 uint32_t devconfig; in ahc_ext_scbram_present() local
984 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_ext_scbram_present()
986 single_user = (devconfig & MPORTMODE) != 0; in ahc_ext_scbram_present()
999 ramps = (devconfig & RAMPSM) != 0; in ahc_ext_scbram_present()
1015 uint32_t devconfig; in ahc_scbram_config() local
1028 devconfig = ahc_pci_read_config(ahc->dev_softc, DEVCONFIG, /*bytes*/4); in ahc_scbram_config()
1044 devconfig &= ~EXTSCBTIME; in ahc_scbram_config()
1046 devconfig |= EXTSCBTIME; in ahc_scbram_config()
1048 devconfig &= ~SCBRAMSEL; in ahc_scbram_config()
1050 devconfig |= SCBRAMSEL; in ahc_scbram_config()
1052 devconfig &= ~SCBSIZE32; in ahc_scbram_config()
1054 devconfig |= SCBSIZE32; in ahc_scbram_config()
1057 devconfig |= EXTSCBPEN; in ahc_scbram_config()
1059 devconfig &= ~EXTSCBPEN; in ahc_scbram_config()
1061 ahc_pci_write_config(ahc->dev_softc, DEVCONFIG, devconfig, /*bytes*/4); in ahc_scbram_config()
1507 uint32_t devconfig; in ahc_parse_pci_eeprom() local
1510 devconfig = ahc_pci_read_config(ahc->dev_softc, in ahc_parse_pci_eeprom()
1512 devconfig &= ~STPWLEVEL; in ahc_parse_pci_eeprom()
1514 devconfig |= STPWLEVEL; in ahc_parse_pci_eeprom()
1516 devconfig, /*bytes*/4); in ahc_parse_pci_eeprom()
2029 ahc->bus_softc.pci_softc.devconfig, /*bytes*/4); in ahc_pci_resume()
2318 uint32_t devconfig; in ahc_aic7895_setup()
2325 devconfig = ahc_pci_read_config(pci, DEVCONFIG, /*bytes*/1); in ahc_aic7895_setup()
2326 devconfig |= MRDCEN; in ahc_aic7895_setup()
2327 ahc_pci_write_config(pci, DEVCONFIG, devconfig, /*bytes*/1); in ahc_aic7895_setup()