/freebsd-9.3-release/sys/dev/agp/ |
H A D | agp_intel.c | 157 value = pci_read_config(dev, AGP_INTEL_AGPCTRL, 4); 166 (pci_read_config(dev, AGP_INTEL_I820_RDCR, 1) 176 (pci_read_config(dev, AGP_INTEL_I845_AGPM, 1) 185 (pci_read_config(dev, AGP_INTEL_MCHCFG, 2) 190 (pci_read_config(dev, AGP_INTEL_NBXCFG, 4) 232 value = pci_read_config(dev, AGP_INTEL_APSIZE, 1); 234 sc->aperture_mask = pci_read_config(dev, AGP_INTEL_APSIZE, 1) & 274 reg = pci_read_config(dev, AGP_INTEL_I820_RDCR, 1) & ~(1 << 1); 284 reg = pci_read_config(dev, AGP_INTEL_I845_AGPM, 1) & ~(1 << 1); 293 reg = pci_read_config(de [all...] |
H A D | agp_via.c | 173 capid = pci_read_config(dev, agp_find_caps(dev) + AGP_CAPID, 4); 175 agpsel = pci_read_config(dev, AGP_VIA_AGPSEL, 1); 215 gartctrl = pci_read_config(dev, sc->regs[REG_GARTCTRL], 4); 248 apsize = pci_read_config(dev, sc->regs[REG_APSIZE], 1); 259 apsize = pci_read_config(dev, sc->regs[REG_APSIZE], 2) & 0xfff; 283 pci_read_config(dev, sc->regs[REG_APSIZE], 2)); 345 val = pci_read_config(dev, sc->regs[REG_APSIZE], 2); 386 gartctrl = pci_read_config(dev, sc->regs[REG_GARTCTRL], 4);
|
H A D | agp_ati.c | 152 apbase_offset = pci_read_config(dev, AGP_APBASE, 4) >> 22; 230 temp = pci_read_config(dev, apsize_reg, 4); 237 temp = pci_read_config(dev, 4, 4); /* XXX: Magic reg# */ 266 temp = pci_read_config(dev, apsize_reg, 4); 285 size_value = pci_read_config(dev, ATI_RS300_APSIZE, 4); 287 size_value = pci_read_config(dev, ATI_RS100_APSIZE, 4); 307 size_value = pci_read_config(dev, apsize_reg, 4);
|
H A D | agp_nvidia.c | 233 temp = pci_read_config(sc->mc2_dev, AGP_NVIDIA_2_GARTCTRL, 4); 237 temp = pci_read_config(sc->dev, AGP_NVIDIA_0_APSIZE, 4); 255 temp = pci_read_config(sc->dev, AGP_NVIDIA_0_APSIZE, 4); 259 temp = pci_read_config(sc->mc2_dev, AGP_NVIDIA_2_GARTCTRL, 4); 278 switch (pci_read_config(dev, AGP_NVIDIA_0_APSIZE, 1) & 0x0f) { 286 pci_read_config(dev, AGP_NVIDIA_0_APSIZE, 1)); 308 val = pci_read_config(dev, AGP_NVIDIA_0_APSIZE, 1); 355 wbc_reg = pci_read_config(sc->mc1_dev, AGP_NVIDIA_1_WBC, 4); 361 wbc_reg = pci_read_config(sc->mc1_dev,
|
H A D | agp_ali.c | 130 attbase = pci_read_config(dev, AGP_ALI_ATTBASE, 4); 153 attbase = pci_read_config(dev, AGP_ALI_ATTBASE, 4); 185 int i = pci_read_config(dev, AGP_ALI_ATTBASE, 4) & 0xf; 203 attbase = pci_read_config(dev, AGP_ALI_ATTBASE, 4);
|
H A D | agp_sis.c | 161 pci_read_config(dev, AGP_SIS_WINCTRL, 1) | 3, 1); 181 pci_read_config(dev, AGP_SIS_WINCTRL, 1) & ~3, 1); 202 gws = (pci_read_config(dev, AGP_SIS_WINCTRL, 1) & 0x70) >> 4; 223 ((pci_read_config(dev, AGP_SIS_WINCTRL, 1) & ~0x70)
|
/freebsd-9.3-release/sys/dev/ata/chipsets/ |
H A D | ata-ati.c | 158 satacfg = pci_read_config(smbdev, 0xad, 1); 226 (pci_read_config(parent, 0x56, 2) & 230 pci_read_config(parent, 0x54, 1) | 233 (pci_read_config(parent, 0x44, 4) & 240 pci_read_config(parent, 0x54, 1) & 243 (pci_read_config(parent, 0x44, 4) & 251 pci_read_config(parent, 0x54, 1) & 257 (pci_read_config(parent, 0x4a, 2) & 261 (pci_read_config(parent, 0x40, 4) &
|
H A D | ata-ite.c | 100 pci_write_config(dev, 0x50, pci_read_config(dev, 0x50, 1) & ~0x83, 1); 145 (pci_read_config(parent, 0x40, 2) & 153 pci_read_config(parent, 0x50, 1) & 163 pci_read_config(parent, 0x50, 1) | 180 u_int16_t reg40 = pci_read_config(parent, 0x40, 2); 181 u_int8_t reg44 = pci_read_config(parent, 0x44, 1); 182 u_int8_t reg48 = pci_read_config(parent, 0x48, 1); 183 u_int16_t reg4a = pci_read_config(parent, 0x4a, 2); 184 u_int16_t reg54 = pci_read_config(parent, 0x54, 2);
|
H A D | ata-sis.c | 119 u_int8_t reg57 = pci_read_config(dev, 0x57, 1); 122 if (pci_read_config(dev, PCIR_DEVVENDOR, 4) == ATA_SIS5518) { 133 u_int8_t reg4a = pci_read_config(dev, 0x4a, 1); 136 if (pci_read_config(dev, PCIR_DEVVENDOR, 4) == ATA_SIS5517) { 174 pci_write_config(dev, 0x52, pci_read_config(dev, 0x52, 1) & ~0x04, 1); 178 pci_write_config(dev, 0x49, pci_read_config(dev, 0x49, 1) & ~0x01, 1); 181 pci_write_config(dev, 0x50, pci_read_config(dev, 0x50, 2) | 0x0008, 2); 182 pci_write_config(dev, 0x52, pci_read_config(dev, 0x52, 2) | 0x0008, 2); 251 pci_read_config(parent, ch->unit ? 0x52 : 0x50,2) & 0x8000) { 257 pci_read_config(paren [all...] |
H A D | ata-highpoint.c | 120 pci_write_config(dev, 0x51, (pci_read_config(dev, 0x51, 1) & ~0x80), 1); 124 pci_write_config(dev, 0x51, (pci_read_config(dev, 0x51, 1) & ~0x03), 1); 125 pci_write_config(dev, 0x55, (pci_read_config(dev, 0x55, 1) & ~0x03), 1); 128 pci_write_config(dev, 0x5a, (pci_read_config(dev, 0x5a, 1) & ~0x10), 1); 135 (pci_read_config(dev, 0x5b, 1) & 0x01) | 0x20, 1); 208 val = pci_read_config(parent, reg, 1); 213 val = pci_read_config(parent, reg, 1); 216 res = pci_read_config(parent, 0x5a, 1) & (ch->unit ? 0x1:0x2);
|
H A D | ata-amd.c | 99 pci_write_config(dev, 0x41, pci_read_config(dev, 0x41, 1) & 0x0f, 1); 101 pci_write_config(dev, 0x41, pci_read_config(dev, 0x41, 1) | 0xf0, 1); 125 !(pci_read_config(parent, 0x42, 1) & (1 << devno))) {
|
H A D | ata-acerlabs.c | 146 pci_write_config(dev, 0x4a, pci_read_config(dev, 0x4a, 1) | 0x20, 1); 150 pci_write_config(dev, 0x4b, pci_read_config(dev, 0x4b, 1) | 154 pci_write_config(dev, 0x53, pci_read_config(dev, 0x53, 1) | 170 pci_write_config(dev, 0x53, pci_read_config(dev, 0x53, 1) | 0x03, 1); 286 pci_read_config(children[i], 0x58, 1) & 289 pci_read_config(children[i], 0x58, 1) | 318 pci_read_config(parent, 0x4a, 1) & (1 << ch->unit)) { 335 word54 = pci_read_config(parent, 0x54, 4);
|
H A D | ata-serverworks.c | 157 (pci_read_config(children[i], 0x64, 4) & 167 (pci_read_config(dev, 0x5a, 1) & ~0x40) | 360 (pci_read_config(parent, 0x56, 2) & 364 pci_read_config(parent, 0x54, 1) | 367 (pci_read_config(parent, 0x44, 4) & 374 pci_read_config(parent, 0x54, 1) & 377 (pci_read_config(parent, 0x44, 4) & 385 pci_read_config(parent, 0x54, 1) & 392 (pci_read_config(parent, 0x4a, 2) & 397 (pci_read_config(paren [all...] |
H A D | ata-jmicron.c | 102 if (pci_read_config(dev, 0xdf, 1) & 0x40) { 154 pci_read_config(dev, 0x40, 1) & 0x08) {
|
H A D | ata-via.c | 198 (pci_read_config(dev, 0x43, 1) & 0x90) | 0x2a, 1); 201 pci_write_config(dev, 0x44, pci_read_config(dev, 0x44, 1) | 0x08, 1); 205 (pci_read_config(dev, 0x46, 1) & 0x0c) | 0xf0, 1); 396 u_int8_t reg76 = pci_read_config(children[i], 0x76, 1); 436 if (pci_read_config(parent, 0xa0 + target, 1) & 0x10) 482 val = pci_read_config(parent, 0xa0 + port, 1); 498 *result = pci_read_config(parent, 0xa8 + port * 4, 4); 501 val = pci_read_config(parent, 0xa4 + port, 1);
|
/freebsd-9.3-release/sys/sparc64/pci/ |
H A D | apb.c | 175 pci_read_config(dev, PCIR_SECSTAT_1, 2); 177 pci_read_config(dev, PCIR_COMMAND, 2); 179 pci_read_config(dev, PCIR_PRIBUS_1, 1); 181 pci_read_config(dev, PCIR_SECBUS_1, 1); 183 pci_read_config(dev, PCIR_SUBBUS_1, 1); 185 pci_read_config(dev, PCIR_BRIDGECTL_1, 2); 187 pci_read_config(dev, PCIR_SECLAT_1, 1); 188 sc->sc_iomap = pci_read_config(dev, APBR_IOMAP, 1); 189 sc->sc_memmap = pci_read_config(dev, APBR_MEMMAP, 1);
|
H A D | ofw_pcib.c | 145 pci_read_config(dev, PCIR_SECBUS_1, 1) << 8 | 146 pci_read_config(dev, PCIR_PRIBUS_1, 1), 2);
|
/freebsd-9.3-release/sys/dev/e1000/ |
H A D | e1000_osdep.c | 52 *value = pci_read_config(((struct e1000_osdep *)hw->back)->dev, reg, 2); 79 *value = pci_read_config(dev, offset + reg, 2);
|
/freebsd-9.3-release/sys/dev/pci/ |
H A D | fixup_pci.c | 92 pmccfg = pci_read_config(dev, 0x50, 2); 133 val = pci_read_config(dev, 0x6c, 4);
|
H A D | pci_pci.c | 162 val = pci_read_config(dev, PCIR_IOBASEL_1, 1); 179 val = pci_read_config(dev, PCIR_PMBASEL_1, 2); 439 val = pci_read_config(dev, PCIR_IOBASEL_1, 1); 446 if (pci_read_config(dev, PCIR_IOBASEL_1, 1) != 0) { 461 pci_read_config(dev, PCIR_IOBASEH_1, 2), val); 463 pci_read_config(dev, PCIR_IOLIMITH_1, 2), 464 pci_read_config(dev, PCIR_IOLIMITL_1, 1)); 469 pci_read_config(dev, PCIR_IOLIMITL_1, 1)); 482 pci_read_config(dev, PCIR_MEMBASE_1, 2)); 484 pci_read_config(de [all...] |
/freebsd-9.3-release/sys/i386/i386/ |
H A D | mp_clock.c | 115 d = pci_read_config(dev, PCIR_COMMAND, 2); 128 d = pci_read_config(dev, 0x40, 4);
|
/freebsd-9.3-release/sys/dev/mpt/ |
H A D | mpt_pci.c | 392 val = pci_read_config(dev, PCIR_COMMAND, 2); 400 val = pci_read_config(dev, PCIR_BIOS, 4); 426 val = pci_read_config(dev, PCIR_BAR(0), 4); 745 mpt->pci_cfg.Command = pci_read_config(mpt->dev, PCIR_COMMAND, 2); 747 pci_read_config(mpt->dev, PCIR_CACHELNSZ, 2); 748 mpt->pci_cfg.IO_BAR = pci_read_config(mpt->dev, PCIR_BAR(0), 4); 749 mpt->pci_cfg.Mem0_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(1), 4); 750 mpt->pci_cfg.Mem0_BAR[1] = pci_read_config(mpt->dev, PCIR_BAR(2), 4); 751 mpt->pci_cfg.Mem1_BAR[0] = pci_read_config(mpt->dev, PCIR_BAR(3), 4); 752 mpt->pci_cfg.Mem1_BAR[1] = pci_read_config(mp [all...] |
/freebsd-9.3-release/sys/dev/pccbb/ |
H A D | pccbb_pci.c | 114 pci_write_config(DEV, REG, pci_read_config(DEV, REG, SIZE) MASK, SIZE) 117 pci_read_config(DEV, REG, SIZE) MASK1) MASK2, SIZE) 271 membase = pci_read_config(dev, CBBR_SOCKBASE, 4); 272 irq = pci_read_config(dev, PCIR_INTLINE, 4); 298 printf("0x%08x ", pci_read_config(dev, i, 4)); 321 sc->secbus = pci_read_config(brdev, PCIR_SECBUS_2, 1); 322 sc->subbus = pci_read_config(brdev, PCIR_SUBBUS_2, 1); 376 pribus = pci_read_config(brdev, PCIR_PRIBUS_2, 1); 461 if (pci_read_config(sc->dev, PCIR_SECLAT_1, 1) < 0x20) 465 if (pci_read_config(s [all...] |
/freebsd-9.3-release/sys/dev/drm2/ |
H A D | drm_pci.c | 153 lnkcap = pci_read_config(root, pos + PCIER_LINK_CAP, 4); 154 lnkcap2 = pci_read_config(root, pos + PCIER_LINK_CAP2, 4);
|
/freebsd-9.3-release/sys/dev/usb/controller/ |
H A D | ehci_pci.c | 231 val = pci_read_config(self, 0x53, 1); 247 val = pci_read_config(self, 0x4b, 1); 276 switch (pci_read_config(self, PCI_USBREV, 1) & PCI_USB_REV_MASK) { 510 eec = pci_read_config(self, eecp, 4); 514 bios_sem = pci_read_config(self, eecp + 525 bios_sem = pci_read_config(self, eecp +
|