Home
last modified time | relevance | path

Searched refs:rt (Results 1 – 25 of 49) sorted by relevance

12

/arch/mips/include/asm/
Duasm.h148 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
149 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sd(buf, rs, rt, off) argument
150 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
151 # define UASM_i_SRA(buf, rs, rt, sh) uasm_i_dsra(buf, rs, rt, sh) argument
152 # define UASM_i_SRL(buf, rs, rt, sh) uasm_i_dsrl(buf, rs, rt, sh) argument
153 # define UASM_i_SRL_SAFE(buf, rs, rt, sh) uasm_i_dsrl_safe(buf, rs, rt, sh) argument
154 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
155 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
156 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
157 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
[all …]
Dasm.h169 #define MOVN(rd, rs, rt) \ argument
172 beqz rt, 9f; \
176 #define MOVZ(rd, rs, rt) \ argument
179 bnez rt, 9f; \
185 #define MOVN(rd, rs, rt) \ argument
188 bnezl rt, 9f; \
192 #define MOVZ(rd, rs, rt) \ argument
195 beqzl rt, 9f; \
202 #define MOVN(rd, rs, rt) \ argument
203 movn rd, rs, rt
[all …]
Dasmmacro.h84 .macro MFTR rt=0, rd=0, u=0, sel=0
85 .word 0x41000000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel)
88 .macro MTTR rt=0, rd=0, u=0, sel=0
89 .word 0x41800000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel)
Dmipsmtregs.h260 #define mftc0(rt,sel) \ argument
268 " # mftc0 $1, $" #rt ", " #sel " \n" \
269 " .word 0x41000800 | (" #rt " << 16) | " #sel " \n" \
277 #define mftgpr(rt) \ argument
285 " # mftgpr $1," #rt " \n" \
286 " .word 0x41000820 | (" #rt " << 16) \n" \
294 #define mftr(rt, u, sel) \ argument
299 " mftr %0, " #rt ", " #u ", " #sel " \n" \
Dinst.h207 unsigned int rt : 5; member
214 unsigned int rt : 5; member
229 unsigned int rt : 5; member
238 unsigned int rt : 5; member
257 unsigned int rt : 5; member
288 unsigned int rt : 5; member
295 unsigned int rt : 5; member
312 unsigned int rt : 5; member
321 unsigned int rt : 5; member
339 unsigned int rt : 5; member
/arch/powerpc/kvm/
Demulate.c148 int rt; in kvmppc_emulate_instruction() local
174 rt = get_rt(inst); in kvmppc_emulate_instruction()
175 emulated = kvmppc_handle_load(run, vcpu, rt, 4, 1); in kvmppc_emulate_instruction()
179 rt = get_rt(inst); in kvmppc_emulate_instruction()
180 emulated = kvmppc_handle_load(run, vcpu, rt, 1, 1); in kvmppc_emulate_instruction()
184 rt = get_rt(inst); in kvmppc_emulate_instruction()
192 emulated = kvmppc_handle_load(run, vcpu, rt, 1, 1); in kvmppc_emulate_instruction()
226 rt = get_rt(inst); in kvmppc_emulate_instruction()
227 emulated = kvmppc_handle_loads(run, vcpu, rt, 2, 1); in kvmppc_emulate_instruction()
231 rt = get_rt(inst); in kvmppc_emulate_instruction()
[all …]
De500_emulate.c146 int kvmppc_core_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt) in kvmppc_core_emulate_mfspr() argument
154 kvmppc_set_gpr(vcpu, rt, vcpu_e500->pid[0]); break; in kvmppc_core_emulate_mfspr()
156 kvmppc_set_gpr(vcpu, rt, vcpu_e500->pid[1]); break; in kvmppc_core_emulate_mfspr()
158 kvmppc_set_gpr(vcpu, rt, vcpu_e500->pid[2]); break; in kvmppc_core_emulate_mfspr()
160 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->mas0); break; in kvmppc_core_emulate_mfspr()
162 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->mas1); break; in kvmppc_core_emulate_mfspr()
164 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->mas2); break; in kvmppc_core_emulate_mfspr()
167 kvmppc_set_gpr(vcpu, rt, val); in kvmppc_core_emulate_mfspr()
170 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->mas4); break; in kvmppc_core_emulate_mfspr()
172 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->mas6); break; in kvmppc_core_emulate_mfspr()
[all …]
Dbooke_emulate.c44 int rt; in kvmppc_booke_emulate_op() local
65 rt = get_rt(inst); in kvmppc_booke_emulate_op()
66 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->msr); in kvmppc_booke_emulate_op()
196 int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt) in kvmppc_booke_emulate_mfspr() argument
202 kvmppc_set_gpr(vcpu, rt, vcpu->arch.ivpr); break; in kvmppc_booke_emulate_mfspr()
204 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->dar); break; in kvmppc_booke_emulate_mfspr()
206 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->esr); break; in kvmppc_booke_emulate_mfspr()
208 kvmppc_set_gpr(vcpu, rt, vcpu->arch.dbcr0); break; in kvmppc_booke_emulate_mfspr()
210 kvmppc_set_gpr(vcpu, rt, vcpu->arch.dbcr1); break; in kvmppc_booke_emulate_mfspr()
212 kvmppc_set_gpr(vcpu, rt, vcpu->arch.dbsr); break; in kvmppc_booke_emulate_mfspr()
[all …]
D44x_emulate.c45 int rt; in kvmppc_core_emulate_op() local
54 rt = get_rt(inst); in kvmppc_core_emulate_op()
68 kvmppc_set_gpr(vcpu, rt, vcpu->arch.cpr0_cfgaddr); in kvmppc_core_emulate_op()
74 kvmppc_set_gpr(vcpu, rt, in kvmppc_core_emulate_op()
83 vcpu->arch.io_gpr = rt; in kvmppc_core_emulate_op()
120 rt = get_rt(inst); in kvmppc_core_emulate_op()
124 emulated = kvmppc_44x_emul_tlbsx(vcpu, rt, ra, rb, rc); in kvmppc_core_emulate_op()
166 int kvmppc_core_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt) in kvmppc_core_emulate_mfspr() argument
172 kvmppc_set_gpr(vcpu, rt, vcpu->arch.pid); break; in kvmppc_core_emulate_mfspr()
174 kvmppc_set_gpr(vcpu, rt, vcpu->arch.mmucr); break; in kvmppc_core_emulate_mfspr()
[all …]
Dbook3s_emulate.c431 int kvmppc_core_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt) in kvmppc_core_emulate_mfspr() argument
444 kvmppc_set_gpr(vcpu, rt, bat->raw >> 32); in kvmppc_core_emulate_mfspr()
446 kvmppc_set_gpr(vcpu, rt, bat->raw); in kvmppc_core_emulate_mfspr()
453 kvmppc_set_gpr(vcpu, rt, to_book3s(vcpu)->sdr1); in kvmppc_core_emulate_mfspr()
456 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->dsisr); in kvmppc_core_emulate_mfspr()
459 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->dar); in kvmppc_core_emulate_mfspr()
462 kvmppc_set_gpr(vcpu, rt, to_book3s(vcpu)->hior); in kvmppc_core_emulate_mfspr()
465 kvmppc_set_gpr(vcpu, rt, to_book3s(vcpu)->hid[0]); in kvmppc_core_emulate_mfspr()
468 kvmppc_set_gpr(vcpu, rt, to_book3s(vcpu)->hid[1]); in kvmppc_core_emulate_mfspr()
472 kvmppc_set_gpr(vcpu, rt, to_book3s(vcpu)->hid[2]); in kvmppc_core_emulate_mfspr()
[all …]
/arch/mips/kernel/
Dbranch.c59 switch (insn.i_format.rt) { in __compute_return_epc_for_insn()
64 if (insn.i_format.rt == bltzl_op) in __compute_return_epc_for_insn()
75 if (insn.i_format.rt == bgezl_op) in __compute_return_epc_for_insn()
87 if (insn.i_format.rt == bltzall_op) in __compute_return_epc_for_insn()
99 if (insn.i_format.rt == bgezall_op) in __compute_return_epc_for_insn()
140 regs->regs[insn.i_format.rt]) { in __compute_return_epc_for_insn()
142 if (insn.i_format.rt == beql_op) in __compute_return_epc_for_insn()
152 regs->regs[insn.i_format.rt]) { in __compute_return_epc_for_insn()
154 if (insn.i_format.rt == bnel_op) in __compute_return_epc_for_insn()
166 if (insn.i_format.rt == bnel_op) in __compute_return_epc_for_insn()
[all …]
Drtlx.c348 struct rtlx_channel *rt; in rtlx_write() local
356 rt = &rtlx->channel[index]; in rtlx_write()
360 rt_read = rt->rt_read; in rtlx_write()
363 count = min(count, (size_t)write_spacefree(rt_read, rt->rt_write, in rtlx_write()
364 rt->buffer_size)); in rtlx_write()
367 fl = min(count, (size_t) rt->buffer_size - rt->rt_write); in rtlx_write()
369 failed = copy_from_user(rt->rt_buffer + rt->rt_write, buffer, fl); in rtlx_write()
375 failed = copy_from_user(rt->rt_buffer, buffer + fl, count - fl); in rtlx_write()
382 rt->rt_write = (rt->rt_write + count) % rt->buffer_size; in rtlx_write()
441 struct rtlx_channel *rt; in file_write() local
[all …]
Dunaligned.c262 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
292 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
326 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
366 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
408 regs->regs[insn.i_format.rt] = value; in emulate_load_store_insn()
419 value = regs->regs[insn.i_format.rt]; in emulate_load_store_insn()
456 value = regs->regs[insn.i_format.rt]; in emulate_load_store_insn()
495 value = regs->regs[insn.i_format.rt]; in emulate_load_store_insn()
/arch/arm/net/
Dbpf_jit_32.h135 #define ARM_LDR_I(rt, rn, off) (ARM_INST_LDR_I | (rt) << 12 | (rn) << 16 \ argument
137 #define ARM_LDRB_I(rt, rn, off) (ARM_INST_LDRB_I | (rt) << 12 | (rn) << 16 \ argument
139 #define ARM_LDRB_R(rt, rn, rm) (ARM_INST_LDRB_R | (rt) << 12 | (rn) << 16 \ argument
141 #define ARM_LDRH_I(rt, rn, off) (ARM_INST_LDRH_I | (rt) << 12 | (rn) << 16 \ argument
179 #define ARM_STR_I(rt, rn, off) (ARM_INST_STR_I | (rt) << 12 | (rn) << 16 \ argument
/arch/powerpc/kernel/
Dkvm.c85 static void kvm_patch_ins_ll(u32 *inst, long addr, u32 rt) in kvm_patch_ins_ll() argument
88 kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ll()
90 kvm_patch_ins(inst, KVM_INST_LWZ | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ll()
94 static void kvm_patch_ins_ld(u32 *inst, long addr, u32 rt) in kvm_patch_ins_ld() argument
97 kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ld()
99 kvm_patch_ins(inst, KVM_INST_LWZ | rt | ((addr + 4) & 0x0000fffc)); in kvm_patch_ins_ld()
103 static void kvm_patch_ins_lwz(u32 *inst, long addr, u32 rt) in kvm_patch_ins_lwz() argument
105 kvm_patch_ins(inst, KVM_INST_LWZ | rt | (addr & 0x0000ffff)); in kvm_patch_ins_lwz()
108 static void kvm_patch_ins_std(u32 *inst, long addr, u32 rt) in kvm_patch_ins_std() argument
111 kvm_patch_ins(inst, KVM_INST_STD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_std()
[all …]
/arch/powerpc/include/asm/
Dmmu-hash64.h357 #define ASM_VSID_SCRAMBLE(rt, rx, size) \ argument
360 mulld rt,rt,rx; /* rt = rt * MULTIPLIER */ \
362 srdi rx,rt,VSID_BITS_##size; \
363 clrldi rt,rt,(64-VSID_BITS_##size); \
364 add rt,rt,rx; /* add high and low bits */ \
371 addi rx,rt,1; \
373 add rt,rt,rx
/arch/x86/pci/
Dirq.c65 struct irq_routing_table *rt; in pirq_check_routing_table() local
69 rt = (struct irq_routing_table *) addr; in pirq_check_routing_table()
70 if (rt->signature != PIRQ_SIGNATURE || in pirq_check_routing_table()
71 rt->version != PIRQ_VERSION || in pirq_check_routing_table()
72 rt->size % 16 || in pirq_check_routing_table()
73 rt->size < sizeof(struct irq_routing_table)) in pirq_check_routing_table()
76 for (i = 0; i < rt->size; i++) in pirq_check_routing_table()
80 rt); in pirq_check_routing_table()
81 return rt; in pirq_check_routing_table()
95 struct irq_routing_table *rt; in pirq_find_routing_table() local
[all …]
Dpcbios.c382 struct irq_routing_table *rt = NULL; in pcibios_get_irq_routing_table() local
417 rt = kmalloc(sizeof(struct irq_routing_table) + opt.size, GFP_KERNEL); in pcibios_get_irq_routing_table()
418 if (rt) { in pcibios_get_irq_routing_table()
419 memset(rt, 0, sizeof(struct irq_routing_table)); in pcibios_get_irq_routing_table()
420 rt->size = opt.size + sizeof(struct irq_routing_table); in pcibios_get_irq_routing_table()
421 rt->exclusive_irqs = map; in pcibios_get_irq_routing_table()
422 memcpy(rt->slots, (void *) page, opt.size); in pcibios_get_irq_routing_table()
427 return rt; in pcibios_get_irq_routing_table()
/arch/arm/mach-omap2/
Domap_l3_smx.c179 status = omap3_l3_readll(l3->rt, L3_SI_FLAG_STATUS_0); in omap3_l3_app_irq()
188 status = omap3_l3_readll(l3->rt, L3_SI_FLAG_STATUS_1); in omap3_l3_app_irq()
195 base = l3->rt + omap3_l3_bases[int_type][err_source]; in omap3_l3_app_irq()
231 l3->rt = ioremap(res->start, resource_size(res)); in omap3_l3_probe()
232 if (!l3->rt) { in omap3_l3_probe()
261 iounmap(l3->rt); in omap3_l3_probe()
273 iounmap(l3->rt); in omap3_l3_remove()
/arch/arm/lib/
Decard.S16 #define CPSR2SPSR(rt) \ argument
17 mrs rt, cpsr; \
18 msr spsr_cxsf, rt
/arch/arm/kernel/
Dkprobes-arm.c164 int rt = (insn >> 12) & 0xf; in emulate_ldrdstrd() local
168 register unsigned long rtv asm("r0") = regs->uregs[rt]; in emulate_ldrdstrd()
169 register unsigned long rt2v asm("r1") = regs->uregs[rt+1]; in emulate_ldrdstrd()
182 regs->uregs[rt] = rtv; in emulate_ldrdstrd()
183 regs->uregs[rt+1] = rt2v; in emulate_ldrdstrd()
193 int rt = (insn >> 12) & 0xf; in emulate_ldr() local
209 if (rt == 15) in emulate_ldr()
212 regs->uregs[rt] = rtv; in emulate_ldr()
224 int rt = (insn >> 12) & 0xf; in emulate_str() local
228 register unsigned long rtv asm("r0") = (rt == 15) ? rtpc in emulate_str()
[all …]
/arch/mips/include/asm/octeon/
Dcvmx-asm.h136 asm volatile ("rdhwr %[rt],$" CVMX_TMP_STR(regstr) : [rt] "=d" (result))
138 asm ("rdhwr %[rt],$" CVMX_TMP_STR(regstr) : [rt] "=d" (result))
/arch/ia64/kernel/
Dsmpboot.c230 get_delta (long *rt, long *master) in get_delta() argument
248 *rt = best_t1 - best_t0; in get_delta()
294 unsigned long flags, rt, master_time_stamp, bound; in ia64_sync_itc() local
297 long rt; /* roundtrip time */ in ia64_sync_itc() member
325 delta = get_delta(&rt, &master_time_stamp); in ia64_sync_itc()
328 bound = rt; in ia64_sync_itc()
341 t[i].rt = rt; in ia64_sync_itc()
353 t[i].rt, t[i].master, t[i].diff, t[i].lat); in ia64_sync_itc()
357 "maxerr %lu cycles)\n", smp_processor_id(), master, delta, rt); in ia64_sync_itc()
/arch/mips/math-emu/
Dieee754xcpt.c46 xcp->op, rtnames[xcp->rt]); in ieee754_xcpt()
/arch/mips/oprofile/
Dbacktrace.c35 && ip->i_format.rs == 29 && ip->i_format.rt == 31; in is_ra_save_ins()
41 if (ip->i_format.rs != 29 || ip->i_format.rt != 29) in is_sp_move_ins()
58 if (ip->i_format.opcode == lui_op && ip->i_format.rt == 28) in is_end_of_function_marker()

12