Lines Matching defs:devconfig
674 #define DEVCONFIG 0x40
767 uint32_t devconfig;
868 devconfig = pci_conf_read(pa->pa_pc, pa->pa_tag, DEVCONFIG);
869 devconfig = pci_conf_read(pa->pa_pc, pa->pa_tag, DEVCONFIG);
875 * 64bit bus (PCI64BIT set in devconfig).
882 devconfig |= DACEN;
886 devconfig |= PCIERRGENDIS;
888 pci_conf_write(pa->pa_pc, pa->pa_tag, DEVCONFIG, devconfig);
1013 dvconfig = pci_conf_read(pa->pa_pc, pa->pa_tag, DEVCONFIG);
1154 uint32_t devconfig;
1157 devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
1158 single_user = (devconfig & MPORTMODE) != 0;
1171 ramps = (devconfig & RAMPSM) != 0;
1187 uint32_t devconfig;
1200 devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
1216 devconfig &= ~EXTSCBTIME;
1218 devconfig |= EXTSCBTIME;
1220 devconfig &= ~SCBRAMSEL;
1222 devconfig |= SCBRAMSEL;
1224 devconfig &= ~SCBSIZE32;
1226 devconfig |= SCBSIZE32;
1229 devconfig |= EXTSCBPEN;
1231 devconfig &= ~EXTSCBPEN;
1233 pci_conf_write(ahc->bd->pc, ahc->bd->tag, DEVCONFIG, devconfig);
1662 uint32_t devconfig;
1669 devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
1670 devconfig |= MRDCEN;
1671 pci_conf_write(ahc->bd->pc, ahc->bd->tag, DEVCONFIG, devconfig);