Lines Matching refs: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);
1010 dvconfig = pci_conf_read(pa->pa_pc, pa->pa_tag, DEVCONFIG);
1144 uint32_t devconfig;
1147 devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
1148 single_user = (devconfig & MPORTMODE) != 0;
1161 ramps = (devconfig & RAMPSM) != 0;
1177 uint32_t devconfig;
1190 devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
1206 devconfig &= ~EXTSCBTIME;
1208 devconfig |= EXTSCBTIME;
1210 devconfig &= ~SCBRAMSEL;
1212 devconfig |= SCBRAMSEL;
1214 devconfig &= ~SCBSIZE32;
1216 devconfig |= SCBSIZE32;
1219 devconfig |= EXTSCBPEN;
1221 devconfig &= ~EXTSCBPEN;
1223 pci_conf_write(ahc->bd->pc, ahc->bd->tag, DEVCONFIG, devconfig);
1652 uint32_t devconfig;
1659 devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
1660 devconfig |= MRDCEN;
1661 pci_conf_write(ahc->bd->pc, ahc->bd->tag, DEVCONFIG, devconfig);