Home
last modified time | relevance | path

Searched refs:memtype (Results 1 – 25 of 86) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddenum.c28 EnumDeclaration::EnumDeclaration(Loc loc, Identifier *id, Type *memtype) in EnumDeclaration() argument
34 this->memtype = memtype; in EnumDeclaration()
50 memtype ? memtype->syntaxCopy() : NULL); in syntaxCopy()
97 assert(memtype); in semantic()
98 ::error(loc, "circular reference to enum base type %s", memtype->toChars()); in semantic()
126 if (!members && !memtype) // enum ident; in semantic()
144 if (memtype) in semantic()
146 memtype = memtype->semantic(loc, sc); in semantic()
150 if (memtype->ty == Tenum) in semantic()
152 EnumDeclaration *sym = (EnumDeclaration *)memtype->toDsymbol(sc); in semantic()
[all …]
H A Denum.h35 Type *memtype; // type of the members variable
46 EnumDeclaration(Loc loc, Identifier *id, Type *memtype);
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddenum.d51 Type memtype; // type of the members variable
61 extern (D) this(const ref Loc loc, Identifier ident, Type memtype) in this() argument
66 this.memtype = memtype; in this()
73 auto ed = new EnumDeclaration(loc, ident, memtype ? memtype.syntaxCopy() : null); in syntaxCopy()
153 return isSpecialEnumIdent(ident) && memtype; in isSpecial()
167 return memtype.defaultInit(loc, true); in getDefaultValue()
179 return defaultval = memtype.defaultInit(loc); in getDefaultValue()
211 if (memtype) in getMemtype()
214 memtype = memtype.typeSemantic(locx, _scope); in getMemtype()
222 if (!memtype) in getMemtype()
[all …]
H A Denum.h32 Type *memtype; // type of the members variable
/netbsd-src/sys/dev/pci/
H A Dsiisata_pci.c158 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()
H A Dsiop_pci_common.c242 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()
H A Dif_athn_pci.c134 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()
H A Dpwdog.c84 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()
H A Dmpt_pci.c133 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()
H A Dibmcd.c103 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()
H A Dif_bwi_pci.c132 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()
H A Dciss_pci.c158 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()
H A Dif_eqos_pci.c112 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()
H A Dif_re_pci.c190 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()
H A Dif_ral_pci.c169 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()
H A Dxhci_pci.c127 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()
H A Dnvme_pci.c153 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()
H A Dahcisata_pci.c282 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, &regt, &regh, 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()
H A Dahd_pci.c323 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()
H A Dpci_resource.c86 uint8_t memtype; member
295 switch (pi->pi_mem.memtype) { in pci_resource_device_print()
375 pi->pi_mem.memtype = in pci_resource_scan_bar()
701 } else if (pi->pi_mem.memtype == PCI_MAPREG_MEM_TYPE_64BIT) { in pci_resource_init_device()
961 if (pi->pi_mem.memtype == PCI_MAPREG_MEM_TYPE_64BIT) { in pci_resource_alloc_device()
H A Dif_xge.c278 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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A Darm_mve.td824 multiclass contiguous_load<string mnemonic, PrimitiveType memtype,
830 (load (address (CPtr<Vector> $addr), !srl(memtype.size,3)))>,
835 (CPtr<Vector> $addr), !srl(memtype.size,3),
845 (load (address (CPtr<Vector> $addr), !srl(memtype.size,3)))>,
850 (CPtr<Vector> $addr), !srl(memtype.size,3),
860 (extend (load (address (CPtr<NarrowedVecOf<memtype,Vector>>
861 $addr), !srl(memtype.size,3))),
867 [NarrowedVecOf<memtype,Vector>,
868 CPtr<NarrowedVecOf<memtype,Vector>>]>
869 (CPtr<NarrowedVecOf<memtype,Vector>> $addr),
[all …]
/netbsd-src/sys/arch/i386/stand/efiboot/
H A Defimemory.c336 int memtype; in efi_memory_probe() local
351 memtype = getmemtype(md); in efi_memory_probe()
352 if (memtype != BIM_Memory) in efi_memory_probe()
/netbsd-src/sys/arch/x86/pci/
H A Dmsipic.c675 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()
H A Ddwiic_pci.c222 pcireg_t memtype; in pci_dwiic_attach()
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()
220 pcireg_t memtype; pci_dwiic_attach() local

1234