Home
last modified time | relevance | path

Searched refs:instruction (Results 1 - 25 of 222) sorted by relevance

123456789

/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dtraps_32.c79 * handle an instruction that does an unaligned memory access by emulating the
81 * - note that PC _may not_ point to the faulting instruction
82 * (if that instruction is in a branch delay slot)
85 static int handle_unaligned_ins(insn_size_t instruction, struct pt_regs *regs, in handle_unaligned_ins() argument
93 index = (instruction>>8)&15; /* 0x0F00 */ in handle_unaligned_ins()
96 index = (instruction>>4)&15; /* 0x00F0 */ in handle_unaligned_ins()
99 count = 1<<(instruction&3); in handle_unaligned_ins()
109 switch (instruction>>12) { in handle_unaligned_ins()
111 if (instruction & 8) { in handle_unaligned_ins()
143 dstu += (instruction in handle_unaligned_ins()
269 insn_size_t instruction; handle_delayslot() local
302 handle_unaligned_access(insn_size_t instruction, struct pt_regs *regs, struct mem_access *ma, int expected, unsigned long address) handle_unaligned_access() argument
477 insn_size_t instruction; do_address_error() local
[all...]
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dtraps_32.c96 * handle an instruction that does an unaligned memory access by emulating the
98 * - note that PC _may not_ point to the faulting instruction
99 * (if that instruction is in a branch delay slot)
102 static int handle_unaligned_ins(insn_size_t instruction, struct pt_regs *regs, in handle_unaligned_ins() argument
110 index = (instruction>>8)&15; /* 0x0F00 */ in handle_unaligned_ins()
113 index = (instruction>>4)&15; /* 0x00F0 */ in handle_unaligned_ins()
116 count = 1<<(instruction&3); in handle_unaligned_ins()
126 switch (instruction>>12) { in handle_unaligned_ins()
128 if (instruction & 8) { in handle_unaligned_ins()
160 dstu += (instruction in handle_unaligned_ins()
286 insn_size_t instruction; handle_delayslot() local
319 handle_unaligned_access(insn_size_t instruction, struct pt_regs *regs, struct mem_access *ma, int expected, unsigned long address) handle_unaligned_access() argument
493 insn_size_t instruction; do_address_error() local
[all...]
/kernel/linux/linux-6.6/tools/objtool/include/objtool/
H A Dcheck.h30 struct instruction *first_insn, *last_insn, *nop;
43 struct instruction { struct
70 struct instruction *jump_dest;
71 struct instruction *first_jump_src;
82 static inline struct symbol *insn_func(struct instruction *insn) in insn_func()
97 static inline bool is_static_jump(struct instruction *insn) in is_static_jump()
103 static inline bool is_dynamic_jump(struct instruction *insn) in is_dynamic_jump()
109 static inline bool is_jump(struct instruction *insn) in is_jump()
114 struct instruction *find_insn(struct objtool_file *file,
117 struct instruction *next_insn_same_se
[all...]
H A Darch.h70 struct instruction;
78 struct instruction *insn);
82 unsigned long arch_jump_destination(struct instruction *insn);
/kernel/linux/linux-5.10/tools/objtool/
H A Dcheck.h30 struct instruction *first_insn, *last_insn;
39 struct instruction { struct
57 struct instruction *jump_dest;
58 struct instruction *first_jump_src;
72 static inline bool is_static_jump(struct instruction *insn) in is_static_jump()
78 static inline bool is_dynamic_jump(struct instruction *insn) in is_dynamic_jump()
84 static inline bool is_jump(struct instruction *insn) in is_jump()
89 struct instruction *find_insn(struct objtool_file *file,
H A Dcheck.c26 struct instruction *insn;
36 struct instruction *find_insn(struct objtool_file *file, in find_insn()
39 struct instruction *insn; in find_insn()
49 static struct instruction *next_insn_same_sec(struct objtool_file *file, in next_insn_same_sec()
50 struct instruction *insn) in next_insn_same_sec()
52 struct instruction *next = list_next_entry(insn, list); in next_insn_same_sec()
60 static struct instruction *next_insn_same_func(struct objtool_file *file, in next_insn_same_func()
61 struct instruction *insn) in next_insn_same_func()
63 struct instruction *next = list_next_entry(insn, list); in next_insn_same_func()
80 static struct instruction *prev_insn_same_sy
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
H A Djl2005bcd.c107 static u8 instruction[2] = {0x95, 0x00}; in jl2005c_read_reg() local
109 instruction[1] = reg; in jl2005c_read_reg()
111 retval = jl2005c_write2(gspca_dev, instruction); in jl2005c_read_reg()
125 static u8 instruction[2] = {0x7f, 0x01}; in jl2005c_start_new_frame() local
127 retval = jl2005c_write2(gspca_dev, instruction); in jl2005c_start_new_frame()
152 u8 instruction[2]; in jl2005c_write_reg() local
154 instruction[0] = reg; in jl2005c_write_reg()
155 instruction[1] = value; in jl2005c_write_reg()
157 retval = jl2005c_write2(gspca_dev, instruction); in jl2005c_write_reg()
200 static u8 instruction[][ in jl2005c_stream_start_vga_lg() local
223 static u8 instruction[][2] = { jl2005c_stream_start_vga_small() local
246 static u8 instruction[][2] = { jl2005c_stream_start_cif_lg() local
269 static u8 instruction[][2] = { jl2005c_stream_start_cif_small() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/gspca/
H A Djl2005bcd.c107 static u8 instruction[2] = {0x95, 0x00}; in jl2005c_read_reg() local
109 instruction[1] = reg; in jl2005c_read_reg()
111 retval = jl2005c_write2(gspca_dev, instruction); in jl2005c_read_reg()
125 static u8 instruction[2] = {0x7f, 0x01}; in jl2005c_start_new_frame() local
127 retval = jl2005c_write2(gspca_dev, instruction); in jl2005c_start_new_frame()
152 u8 instruction[2]; in jl2005c_write_reg() local
154 instruction[0] = reg; in jl2005c_write_reg()
155 instruction[1] = value; in jl2005c_write_reg()
157 retval = jl2005c_write2(gspca_dev, instruction); in jl2005c_write_reg()
202 static u8 instruction[][ in jl2005c_stream_start_vga_lg() local
225 static u8 instruction[][2] = { jl2005c_stream_start_vga_small() local
248 static u8 instruction[][2] = { jl2005c_stream_start_cif_lg() local
271 static u8 instruction[][2] = { jl2005c_stream_start_cif_small() local
[all...]
/kernel/linux/linux-6.6/tools/objtool/
H A Dcheck.c26 struct instruction *insn;
37 struct instruction *find_insn(struct objtool_file *file, in find_insn()
40 struct instruction *insn; in find_insn()
50 struct instruction *next_insn_same_sec(struct objtool_file *file, in next_insn_same_sec()
51 struct instruction *insn) in next_insn_same_sec()
63 static struct instruction *next_insn_same_func(struct objtool_file *file, in next_insn_same_func()
64 struct instruction *insn) in next_insn_same_func()
66 struct instruction *next = next_insn_same_sec(file, insn); in next_insn_same_func()
83 static struct instruction *prev_insn_same_sec(struct objtool_file *file, in prev_insn_same_sec()
84 struct instruction *ins in prev_insn_same_sec()
[all...]
/kernel/linux/linux-5.10/net/nfc/hci/
H A Dhcp.c22 u8 type, u8 instruction, in nfc_hci_hcp_message_tx()
75 packet->message.header = HCP_HEADER(type, instruction); in nfc_hci_hcp_message_tx()
120 u8 instruction, struct sk_buff *skb) in nfc_hci_hcp_message_rx()
124 nfc_hci_resp_received(hdev, instruction, skb); in nfc_hci_hcp_message_rx()
127 nfc_hci_cmd_received(hdev, pipe, instruction, skb); in nfc_hci_hcp_message_rx()
130 nfc_hci_event_received(hdev, pipe, instruction, skb); in nfc_hci_hcp_message_rx()
133 pr_err("UNKNOWN MSG Type %d, instruction=%d\n", in nfc_hci_hcp_message_rx()
134 type, instruction); in nfc_hci_hcp_message_rx()
21 nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, u8 instruction, const u8 *payload, size_t payload_len, data_exchange_cb_t cb, void *cb_context, unsigned long completion_delay) nfc_hci_hcp_message_tx() argument
119 nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, u8 instruction, struct sk_buff *skb) nfc_hci_hcp_message_rx() argument
/kernel/linux/linux-6.6/net/nfc/hci/
H A Dhcp.c22 u8 type, u8 instruction, in nfc_hci_hcp_message_tx()
75 packet->message.header = HCP_HEADER(type, instruction); in nfc_hci_hcp_message_tx()
118 u8 instruction, struct sk_buff *skb) in nfc_hci_hcp_message_rx()
122 nfc_hci_resp_received(hdev, instruction, skb); in nfc_hci_hcp_message_rx()
125 nfc_hci_cmd_received(hdev, pipe, instruction, skb); in nfc_hci_hcp_message_rx()
128 nfc_hci_event_received(hdev, pipe, instruction, skb); in nfc_hci_hcp_message_rx()
131 pr_err("UNKNOWN MSG Type %d, instruction=%d\n", in nfc_hci_hcp_message_rx()
132 type, instruction); in nfc_hci_hcp_message_rx()
21 nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, u8 instruction, const u8 *payload, size_t payload_len, data_exchange_cb_t cb, void *cb_context, unsigned long completion_delay) nfc_hci_hcp_message_tx() argument
117 nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, u8 instruction, struct sk_buff *skb) nfc_hci_hcp_message_rx() argument
/kernel/linux/linux-6.6/arch/arm/nwfpe/
H A Dentry.S18 ldrt r0, [r4] @ r0 = instruction
33 the user code. If the emulator is unable to emulate the instruction,
49 2) It calls EmulateAll to emulate a floating point instruction.
52 3) If an instruction has been emulated successfully, it looks ahead at
53 the next instruction. If it is a floating point instruction, it
54 executes the instruction, without returning to user space. In this
56 until it encounters a non floating point instruction, at which time it
79 bne next @ get the next instruction;
82 bl EmulateAll @ emulate the instruction
[all...]
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/
H A Docs-aes.c527 enum ocs_instruction instruction) in set_ocs_aes_command()
554 val = (cipher << 14) | (mode << 8) | (instruction << 6) | in set_ocs_aes_command()
562 enum ocs_instruction instruction) in ocs_aes_init()
571 set_ocs_aes_command(aes_dev, cipher, mode, instruction); in ocs_aes_init()
605 enum ocs_instruction instruction, in ocs_aes_validate_inputs()
608 /* Ensure cipher, mode and instruction are valid. */ in ocs_aes_validate_inputs()
617 if (instruction != OCS_ENCRYPT && instruction != OCS_DECRYPT && in ocs_aes_validate_inputs()
618 instruction != OCS_EXPAND && instruction ! in ocs_aes_validate_inputs()
524 set_ocs_aes_command(struct ocs_aes_dev *aes_dev, enum ocs_cipher cipher, enum ocs_mode mode, enum ocs_instruction instruction) set_ocs_aes_command() argument
559 ocs_aes_init(struct ocs_aes_dev *aes_dev, enum ocs_mode mode, enum ocs_cipher cipher, enum ocs_instruction instruction) ocs_aes_init() argument
600 ocs_aes_validate_inputs(dma_addr_t src_dma_list, u32 src_size, const u8 *iv, u32 iv_size, dma_addr_t aad_dma_list, u32 aad_size, const u8 *tag, u32 tag_size, enum ocs_cipher cipher, enum ocs_mode mode, enum ocs_instruction instruction, dma_addr_t dst_dma_list) ocs_aes_validate_inputs() argument
796 ocs_aes_op(struct ocs_aes_dev *aes_dev, enum ocs_mode mode, enum ocs_cipher cipher, enum ocs_instruction instruction, dma_addr_t dst_dma_list, dma_addr_t src_dma_list, u32 src_size, u8 *iv, u32 iv_size) ocs_aes_op() argument
925 ocs_aes_gcm_op(struct ocs_aes_dev *aes_dev, enum ocs_cipher cipher, enum ocs_instruction instruction, dma_addr_t dst_dma_list, dma_addr_t src_dma_list, u32 src_size, const u8 *iv, dma_addr_t aad_dma_list, u32 aad_size, u8 *out_tag, u32 tag_size) ocs_aes_gcm_op() argument
1307 ocs_aes_ccm_op(struct ocs_aes_dev *aes_dev, enum ocs_cipher cipher, enum ocs_instruction instruction, dma_addr_t dst_dma_list, dma_addr_t src_dma_list, u32 src_size, u8 *iv, dma_addr_t adata_dma_list, u32 adata_size, u8 *in_tag, u32 tag_size) ocs_aes_ccm_op() argument
[all...]
H A Docs-aes.h73 enum ocs_instruction instruction,
98 enum ocs_instruction instruction,
110 enum ocs_instruction instruction,
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dotm3225a.c25 /* instruction register list */
160 struct otm3225a_spi_instruction *instruction, in otm3225a_write()
169 buf[2] = instruction->reg; in otm3225a_write()
174 buf[1] = (instruction->value >> 8) & 0xff; in otm3225a_write()
175 buf[2] = instruction->value & 0xff; in otm3225a_write()
179 if (instruction->delay) in otm3225a_write()
180 msleep(instruction->delay); in otm3225a_write()
181 instruction++; in otm3225a_write()
159 otm3225a_write(struct spi_device *spi, struct otm3225a_spi_instruction *instruction, unsigned int count) otm3225a_write() argument
/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dotm3225a.c25 /* instruction register list */
160 struct otm3225a_spi_instruction *instruction, in otm3225a_write()
169 buf[2] = instruction->reg; in otm3225a_write()
174 buf[1] = (instruction->value >> 8) & 0xff; in otm3225a_write()
175 buf[2] = instruction->value & 0xff; in otm3225a_write()
179 if (instruction->delay) in otm3225a_write()
180 msleep(instruction->delay); in otm3225a_write()
181 instruction++; in otm3225a_write()
159 otm3225a_write(struct spi_device *spi, struct otm3225a_spi_instruction *instruction, unsigned int count) otm3225a_write() argument
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
H A Dtest-core.h92 * After this, the instruction to be tested is defined with TEST_INSTRUCTION.
154 #define TEST_INSTRUCTION(instruction) \
156 "1: "instruction" \n\t" \
159 #define TEST_BRANCH_F(instruction) \
160 TEST_INSTRUCTION(instruction) \
164 #define TEST_BRANCH_B(instruction) \
169 TEST_INSTRUCTION(instruction)
171 #define TEST_BRANCH_FX(instruction, codex) \
172 TEST_INSTRUCTION(instruction) \
178 #define TEST_BRANCH_BX(instruction, code
[all...]
/kernel/linux/linux-6.6/arch/arm/probes/kprobes/
H A Dtest-core.h92 * After this, the instruction to be tested is defined with TEST_INSTRUCTION.
155 #define TEST_INSTRUCTION(instruction) \
157 "1: "instruction" \n\t" \
160 #define TEST_BRANCH_F(instruction) \
161 TEST_INSTRUCTION(instruction) \
165 #define TEST_BRANCH_B(instruction) \
170 TEST_INSTRUCTION(instruction)
172 #define TEST_BRANCH_FX(instruction, codex) \
173 TEST_INSTRUCTION(instruction) \
179 #define TEST_BRANCH_BX(instruction, code
[all...]
/kernel/linux/linux-5.10/arch/arm/nwfpe/
H A Dentry.S18 ldrt r0, [r4] @ r0 = instruction
33 the user code. If the emulator is unable to emulate the instruction,
49 2) It calls EmulateAll to emulate a floating point instruction.
52 3) If an instruction has been emulated successfully, it looks ahead at
53 the next instruction. If it is a floating point instruction, it
54 executes the instruction, without returning to user space. In this
56 until it encounters a non floating point instruction, at which time it
79 bne next @ get the next instruction;
82 bl EmulateAll @ emulate the instruction
[all...]
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Dbugfix.S65 | /* If the xu instruction is exceptional, we punt.
114 | /* If the xu instruction is exceptional, we punt.
247 | dest and the dest of the xu. We must clear the instruction in
248 | the cu and restore the state, allowing the instruction in the
249 | xu to complete. Remember, the instruction in the nu
251 | If the result of the xu instruction is not exceptional, we can
252 | restore the instruction from the cu to the frame and continue
275 | Check if the instruction which just completed was exceptional.
280 | It is necessary to isolate the result of the instruction in the
369 | dest and the dest of the xu. We must clear the instruction i
[all...]
H A Dsmovecr.S5 | offset given in the instruction field.
7 | Input: An offset in the instruction word.
/kernel/linux/linux-6.6/arch/m68k/fpsp040/
H A Dbugfix.S65 | /* If the xu instruction is exceptional, we punt.
114 | /* If the xu instruction is exceptional, we punt.
247 | dest and the dest of the xu. We must clear the instruction in
248 | the cu and restore the state, allowing the instruction in the
249 | xu to complete. Remember, the instruction in the nu
251 | If the result of the xu instruction is not exceptional, we can
252 | restore the instruction from the cu to the frame and continue
275 | Check if the instruction which just completed was exceptional.
280 | It is necessary to isolate the result of the instruction in the
369 | dest and the dest of the xu. We must clear the instruction i
[all...]
H A Dsmovecr.S5 | offset given in the instruction field.
7 | Input: An offset in the instruction word.
/kernel/linux/linux-6.6/tools/objtool/arch/powerpc/
H A Dspecial.c9 struct instruction *insn, in arch_support_alt_relocation()
16 struct instruction *insn) in arch_find_switch_table()
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/src/
H A Dpfpsp.S548 set fmovm_flg, 0x40 # flag bit: fmovm instruction
585 # _imem_read_long() - read instruction longword #
591 # fout() - emulate an opclass 3 instruction #
612 # instruction, the 060 will take an overflow exception whether the #
614 # This handler emulates the instruction to determine what the correct #
621 # the default result (only if the instruction is opclass 3). For #
629 # Also, in the case of an opclass three instruction where #
648 # the FPIAR holds the "current PC" of the faulting instruction
650 mov.l EXC_EXTWPTR(%a6),%a0 # fetch instruction addr
651 addq.l &0x4,EXC_EXTWPTR(%a6) # incr instruction pt
[all...]

Completed in 18 milliseconds

123456789