Home
last modified time | relevance | path

Searched defs:inst (Results 1 – 25 of 75) sorted by relevance

123

/arch/powerpc/include/asm/
Ddisassemble.h14 static inline unsigned int get_op(u32 inst) in get_op()
19 static inline unsigned int get_xop(u32 inst) in get_xop()
24 static inline unsigned int get_sprn(u32 inst) in get_sprn()
29 static inline unsigned int get_dcrn(u32 inst) in get_dcrn()
34 static inline unsigned int get_tmrn(u32 inst) in get_tmrn()
39 static inline unsigned int get_rt(u32 inst) in get_rt()
44 static inline unsigned int get_rs(u32 inst) in get_rs()
49 static inline unsigned int get_ra(u32 inst) in get_ra()
54 static inline unsigned int get_rb(u32 inst) in get_rb()
59 static inline unsigned int get_rc(u32 inst) in get_rc()
[all …]
/arch/arm/vfp/
Dvfpinstr.h10 #define INST_CPRTDO(inst) (((inst) & 0x0f000000) == 0x0e000000) argument
11 #define INST_CPRT(inst) ((inst) & (1 << 4)) argument
12 #define INST_CPRT_L(inst) ((inst) & (1 << 20)) argument
13 #define INST_CPRT_Rd(inst) (((inst) & (15 << 12)) >> 12) argument
14 #define INST_CPRT_OP(inst) (((inst) >> 21) & 7) argument
15 #define INST_CPNUM(inst) ((inst) & 0xf00) argument
30 #define FOP_TO_IDX(inst) ((inst & 0x00b00000) >> 20 | (inst & (1 << 6)) >> 4) argument
49 #define FEXT_TO_IDX(inst) ((inst & 0x000f0000) >> 15 | (inst & (1 << 7)) >> 7) argument
51 #define vfp_get_sd(inst) ((inst & 0x0000f000) >> 11 | (inst & (1 << 22)) >> 22) argument
52 #define vfp_get_dd(inst) ((inst & 0x0000f000) >> 12 | (inst & (1 << 22)) >> 18) argument
[all …]
/arch/arm/mach-omap2/
Dcm33xx.c51 static inline u32 am33xx_cm_read_reg(u16 inst, u16 idx) in am33xx_cm_read_reg()
57 static inline void am33xx_cm_write_reg(u32 val, u16 inst, u16 idx) in am33xx_cm_write_reg()
63 static inline u32 am33xx_cm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) in am33xx_cm_rmw_reg_bits()
75 static inline u32 am33xx_cm_read_reg_bits(u16 inst, s16 idx, u32 mask) in am33xx_cm_read_reg_bits()
94 static u32 _clkctrl_idlest(u16 inst, u16 clkctrl_offs) in _clkctrl_idlest()
110 static bool _is_module_ready(u16 inst, u16 clkctrl_offs) in _is_module_ready()
129 static void _clktrctrl_write(u8 c, u16 inst, u16 cdoffs) in _clktrctrl_write()
149 static bool am33xx_cm_is_clkdm_in_hwsup(u16 inst, u16 cdoffs) in am33xx_cm_is_clkdm_in_hwsup()
168 static void am33xx_cm_clkdm_enable_hwsup(u16 inst, u16 cdoffs) in am33xx_cm_clkdm_enable_hwsup()
182 static void am33xx_cm_clkdm_disable_hwsup(u16 inst, u16 cdoffs) in am33xx_cm_clkdm_disable_hwsup()
[all …]
Dcminst44xx.c85 static u32 _clkctrl_idlest(u8 part, u16 inst, u16 clkctrl_offs) in _clkctrl_idlest()
102 static bool _is_module_ready(u8 part, u16 inst, u16 clkctrl_offs) in _is_module_ready()
113 static u32 omap4_cminst_read_inst_reg(u8 part, u16 inst, u16 idx) in omap4_cminst_read_inst_reg()
122 static void omap4_cminst_write_inst_reg(u32 val, u8 part, u16 inst, u16 idx) in omap4_cminst_write_inst_reg()
131 static u32 omap4_cminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, u16 inst, in omap4_cminst_rmw_inst_reg_bits()
144 static u32 omap4_cminst_set_inst_reg_bits(u32 bits, u8 part, u16 inst, s16 idx) in omap4_cminst_set_inst_reg_bits()
149 static u32 omap4_cminst_clear_inst_reg_bits(u32 bits, u8 part, u16 inst, in omap4_cminst_clear_inst_reg_bits()
155 static u32 omap4_cminst_read_inst_reg_bits(u8 part, u16 inst, s16 idx, u32 mask) in omap4_cminst_read_inst_reg_bits()
180 static void _clktrctrl_write(u8 c, u8 part, u16 inst, u16 cdoffs) in _clktrctrl_write()
199 static bool omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs) in omap4_cminst_is_clkdm_in_hwsup()
[all …]
Dprminst44xx.c58 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx) in omap4_prminst_read_inst_reg()
67 void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) in omap4_prminst_write_inst_reg()
76 u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, in omap4_prminst_rmw_inst_reg_bits()
99 int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in omap4_prminst_is_hardreset_asserted()
123 int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, in omap4_prminst_assert_hardreset()
152 int omap4_prminst_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 inst, in omap4_prminst_deassert_hardreset()
181 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap4_prminst_global_warm_sw_reset() local
Dprcm_mpu44xx.c28 u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 reg) in omap4_prcm_mpu_read_inst_reg()
33 void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 reg) in omap4_prcm_mpu_write_inst_reg()
38 u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) in omap4_prcm_mpu_rmw_inst_reg_bits()
Dprm44xx.c96 static u32 omap4_prm_read_inst_reg(s16 inst, u16 reg) in omap4_prm_read_inst_reg()
102 static void omap4_prm_write_inst_reg(u32 val, s16 inst, u16 reg) in omap4_prm_write_inst_reg()
108 static u32 omap4_prm_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) in omap4_prm_rmw_inst_reg_bits()
170 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap4_prm_vcvp_read() local
181 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap4_prm_vcvp_write() local
192 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap4_prm_vcvp_rmw() local
308 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap44xx_prm_reconfigure_io_chain() local
353 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap44xx_prm_enable_io_wakeup() local
375 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap44xx_prm_read_reset_sources() local
404 static bool omap44xx_prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx) in omap44xx_prm_was_any_context_lost_old()
[all …]
Dprm33xx.c31 static u32 am33xx_prm_read_reg(s16 inst, u16 idx) in am33xx_prm_read_reg()
37 static void am33xx_prm_write_reg(u32 val, s16 inst, u16 idx) in am33xx_prm_write_reg()
43 static u32 am33xx_prm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) in am33xx_prm_rmw_reg_bits()
67 static int am33xx_prm_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in am33xx_prm_is_hardreset_asserted()
93 static int am33xx_prm_assert_hardreset(u8 shift, u8 part, s16 inst, in am33xx_prm_assert_hardreset()
123 s16 inst, u16 rstctrl_offs, in am33xx_prm_deassert_hardreset()
Dcm_common.c131 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_enable()
153 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_disable()
165 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_xlate_clkctrl()
/arch/nds32/mm/
Dalignment.c18 #define RT(inst) (((inst) >> 20) & 0x1FUL) argument
19 #define RA(inst) (((inst) >> 15) & 0x1FUL) argument
20 #define RB(inst) (((inst) >> 10) & 0x1FUL) argument
21 #define SV(inst) (((inst) >> 8) & 0x3UL) argument
22 #define IMM(inst) (((inst) >> 0) & 0x7FFFUL) argument
24 #define RA3(inst) (((inst) >> 3) & 0x7UL) argument
25 #define RT3(inst) (((inst) >> 6) & 0x7UL) argument
26 #define IMM3U(inst) (((inst) >> 0) & 0x7UL) argument
28 #define RA5(inst) (((inst) >> 0) & 0x1FUL) argument
29 #define RT4(inst) (((inst) >> 5) & 0xFUL) argument
[all …]
/arch/powerpc/kernel/
Dkvm.c71 static void __init kvm_patch_ins(u32 *inst, u32 new_inst) in kvm_patch_ins()
77 static void __init kvm_patch_ins_ll(u32 *inst, long addr, u32 rt) in kvm_patch_ins_ll()
86 static void __init kvm_patch_ins_ld(u32 *inst, long addr, u32 rt) in kvm_patch_ins_ld()
95 static void __init kvm_patch_ins_lwz(u32 *inst, long addr, u32 rt) in kvm_patch_ins_lwz()
100 static void __init kvm_patch_ins_std(u32 *inst, long addr, u32 rt) in kvm_patch_ins_std()
109 static void __init kvm_patch_ins_stw(u32 *inst, long addr, u32 rt) in kvm_patch_ins_stw()
114 static void __init kvm_patch_ins_nop(u32 *inst) in kvm_patch_ins_nop()
119 static void __init kvm_patch_ins_b(u32 *inst, int addr) in kvm_patch_ins_b()
155 static void __init kvm_patch_ins_mtmsrd(u32 *inst, u32 rt) in kvm_patch_ins_mtmsrd()
208 static void __init kvm_patch_ins_mtmsr(u32 *inst, u32 rt) in kvm_patch_ins_mtmsr()
[all …]
Depapr_paravirt.c40 struct ppc_inst inst = ppc_inst(be32_to_cpu(insts[i])); in early_init_dt_scan_epapr() local
/arch/sh/kernel/
Dtraps_32.c565 unsigned short inst = 0; in is_dsp_inst() local
614 unsigned short inst = 0; in do_reserved_inst() local
646 static int emulate_branch(unsigned short inst, struct pt_regs *regs) in emulate_branch()
696 unsigned long inst; in do_illegal_slot_inst() local
/arch/powerpc/kvm/
De500_emulate.c87 unsigned int inst, int *advance) in kvmppc_e500_emul_ehpriv()
115 static int kvmppc_e500_emul_mftmr(struct kvm_vcpu *vcpu, unsigned int inst, in kvmppc_e500_emul_mftmr()
129 unsigned int inst, int *advance) in kvmppc_core_emulate_op_e500()
Demulate_loadstore.c74 u32 inst; in kvmppc_emulate_loadstore() local
/arch/powerpc/mm/
Dmaccess.c15 int copy_inst_from_kernel_nofault(struct ppc_inst *inst, u32 *src) in copy_inst_from_kernel_nofault()
/arch/mips/netlogic/xlp/
Dusb-init.c65 #define nlm_get_usb_pcibase(node, inst) \ argument
67 #define nlm_get_usb_regbase(node, inst) \ argument
/arch/mips/kernel/
Dbranch.c31 unsigned short inst; in __isa_exception_epc() local
323 union mips16e_instruction inst; in __MIPS16e_compute_return_epc() local
Duprobes.c30 union mips_instruction inst; in arch_uprobe_analyze_insn() local
64 union mips_instruction inst; in is_trap_insn() local
/arch/mips/kvm/
Dhypcall.c18 union mips_instruction inst) in kvm_mips_emul_hypcall()
Dvz.c577 static bool is_eva_access(union mips_instruction inst) in is_eva_access()
649 union mips_instruction inst; in is_eva_am_mapped() local
823 u32 inst = 0; in kvm_trap_vz_no_handler() local
875 static enum emulation_result kvm_vz_gpsi_cop0(union mips_instruction inst, in kvm_vz_gpsi_cop0()
1074 static enum emulation_result kvm_vz_gpsi_cache(union mips_instruction inst, in kvm_vz_gpsi_cache()
1143 static enum emulation_result kvm_vz_gpsi_lwc2(union mips_instruction inst, in kvm_vz_gpsi_lwc2()
1217 union mips_instruction inst; in kvm_trap_vz_handle_gpsi() local
1299 union mips_instruction inst; in kvm_trap_vz_handle_gsfc() local
1436 union mips_instruction inst; in kvm_trap_vz_handle_hc() local
1467 u32 inst; in kvm_trap_vz_no_handler_guest_exit() local
[all …]
/arch/m68k/include/asm/
Duaccess.h44 #define __put_user_asm(inst, res, x, ptr, bwl, reg, err) \ argument
62 #define __put_user_asm8(inst, res, x, ptr) \ argument
118 #define __get_user_asm(inst, res, x, ptr, type, bwl, reg, err) ({ \ argument
139 #define __get_user_asm8(inst, res, x, ptr) \ argument
/arch/microblaze/mm/
Dfault.c48 unsigned int inst; in store_updates_sp() local
/arch/powerpc/platforms/powermac/
Dlow_i2c.c1233 struct pmac_i2c_pf_inst *inst; in pmac_i2c_do_begin() local
1266 struct pmac_i2c_pf_inst *inst = instdata; in pmac_i2c_do_end() local
1276 struct pmac_i2c_pf_inst *inst = instdata; in pmac_i2c_do_read() local
1285 struct pmac_i2c_pf_inst *inst = instdata; in pmac_i2c_do_write() local
1297 static void pmac_i2c_do_apply_rmw(struct pmac_i2c_pf_inst *inst, in pmac_i2c_do_apply_rmw()
1316 struct pmac_i2c_pf_inst *inst = instdata; in pmac_i2c_do_rmw() local
1330 struct pmac_i2c_pf_inst *inst = instdata; in pmac_i2c_do_read_sub() local
1340 struct pmac_i2c_pf_inst *inst = instdata; in pmac_i2c_do_write_sub() local
1348 struct pmac_i2c_pf_inst *inst = instdata; in pmac_i2c_do_set_mode() local
1357 struct pmac_i2c_pf_inst *inst = instdata; in pmac_i2c_do_rmw_sub() local
[all …]
/arch/mips/include/asm/
Dbranch.h89 union mips16e_instruction *inst) in MIPS16e_compute_return_epc()

123