Lines Matching full:asi

25 		struct arch_probes_insn *asi, struct pt_regs *regs)  in t32_simulate_table_branch()  argument
45 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_mrs() argument
54 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_cond_branch() argument
68 t32_decode_cond_branch(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_cond_branch() argument
72 asi->insn_check_cc = probes_condition_checks[cc]; in t32_decode_cond_branch()
73 asi->insn_handler = t32_simulate_cond_branch; in t32_decode_cond_branch()
79 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_branch() argument
107 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_simulate_ldr_literal() argument
144 t32_decode_ldmstm(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_ldmstm() argument
147 enum probes_insn ret = kprobe_decode_ldmstm(insn, asi, d); in t32_decode_ldmstm()
150 insn = __mem_to_opcode_arm(asi->insn[0]); in t32_decode_ldmstm()
151 ((u16 *)asi->insn)[0] = __opcode_to_mem_thumb16(insn >> 16); in t32_decode_ldmstm()
152 ((u16 *)asi->insn)[1] = __opcode_to_mem_thumb16(insn & 0xffff); in t32_decode_ldmstm()
159 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_ldrdstrd() argument
174 : "0" (rt1v), "1" (rt2v), "2" (rnv), [fn] "r" (asi->insn_fn) in t32_emulate_ldrdstrd()
186 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_ldrstr() argument
199 : "0" (rtv), "1" (rnv), "r" (rmv), [fn] "r" (asi->insn_fn) in t32_emulate_ldrstr()
212 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_rd8rn16rm0_rwflags() argument
229 "1" (cpsr), [fn] "r" (asi->insn_fn) in t32_emulate_rd8rn16rm0_rwflags()
239 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_rd8pc16_noflags() argument
250 : "0" (rdv), "r" (rnv), [fn] "r" (asi->insn_fn) in t32_emulate_rd8pc16_noflags()
259 struct arch_probes_insn *asi, struct pt_regs *regs) in t32_emulate_rd8rn16_noflags() argument
270 : "0" (rdv), "r" (rnv), [fn] "r" (asi->insn_fn) in t32_emulate_rd8rn16_noflags()
279 struct arch_probes_insn *asi, in t32_emulate_rdlo12rdhi8rn16rm0_noflags() argument
296 [fn] "r" (asi->insn_fn) in t32_emulate_rdlo12rdhi8rn16rm0_noflags()
307 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_simulate_bxblx() argument
321 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_simulate_ldr_literal() argument
331 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_simulate_ldrstr_sp_relative() argument
344 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_simulate_reladr() argument
355 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_simulate_add_sp_imm() argument
366 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_simulate_cbz() argument
380 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_simulate_it() argument
397 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_singlestep_it() argument
400 t16_simulate_it(insn, asi, regs); in t16_singlestep_it()
404 t16_decode_it(probes_opcode_t insn, struct arch_probes_insn *asi, in t16_decode_it() argument
407 asi->insn_singlestep = t16_singlestep_it; in t16_decode_it()
413 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_simulate_cond_branch() argument
422 t16_decode_cond_branch(probes_opcode_t insn, struct arch_probes_insn *asi, in t16_decode_cond_branch() argument
426 asi->insn_check_cc = probes_condition_checks[cc]; in t16_decode_cond_branch()
427 asi->insn_handler = t16_simulate_cond_branch; in t16_decode_cond_branch()
433 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_simulate_branch() argument
443 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_emulate_loregs() argument
458 [fn] "r" (asi->insn_fn) in t16_emulate_loregs()
468 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_emulate_loregs_rwflags() argument
470 regs->ARM_cpsr = t16_emulate_loregs(insn, asi, regs); in t16_emulate_loregs_rwflags()
475 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_emulate_loregs_noitrwflags() argument
477 unsigned long cpsr = t16_emulate_loregs(insn, asi, regs); in t16_emulate_loregs_noitrwflags()
484 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_emulate_hiregs() argument
502 : "0" (rdnv), "r" (rmv), "1" (cpsr), [fn] "r" (asi->insn_fn) in t16_emulate_hiregs()
514 t16_decode_hiregs(probes_opcode_t insn, struct arch_probes_insn *asi, in t16_decode_hiregs() argument
519 ((u16 *)asi->insn)[0] = __opcode_to_mem_thumb16(insn); in t16_decode_hiregs()
520 asi->insn_handler = t16_emulate_hiregs; in t16_decode_hiregs()
526 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_emulate_push() argument
537 : [regs] "r" (regs), [fn] "r" (asi->insn_fn) in t16_emulate_push()
544 t16_decode_push(probes_opcode_t insn, struct arch_probes_insn *asi, in t16_decode_push() argument
553 ((u16 *)asi->insn)[0] = __opcode_to_mem_thumb16(0xe929); in t16_decode_push()
555 ((u16 *)asi->insn)[1] = __opcode_to_mem_thumb16(insn & 0x1ff); in t16_decode_push()
556 asi->insn_handler = t16_emulate_push; in t16_decode_push()
562 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_emulate_pop_nopc() argument
573 : [regs] "r" (regs), [fn] "r" (asi->insn_fn) in t16_emulate_pop_nopc()
581 struct arch_probes_insn *asi, struct pt_regs *regs) in t16_emulate_pop_pc() argument
594 : [regs] "r" (regs), [fn] "r" (asi->insn_fn) in t16_emulate_pop_pc()
603 t16_decode_pop(probes_opcode_t insn, struct arch_probes_insn *asi, in t16_decode_pop() argument
612 ((u16 *)asi->insn)[0] = __opcode_to_mem_thumb16(0xe8b9); in t16_decode_pop()
614 ((u16 *)asi->insn)[1] = __opcode_to_mem_thumb16(insn & 0x1ff); in t16_decode_pop()
615 asi->insn_handler = insn & 0x100 ? t16_emulate_pop_pc in t16_decode_pop()