/netbsd-current/sys/dev/pci/ |
H A D | sti_pci.c | 152 address = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM); 153 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, 155 mask = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM); 157 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, address); 388 address = pci_conf_read(spc->sc_pc, spc->sc_tag, PCI_MAPREG_ROM); 390 pci_conf_write(spc->sc_pc, spc->sc_tag, PCI_MAPREG_ROM, address); 414 address = pci_conf_read(spc->sc_pc, spc->sc_tag, PCI_MAPREG_ROM); 416 pci_conf_write(spc->sc_pc, spc->sc_tag, PCI_MAPREG_ROM, address);
|
H A D | mpt_pci.c | 195 reg = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM); 197 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, reg);
|
H A D | genfb_pci.c | 156 for (bar = PCI_MAPREG_START; bar <= PCI_MAPREG_ROM; bar += 4) { 159 if ((bar == PCI_MAPREG_ROM) && (rom != 0)) { 164 if (skip || (bar >= PCI_MAPREG_END && bar < PCI_MAPREG_ROM) ||
|
H A D | pci_map.c | 122 isrom = (reg == PCI_MAPREG_ROM); 309 else if (reg == PCI_MAPREG_ROM) 598 if (reg != PCI_MAPREG_ROM && !entry.enabled) { 616 if (reg == PCI_MAPREG_ROM) {
|
H A D | pciconf.c | 810 bar = pci_conf_read(pb->pc, tag, PCI_MAPREG_ROM); 811 pci_conf_write(pb->pc, tag, PCI_MAPREG_ROM, 0xfffffffe); 812 mask = pci_conf_read(pb->pc, tag, PCI_MAPREG_ROM); 813 pci_conf_write(pb->pc, tag, PCI_MAPREG_ROM, bar); 824 pm->reg = PCI_MAPREG_ROM; 852 bar = pci_conf_read(pb->pc, tag, PCI_MAPREG_ROM); 853 pci_conf_write(pb->pc, tag, PCI_MAPREG_ROM, 1004 if (pm->reg == PCI_MAPREG_ROM) { 1048 if (pm->reg != PCI_MAPREG_ROM) { 1083 if (pm->reg == PCI_MAPREG_ROM [all...] |
H A D | if_cas.c | 231 if (pci_mapreg_map(pa, PCI_MAPREG_ROM, PCI_MAPREG_TYPE_MEM, 0, 389 address = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM); 391 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, address);
|
H A D | radeonfb.c | 561 if (pci_mapreg_info(sc->sc_pc, sc->sc_pt, PCI_MAPREG_ROM, 1390 if (pci_mapreg_map(pa, PCI_MAPREG_ROM, PCI_MAPREG_TYPE_ROM, 1450 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, 1451 pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM) &
|
H A D | pcireg.h | 467 #define PCI_MAPREG_ROM 0x30 macro
|
H A D | mpii.c | 499 pci_conf_write(sc->sc_pc, sc->sc_tag, PCI_MAPREG_ROM, 500 pci_conf_read(sc->sc_pc, sc->sc_tag, PCI_MAPREG_ROM) &
|
H A D | if_sip.c | 1136 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, 1137 pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM) &
|
H A D | machfb.c | 468 pci_mapreg_info(sc->sc_pc, sc->sc_pcitag, PCI_MAPREG_ROM,
|
H A D | pci_subr.c | 4749 rval = regs[o2i(PCI_MAPREG_ROM)];
|
/netbsd-current/sys/arch/sparc/sparc/ |
H A D | pci_fixup.c | 195 saved = pci_conf_read(NULL, tag, PCI_MAPREG_ROM); 196 pci_conf_write(NULL, tag, PCI_MAPREG_ROM, (pcireg_t) ~0x0); 197 val = pci_conf_read(NULL, tag, PCI_MAPREG_ROM); 198 pci_conf_write(NULL, tag, PCI_MAPREG_ROM, saved); 365 pci_conf_write(NULL, tag, PCI_MAPREG_ROM, (pcireg_t) ~0x0); 366 val = pci_conf_read(NULL, tag, PCI_MAPREG_ROM); 372 pci_conf_write(NULL, tag, PCI_MAPREG_ROM,
|
/netbsd-current/sys/external/bsd/drm2/pci/ |
H A D | drmfb_pci.c | 85 for (i = 0; PCI_BAR(i) <= PCI_MAPREG_ROM; i++) {
|
/netbsd-current/sys/arch/hppa/dev/ |
H A D | gftfb.c | 363 address = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM); 364 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, 366 mask = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM); 368 pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_MAPREG_ROM, address); 599 address = pci_conf_read(spc->sc_pc, spc->sc_tag, PCI_MAPREG_ROM); 601 pci_conf_write(spc->sc_pc, spc->sc_tag, PCI_MAPREG_ROM, address); 625 address = pci_conf_read(spc->sc_pc, spc->sc_tag, PCI_MAPREG_ROM); 627 pci_conf_write(spc->sc_pc, spc->sc_tag, PCI_MAPREG_ROM, address);
|
/netbsd-current/sys/external/bsd/drm2/linux/ |
H A D | linux_pci.c | 726 if (pci_mapreg_map(&pdev->pd_pa, PCI_MAPREG_ROM, PCI_MAPREG_TYPE_ROM, 784 addr = pci_conf_read(pc, tag, PCI_MAPREG_ROM); 786 pci_conf_write(pc, tag, PCI_MAPREG_ROM, addr); 801 addr = pci_conf_read(pc, tag, PCI_MAPREG_ROM); 803 pci_conf_write(pc, tag, PCI_MAPREG_ROM, addr);
|
/netbsd-current/sys/arch/arc/pci/ |
H A D | necpb.c | 231 necpb_conf_write(pc, tag, PCI_MAPREG_ROM, 0);
|