memtype 353 dev/pci/agp.c agp_map_aperture(struct vga_pci_softc *sc, u_int32_t bar, u_int32_t memtype) memtype 360 dev/pci/agp.c memtype, &sc->sc_apaddr, &sc->sc_apsize, memtype 117 dev/pci/agp_i810.c u_int memtype = 0; memtype 164 dev/pci/agp_i810.c memtype = PCI_MAPREG_MEM_TYPE_64BIT; memtype 172 dev/pci/agp_i810.c error = agp_map_aperture(sc, gmaddr, memtype); memtype 179 dev/pci/agp_i810.c error = pci_mapreg_map(pa, mmaddr, memtype, 0, memtype 187 dev/pci/agp_i810.c error = pci_mapreg_map(pa, AGP_I915_GTTADR, memtype, memtype 724 dev/pci/ahc_pci.c pcireg_t memtype; memtype 781 dev/pci/ahc_pci.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, AHC_PCI_MEMADDR); memtype 782 dev/pci/ahc_pci.c switch (memtype) { memtype 786 dev/pci/ahc_pci.c memtype, 0, &memt, &memh, NULL, NULL, 0) == 0); memtype 342 dev/pci/ahd_pci.c pcireg_t devconfig, memtype, reg, subid; memtype 403 dev/pci/ahd_pci.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, memtype 405 dev/pci/ahd_pci.c switch (memtype) { memtype 409 dev/pci/ahd_pci.c memtype, 0, &ahd->tags[0], &ahd->bshs[0], NULL, memtype 423 dev/pci/ahd_pci.c ahd_name(ahd), memtype); memtype 870 dev/pci/arc.c pcireg_t memtype; memtype 878 dev/pci/arc.c memtype = pci_mapreg_type(sc->sc_pc, sc->sc_tag, ARC_PCI_BAR); memtype 879 dev/pci/arc.c if (pci_mapreg_map(pa, ARC_PCI_BAR, memtype, 0, &sc->sc_iot, memtype 100 dev/pci/ciss_pci.c int cfg_bar, memtype; memtype 103 dev/pci/ciss_pci.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, CISS_BAR); memtype 104 dev/pci/ciss_pci.c if (memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_32BIT) && memtype 105 dev/pci/ciss_pci.c memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT)) { memtype 109 dev/pci/ciss_pci.c if (pci_mapreg_map(pa, CISS_BAR, memtype, 0, memtype 101 dev/pci/cy_pci.c pcireg_t memtype; memtype 110 dev/pci/cy_pci.c memtype = PCI_MAPREG_TYPE_MEM|PCI_MAPREG_MEM_TYPE_32BIT_1M; memtype 115 dev/pci/cy_pci.c memtype = PCI_MAPREG_TYPE_MEM|PCI_MAPREG_MEM_TYPE_32BIT; memtype 125 dev/pci/cy_pci.c if (pci_mapreg_map(pa, 0x18, memtype, 0, &sc->sc_memt, memtype 236 dev/pci/if_bce.c pcireg_t memtype; memtype 250 dev/pci/if_bce.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, BCE_PCI_BAR0); memtype 251 dev/pci/if_bce.c switch (memtype) { memtype 254 dev/pci/if_bce.c if (pci_mapreg_map(pa, BCE_PCI_BAR0, memtype, 0, &sc->bce_btag, memtype 1686 dev/pci/if_bge.c pcireg_t pm_ctl, memtype, subid; memtype 1711 dev/pci/if_bge.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, BGE_PCI_BAR0); memtype 1712 dev/pci/if_bge.c switch (memtype) { memtype 1716 dev/pci/if_bge.c memtype, 0, &sc->bge_btag, &sc->bge_bhandle, memtype 623 dev/pci/if_bnx.c pcireg_t memtype; memtype 631 dev/pci/if_bnx.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, BNX_PCI_BAR0); memtype 632 dev/pci/if_bnx.c switch (memtype) { memtype 636 dev/pci/if_bnx.c memtype, 0, &sc->bnx_btag, &sc->bnx_bhandle, memtype 355 dev/pci/if_che.c pcireg_t memtype; memtype 364 dev/pci/if_che.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, CHE_PCI_BAR); memtype 365 dev/pci/if_che.c if (pci_mapreg_map(pa, CHE_PCI_BAR, memtype, 0, &sc->sc_memt, memtype 410 dev/pci/if_lge.c pcireg_t memtype; memtype 458 dev/pci/if_lge.c memtype = pci_mapreg_type(pc, pa->pa_tag, LGE_PCI_LOMEM); memtype 459 dev/pci/if_lge.c switch (memtype) { memtype 463 dev/pci/if_lge.c memtype, 0, &sc->lge_btag, &sc->lge_bhandle, memtype 1160 dev/pci/if_msk.c pcireg_t command, memtype; memtype 1206 dev/pci/if_msk.c memtype = pci_mapreg_type(pc, pa->pa_tag, SK_PCI_LOMEM); memtype 1207 dev/pci/if_msk.c switch (memtype) { memtype 1211 dev/pci/if_msk.c memtype, 0, &sc->sk_btag, &sc->sk_bhandle, memtype 206 dev/pci/if_myx.c pcireg_t memtype; memtype 215 dev/pci/if_myx.c memtype = pci_mapreg_type(sc->sc_pc, sc->sc_tag, MYXBAR0); memtype 216 dev/pci/if_myx.c switch (memtype) { memtype 221 dev/pci/if_myx.c printf(": invalid memory type: 0x%x\n", memtype); memtype 226 dev/pci/if_myx.c if (pci_mapreg_map(pa, MYXBAR0, memtype, 0, &sc->sc_memt, memtype 173 dev/pci/if_nfe.c pcireg_t memtype; memtype 175 dev/pci/if_nfe.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, NFE_PCI_BA); memtype 176 dev/pci/if_nfe.c switch (memtype) { memtype 179 dev/pci/if_nfe.c if (pci_mapreg_map(pa, NFE_PCI_BA, memtype, 0, &sc->sc_memt, memtype 735 dev/pci/if_nge.c pcireg_t memtype; memtype 784 dev/pci/if_nge.c memtype = pci_mapreg_type(pc, pa->pa_tag, NGE_PCI_LOMEM); memtype 785 dev/pci/if_nge.c switch (memtype) { memtype 789 dev/pci/if_nge.c memtype, 0, &sc->nge_btag, &sc->nge_bhandle, memtype 923 dev/pci/if_nxe.c pcireg_t memtype; memtype 925 dev/pci/if_nxe.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, NXE_PCI_BAR_MEM); memtype 926 dev/pci/if_nxe.c if (pci_mapreg_map(pa, NXE_PCI_BAR_MEM, memtype, 0, &sc->sc_memt, memtype 943 dev/pci/if_nxe.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, NXE_PCI_BAR_DOORBELL); memtype 944 dev/pci/if_nxe.c if (pci_mapreg_map(pa, NXE_PCI_BAR_DOORBELL, memtype, 0, &sc->sc_dbt, memtype 1296 dev/pci/if_sk.c pcireg_t command, memtype; memtype 1339 dev/pci/if_sk.c memtype = pci_mapreg_type(pc, pa->pa_tag, SK_PCI_LOMEM); memtype 1340 dev/pci/if_sk.c switch (memtype) { memtype 1344 dev/pci/if_sk.c memtype, 0, &sc->sk_btag, &sc->sk_bhandle, memtype 686 dev/pci/if_tht.c pcireg_t memtype; memtype 696 dev/pci/if_tht.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, THT_PCI_BAR); memtype 697 dev/pci/if_tht.c if (pci_mapreg_map(pa, THT_PCI_BAR, memtype, 0, &sc->sc_memt, memtype 414 dev/pci/if_vic.c pcireg_t memtype; memtype 422 dev/pci/if_vic.c memtype = pci_mapreg_type(sc->sc_pc, sc->sc_tag, VIC_PCI_BAR); memtype 423 dev/pci/if_vic.c if (pci_mapreg_map(pa, VIC_PCI_BAR, memtype, 0, &sc->sc_iot, memtype 344 dev/pci/if_xge.c pcireg_t memtype; memtype 362 dev/pci/if_xge.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, XGE_PIF_BAR); memtype 363 dev/pci/if_xge.c if (pci_mapreg_map(pa, XGE_PIF_BAR, memtype, 0, memtype 369 dev/pci/if_xge.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, XGE_TXP_BAR); memtype 370 dev/pci/if_xge.c if (pci_mapreg_map(pa, XGE_TXP_BAR, memtype, 0, memtype 140 dev/pci/mbg.c pcireg_t memtype; memtype 145 dev/pci/mbg.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); memtype 146 dev/pci/mbg.c if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, memtype 149 dev/pci/mbg.c memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory"); memtype 95 dev/pci/mpi_pci.c pcireg_t memtype; memtype 107 dev/pci/mpi_pci.c for (r = PCI_MAPREG_START; r < PCI_MAPREG_END; r += sizeof(memtype)) { memtype 108 dev/pci/mpi_pci.c memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, r); memtype 109 dev/pci/mpi_pci.c if ((memtype & PCI_MAPREG_TYPE_MASK) == PCI_MAPREG_TYPE_MEM) memtype 117 dev/pci/mpi_pci.c if (pci_mapreg_map(pa, r, memtype, 0, &sc->sc_iot, &sc->sc_ioh, memtype 70 dev/pci/pwdog.c pcireg_t memtype; memtype 73 dev/pci/pwdog.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); memtype 74 dev/pci/pwdog.c if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &pwdog->iot, memtype 78 dev/pci/pwdog.c memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory"); memtype 101 dev/pci/sili_pci.c pcireg_t memtype; memtype 115 dev/pci/sili_pci.c memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, memtype 117 dev/pci/sili_pci.c if (pci_mapreg_map(pa, SILI_PCI_BAR_GLOBAL, memtype, 0, memtype 124 dev/pci/sili_pci.c memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, memtype 126 dev/pci/sili_pci.c if (pci_mapreg_map(pa, SILI_PCI_BAR_PORT, memtype, 0, memtype 221 dev/pci/siop_pci_common.c pcireg_t memtype; memtype 248 dev/pci/siop_pci_common.c memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, 0x14); memtype 249 dev/pci/siop_pci_common.c switch (memtype) { memtype 252 dev/pci/siop_pci_common.c memh_valid = (pci_mapreg_map(pa, 0x14, memtype, 0, memtype 297 dev/pci/siop_pci_common.c switch (memtype) { memtype 305 dev/pci/siop_pci_common.c printf(": invalid memory type %d\n", memtype); memtype 308 dev/pci/siop_pci_common.c if (pci_mapreg_map(pa, bar, memtype, 0, memtype 74 dev/pci/sli_pci.c pcireg_t memtype; memtype 84 dev/pci/sli_pci.c memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, memtype 86 dev/pci/sli_pci.c if (pci_mapreg_map(pa, SLI_PCI_BAR_SLIM, memtype, 0, memtype 93 dev/pci/sli_pci.c memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, memtype 95 dev/pci/sli_pci.c if (pci_mapreg_map(pa, SLI_PCI_BAR_REGISTER, memtype, 0,