| /netbsd/src/sys/dev/pci/ |
| D | rdcide.c | 113 sc->sc_pm_reg[0] = pci_conf_read(sc->sc_pc, sc->sc_tag, in rdcide_suspend() 115 sc->sc_pm_reg[1] = pci_conf_read(sc->sc_pc, sc->sc_tag, in rdcide_suspend() 117 sc->sc_pm_reg[2] = pci_conf_read(sc->sc_pc, sc->sc_tag, in rdcide_suspend() 119 sc->sc_pm_reg[3] = pci_conf_read(sc->sc_pc, sc->sc_tag, in rdcide_suspend() 155 pci_conf_read(sc->sc_pc, sc->sc_tag, RDCIDE_PATR)), in rdcide_chip_map() 158 pci_conf_read(sc->sc_pc, sc->sc_tag, RDCIDE_PSD1ATR)), in rdcide_chip_map() 161 pci_conf_read(sc->sc_pc, sc->sc_tag, RDCIDE_UDCCR)), in rdcide_chip_map() 164 pci_conf_read(sc->sc_pc, sc->sc_tag, RDCIDE_IIOCR)), in rdcide_chip_map() 175 patr = pci_conf_read(sc->sc_pc, sc->sc_tag, RDCIDE_PATR); in rdcide_chip_map() 185 pci_conf_read(sc->sc_pc, sc->sc_tag, RDCIDE_PATR)), in rdcide_chip_map() [all …]
|
| D | pci.c | 313 id = pci_conf_read(pc, tag, PCI_ID_REG); in pci_probe_device1() 322 bhlcr = pci_conf_read(pc, tag, PCI_BHLC_REG); in pci_probe_device1() 327 pciclass = pci_conf_read(pc, tag, PCI_CLASS_REG); in pci_probe_device1() 423 intr = pci_conf_read(pc, tag, PCI_INTERRUPT_REG); in pci_probe_device1() 451 addr = pci_conf_read(pc, tag, in pci_probe_device1() 453 addr |= (uint64_t)pci_conf_read(pc, tag, in pci_probe_device1() 532 reg = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG); in pci_get_capability() 537 reg = pci_conf_read(pc, tag, PCI_BHLC_REG); in pci_get_capability() 550 ofs = PCI_CAPLIST_PTR(pci_conf_read(pc, tag, ofs)); in pci_get_capability() 561 reg = pci_conf_read(pc, tag, ofs); in pci_get_capability() [all …]
|
| D | if_ex_pci.c | 232 rev = PCI_REVISION(pci_conf_read(pc, pa->pa_tag, PCI_CLASS_REG)); in ex_pci_attach() 241 pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG) | in ex_pci_attach() 247 pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG); in ex_pci_attach() 249 pci_conf_read(pc, pa->pa_tag, PCI_BHLC_REG); in ex_pci_attach() 251 pci_conf_read(pc, pa->pa_tag, PCI_CBIO); in ex_pci_attach() 264 pci_conf_read(pc, pa->pa_tag, PCI_FUNCMEM); in ex_pci_attach() 268 pci_conf_read(pc, pa->pa_tag, PCI_INTERRUPT_REG); in ex_pci_attach() 341 (void)pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG); in ex_d3tod0() 342 base0 = pci_conf_read(pc, tag, PCI_BAR0); in ex_d3tod0() 343 base1 = pci_conf_read(pc, tag, PCI_BAR1); in ex_d3tod0() [all …]
|
| D | ppb.c | 98 pcireg_t bhlc = pci_conf_read(pa->pa_pc, pa->pa_tag, in ppbmatch() 173 reg = pci_conf_read(sc->sc_pc, sc->sc_tag, off + PCIE_LCAP); in ppb_print_pcie() 185 reg = pci_conf_read(sc->sc_pc, sc->sc_tag, off + PCIE_LCSR); in ppb_print_pcie() 229 busdata = pci_conf_read(pc, pa->pa_tag, PCI_BRIDGE_BUS_REG); in ppbattach() 257 reg = pci_conf_read(sc->sc_pc, sc->sc_tag, in ppbattach() 287 slcsr = pci_conf_read(pc, pa->pa_tag, in ppbattach() 294 slcap = pci_conf_read(pc, pa->pa_tag, in ppbattach() 363 reg = pci_conf_read(pc, pa->pa_tag, PCI_BRIDGE_STATIO_REG); in ppbattach() 367 reg = pci_conf_read(pc, pa->pa_tag, in ppbattach() 378 reg = pci_conf_read(pc, pa->pa_tag, PCI_BRIDGE_MEMORY_REG); in ppbattach() [all …]
|
| D | pci_map.c | 77 address = pci_conf_read(pc, tag, reg); in pci_io_find() 83 csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG); in pci_io_find() 87 mask = pci_conf_read(pc, tag, reg); in pci_io_find() 150 address = pci_conf_read(pc, tag, reg); in pci_mem_find() 151 csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG); in pci_mem_find() 160 mask = pci_conf_read(pc, tag, reg); in pci_mem_find() 163 address1 = pci_conf_read(pc, tag, reg + 4); in pci_mem_find() 166 mask1 = pci_conf_read(pc, tag, reg + 4); in pci_mem_find() 316 val = pci_conf_read(pc, tag, ea_cap_ptr + PCI_EA_CAP1); in pci_ea_lookup() 319 val = pci_conf_read(pc, tag, PCI_BHLC_REG); in pci_ea_lookup() [all …]
|
| D | agp_amd64.c | 166 reg = pci_conf_read(pa->pa_pc, tag, PCI_CLASS_REG); in agp_amd64_nvidia_match() 171 reg = pci_conf_read(pa->pa_pc, tag, PCI_ID_REG); in agp_amd64_nvidia_match() 186 reg = pci_conf_read(pa->pa_pc, tag, PCI_CLASS_REG); in agp_amd64_via_match() 191 reg = pci_conf_read(pa->pa_pc, tag, PCI_ID_REG); in agp_amd64_via_match() 222 id = pci_conf_read(pa->pa_pc, tag, PCI_ID_REG); in agp_amd64_attach() 303 apctrl = pci_conf_read(pa->pa_pc, asc->mctrl_tag[i], in agp_amd64_attach() 344 i = (pci_conf_read(sc->as_pc, asc->mctrl_tag[0], AGP_AMD64_APCTRL) & in agp_amd64_get_aperture() 368 apctrl = pci_conf_read(sc->as_pc, asc->mctrl_tag[0], in agp_amd64_set_aperture() 427 cachectrl = pci_conf_read(sc->as_pc, asc->mctrl_tag[i], in agp_amd64_flush_tlb() 442 apbase = pci_conf_read(sc->as_pc, sc->as_tag, AGP_APBASE); in agp_amd64_apbase_fixup() [all …]
|
| D | agp_intel.c | 160 value = pci_conf_read(sc->as_pc, sc->as_tag, AGP_INTEL_APSIZE); in agp_intel_attach() 163 isc->aperture_mask = pci_conf_read(sc->as_pc, sc->as_tag, in agp_intel_attach() 211 pci_conf_read(sc->as_pc, sc->as_tag, AGP_INTEL_AGPCTRL) in agp_intel_init() 220 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_I840_MCHCFG); in agp_intel_init() 228 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_INTEL_AGPCMD); in agp_intel_init() 232 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_I840_MCHCFG); in agp_intel_init() 240 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_INTEL_NBXCFG); in agp_intel_init() 263 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_INTEL_ERRSTS); in agp_intel_init() 285 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_INTEL_NBXCFG); 303 apsize = pci_conf_read(sc->as_pc, sc->as_tag, in agp_intel_get_aperture() [all …]
|
| D | agp_ali.c | 117 reg = pci_conf_read(pa->pa_pc, pa->pa_tag, AGP_ALI_ATTBASE); in agp_ali_attach() 122 reg = pci_conf_read(pa->pa_pc, pa->pa_tag, AGP_ALI_TLBCTRL); in agp_ali_attach() 142 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_ALI_TLBCTRL); 149 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_ALI_ATTBASE); 184 i = (int)pci_conf_read(sc->as_pc, sc->as_tag, AGP_ALI_ATTBASE) & 0xf; in agp_ali_get_aperture() 205 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_ALI_ATTBASE); in agp_ali_set_aperture() 241 reg = pci_conf_read(sc->as_pc, sc->as_tag, AGP_ALI_TLBCTRL); in agp_ali_flush_tlb()
|
| D | puccn.c | 112 reg = pci_conf_read(pa.pa_pc, pa.pa_tag, PCI_ID_REG); in pucprobe_doit() 116 bhlcr = pci_conf_read(pa.pa_pc, pa.pa_tag, PCI_BHLC_REG); in pucprobe_doit() 125 reg = pci_conf_read(pa.pa_pc, pa.pa_tag, in pucprobe_doit() 130 pa.pa_id = pci_conf_read(pa.pa_pc, pa.pa_tag, in pucprobe_doit() 132 subsys = pci_conf_read(pa.pa_pc, pa.pa_tag, in pucprobe_doit() 173 base = pci_conf_read(pa.pa_pc, pa.pa_tag, desc->ports[i].bar); in pucprobe_doit()
|
| D | pciconf.c | 333 id = pci_conf_read(pb->pc, tag, PCI_ID_REG); in probe_bus() 343 bhlcr = pci_conf_read(pb->pc, tag, PCI_BHLC_REG); in probe_bus() 347 id = pci_conf_read(pb->pc, tag, PCI_ID_REG); in probe_bus() 429 io = pci_conf_read(parent->pc, pd->tag, PCI_BRIDGE_STATIO_REG); in query_bus() 436 pmem = pci_conf_read(parent->pc, pd->tag, in query_bus() 555 base = pci_conf_read(pb->pc, tag, br); in pci_bar_is_reserved() 557 mask = pci_conf_read(pb->pc, tag, br); in pci_bar_is_reserved() 568 base64 = pci_conf_read(pb->pc, tag, br + 4); in pci_bar_is_reserved() 570 mask64 = pci_conf_read(pb->pc, tag, br + 4); in pci_bar_is_reserved() 605 classreg = pci_conf_read(pb->pc, tag, PCI_CLASS_REG); in pci_do_device_query() [all …]
|
| D | piixide.c | 418 sc->sc_pm_reg[0] = pci_conf_read(sc->sc_pc, sc->sc_tag, in piixide_suspend() 420 sc->sc_pm_reg[1] = pci_conf_read(sc->sc_pc, sc->sc_tag, in piixide_suspend() 497 pci_conf_read(sc->sc_pc, sc->sc_tag, PIIX_IDETIM)), in piix_chip_map() 501 pci_conf_read(sc->sc_pc, sc->sc_tag, PIIX_SIDETIM)), in piix_chip_map() 505 pci_conf_read(sc->sc_pc, sc->sc_tag, PIIX_UDMAREG)), in piix_chip_map() 522 pci_conf_read(sc->sc_pc, sc->sc_tag, PIIX_CONFIG)), in piix_chip_map() 536 idetim = pci_conf_read(sc->sc_pc, sc->sc_tag, PIIX_IDETIM); in piix_chip_map() 551 interface = PCI_INTERFACE(pci_conf_read(sc->sc_pc, in piix_chip_map() 561 pci_conf_read(sc->sc_pc, sc->sc_tag, PIIX_IDETIM)), in piix_chip_map() 565 pci_conf_read(sc->sc_pc, sc->sc_tag, PIIX_SIDETIM)), in piix_chip_map() [all …]
|
| D | ehci_pci.c | 182 pcireg_t intr = pci_conf_read(pc, tag, PCI_INTERRUPT_REG); in ehci_pci_attach() 186 csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG); in ehci_pci_attach() 213 switch (pci_conf_read(pc, tag, PCI_USBREV) & PCI_USBREV_MASK) { in ehci_pci_attach() 358 cap = pci_conf_read(pc, tag, addr); in ehci_dump_caps() 362 legctlsts = pci_conf_read(pc, tag, in ehci_dump_caps() 389 cap = pci_conf_read(pc, tag, addr); in ehci_release_ownership() 392 legsup = pci_conf_read(pc, tag, addr + PCI_EHCI_USBLEGSUP); in ehci_release_ownership() 422 cap = pci_conf_read(pc, tag, addr); in ehci_get_ownership() 425 legsup = pci_conf_read(pc, tag, addr + PCI_EHCI_USBLEGSUP); in ehci_get_ownership() 431 legsup = pci_conf_read(pc, tag, in ehci_get_ownership() [all …]
|
| /netbsd/src/sys/arch/x86/pci/ |
| D | pchb.c | 103 dev_id = pci_conf_read(pc, tag, PCI_ID_REG); in pchb_get_bus_number() 106 return pci_conf_read(pc, tag, 0x44) & 0xff; in pchb_get_bus_number() 110 bcreg = pci_conf_read(pc, tag, 0x40); in pchb_get_bus_number() 117 bcreg = pci_conf_read(pc, tag, PCISET_BUSCONFIG_REG); in pchb_get_bus_number() 127 bcreg = pci_conf_read(pc, tag, 0xd0); in pchb_get_bus_number() 133 bcreg = pci_conf_read(pc, tag, 0xd0); in pchb_get_bus_number() 139 bcreg = pci_conf_read(pc, tag, 0xd4); in pchb_get_bus_number() 181 pbnum = pci_conf_read(pa->pa_pc, pa->pa_tag, 0x44) & 0xff; in pchbattach() 239 bcreg = pci_conf_read(pa->pa_pc, pa->pa_tag, 0x40); in pchbattach() 262 bcreg = pci_conf_read(pa->pa_pc, pa->pa_tag, in pchbattach() [all …]
|
| D | pci_addr_fixup.c | 174 val = pci_conf_read(pc, tag, PCI_BHLC_REG); in pciaddr_resource_manage() 197 val = pci_conf_read(pc, tag, mapreg); in pciaddr_resource_manage() 200 mask = pci_conf_read(pc, tag, mapreg); in pciaddr_resource_manage() 242 val = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG); in pciaddr_resource_manage() 297 if (pciaddr_ioaddr(pci_conf_read(pc, tag, mapreg)) != *addr) { in pciaddr_do_resource_allocate() 345 id = pci_conf_read(pc, tag, PCI_ID_REG); in pciaddr_print_devid() 358 class = pci_conf_read(pc, tag, PCI_CLASS_REG); in device_is_agp() 360 status = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG); in device_is_agp() 362 rval = pci_conf_read(pc, tag, PCI_CAPLISTPTR_REG); in device_is_agp() 366 rval = pci_conf_read(pc, tag, off); in device_is_agp()
|
| D | pci_bus_fixup.c | 79 reg = pci_conf_read(pc, tag, PCI_ID_REG); in pci_bus_fixup() 90 reg = pci_conf_read(pc, tag, PCI_BHLC_REG); in pci_bus_fixup() 100 reg = pci_conf_read(pc, tag, PCI_ID_REG); in pci_bus_fixup() 112 reg = pci_conf_read(pc, tag, PCI_CLASS_REG); in pci_bus_fixup() 122 reg = pci_conf_read(pc, tag, in pci_bus_fixup() 163 reg = pci_conf_read(pc, tag, PCI_BRIDGE_BUS_REG); in pci_bridge_reset()
|
| D | pci_ranges.c | 308 bhlcr = pci_conf_read(pc, tag, PCI_BHLC_REG); in io_range_infer() 321 pci_conf_read(pc, tag, PCI_BRIDGE_STATIO_REG), in io_range_infer() 322 pci_conf_read(pc, tag, PCI_BRIDGE_IOHIGH_REG)); in io_range_infer() 324 pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG), in io_range_infer() 325 pci_conf_read(pc, tag, PCI_BRIDGE_CONTROL_REG)); in io_range_infer() 329 io = pci_conf_read(pc, tag, PCI_CB_IOBASE0); in io_range_infer() 330 limit = pci_conf_read(pc, tag, PCI_CB_IOLIMIT0); in io_range_infer() 333 io = pci_conf_read(pc, tag, PCI_CB_IOBASE1); in io_range_infer() 334 limit = pci_conf_read(pc, tag, PCI_CB_IOLIMIT1); in io_range_infer() 351 basebar = pci_conf_read(pc, tag, PCI_BAR(bar)); in io_range_infer() [all …]
|
| /netbsd/src/sys/arch/i386/pci/ |
| D | via8231reg.h | 86 ((pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8231_CFG_PIR) \ 89 ((pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8237_CFG_PIR) \ 94 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8231_CFG_PIR) \ 98 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8237_CFG_PIR) \ 109 ((pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8231_CFG_PIR) \ 112 ((pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8237_CFG_PIR) \ 117 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8231_CFG_PIR) \ 121 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, VIA8237_CFG_PIR) \
|
| D | opti82c700.c | 204 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, addrofs); in opti82c700_get_intr() 226 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, addrofs); in opti82c700_set_intr() 253 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, addrofs); in opti82c700_get_trigger() 269 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, addrofs); in opti82c700_get_trigger() 298 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, addrofs); in opti82c700_set_trigger() 318 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, addrofs); in opti82c700_set_trigger() 340 r = pci_conf_read(pc, tag, 0xb0 + i); in opti82c700_pir_dump() 352 r = pci_conf_read(pc, tag, 0xb8); in opti82c700_pir_dump()
|
| D | amd756reg.h | 56 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, AMD756_CFG_PIR) \ 60 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, AMD756_CFG_PIR) \ 65 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, AMD756_CFG_PIR) \ 70 (pci_conf_read((ph)->ph_pc, (ph)->ph_tag, AMD756_CFG_PIR) \
|
| /netbsd/src/sys/arch/netwinder/pci/ |
| D | pci_machdep.c | 30 intreg = pci_conf_read(pba->pba_pc, tag, PCI_INTERRUPT_REG); in netwinder_pci_attach_hook() 48 intreg = pci_conf_read(pba->pba_pc, tag, PCI_INTERRUPT_REG); in netwinder_pci_attach_hook() 69 pci_conf_read(pba->pba_pc, tag, 0x48)|0xff); in netwinder_pci_attach_hook() 71 regval = pci_conf_read(pba->pba_pc, tag, 0x40); in netwinder_pci_attach_hook() 76 regval = pci_conf_read(pba->pba_pc, tag, 0x80); in netwinder_pci_attach_hook() 91 regval = pci_conf_read(pba->pba_pc, tag, PCI_CLASS_REG); in netwinder_pci_attach_hook() 95 regval = pci_conf_read(pba->pba_pc, tag, 0x40); in netwinder_pci_attach_hook() 104 intreg = pci_conf_read(pba->pba_pc, tag, PCI_INTERRUPT_REG); in netwinder_pci_attach_hook() 115 regval = pci_conf_read(pba->pba_pc, tag, 0x40); in netwinder_pci_attach_hook()
|
| /netbsd/src/sys/arch/sparc/sparc/ |
| D | pci_fixup.c | 155 val = pci_conf_read(NULL, tag, PCI_BHLC_REG); in mspcic_pci_scan() 166 saved = pci_conf_read(NULL, tag, PCI_BAR(i)); in mspcic_pci_scan() 168 val = pci_conf_read(NULL, tag, PCI_BAR(i)); in mspcic_pci_scan() 195 saved = pci_conf_read(NULL, tag, PCI_MAPREG_ROM); in mspcic_pci_scan() 197 val = pci_conf_read(NULL, tag, PCI_MAPREG_ROM); in mspcic_pci_scan() 337 val = pci_conf_read(NULL, tag, PCI_ID_REG); in mspcic_pci_fixup() 348 val = pci_conf_read(NULL, tag, PCI_INTERRUPT_REG); in mspcic_pci_fixup() 356 val = pci_conf_read(NULL, tag, PCI_CLASS_REG); in mspcic_pci_fixup() 366 val = pci_conf_read(NULL, tag, PCI_MAPREG_ROM); in mspcic_pci_fixup() 381 val = pci_conf_read(NULL, tag, PCI_BHLC_REG); in mspcic_pci_fixup() [all …]
|
| /netbsd/src/sys/arch/powerpc/pci/ |
| D | pchb.c | 83 reg1 = pci_conf_read(pa->pa_pc, pa->pa_tag, MPC105_PICR1); in mpc105_print() 84 reg2 = pci_conf_read(pa->pa_pc, pa->pa_tag, MPC105_PICR2); in mpc105_print() 126 reg1 = pci_conf_read(pa->pa_pc, pa->pa_tag, MPC106_PICR1); in mpc106_print() 127 reg2 = pci_conf_read(pa->pa_pc, pa->pa_tag, MPC106_PICR2); in mpc106_print() 188 reg1 = pci_conf_read(pa->pa_pc, pa->pa_tag, in ibm82660_print() 216 reg1 = pci_conf_read(pa->pa_pc, pa->pa_tag, IBM_82660_OPTIONS_1); in ibm82660_print() 224 reg1 = pci_conf_read(pa->pa_pc, pa->pa_tag, IBM_82660_OPTIONS_3); in ibm82660_print()
|
| /netbsd/src/sys/external/bsd/drm2/linux/ |
| D | linux_pci.c | 110 pcireg_t id = pci_conf_read(npa->pa_pc, npa->pa_tag, PCI_ID_REG); in alloc_fake_parent_device() 111 pcireg_t subid = pci_conf_read(npa->pa_pc, npa->pa_tag, in alloc_fake_parent_device() 113 pcireg_t class = pci_conf_read(npa->pa_pc, npa->pa_tag, PCI_CLASS_REG); in alloc_fake_parent_device() 148 const uint32_t subsystem_id = pci_conf_read(pa->pa_pc, pa->pa_tag, in linux_pci_dev_init() 225 *valuep = pci_conf_read(pdev->pd_pa.pa_pc, pdev->pd_pa.pa_tag, reg); in pci_read_config_dword() 234 *valuep = pci_conf_read(pdev->pd_pa.pa_pc, pdev->pd_pa.pa_tag, in pci_read_config_word() 243 *valuep = pci_conf_read(pdev->pd_pa.pa_pc, pdev->pd_pa.pa_tag, in pci_read_config_byte() 265 *valuep = pci_conf_read(bus->pb_pc, tag, reg & ~3) >> (8 * (reg & 3)); in pci_bus_read_config_dword() 277 *valuep = pci_conf_read(bus->pb_pc, tag, reg &~ 2) >> (8 * (reg & 2)); in pci_bus_read_config_word() 288 *valuep = pci_conf_read(bus->pb_pc, tag, reg &~ 3) >> (8 * (reg & 3)); in pci_bus_read_config_byte() [all …]
|
| /netbsd/src/sys/arch/powerpc/ibm4xx/pci/ |
| D | pchb.c | 99 class = pci_conf_read(pc, tag, PCI_CLASS_REG); in pchbmatch() 100 id = pci_conf_read(pc, tag, PCI_ID_REG); in pchbmatch() 137 class = pci_conf_read(pc, tag, PCI_CLASS_REG); in pchbattach() 138 id = pci_conf_read(pc, tag, PCI_ID_REG); in pchbattach() 211 x = pci_conf_read(pc, tag, 0); 219 x = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
|
| /netbsd/src/sys/arch/macppc/pci/ |
| D | pci_machdep.c | 177 id = pci_conf_read(pc, tag, PCI_ID_REG); in fixpci() 190 isp = pci_conf_read(pc, tag_isp, PCI_ID_REG); in fixpci() 199 reg = pci_conf_read(pc, tag, in fixpci() 207 reg = pci_conf_read(pc, tag, PCI_INTERRUPT_REG); in fixpci() 231 csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG); in fixpci() 293 id = pci_conf_read(pc, tag, PCI_ID_REG); in fixpci() 306 intr = pci_conf_read(pc, tag, PCI_INTERRUPT_REG); in fixpci() 312 cr = pci_conf_read(pc, tag, PCI_CLASS_REG); in fixpci() 321 bi = pci_conf_read(pc, tag, PCI_BRIDGE_BUS_REG); in fixpci() 363 bi = pci_conf_read(pc, tag, PCI_BRIDGE_BUS_REG); in fix_cardbus_bridge()
|