| /netbsd-src/sys/arch/algor/pci/ |
| H A D | vtpbcreg.h | 12 #define V96XW(vt, x) *(volatile u_int32_t *)((vt)->vt_addr + (x)) argument 13 #define V96XH(vt, x) *(volatile u_int16_t *)((vt)->vt_addr + (x)) argument 14 #define V96XB(vt, x) *(volatile u_int8_t *)((vt)->vt_addr + (x)) argument 16 #define V96XW(vt, x) *(volatile u_int32_t *)((vt)->vt_addr + (x)) argument 17 #define V96XH(vt, x) *(volatile u_int16_t *)((vt)->vt_addr + ((x) ^ 2)) argument 18 #define V96XB(vt, x) *(volatile u_int8_t *)((vt)->vt_addr + ((x) ^ 3)) argument 21 #define V96X_PCI_VENDOR(vt) V96XH(vt, 0x00) argument 22 #define V96X_PCI_DEVICE(vt) V96XH(vt, 0x02) argument 23 #define V96X_PCI_CMD(vt) V96XH(vt, 0x04) argument 24 #define V96X_PCI_STAT(vt) V96XH(vt, 0x06) argument [all …]
|
| H A D | vtpbc.c | 86 vtpbc_init(pci_chipset_tag_t pc, struct vtpbc_config *vt) in vtpbc_init() argument 89 pc->pc_conf_v = vt; in vtpbc_init() 97 vt->vt_rev = V96X_PCI_CC_REV(vt) & V96X_PCI_CC_REV_VREV; in vtpbc_init() 107 if (vt->vt_rev < V96X_VREV_B2) in vtpbc_init() 108 vt->vt_pci_iobase = (bus_addr_t) -1; in vtpbc_init() 110 if ((V96X_LB_BASE2(vt) & V96X_LB_BASEx_ENABLE) == 0) in vtpbc_init() 111 vt->vt_pci_iobase = (bus_addr_t) -1; in vtpbc_init() 113 vt->vt_pci_iobase = in vtpbc_init() 114 (V96X_LB_MAP2(vt) & V96X_LB_MAPx_MAP_ADR) << 16; in vtpbc_init() 121 vt->vt_pci_membase = (V96X_LB_MAP1(vt) & V96X_LB_MAPx_MAP_ADR) << 16; in vtpbc_init() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | FLATInstructions.td | 373 ValueType vt, 375 ValueType data_vt = vt, 394 [(set vt:$vdst, 406 ValueType vt, 408 ValueType data_vt = vt, 440 ValueType vt, 442 ValueType data_vt = vt, 452 [(set vt:$vdst, 476 ValueType vt, 479 ValueType data_vt = vt, [all …]
|
| H A D | DSInstructions.td | 676 class DSReadPat <DS_Pseudo inst, ValueType vt, PatFrag frag, int gds=0> : GCNPat < 677 (vt (frag (DS1Addr1Offset i32:$ptr, i16:$offset))), 681 multiclass DSReadPat_mc<DS_Pseudo inst, ValueType vt, string frag> { 684 def : DSReadPat<inst, vt, !cast<PatFrag>(frag#"_m0")>; 688 def : DSReadPat<!cast<DS_Pseudo>(!cast<string>(inst)#"_gfx9"), vt, !cast<PatFrag>(frag)>; 692 class DSReadPat_D16 <DS_Pseudo inst, PatFrag frag, ValueType vt> : GCNPat < 693 (frag (DS1Addr1Offset i32:$ptr, i16:$offset), vt:$in), 709 foreach vt = Reg32Types.types in { 710 defm : DSReadPat_mc <DS_READ_B32, vt, "load_local">; 732 class DSWritePat <DS_Pseudo inst, ValueType vt, PatFrag frag, int gds=0> : GCNPat < [all …]
|
| H A D | EXPInstructions.td | 97 class ExpPattern<ValueType vt, Instruction Inst, int done_val> : GCNPat< 99 (vt ExpSrc0:$src0), (vt ExpSrc1:$src1), 100 (vt ExpSrc2:$src2), (vt ExpSrc3:$src3), 106 class ExpComprPattern<ValueType vt, Instruction Inst, int done_val> : GCNPat< 108 (vt ExpSrc0:$src0), (vt ExpSrc1:$src1),
|
| H A D | BUFInstructions.td | 422 class getMUBUFElements<ValueType vt> { 424 string vtAsStr = !cast<string>(vt); 431 !if(!eq(vt.Size, 32), 1, 432 !if(!eq(vt.Size, 64), 2, 433 !if(!eq(vt.Size, 96), 3, 434 !if(!eq(vt.Size, 128), 4, 0) 1197 multiclass MUBUF_LoadIntrinsicPat<SDPatternOperator name, ValueType vt, 1198 string opcode, ValueType memoryVt = vt> { 1199 …defvar st = !if(!eq(!cast<string>(memoryVt), !cast<string>(vt)), name, mubuf_intrinsic_load<name, … 1202 (vt (st v4i32:$rsrc, 0, 0, i32:$soffset, timm:$offset, [all …]
|
| H A D | SIInstructions.td | 885 class FMADPat <ValueType vt, Instruction inst, SDPatternOperator node> 886 : GCNPat <(vt (node (vt (VOP3NoMods vt:$src0)), 887 (vt (VOP3NoMods vt:$src1)), 888 (vt (VOP3NoMods vt:$src2)))), 953 class VOPSelectModsPat <ValueType vt> : GCNPat < 954 (vt (select i1:$src0, (VOP3Mods vt:$src1, i32:$src1_mods), 955 (VOP3Mods vt:$src2, i32:$src2_mods))), 960 class VOPSelectPat <ValueType vt> : GCNPat < 961 (vt (select i1:$src0, vt:$src1, vt:$src2)), 1261 class ClampPat<Instruction inst, ValueType vt> : GCNPat < [all …]
|
| H A D | SMInstructions.td | 774 multiclass SMRD_Pattern <string Instr, ValueType vt> { 779 (vt (!cast<SM_Pseudo>(Instr#"_IMM") $sbase, $offset, 0)) 785 (vt (!cast<InstSI>(Instr#"_IMM_ci") $sbase, $offset, 0))> { 792 (vt (!cast<SM_Pseudo>(Instr#"_SGPR") $sbase, $offset, 0)) 797 (vt (smrd_load (i64 SReg_64:$sbase))), 798 (vt (!cast<SM_Pseudo>(Instr#"_IMM") i64:$sbase, 0, 0)) 802 multiclass SMLoad_Pattern <string Instr, ValueType vt> { 806 …(vt (!cast<SM_Pseudo>(Instr#"_IMM") SReg_128:$sbase, i32imm:$offset, (extract_cpol $cachepolicy)))… 812 (vt (SIsbuffer_load v4i32:$sbase, (SMRDBufferImm32 i32:$offset), timm:$cachepolicy)), 822 …(vt (!cast<SM_Pseudo>(Instr#"_SGPR") SReg_128:$sbase, SReg_32:$offset, (extract_cpol $cachepolicy)… [all …]
|
| /netbsd-src/sys/arch/algor/dev/ |
| H A D | vtpbc_mainbus.c | 84 struct vtpbc_config *vt; in vtpbc_mainbus_attach() local 89 vt = &vtpbc_configuration; in vtpbc_mainbus_attach() 90 sc->sc_vtpbc = vt; in vtpbc_mainbus_attach() 92 if (vt->vt_rev < vtpbc_nrevs) in vtpbc_mainbus_attach() 93 printf(": V3 V962, revision %s\n", vtpbc_revs[vt->vt_rev]); in vtpbc_mainbus_attach() 95 printf(": V3 V962, unknown revision %d\n", vt->vt_rev); in vtpbc_mainbus_attach() 98 (u_long) vt->vt_pci_membase); in vtpbc_mainbus_attach() 100 (u_long) vt->vt_dma_winbase); in vtpbc_mainbus_attach() 106 if (vt->vt_pci_iobase == (bus_addr_t) -1) in vtpbc_mainbus_attach()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrSIMD.td | 50 ValueType vt; 62 let vt = v16i8; 63 let int_vt = vt; 73 let vt = v8i16; 74 let int_vt = vt; 85 let vt = v4i32; 86 let int_vt = vt; 97 let vt = v2i64; 98 let int_vt = vt; 109 let vt = v4f32; [all …]
|
| H A D | WebAssemblyInstrRef.td | 14 multiclass REF_I<WebAssemblyRegClass rc, ValueType vt> { 26 vt#".select\t$dst, $lhs, $rhs, $cond", 27 vt#".select", 0x1b>,
|
| /netbsd-src/tests/fs/puffs/h_dtfs/ |
| H A D | dtfs_vfsops.c | 44 rtstr(struct puffs_usermount *pu, const char *str, enum vtype vt) in rtstr() argument 54 dtfs_baseattrs(va, vt, 2); in rtstr() 60 puffs_setrootinfo(pu, vt, 0, 0); in rtstr() 66 rtdev(struct puffs_usermount *pu, const char *str, enum vtype vt) in rtdev() argument 75 dtfs_baseattrs(va, vt, 2); in rtdev() 79 if (vt == VBLK) in rtdev() 84 puffs_setrootinfo(pu, vt, 0, va->va_rdev); in rtdev() 90 rtnorm(struct puffs_usermount *pu, const char *str, enum vtype vt) in rtnorm() argument 95 dtfs_baseattrs(va, vt, 2); in rtnorm() 96 if (vt == VDIR) in rtnorm() [all …]
|
| /netbsd-src/sys/arch/xen/xen/ |
| H A D | xen_clock.c | 213 volatile struct vcpu_time_info *vt = &curcpu()->ci_vcpu->time; in xen_vcputime_enter() local 215 while (__predict_false(1 & (tp->version = vt->version))) in xen_vcputime_enter() 225 return vt; in xen_vcputime_enter() 229 * xen_vcputime_exit(vt, tp) 236 xen_vcputime_exit(volatile struct vcpu_time_info *vt, in xen_vcputime_exit() argument 240 KASSERT(vt == &curcpu()->ci_vcpu->time); in xen_vcputime_exit() 249 return tp->version == vt->version; in xen_vcputime_exit() 288 volatile struct vcpu_time_info *vt; in xen_vcputime_systime_ns() local 305 vt = xen_vcputime_enter(&ticket); in xen_vcputime_systime_ns() 308 raw_systime_ns = vt in xen_vcputime_systime_ns() 446 volatile struct vcpu_time_info *vt; xen_vcputime_raw_systime_ns() local 616 volatile struct vcpu_time_info *vt; xen_delay() local [all...] |
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZPatterns.td | 117 multiclass MVCLoadStore<SDPatternOperator load, ValueType vt, Instruction insn, 119 def : Pat<(mvc_store (vt (load bdaddr12only:$src)), bdaddr12only:$dest), 128 ValueType vt, Instruction insn, bits<5> length> { 129 def : Pat<(operator (vt (load bdaddr12only:$src)), bdaddr12only:$dest), 135 multiclass BlockLoadStore<SDPatternOperator load, ValueType vt, 138 defm : MVCLoadStore<load, vt, mvc, length>; 139 defm : BinaryLoadStore<block_and1, load, vt, nc, length>; 140 defm : BinaryLoadStore<block_and2, load, vt, nc, length>; 141 defm : BinaryLoadStore<block_or1, load, vt, oc, length>; 142 defm : BinaryLoadStore<block_or2, load, vt, oc, length>; [all …]
|
| H A D | SystemZOperands.td | 24 class ImmediateOp<ValueType vt, string asmop> : Operand<vt> { 31 class ImmOpWithPattern<ValueType vt, string asmop, code pred, SDNodeXForm xform, 33 ImmediateOp<vt, asmop>, PatLeaf<(vt ImmNode), pred, xform>; 35 // class ImmediatePatLeaf<ValueType vt, code pred, 37 // : PatLeaf<(vt ImmNode), pred, xform>; 44 multiclass Immediate<ValueType vt, code pred, SDNodeXForm xform, string asmop> { 45 // def "" : ImmediateOp<vt, asmop>, 46 // PatLeaf<(vt imm), pred, xform>; 47 def "" : ImmOpWithPattern<vt, asmop, pred, xform>; 49 // def _timm : PatLeaf<(vt timm), pred, xform>; [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| H A D | t-lucm.c | 34 mpz_t m, vr, qr, vm, qm, vt; in testmain() local 44 mpz_init (vt); in testmain() 71 mpz_sub (vt, m, vr); in testmain() 77 (mpz_cmp (vm, vr) != 0 && mpz_cmp (vm, vt) != 0)) in testmain() 84 dump ("vt", vt); in testmain() 97 mpz_clear (vt); in testmain()
|
| /netbsd-src/sys/arch/algor/algor/ |
| H A D | machdep.c | 212 struct vtpbc_config *vt = &vtpbc_configuration; in mach_init() local 217 vt->vt_addr = MIPS_PHYS_TO_KSEG1(P4032_V962PBC); in mach_init() 218 vt->vt_cfgbase = MIPS_PHYS_TO_KSEG1(P4032_PCICFG); in mach_init() 219 vt->vt_adbase = 11; in mach_init() 222 vtpbc_init(&acp->ac_pc, vt); in mach_init() 259 struct vtpbc_config *vt = &vtpbc_configuration; in mach_init() local 264 vt->vt_addr = MIPS_PHYS_TO_KSEG1(P5064_V360EPC); in mach_init() 265 vt->vt_cfgbase = MIPS_PHYS_TO_KSEG1(P5064_PCICFG); in mach_init() 266 vt->vt_adbase = 24; in mach_init() 269 vtpbc_init(&acp->ac_pc, vt); in mach_init()
|
| /netbsd-src/external/lgpl3/gmp/dist/tests/ |
| H A D | refmpf.c | 31 mp_ptr ut, vt, wt; in refmpf_add() local 73 vt = TMP_ALLOC_LIMBS (size + 1); in refmpf_add() 76 MPN_ZERO (vt, size); in refmpf_add() 81 MPN_COPY (vt + off, PTR (v), ABSIZ (v)); in refmpf_add() 84 cy = mpn_add_n (wt, ut, vt, size); in refmpf_add() 203 mp_ptr ut, vt, wt; in refmpf_sub() local 246 vt = TMP_ALLOC_LIMBS (size + 1); in refmpf_sub() 249 MPN_ZERO (vt, size); in refmpf_sub() 254 MPN_COPY (vt + off, PTR (v), ABSIZ (v)); in refmpf_sub() 257 if (mpn_cmp (ut, vt, size) >= 0) in refmpf_sub() [all …]
|
| /netbsd-src/sys/dev/ |
| H A D | video.c | 1300 struct video_tuner *vt) in v4l2_tuner_to_video_tuner() argument 1302 vt->index = tuner->index; in v4l2_tuner_to_video_tuner() 1303 strlcpy(vt->name, tuner->name, sizeof(vt->name)); in v4l2_tuner_to_video_tuner() 1304 vt->freq_lo = tuner->rangelow; in v4l2_tuner_to_video_tuner() 1305 vt->freq_hi = tuner->rangehigh; in v4l2_tuner_to_video_tuner() 1306 vt->signal = tuner->signal; in v4l2_tuner_to_video_tuner() 1307 vt->afc = tuner->afc; in v4l2_tuner_to_video_tuner() 1308 vt->caps = 0; in v4l2_tuner_to_video_tuner() 1310 vt->caps |= VIDEO_TUNER_F_STEREO; in v4l2_tuner_to_video_tuner() 1312 vt->caps |= VIDEO_TUNER_F_LANG1; in v4l2_tuner_to_video_tuner() [all …]
|
| /netbsd-src/sys/dev/usb/ |
| H A D | auvitek_video.c | 328 auvitek_get_tuner(void *opaque, struct video_tuner *vt) in auvitek_get_tuner() argument 332 switch (vt->index) { in auvitek_get_tuner() 334 strlcpy(vt->name, "XC5000", sizeof(vt->name)); in auvitek_get_tuner() 335 vt->freq_lo = 44000000 / 62500; in auvitek_get_tuner() 336 vt->freq_hi = 958000000 / 62500; in auvitek_get_tuner() 337 vt->caps = VIDEO_TUNER_F_STEREO; in auvitek_get_tuner() 338 vt->mode = VIDEO_TUNER_F_STEREO; in auvitek_get_tuner() 340 vt->signal = au8522_get_signal(sc->sc_au8522); in auvitek_get_tuner() 342 vt->signal = 0; in auvitek_get_tuner() 352 auvitek_set_tuner(void *opaque, struct video_tuner *vt) in auvitek_set_tuner() argument [all …]
|
| /netbsd-src/sys/arch/hpcmips/vr/ |
| H A D | bcu_vrip.c | 221 int vt; in vrbcu_dump_regs() local 224 vt = ((spdreg & BCUCLKSPEED_DIVVTMASK) >> in vrbcu_dump_regs() 226 if (vt == 0) in vrbcu_dump_regs() 228 else if (vt < 0x9) in vrbcu_dump_regs() 229 vtclock = cpuclock / vt; in vrbcu_dump_regs() 231 vtclock = cpuclock / ((vt - 8)*2+1) * 2; in vrbcu_dump_regs()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | StmtIterator.cpp | 26 while (const ArrayType *vt = dyn_cast<ArrayType>(t)) { in FindVA() local 27 if (const VariableArrayType *vat = dyn_cast<VariableArrayType>(vt)) in FindVA() 31 t = vt->getElementType().getTypePtr(); in FindVA()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | TargetCallingConv.h | 212 InputArg(ArgFlagsTy flags, EVT vt, EVT argvt, bool used, in InputArg() 215 VT = vt.getSimpleVT(); in InputArg() 250 OutputArg(ArgFlagsTy flags, EVT vt, EVT argvt, bool isfixed, in OutputArg() 254 VT = vt.getSimpleVT(); in OutputArg()
|
| /netbsd-src/sys/rump/librump/rumpvfs/ |
| H A D | rumpfs.c | 250 enum vtype vt; in ettype_to_vtype() local 254 vt = VREG; in ettype_to_vtype() 257 vt = VBLK; in ettype_to_vtype() 260 vt = VCHR; in ettype_to_vtype() 263 vt = VDIR; in ettype_to_vtype() 266 vt = VDIR; in ettype_to_vtype() 272 return vt; in ettype_to_vtype() 278 enum vtype vt; in hft_to_vtype() local 282 vt = VNON; in hft_to_vtype() 285 vt = VDIR; in hft_to_vtype() [all …]
|
| /netbsd-src/lib/libpuffs/ |
| H A D | subr.c | 232 puffs_vtype2dt(enum vtype vt) in puffs_vtype2dt() argument 235 if ((int)vt >= VNON && vt < (sizeof(vdmap)/sizeof(vdmap[0]))) in puffs_vtype2dt() 236 return vdmap[vt]; in puffs_vtype2dt()
|