Home
last modified time | relevance | path

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

123

/openbsd-src/sys/dev/pci/
H A Dpwdog.c69 pcireg_t memtype; in pwdog_attach() local
72 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in pwdog_attach()
73 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &pwdog->iot, in pwdog_attach()
77 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory"); in pwdog_attach()
H A Dmpi_pci.c100 pcireg_t memtype; in mpi_pci_attach() local
116 for (r = PCI_MAPREG_START; r < PCI_MAPREG_END; r += sizeof(memtype)) { in mpi_pci_attach()
117 memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, r); in mpi_pci_attach()
118 if ((memtype & PCI_MAPREG_TYPE_MASK) == PCI_MAPREG_TYPE_MEM) in mpi_pci_attach()
126 if (pci_mapreg_map(pa, r, memtype, 0, &sc->sc_iot, &sc->sc_ioh, in mpi_pci_attach()
H A Dcy_pci.c97 pcireg_t memtype; in cy_pci_attach() local
106 memtype = PCI_MAPREG_TYPE_MEM|PCI_MAPREG_MEM_TYPE_32BIT_1M; in cy_pci_attach()
111 memtype = PCI_MAPREG_TYPE_MEM|PCI_MAPREG_MEM_TYPE_32BIT; in cy_pci_attach()
121 if (pci_mapreg_map(pa, 0x18, memtype, 0, &sc->sc_memt, in cy_pci_attach()
H A Dccp_pci.c66 pcireg_t memtype; in ccp_pci_attach()
71 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, CCP_PCI_BAR); in ccp_pci_attach()
72 if (PCI_MAPREG_TYPE(memtype) != PCI_MAPREG_TYPE_MEM) { in ccp_pci_attach()
77 if (pci_mapreg_map(pa, CCP_PCI_BAR, memtype, 0, in ccp_pci_attach()
68 pcireg_t memtype; ccp_pci_attach() local
H A Dsili_pci.c104 pcireg_t memtype; in sili_pci_attach() local
118 memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, in sili_pci_attach()
120 if (pci_mapreg_map(pa, SILI_PCI_BAR_GLOBAL, memtype, 0, in sili_pci_attach()
127 memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, in sili_pci_attach()
129 if (pci_mapreg_map(pa, SILI_PCI_BAR_PORT, memtype, 0, in sili_pci_attach()
H A Dsiop_pci_common.c211 pcireg_t memtype; in siop_pci_attach_common() local
238 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, 0x14); in siop_pci_attach_common()
239 switch (memtype) { in siop_pci_attach_common()
242 memh_valid = (pci_mapreg_map(pa, 0x14, memtype, 0, in siop_pci_attach_common()
285 switch (memtype) { in siop_pci_attach_common()
293 printf(": invalid memory type %d\n", memtype); in siop_pci_attach_common()
296 if (pci_mapreg_map(pa, bar, memtype, 0, in siop_pci_attach_common()
H A Dpchtemp.c84 pcireg_t memtype; in pchtemp_attach() local
87 memtype = PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT; in pchtemp_attach()
88 if (pci_mapreg_map(pa, PCHTEMP_PCI_TBAR, memtype, 0, in pchtemp_attach()
H A Dif_dwqe_pci.c74 pcireg_t memtype; in dwqe_pci_attach() local
83 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in dwqe_pci_attach()
84 err = pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, in dwqe_pci_attach()
H A Dmbg.c179 pcireg_t memtype; in mbg_attach() local
193 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, bar); in mbg_attach()
194 if (pci_mapreg_map(pa, bar, memtype, 0, &sc->sc_iot, in mbg_attach()
197 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory"); in mbg_attach()
229 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, in mbg_attach()
231 if (pci_mapreg_map(pa, PCI_MAPREG_START + 0x04, memtype, 0, in mbg_attach()
234 memtype == PCI_MAPREG_TYPE_IO ? "I/O" : "memory"); in mbg_attach()
H A Dagp_i810.c233 pcireg_t memtype, reg; in agp_i810_attach() local
245 memtype = PCI_MAPREG_TYPE_MEM; in agp_i810_attach()
252 memtype = PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT; in agp_i810_attach()
261 memtype = PCI_MAPREG_TYPE_MEM; in agp_i810_attach()
266 if (pci_mapreg_info(pa->pa_pc, pa->pa_tag, gmaddr, memtype, in agp_i810_attach()
276 if (pci_mapreg_map(pa, AGP_I915_GTTADR, memtype, in agp_i810_attach()
H A Dif_ral_pci.c158 pcireg_t memtype; in ral_pci_attach() local
183 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, RAL_PCI_BAR0); in ral_pci_attach()
184 error = pci_mapreg_map(pa, RAL_PCI_BAR0, memtype, 0, &sc->sc_st, in ral_pci_attach()
H A Dif_bwi_pci.c138 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 if (pci_mapreg_map(pa, BWI_PCI_BAR0, memtype, 0, &sc->sc_mem_bt, in bwi_pci_attach()
H A Dqla_pci.c96 pcireg_t memtype; in qla_pci_attach() local
106 memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, bars[r]); in qla_pci_attach()
107 if (pci_mapreg_map(pa, bars[r], memtype, 0, in qla_pci_attach()
H A Dciss_pci.c139 int cfg_bar, memtype; in ciss_pci_attach() local
142 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, CISS_BAR); in ciss_pci_attach()
143 if (pci_mapreg_map(pa, CISS_BAR, memtype, 0, in ciss_pci_attach()
H A Dqlw_pci.c109 pcireg_t memtype; in qlw_pci_attach() local
119 memtype = pci_mapreg_type(psc->psc_pc, psc->psc_tag, bars[r]); in qlw_pci_attach()
120 if (pci_mapreg_map(pa, bars[r], memtype, 0, in qlw_pci_attach()
H A Dif_athn_pci.c113 pcireg_t memtype, reg; in athn_pci_attach() local
166 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in athn_pci_attach()
167 error = pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &psc->sc_st, in athn_pci_attach()
H A Daac_pci.c233 pcireg_t memtype; in aac_pci_attach() local
252 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in aac_pci_attach()
253 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->aac_memt, in aac_pci_attach()
H A Dahd_pci.c344 pcireg_t devconfig, memtype, subid; in ahd_pci_attach() local
405 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, in ahd_pci_attach()
407 switch (memtype) { in ahd_pci_attach()
411 memtype, 0, &ahd->tags[0], &ahd->bshs[0], NULL, in ahd_pci_attach()
425 ahd_name(ahd), memtype); in ahd_pci_attach()
H A Dvmwpvs.c399 pcireg_t memtype; in vmwpvs_attach() local
419 for (r = PCI_MAPREG_START; r < PCI_MAPREG_END; r += sizeof(memtype)) { in vmwpvs_attach()
420 memtype = pci_mapreg_type(sc->sc_pc, sc->sc_tag, r); in vmwpvs_attach()
421 if ((memtype & PCI_MAPREG_TYPE_MASK) == PCI_MAPREG_TYPE_MEM) in vmwpvs_attach()
429 if (pci_mapreg_map(pa, r, memtype, 0, &sc->sc_iot, &sc->sc_ioh, in vmwpvs_attach()
H A Dif_xge.c368 pcireg_t memtype; in xge_attach() local
386 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, XGE_PIF_BAR); in xge_attach()
387 if (pci_mapreg_map(pa, XGE_PIF_BAR, memtype, 0, in xge_attach()
393 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, XGE_TXP_BAR); in xge_attach()
394 if (pci_mapreg_map(pa, XGE_TXP_BAR, memtype, 0, in xge_attach()
/openbsd-src/sys/uvm/
H A Duvm_pmemrange.c361 int memtype; in uvm_pmr_remove_size()
368 memtype = uvm_pmr_pg_to_memtype(pg); in uvm_pmr_remove_size()
372 TAILQ_FOREACH(i, &pmr->single[memtype], pageq) {
378 TAILQ_REMOVE(&pmr->single[memtype], pg, pageq); in uvm_pmr_remove()
380 KDASSERT(RBT_FIND(uvm_pmr_size, &pmr->size[memtype], in uvm_pmr_remove()
382 RBT_REMOVE(uvm_pmr_size, &pmr->size[memtype], pg + 1);
458 int memtype; in uvm_pmr_insert_size()
467 memtype = uvm_pmr_pg_to_memtype(pg); in uvm_pmr_insert_size()
479 KASSERT(uvm_pmr_pg_to_memtype(i) == memtype); in uvm_pmr_insert()
483 TAILQ_INSERT_TAIL(&pmr->single[memtype], p in uvm_pmr_insert()
348 int memtype; uvm_pmr_remove_size() local
445 int memtype; uvm_pmr_insert_size() local
855 int memtype; /* Requested memtype. */ uvm_pmr_getpages() local
1777 uvm_pmr_rootupdate(struct uvm_pmemrange * pmr,struct vm_page * init_root,paddr_t start,paddr_t end,int memtype) uvm_pmr_rootupdate() argument
1876 int memtype; uvm_pmr_get1page() local
[all...]
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dhpread.c3600 struct type *memtype; in hpread_read_struct_type() local
3859 memtype = hpread_type_lookup (fn_field, objfile); in hpread_read_struct_type()
3866 if (TYPE_INCOMPLETE (memtype)) in hpread_read_struct_type()
3874 fixup_method = memtype; /* remember the method type to be used in fixup */ in hpread_read_struct_type()
3952 if (TYPE_INCOMPLETE (memtype)) in hpread_read_struct_type()
3955 fn_p->field.fn_fields[ix].type = memtype; in hpread_read_struct_type()
4034 memtype = hpread_type_lookup (fn_fieldp->dsvar.type, objfile); in hpread_read_struct_type()
4036 FIELD_TYPE (list->field) = memtype; in hpread_read_struct_type()
4070 memtype = hpread_type_lookup (fn_fieldp->dfield.type, objfile); in hpread_read_struct_type()
4071 list->field.type = memtype; in hpread_read_struct_type()
[all …]
H A Dppc-sysv-tdep.c134 struct type *memtype; in ppc_sysv_abi_push_dummy_call() local
138 memtype = builtin_type_ieee_double_big; in ppc_sysv_abi_push_dummy_call()
141 memtype = builtin_type_ieee_double_little; in ppc_sysv_abi_push_dummy_call()
146 convert_typed_floating (val, type, memval, memtype); in ppc_sysv_abi_push_dummy_call()
/openbsd-src/usr.sbin/pcidump/
H A Dpcidump.c717 const char *memtype; in dump_bars() local
741 memtype = "32bit 1m"; in dump_bars()
744 memtype = "32bit"; in dump_bars()
746 printf("%s ", memtype); in dump_bars()

123