/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_lrc.c | 1190 u32 instr; member in struct:instr_state 1195 { .instr = CMD_3DSTATE_CONSTANT_VS, .num_dw = 11 }, 1196 { .instr = CMD_3DSTATE_CONSTANT_HS, .num_dw = 11 }, 1197 { .instr = CMD_3DSTATE_CONSTANT_DS, .num_dw = 11 }, 1198 { .instr = CMD_3DSTATE_CONSTANT_GS, .num_dw = 11 }, 1199 { .instr = CMD_3DSTATE_VERTEX_ELEMENTS, .num_dw = 69 }, 1200 { .instr = CMD_3DSTATE_VF_COMPONENT_PACKING, .num_dw = 5 }, 1201 { .instr = CMD_3DSTATE_VF_SGVS, .num_dw = 2 }, 1202 { .instr = CMD_3DSTATE_VF_SGVS_2, .num_dw = 3 }, 1203 { .instr 1274 u32 instr = state_table[i].instr; local [all...] |
/linux-master/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_reqmgr.c | 299 memcpy(ent, &sr->instr, cmdq->instr_size); 447 sr->instr.dptr0 = cpu_to_be64(sr->in.sgcomp_dma); 450 sr->instr.ih.value = 0; 451 sr->instr.ih.s.g = 1; 452 sr->instr.ih.s.gsz = sr->in.sgmap_cnt; 453 sr->instr.ih.s.ssz = sr->out.sgmap_cnt; 454 sr->instr.ih.s.fsz = FDATA_SIZE + sizeof(struct gphdr); 455 sr->instr.ih.s.tlen = sr->instr.ih.s.fsz + sr->in.total_bytes; 456 sr->instr [all...] |
/linux-master/arch/arm/kernel/ |
H A D | traps.c | 435 int call_undef_hook(struct pt_regs *regs, unsigned int instr) argument 439 int (*fn)(struct pt_regs *regs, unsigned int instr) = NULL; 443 if ((instr & hook->instr_mask) == hook->instr_val && 448 return fn ? fn(regs, instr) : 1; 453 unsigned int instr; local 461 instr = __mem_to_opcode_thumb16(((u16 *)pc)[0]); 462 if (is_wide_instruction(instr)) { 465 instr = __opcode_thumb32_compose(instr, inst2); 469 instr 701 get_tp_trap(struct pt_regs *regs, unsigned int instr) argument 734 baddataabort(int code, unsigned long instr, struct pt_regs *regs) argument [all...] |
H A D | smccc-call.S | 25 .macro SMCCC instr 31 \instr
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | gpio.c | 76 const struct nand_op_instr *instr) 81 switch (instr->type) { 86 writeb(instr->ctx.cmd.opcode, gpiomtd->io); 95 for (i = 0; i < instr->ctx.addr.naddrs; i++) 96 writeb(instr->ctx.addr.addrs[i], gpiomtd->io); 104 !instr->ctx.data.force_8bit) 105 ioread16_rep(gpiomtd->io, instr->ctx.data.buf.in, 106 instr->ctx.data.len / 2); 108 ioread8_rep(gpiomtd->io, instr->ctx.data.buf.in, 109 instr 75 gpio_nand_exec_instr(struct nand_chip *chip, const struct nand_op_instr *instr) argument [all...] |
H A D | cs553x_nand.c | 151 const struct nand_op_instr *instr) 156 switch (instr->type) { 159 instr->ctx.cmd.opcode); 163 for (i = 0; i < instr->ctx.addr.naddrs; i++) { 165 instr->ctx.addr.addrs[i]); 172 cs553x_data_in(cs553x, instr->ctx.data.buf.in, 173 instr->ctx.data.len); 177 cs553x_data_out(cs553x, instr->ctx.data.buf.out, 178 instr->ctx.data.len); 182 ret = cs553x_wait_ready(cs553x, instr 150 cs553x_exec_instr(struct cs553x_nand_controller *cs553x, const struct nand_op_instr *instr) argument [all...] |
H A D | fsl_upm.c | 79 const struct nand_op_instr *instr) 87 switch (instr->type) { 90 mar = (instr->ctx.cmd.opcode << (32 - fun->upm.width)) | 98 for (i = 0; i < instr->ctx.addr.naddrs; i++) { 99 mar = (instr->ctx.addr.addrs[i] << (32 - fun->upm.width)) | 107 in = instr->ctx.data.buf.in; 108 for (i = 0; i < instr->ctx.data.len; i++) 113 out = instr->ctx.data.buf.out; 114 for (i = 0; i < instr->ctx.data.len; i++) 120 return nand_soft_waitrdy(chip, instr 78 func_exec_instr(struct nand_chip *chip, const struct nand_op_instr *instr) argument [all...] |
H A D | ams-delta.c | 143 const struct nand_op_instr *instr; local 151 for (instr = op->instrs; instr < op->instrs + op->ninstrs; instr++) { 152 switch (instr->type) { 155 gpio_nand_write_buf(priv, &instr->ctx.cmd.opcode, 1); 161 gpio_nand_write_buf(priv, instr->ctx.addr.addrs, 162 instr->ctx.addr.naddrs); 167 gpio_nand_read_buf(priv, instr->ctx.data.buf.in, 168 instr [all...] |
H A D | vf610_nfc.c | 361 const struct nand_op_instr *instr; local 373 instr = vf610_get_next_instr(subop, &op_id); 374 if (!instr) 377 if (instr && instr->type == NAND_OP_CMD_INSTR) { 378 cmd2 |= instr->ctx.cmd.opcode << CMD_BYTE1_SHIFT; 381 instr = vf610_get_next_instr(subop, &op_id); 384 if (instr && instr->type == NAND_OP_ADDR_INSTR) { 389 u8 val = instr [all...] |
/linux-master/arch/microblaze/kernel/ |
H A D | unwind.c | 59 * @instr : Microblaze instruction 63 static inline long get_frame_size(unsigned long instr) argument 65 return abs((s16)(instr & 0xFFFF)); 87 unsigned long instr; local 93 instr = *pc; 96 if ((instr & 0xFFFF0000) != 0x30210000) 99 frame_size = get_frame_size(instr);
|
/linux-master/drivers/media/pci/tw68/ |
H A D | tw68-risc.c | 188 } instr[8] = { 198 if (!(risc & 0x80000000) || !instr[p].name) { 203 risc, instr[p].name, (risc >> 27) & 1); 204 if (instr[p].has_data_type) 206 if (instr[p].has_byte_info) 209 if (instr[p].has_addr)
|
/linux-master/arch/arc/kernel/ |
H A D | jump_label.c | 86 u32 instr; local 91 instr = arc_gen_branch(entry->code, entry->target); 93 instr = arc_gen_nop(); 95 WRITE_ONCE(*instr_addr, instr);
|
/linux-master/arch/loongarch/kernel/ |
H A D | alternative.c | 187 union loongarch_instruction *instr, *replacement; local 203 instr = (void *)&a->instr_offset + a->instr_offset; 215 a->feature, instr, a->instrlen, 222 a->feature, instr, a->instrlen, 225 DUMP_WORDS(instr, nr_instr, "%px: old_insn: ", instr); 228 copy_alt_insns(insnbuf, instr, replacement, nr_repl); 235 DUMP_WORDS(insnbuf, nr_insnbuf, "%px: final_insn: ", instr); 237 text_poke_early(instr, insnbuf, nr_insnbuf);
|
/linux-master/arch/arm64/kernel/ |
H A D | armv8_deprecated.c | 164 static int swp_handler(struct pt_regs *regs, u32 instr) argument 172 type = instr & TYPE_SWPB; 174 switch (aarch32_check_condition(instr, regs->pstate)) { 187 rn = aarch32_insn_extract_reg_num(instr, A32_RN_OFFSET); 188 rt2 = aarch32_insn_extract_reg_num(instr, A32_RT2_OFFSET); 192 destreg = aarch32_insn_extract_reg_num(instr, A32_RT_OFFSET); 196 aarch32_insn_extract_reg_num(instr, A32_RT2_OFFSET), data); 252 static int cp15barrier_handler(struct pt_regs *regs, u32 instr) argument 256 switch (aarch32_check_condition(instr, regs->pstate)) { 269 switch (aarch32_insn_mcr_extract_crm(instr)) { 370 a32_setend_handler(struct pt_regs *regs, u32 instr) argument 377 t16_setend_handler(struct pt_regs *regs, u32 instr) argument [all...] |
H A D | smccc-call.S | 34 .macro SMCCC instr 40 \instr #0 76 .macro SMCCC_1_2 instr 94 \instr #0
|
H A D | debug-monitors.c | 354 __le16 instr; local 355 get_user(instr, (__le16 __user *)pc); 356 thumb_instr = le16_to_cpu(instr); 359 get_user(instr, (__le16 __user *)(pc + 2)); 360 thumb_instr = le16_to_cpu(instr); 367 __le32 instr; local 368 get_user(instr, (__le32 __user *)pc); 369 arm_instr = le32_to_cpu(instr);
|
/linux-master/arch/arm/include/asm/ |
H A D | traps.h | 17 int (*fn)(struct pt_regs *regs, unsigned int instr); 44 asmlinkage void baddataabort(int code, unsigned long instr, struct pt_regs *regs);
|
H A D | assembler.h | 257 #define ALT_SMP(instr...) \ 258 9998: instr 262 * ALT_SMP( W(instr) ... ) 264 #define ALT_UP(instr...) \ 268 9997: instr ;\ 283 #define ALT_SMP(instr...) 284 #define ALT_UP(instr...) instr 469 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER() variable 472 \instr\() 485 .macro usracc, instr, reg, ptr, inc, cond, rept, abort variable [all...] |
/linux-master/drivers/mtd/devices/ |
H A D | mtdram.c | 56 static int ram_erase(struct mtd_info *mtd, struct erase_info *instr) argument 58 if (check_offs_len(mtd, instr->addr, instr->len)) 60 memset((char *)mtd->priv + instr->addr, 0xff, instr->len);
|
/linux-master/arch/powerpc/kernel/ |
H A D | hw_breakpoint_constraints.c | 83 bool wp_check_constraints(struct pt_regs *regs, ppc_inst_t instr, argument 100 if (unlikely(ppc_inst_equal(instr, ppc_inst(0)))) { 130 void wp_get_instr_detail(struct pt_regs *regs, ppc_inst_t *instr, argument 137 err = __get_user_instr(*instr, (void __user *)regs->nip); 143 analyse_instr(&op, regs, *instr);
|
/linux-master/drivers/mtd/ |
H A D | inftlmount.c | 196 struct erase_info *instr = &inftl->instr; local 205 instr->addr = ip->Reserved0 * inftl->EraseSize; 206 instr->len = inftl->EraseSize; 207 mtd_erase(mtd, instr); 365 struct erase_info *instr = &inftl->instr; local 371 memset(instr, 0, sizeof(struct erase_info)); 377 instr->addr = block * inftl->EraseSize; 378 instr [all...] |
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv_tm.c | 44 u32 instr = vcpu->arch.emul_inst; local 69 switch (instr & PO_XOP_OPCODE_MASK) { 108 if (instr & (1 << 11)) 119 rs = (instr >> 21) & 0x1f; 159 if (instr & (1 << 21)) { 194 ra = (instr >> 16) & 0x1f; 245 pr_warn_ratelimited("Unrecognized TM-related instruction %#x for emulation", instr);
|
/linux-master/drivers/mtd/nand/raw/ingenic/ |
H A D | ingenic_nand_drv.c | 259 const struct nand_op_instr *instr) 265 switch (instr->type) { 267 writeb(instr->ctx.cmd.opcode, 271 for (i = 0; i < instr->ctx.addr.naddrs; i++) 272 writeb(instr->ctx.addr.addrs[i], 276 if (instr->ctx.data.force_8bit || 279 instr->ctx.data.buf.in, 280 instr->ctx.data.len); 283 instr->ctx.data.buf.in, 284 instr 257 ingenic_nand_exec_instr(struct nand_chip *chip, struct ingenic_nand_cs *cs, const struct nand_op_instr *instr) argument [all...] |
/linux-master/arch/arm/probes/uprobes/ |
H A D | core.c | 184 static int uprobe_trap_handler(struct pt_regs *regs, unsigned int instr) argument 189 instr &= 0x0fffffff; 190 if (instr == (UPROBE_SWBP_ARM_INSN & 0x0fffffff)) 192 else if (instr == (UPROBE_SS_ARM_INSN & 0x0fffffff))
|
/linux-master/arch/powerpc/net/ |
H A D | bpf_jit.h | 24 #define PLANT_INSTR(d, idx, instr) \ 25 do { if (d) { (d)[idx] = instr; } idx++; } while (0) 26 #define EMIT(instr) PLANT_INSTR(image, ctx->idx, instr)
|