| /netbsd/src/sys/dev/pci/ |
| D | siisata_pci.c | 158 pcireg_t csr, memtype; in siisata_pci_attach() local 178 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, SIISATA_PCI_BAR0); in siisata_pci_attach() 179 switch (memtype) { in siisata_pci_attach() 183 memtype, 0, &memt, &memh, NULL, &grsize) == 0); in siisata_pci_attach() 198 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, SIISATA_PCI_BAR1); in siisata_pci_attach() 199 switch (memtype) { in siisata_pci_attach() 203 memtype, 0, &memt, &memh, NULL, &prsize) == 0); in siisata_pci_attach()
|
| D | siop_pci_common.c | 242 pcireg_t memtype; in siop_pci_attach_common() local 278 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, 0x14); in siop_pci_attach_common() 279 switch (memtype) { in siop_pci_attach_common() 282 memh_valid = (pci_mapreg_map(pa, 0x14, memtype, 0, in siop_pci_attach_common() 308 switch (memtype) { in siop_pci_attach_common() 318 memtype); in siop_pci_attach_common() 321 if (pci_mapreg_map(pa, bar, memtype, 0, in siop_pci_attach_common()
|
| D | if_athn_pci.c | 134 pcireg_t memtype, reg; in athn_pci_attach() local 185 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, ATHN_PCI_MMBA); in athn_pci_attach() 186 if (memtype != PCI_MAPREG_TYPE_MEM && in athn_pci_attach() 187 memtype != PCI_MAPREG_MEM_TYPE_64BIT) { in athn_pci_attach() 189 (int)memtype); in athn_pci_attach() 192 error = pci_mapreg_map(pa, ATHN_PCI_MMBA, memtype, 0, &psc->psc_iot, in athn_pci_attach()
|
| D | pwdog.c | 84 pcireg_t memtype; in pwdog_attach() local 87 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in pwdog_attach() 88 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, in pwdog_attach() 92 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory"); in pwdog_attach()
|
| D | mpt_pci.c | 133 pcireg_t reg, memtype; in mpt_pci_attach() local 150 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, MPT_PCI_MMBA); in mpt_pci_attach() 151 switch (memtype) { in mpt_pci_attach() 155 memtype, 0, &memt, &memh, NULL, NULL) == 0); in mpt_pci_attach()
|
| D | ibmcd.c | 103 pcireg_t memtype; in ibmcd_attach() local 106 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in ibmcd_attach() 107 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, in ibmcd_attach() 111 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory"); in ibmcd_attach()
|
| D | if_bwi_pci.c | 132 pcireg_t memtype, reg; in bwi_pci_attach() local 145 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, BWI_PCI_BAR0); in bwi_pci_attach() 146 switch (memtype) { in bwi_pci_attach() 155 if (pci_mapreg_map(pa, BWI_PCI_BAR0, memtype, 0, &sc->sc_mem_bt, in bwi_pci_attach()
|
| D | ciss_pci.c | 158 int cfg_bar, memtype; in ciss_pci_attach() local 179 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, CISS_BAR); in ciss_pci_attach() 180 if (memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_32BIT) && in ciss_pci_attach() 181 memtype != (PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT)) { in ciss_pci_attach() 185 if (pci_mapreg_map(pa, CISS_BAR, memtype, 0, in ciss_pci_attach()
|
| D | if_eqos_pci.c | 112 pcireg_t memtype; in eqos_pci_attach() local 120 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR0); in eqos_pci_attach() 121 if (pci_mapreg_map(pa, PCI_BAR0, memtype, 0, &memt, &memh, NULL, in eqos_pci_attach()
|
| D | if_re_pci.c | 190 pcireg_t command, memtype; in re_pci_attach() local 210 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, RTK_PCI_LOMEM); in re_pci_attach() 211 switch (memtype) { in re_pci_attach() 216 memtype, 0, &memt, &memh, NULL, &memsize) == 0) || in re_pci_attach()
|
| D | if_ral_pci.c | 169 pcireg_t memtype, reg; in ral_pci_attach() local 204 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, RAL_PCI_BAR0); in ral_pci_attach() 205 error = pci_mapreg_map(pa, RAL_PCI_BAR0, memtype, 0, &sc->sc_st, in ral_pci_attach()
|
| D | xhci_pci.c | 127 pcireg_t csr, memtype, usbrev; in xhci_pci_attach() local 156 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_CBMEM); in xhci_pci_attach() 157 if (PCI_MAPREG_TYPE(memtype) != PCI_MAPREG_TYPE_MEM) { in xhci_pci_attach() 164 if (pci_mapreg_info(pa->pa_pc, pa->pa_tag, PCI_CBMEM, memtype, in xhci_pci_attach()
|
| D | nvme_pci.c | 153 pcireg_t memtype, reg; in nvme_pci_attach() local 172 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, NVME_PCI_BAR); in nvme_pci_attach() 173 if (PCI_MAPREG_TYPE(memtype) != PCI_MAPREG_TYPE_MEM) { in nvme_pci_attach() 174 aprint_error_dev(self, "invalid type (type=0x%x)\n", memtype); in nvme_pci_attach() 191 memtype, &memaddr, &sc->sc_ios, &flags); in nvme_pci_attach()
|
| D | ahcisata_pci.c | 282 pcireg_t memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, bar); in ahci_pci_match() local 283 if (pci_mapreg_map(pa, bar, memtype, 0, ®t, ®h, NULL, &size) != 0) in ahci_pci_match() 400 pcireg_t memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, bar); in ahci_pci_attach() local 401 if (pci_mapreg_map(pa, bar, memtype, 0, &sc->sc_ahcit, &sc->sc_ahcih, in ahci_pci_attach()
|
| D | ahd_pci.c | 323 pcireg_t memtype; in ahd_pci_attach() local 407 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, in ahd_pci_attach() 409 switch (memtype) { in ahd_pci_attach() 413 memtype, 0, &ahd->tags[0], in ahd_pci_attach() 429 ahd_name(ahd), memtype); in ahd_pci_attach()
|
| D | pci_resource.c | 89 uint8_t memtype; member 401 switch (pi->pi_mem.memtype) { in pci_resource_device_print() 481 pi->pi_mem.memtype = in pci_resource_scan_bar() 803 } else if (pi->pi_mem.memtype == PCI_MAPREG_MEM_TYPE_64BIT) { in pci_resource_init_device() 1062 if (pi->pi_mem.memtype == PCI_MAPREG_MEM_TYPE_64BIT) { in pci_resource_alloc_device()
|
| D | if_xge.c | 278 pcireg_t memtype; in xge_attach() local 296 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, XGE_PIF_BAR); in xge_attach() 297 if (pci_mapreg_map(pa, XGE_PIF_BAR, memtype, 0, in xge_attach() 303 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, XGE_TXP_BAR); in xge_attach() 304 if (pci_mapreg_map(pa, XGE_TXP_BAR, memtype, 0, in xge_attach()
|
| D | ahc_pci.c | 777 pcireg_t memtype; in ahc_pci_attach() local 817 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, AHC_PCI_MEMADDR); in ahc_pci_attach() 818 switch (memtype) { in ahc_pci_attach() 822 memtype, 0, &memt, &memh, NULL, NULL) == 0); in ahc_pci_attach()
|
| D | if_bce.c | 247 pcireg_t memtype, pmode; in bce_attach() local 289 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, BCE_PCI_BAR0); in bce_attach() 290 switch (memtype) { in bce_attach() 293 if (pci_mapreg_map(pa, BCE_PCI_BAR0, memtype, 0, &sc->bce_btag, in bce_attach()
|
| D | machfb.c | 116 int memtype; member 566 sc->memtype = (regr(sc, CONFIG_STAT0) >> 3) & 0x07; in mach64_attach() 568 sc->memtype = regr(sc, CONFIG_STAT0) & 0x07; in mach64_attach() 594 memtype_names[sc->memtype], in mach64_attach() 1314 switch (sc->memtype) { in mach64_set_dsp() 1323 if (sc->memtype == DRAM) in mach64_set_dsp()
|
| D | if_ale.c | 392 pcireg_t memtype; in ale_attach() local 409 memtype = pci_mapreg_type(sc->sc_pct, sc->sc_pcitag, ALE_PCIR_BAR); in ale_attach() 410 switch (memtype) { in ale_attach() 420 if (pci_mapreg_map(pa, ALE_PCIR_BAR, memtype, 0, &sc->sc_mem_bt, in ale_attach()
|
| /netbsd/src/sys/arch/x86/pci/ |
| D | msipic.c | 675 u_int memtype; in msipic_construct_msix_pic() local 735 memtype = pci_mapreg_type(pc, tag, bar); in msipic_construct_msix_pic() 745 err = pci_mapreg_submap(pa, bar, memtype, BUS_SPACE_MAP_LINEAR, in msipic_construct_msix_pic() 755 if (pci_mapreg_info(pa->pa_pc, pa->pa_tag, bar, memtype, in msipic_construct_msix_pic()
|
| D | dwiic_pci.c | 222 pcireg_t memtype; in pci_dwiic_attach() local 238 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_BAR0); in pci_dwiic_attach() 239 if (pci_mapreg_map(pa, PCI_BAR0, memtype, 0, &sc->sc_dwiic.sc_iot, in pci_dwiic_attach()
|
| /netbsd/src/external/gpl3/gdb/dist/include/ |
| D | hp-symtab.h | 1021 dnttpointer memtype ; /* Type of member. */ member 1030 dnttpointer memtype ; /* Type of member. */ member
|
| /netbsd/src/external/gpl3/binutils/dist/include/ |
| D | hp-symtab.h | 1021 dnttpointer memtype ; /* Type of member. */ member 1030 dnttpointer memtype ; /* Type of member. */ member
|