/freebsd-9.3-release/sys/dev/agp/ |
H A D | agp_intel.c | 142 pci_write_config(dev, AGP_INTEL_ATTBASE, sc->gatt->ag_physical, 4); 147 pci_write_config(dev, AGP_INTEL_AGPCTRL, 0x2080, 4); 154 pci_write_config(dev, AGP_INTEL_AGPCTRL, 0x2280, 4); 158 pci_write_config(dev, AGP_INTEL_AGPCTRL, value | 0x80, 4); 165 pci_write_config(dev, AGP_INTEL_I820_RDCR, 175 pci_write_config(dev, AGP_INTEL_I845_AGPM, 184 pci_write_config(dev, AGP_INTEL_MCHCFG, 189 pci_write_config(dev, AGP_INTEL_NBXCFG, 197 pci_write_config(dev, AGP_INTEL_I8XX_ERRSTS, 0xc000, 2); 210 pci_write_config(de [all...] |
H A D | agp_apple.c | 134 pci_write_config(dev, UNIN_AGP_BASE_ADDR, 0, 4); 173 pci_write_config(dev, UNIN_AGP_GART_CONTROL, UNIN_AGP_GART_INVAL, 4); 174 pci_write_config(dev, UNIN_AGP_GART_CONTROL, 0, 4); 177 pci_write_config(dev, UNIN_AGP_GART_CONTROL, 179 pci_write_config(dev, UNIN_AGP_GART_CONTROL, 0, 4); 214 pci_write_config(dev, UNIN_AGP_GART_BASE, 257 pci_write_config(dev, UNIN_AGP_GART_CONTROL, 259 pci_write_config(dev, UNIN_AGP_GART_CONTROL, cntrl, 4); 262 pci_write_config(dev, UNIN_AGP_GART_CONTROL, 264 pci_write_config(de [all...] |
H A D | agp_via.c | 204 pci_write_config(dev, sc->regs[REG_ATTBASE], gatt->ag_physical | 3, 4); 207 pci_write_config(dev, sc->regs[REG_GARTCTRL], 0x0f, 4); 212 pci_write_config(dev, sc->regs[REG_ATTBASE], gatt->ag_physical, 4); 216 pci_write_config(dev, sc->regs[REG_GARTCTRL], gartctrl | (3 << 7), 4); 232 pci_write_config(dev, sc->regs[REG_GARTCTRL], 0, 4); 233 pci_write_config(dev, sc->regs[REG_ATTBASE], 0, 4); 307 pci_write_config(dev, sc->regs[REG_APSIZE], apsize, 1); 346 pci_write_config(dev, sc->regs[REG_APSIZE], 383 pci_write_config(dev, sc->regs[REG_GARTCTRL], 0x8f, 4); 384 pci_write_config(de [all...] |
H A D | agp_ali.c | 131 pci_write_config(dev, AGP_ALI_ATTBASE, gatt->ag_physical | 135 pci_write_config(dev, AGP_ALI_TLBCTRL, 0x10, 1); 149 pci_write_config(dev, AGP_ALI_TLBCTRL, 0x90, 1); 154 pci_write_config(dev, AGP_ALI_ATTBASE, attbase & 0xfff, 4); 204 pci_write_config(dev, AGP_ALI_ATTBASE, (attbase & ~0xf) | i, 4); 235 pci_write_config(dev, AGP_ALI_TLBCTRL, 0x90, 1); 236 pci_write_config(dev, AGP_ALI_TLBCTRL, 0x10, 1);
|
H A D | agp_sis.c | 157 pci_write_config(dev, AGP_SIS_ATTBASE, gatt->ag_physical, 4); 160 pci_write_config(dev, AGP_SIS_WINCTRL, 167 pci_write_config(dev, AGP_SIS_TLBCTRL, 0x05, 1); 180 pci_write_config(dev, AGP_SIS_WINCTRL, 184 pci_write_config(dev, AGP_SIS_TLBCTRL, 0, 1); 222 pci_write_config(dev, AGP_SIS_WINCTRL, 256 pci_write_config(dev, AGP_SIS_TLBFLUSH, 0x02, 1);
|
H A D | agp_nvidia.c | 202 pci_write_config(sc->mc2_dev, AGP_NVIDIA_2_APBASE, apbase, 4); 203 pci_write_config(sc->mc2_dev, AGP_NVIDIA_2_APLIMIT, aplimit, 4); 204 pci_write_config(sc->bdev, AGP_NVIDIA_3_APBASE, apbase, 4); 205 pci_write_config(sc->bdev, AGP_NVIDIA_3_APLIMIT, aplimit, 4); 227 pci_write_config(sc->mc2_dev, AGP_NVIDIA_2_ATTBASE(i), 234 pci_write_config(sc->mc2_dev, AGP_NVIDIA_2_GARTCTRL, temp | 0x11, 4); 238 pci_write_config(sc->dev, AGP_NVIDIA_0_APSIZE, temp | 0x100, 4); 256 pci_write_config(sc->dev, AGP_NVIDIA_0_APSIZE, temp & ~(0x100), 4); 260 pci_write_config(sc->mc2_dev, AGP_NVIDIA_2_GARTCTRL, temp & ~(0x11), 4); 309 pci_write_config(de [all...] |
H A D | agp_ati.c | 231 pci_write_config(dev, apsize_reg, temp | 1, 4); 233 pci_write_config(dev, agpmode_reg, 0x20000, 4); 238 pci_write_config(dev, 4, temp | (1 << 14), 4); 267 pci_write_config(dev, apsize_reg, temp & ~1, 4); 312 pci_write_config(dev, apsize_reg, size_value, 4);
|
/freebsd-9.3-release/sys/dev/e1000/ |
H A D | e1000_osdep.c | 46 pci_write_config(((struct e1000_osdep *)hw->back)->dev, reg, *value, 2); 58 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND, 65 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND, 93 pci_write_config(dev, offset + reg, *value, 2);
|
/freebsd-9.3-release/sys/dev/en/ |
H A D | if_en_pci.c | 258 pci_write_config(dev, EN_TONGA, TONGA_SWAP_DMA | TONGA_READ_IVAN, 4); 384 pci_write_config(dev, EN_TONGA, *data, 4); 386 pci_write_config(dev, EN_TONGA, *data, 4); 388 pci_write_config(dev, EN_TONGA, *data, 4); 390 pci_write_config(dev, EN_TONGA, *data, 4); 395 pci_write_config(dev, EN_TONGA, *data, 4); 397 pci_write_config(dev, EN_TONGA, *data, 4); 399 pci_write_config(dev, EN_TONGA, *data, 4); 403 pci_write_config(dev, EN_TONGA, *data, 4); 405 pci_write_config(de [all...] |
/freebsd-9.3-release/sys/dev/ata/chipsets/ |
H A D | ata-ite.c | 100 pci_write_config(dev, 0x50, pci_read_config(dev, 0x50, 1) & ~0x83, 1); 103 pci_write_config(dev, 0x54, 0x31, 1); 104 pci_write_config(dev, 0x56, 0x31, 1); 152 pci_write_config(parent, 0x50, 156 pci_write_config(parent, 162 pci_write_config(parent, 0x50, 169 pci_write_config(parent, 0x54 + (ch->unit << 2), 201 pci_write_config(parent, 0x48, reg48 | (0x0001 << target), 2); 202 pci_write_config(parent, 0x4a, 207 pci_write_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); 132 pci_write_config(dev, 0x5b, 0x22, 1); 134 pci_write_config(dev, 0x5b, 193 pci_write_config(parent, 0x40 + (devno << 2), 209 pci_write_config(parent, reg, val | 0x80, 1); 214 pci_write_config(parent, reg, val & 0xfe, 1); 217 pci_write_config(paren [all...] |
H A D | ata-sis.c | 121 pci_write_config(dev, 0x57, (reg57 & 0x7f), 1); 130 pci_write_config(dev, 0x57, reg57, 1); 135 pci_write_config(dev, 0x4a, (reg4a | 0x10), 1); 147 pci_write_config(dev, 0x4a, reg4a, 1); 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); 272 pci_write_config(parent, reg, timings[ata_mode2idx(mode)], 4); 282 pci_write_config(paren [all...] |
H A D | ata-national.c | 117 pci_write_config(parent, 0x44 + (devno << 3), 121 pci_write_config(parent, 0x44 + (devno << 3), 125 pci_write_config(parent, 0x44 + (devno << 3), 130 pci_write_config(parent, 0x40 + (devno << 3),
|
H A D | ata-ati.c | 225 pci_write_config(parent, 0x56, 229 pci_write_config(parent, 0x54, 232 pci_write_config(parent, 0x44, 239 pci_write_config(parent, 0x54, 242 pci_write_config(parent, 0x44, 250 pci_write_config(parent, 0x54, 256 pci_write_config(parent, 0x4a, 260 pci_write_config(parent, 0x40,
|
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); 132 pci_write_config(parent, reg, modes[mode & ATA_MODE_MASK], 1); 135 pci_write_config(parent, reg, 0x8b, 1); 139 pci_write_config(parent, reg - 0x08, timings[ata_mode2idx(piomode)], 1);
|
H A D | ata-acard.c | 214 pci_write_config(parent, 0x54, reg54, 1); 215 pci_write_config(parent, 0x4a, 0xa6, 1); 216 pci_write_config(parent, 0x40 + (devno << 1), 0x0301, 2); 238 pci_write_config(parent, 0x44, reg44, 2); 239 pci_write_config(parent, 0x4a, 0xa6, 1); 240 pci_write_config(parent, 0x40 + devno, 0x31, 1);
|
H A D | ata-via.c | 190 pci_write_config(dev, 0x50, 0x030b030b, 4); 197 pci_write_config(dev, 0x43, 201 pci_write_config(dev, 0x44, pci_read_config(dev, 0x44, 1) | 0x08, 1); 204 pci_write_config(dev, 0x46, 208 pci_write_config(dev, 0x60, DEV_BSIZE, 2); 209 pci_write_config(dev, 0x68, DEV_BSIZE, 2); 339 pci_write_config(parent, 0xb3, 344 pci_write_config(parent, 0xab, pio_timings[ata_mode2idx(piomode)], 1); 370 pci_write_config(parent, reg, 374 pci_write_config(paren [all...] |
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); 285 pci_write_config(children[i], 0x58, 288 pci_write_config(children[i], 0x58, 345 pci_write_config(parent, 0x54, word54, 4); 347 pci_write_config(parent, 0x58 + (ch->unit << 2),
|
H A D | ata-serverworks.c | 156 pci_write_config(children[i], 0x64, 166 pci_write_config(dev, 0x5a, 359 pci_write_config(parent, 0x56, 363 pci_write_config(parent, 0x54, 366 pci_write_config(parent, 0x44, 373 pci_write_config(parent, 0x54, 376 pci_write_config(parent, 0x44, 384 pci_write_config(parent, 0x54, 391 pci_write_config(parent, 0x4a, 396 pci_write_config(paren [all...] |
H A D | ata-jmicron.c | 116 pci_write_config(dev, 0x40, 0x80c0a131, 4); 117 pci_write_config(dev, 0x80, 0x01200000, 4);
|
/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) 116 pci_write_config(DEV, REG, ( \ 281 pci_write_config(dev, CBBR_SOCKBASE, membase, 4); 282 pci_write_config(dev, PCIR_INTLINE, irq, 4); 383 pci_write_config(brdev, PCIR_PRIBUS_2, sc->pribus, 1); 389 pci_write_config(brdev, PCIR_SECBUS_2, sc->secbus, 1); 390 pci_write_config(brdev, PCIR_SUBBUS_2, sc->subbus, 1); 462 pci_write_config(sc->dev, PCIR_SECLAT_1, 0x20, 1); 466 pci_write_config(sc->dev, PCIR_LATTIMER, 0x20, 1); 469 pci_write_config(s [all...] |
/freebsd-9.3-release/sys/dev/pci/ |
H A D | fixup_pci.c | 97 pci_write_config(dev, 0x50, pmccfg, 2); 103 pci_write_config(dev, 0x50, pmccfg, 2); 137 pci_write_config(dev, 0x6c, val, 4);
|
H A D | pci_pci.c | 164 pci_write_config(dev, PCIR_IOBASEH_1, 166 pci_write_config(dev, PCIR_IOLIMITH_1, 169 pci_write_config(dev, PCIR_IOBASEL_1, sc->io.base >> 8, 1); 170 pci_write_config(dev, PCIR_IOLIMITL_1, sc->io.limit >> 8, 1); 174 pci_write_config(dev, PCIR_MEMBASE_1, sc->mem.base >> 16, 2); 175 pci_write_config(dev, PCIR_MEMLIMIT_1, sc->mem.limit >> 16, 2); 181 pci_write_config(dev, PCIR_PMBASEH_1, 183 pci_write_config(dev, PCIR_PMLIMITH_1, 186 pci_write_config(dev, PCIR_PMBASEL_1, sc->pmem.base >> 16, 2); 187 pci_write_config(de [all...] |
/freebsd-9.3-release/sys/dev/mpt/ |
H A D | mpt_pci.c | 395 pci_write_config(dev, PCIR_COMMAND, val, 2); 402 pci_write_config(dev, PCIR_BIOS, val, 4); 786 pci_write_config(mpt->dev, PCIR_COMMAND, mpt->pci_cfg.Command, 2); 787 pci_write_config(mpt->dev, PCIR_CACHELNSZ, 789 pci_write_config(mpt->dev, PCIR_BAR(0), mpt->pci_cfg.IO_BAR, 4); 790 pci_write_config(mpt->dev, PCIR_BAR(1), mpt->pci_cfg.Mem0_BAR[0], 4); 791 pci_write_config(mpt->dev, PCIR_BAR(2), mpt->pci_cfg.Mem0_BAR[1], 4); 792 pci_write_config(mpt->dev, PCIR_BAR(3), mpt->pci_cfg.Mem1_BAR[0], 4); 793 pci_write_config(mpt->dev, PCIR_BAR(4), mpt->pci_cfg.Mem1_BAR[1], 4); 794 pci_write_config(mp [all...] |
/freebsd-9.3-release/sys/dev/cardbus/ |
H A D | cardbus.c | 143 pci_write_config(dev, PCIR_BAR(i), 0, 4); 147 pci_write_config(dev, PCIR_INTLINE, cfg->intline, 1); 148 pci_write_config(dev, PCIR_CACHELNSZ, 0x08, 1); 149 pci_write_config(dev, PCIR_LATTIMER, 0xa8, 1); 150 pci_write_config(dev, PCIR_MINGNT, 0x14, 1); 151 pci_write_config(dev, PCIR_MAXLAT, 0x14, 1);
|