Home
last modified time | relevance | path

Searched defs:instr (Results 1 – 25 of 170) sorted by relevance

1234567

/linux-6.12.1/arch/powerpc/include/asm/
Dprobes.h17 #define IS_TW(instr) (((instr) & 0xfc0007fe) == 0x7c000008) argument
18 #define IS_TD(instr) (((instr) & 0xfc0007fe) == 0x7c000088) argument
19 #define IS_TDI(instr) (((instr) & 0xfc000000) == 0x08000000) argument
20 #define IS_TWI(instr) (((instr) & 0xfc000000) == 0x0c000000) argument
23 #define is_trap(instr) (IS_TW(instr) || IS_TD(instr) || \ argument
26 #define is_trap(instr) (IS_TW(instr) || IS_TWI(instr)) argument
Dcode-patching.h52 static inline int create_branch(ppc_inst_t *instr, const u32 *addr, in create_branch()
121 static inline int patch_instruction_site(s32 *site, ppc_inst_t instr) in patch_instruction_site()
142 static inline unsigned int branch_opcode(ppc_inst_t instr) in branch_opcode()
147 static inline int instr_is_branch_iform(ppc_inst_t instr) in instr_is_branch_iform()
152 static inline int instr_is_branch_bform(ppc_inst_t instr) in instr_is_branch_bform()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_asm.c30 u16 br_get_offset(u64 instr) in br_get_offset()
41 void br_set_offset(u64 *instr, u16 offset) in br_set_offset()
52 void br_add_offset(u64 *instr, u16 offset) in br_add_offset()
60 static bool immed_can_modify(u64 instr) in immed_can_modify()
71 u16 immed_get_value(u64 instr) in immed_get_value()
85 void immed_set_value(u64 *instr, u16 immed) in immed_set_value()
102 void immed_add_value(u64 *instr, u16 offset) in immed_add_value()
/linux-6.12.1/arch/arm/include/asm/
Ddomain.h120 #define TUSER(instr) TUSERCOND(instr, ) argument
121 #define TUSERCOND(instr, cond) #instr "t" #cond argument
123 #define TUSER(instr) TUSERCOND(instr, ) argument
124 #define TUSERCOND(instr, cond) #instr #cond argument
134 #define TUSER(instr) instr ## t argument
136 #define TUSER(instr) instr argument
/linux-6.12.1/arch/powerpc/lib/
Dcode-patching.c44 int raw_patch_instruction(u32 *addr, ppc_inst_t instr) in raw_patch_instruction()
378 int patch_instruction(u32 *addr, ppc_inst_t instr) in patch_instruction()
407 int patch_instruction(u32 *addr, ppc_inst_t instr) in patch_instruction()
444 ppc_inst_t instr = ppc_inst_read(code); in __patch_instructions() local
578 ppc_inst_t instr; in patch_branch() local
590 bool is_conditional_branch(ppc_inst_t instr) in is_conditional_branch()
608 int create_cond_branch(ppc_inst_t *instr, const u32 *addr, in create_cond_branch()
627 int instr_is_relative_branch(ppc_inst_t instr) in instr_is_relative_branch()
635 int instr_is_relative_link_branch(ppc_inst_t instr) in instr_is_relative_link_branch()
640 static unsigned long branch_iform_target(const u32 *instr) in branch_iform_target()
[all …]
Dtest-code-patching.c11 static int __init instr_is_branch_to_addr(const u32 *instr, unsigned long addr) in instr_is_branch_to_addr()
33 ppc_inst_t instr; in test_branch_iform() local
115 ppc_inst_t instr; in test_create_function_call() local
129 ppc_inst_t instr; in test_branch_bform() local
207 ppc_inst_t instr; in test_translate_branch() local
Dsstep.c83 static nokprobe_inline int branch_taken(unsigned int instr, in branch_taken()
123 static nokprobe_inline unsigned long dform_ea(unsigned int instr, in dform_ea()
141 static nokprobe_inline unsigned long dsform_ea(unsigned int instr, in dsform_ea()
158 static nokprobe_inline unsigned long dqform_ea(unsigned int instr, in dqform_ea()
176 static nokprobe_inline unsigned long xform_ea(unsigned int instr, in xform_ea()
195 static nokprobe_inline unsigned long mlsd_8lsd_ea(unsigned int instr, in mlsd_8lsd_ea()
1356 ppc_inst_t instr) in analyse_instr()
3580 int emulate_step(struct pt_regs *regs, ppc_inst_t instr) in emulate_step()
Dtest_emulate_step.c792 ppc_inst_t instr; in test_plxvp_pstxvp() local
906 ppc_inst_t instr; member
1600 ppc_inst_t instr, in emulate_compute_instr()
1627 ppc_inst_t instr) in execute_compute_instr()
1658 ppc_inst_t instr; in run_tests_compute() local
/linux-6.12.1/arch/arm64/kernel/
Dcompat_alignment.c54 do_alignment_finish_ldst(unsigned long addr, u32 instr, struct pt_regs *regs, in do_alignment_finish_ldst()
68 do_alignment_ldrdstrd(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldrdstrd()
115 do_alignment_ldmstm(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldmstm()
236 u32 instr = *pinstr; in do_alignment_t32_to_handler() local
286 __le32 instr = 0; in alignment_get_arm() local
299 __le16 instr = 0; in alignment_get_thumb() local
316 u32 instr = 0; in do_compat_alignment_fixup() local
Dsmccc-call.S11 .macro SMCCC instr argument
47 .macro SMCCC_1_2 instr argument
Darmv8_deprecated.c164 static int swp_handler(struct pt_regs *regs, u32 instr) in swp_handler()
252 static int cp15barrier_handler(struct pt_regs *regs, u32 instr) in cp15barrier_handler()
370 static int a32_setend_handler(struct pt_regs *regs, u32 instr) in a32_setend_handler()
377 static int t16_setend_handler(struct pt_regs *regs, u32 instr) in t16_setend_handler()
/linux-6.12.1/arch/arm/mm/
Dalignment.c327 do_alignment_finish_ldst(unsigned long addr, u32 instr, struct pt_regs *regs, union offset_union of… in do_alignment_finish_ldst()
340 do_alignment_ldrhstrh(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldrhstrh()
389 do_alignment_ldrdstrd(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldrdstrd()
451 do_alignment_ldrstr(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldrstr()
500 do_alignment_ldmstm(unsigned long addr, u32 instr, struct pt_regs *regs) in do_alignment_ldmstm()
721 u32 instr = *pinstr; in do_alignment_t32_to_handler() local
771 u32 instr = 0; in alignment_get_arm() local
786 u16 instr = 0; in alignment_get_thumb() local
806 u32 instr = 0; in do_alignment() local
/linux-6.12.1/lib/xz/
Dxz_dec_bcj.c164 uint32_t instr; in bcj_powerpc() local
220 uint64_t instr; in bcj_ia64() local
331 uint32_t instr; in bcj_sparc() local
355 uint32_t instr; in bcj_arm64() local
399 uint32_t instr; in bcj_riscv() local
/linux-6.12.1/drivers/watchdog/
Dwdat_wdt.c65 const struct wdat_instruction *instr, u32 *value) in wdat_wdt_read()
90 const struct wdat_instruction *instr, u32 value) in wdat_wdt_write()
117 struct wdat_instruction *instr; in wdat_wdt_run_action() local
375 struct wdat_instruction *instr; in wdat_wdt_probe() local
/linux-6.12.1/arch/powerpc/kernel/
Dhw_breakpoint_constraints.c83 bool wp_check_constraints(struct pt_regs *regs, ppc_inst_t instr, in wp_check_constraints()
130 void wp_get_instr_detail(struct pt_regs *regs, ppc_inst_t *instr, in wp_get_instr_detail()
Dalign.c118 unsigned int nb, flags, instr; in emulate_spe() local
303 ppc_inst_t instr; in fix_alignment() local
/linux-6.12.1/arch/microblaze/kernel/
Dunwind.c63 static inline long get_frame_size(unsigned long instr) in get_frame_size()
87 unsigned long instr; in find_frame_creation() local
/linux-6.12.1/arch/m68k/math-emu/
Dfp_scan.S406 .macro fp_dosingleprec instr argument
412 .macro fp_dodoubleprec instr argument
/linux-6.12.1/arch/arm/kernel/
Dkgdb.c142 static int kgdb_brk_fn(struct pt_regs *regs, unsigned int instr) in kgdb_brk_fn()
149 static int kgdb_compiled_brk_fn(struct pt_regs *regs, unsigned int instr) in kgdb_compiled_brk_fn()
Dsmccc-call.S25 .macro SMCCC instr argument
Dtraps.c436 int call_undef_hook(struct pt_regs *regs, unsigned int instr) in call_undef_hook()
454 unsigned int instr; in do_undefinstr() local
705 static int get_tp_trap(struct pt_regs *regs, unsigned int instr) in get_tp_trap()
738 baddataabort(int code, unsigned long instr, struct pt_regs *regs) in baddataabort()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_nested.h134 static inline bool kvm_supported_tlbi_s1e1_op(struct kvm_vcpu *vpcu, u32 instr) in kvm_supported_tlbi_s1e1_op()
160 static inline bool kvm_supported_tlbi_s1e2_op(struct kvm_vcpu *vpcu, u32 instr) in kvm_supported_tlbi_s1e2_op()
/linux-6.12.1/arch/powerpc/net/
Dbpf_jit.h24 #define PLANT_INSTR(d, idx, instr) \ argument
26 #define EMIT(instr) PLANT_INSTR(image, ctx->idx, instr) argument
/linux-6.12.1/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y1648 struct instruction *instr; in format_1_instr() local
1725 struct instruction *instr; in format_2_instr() local
1786 struct instruction *instr; in format_3_instr() local
/linux-6.12.1/drivers/mtd/
Dinftlmount.c196 struct erase_info *instr = &inftl->instr; in find_boot_record() local
365 struct erase_info *instr = &inftl->instr; in INFTL_formatblock() local

1234567