/linux/drivers/misc/sgi-gru/ |
H A D | gru_instructions.h | 330 static inline void gru_start_instruction(struct gru_instruction *ins, unsigned long op64) in gru_start_instruction() argument 332 gru_ordered_store_ulong(ins, op64); in gru_start_instruction() 334 gru_flush_cache(ins); in gru_start_instruction() 352 struct gru_instruction *ins = (struct gru_instruction *)cb; in gru_vload_phys() local 354 ins->baddr0 = (long)gpa | ((unsigned long)iaa << 62); in gru_vload_phys() 355 ins->nelem = 1; in gru_vload_phys() 356 ins->op1_stride = 1; in gru_vload_phys() 357 gru_start_instruction(ins, __opdword(OP_VLOAD, 0, XTYPE_DW, iaa, 0, in gru_vload_phys() 364 struct gru_instruction *ins = (struct gru_instruction *)cb; in gru_vstore_phys() local 366 ins->baddr0 = (long)gpa | ((unsigned long)iaa << 62); in gru_vstore_phys() [all …]
|
/linux/sound/pci/cs46xx/ |
H A D | dsp_spos.c | 51 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in shadow_and_reallocate_code() local 60 if (ins->code.offset > 0) { in shadow_and_reallocate_code() 80 address += (ins->code.offset / 2) - overlay_begin_address; in shadow_and_reallocate_code() 104 ins->code.data[ins->code.size++] = loval; in shadow_and_reallocate_code() 105 ins->code.data[ins->code.size++] = hival; in shadow_and_reallocate_code() 125 static int find_free_symbol_index (struct dsp_spos_instance * ins) in find_free_symbol_index() argument 127 int index = ins->symbol_table.nsymbols,i; in find_free_symbol_index() 129 for (i = ins->symbol_table.highest_frag_index; i < ins->symbol_table.nsymbols; ++i) { in find_free_symbol_index() 130 if (ins->symbol_table.symbols[i].deleted) { in find_free_symbol_index() 142 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in add_symbols() local [all …]
|
H A D | dsp_spos_scb_lib.c | 32 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in remove_symbol() local 33 int symbol_index = (int)(symbol - ins->symbol_table.symbols); in remove_symbol() 35 if (snd_BUG_ON(ins->symbol_table.nsymbols <= 0)) in remove_symbol() 38 symbol_index >= ins->symbol_table.nsymbols)) in remove_symbol() 41 ins->symbol_table.symbols[symbol_index].deleted = 1; in remove_symbol() 43 if (symbol_index < ins->symbol_table.highest_frag_index) { in remove_symbol() 44 ins->symbol_table.highest_frag_index = symbol_index; in remove_symbol() 47 if (symbol_index == ins->symbol_table.nsymbols - 1) in remove_symbol() 48 ins->symbol_table.nsymbols --; in remove_symbol() 50 if (ins->symbol_table.highest_frag_index > ins->symbol_table.nsymbols) { in remove_symbol() [all …]
|
H A D | cs46xx_lib.c | 1329 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in snd_cs46xx_interrupt() local 1354 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt() 1355 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt() 1356 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt() 1357 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt() 1364 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt() 1365 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt() 1366 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt() 1367 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt() 2018 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in snd_cs46xx_adc_capture_get() local [all …]
|
/linux/tools/perf/util/ |
H A D | disasm.h | 13 struct ins; 22 struct ins *instructions; 53 struct ins { 80 struct ins ins; 94 int (*scnprintf)(struct ins *ins, char *bf, size_t size, 113 int ins__scnprintf(struct ins *ins, char *bf, size_t size, 116 bool ins__is_call(const struct ins *in 49 struct ins { global() struct 51 opsins global() argument 76 struct ins ins; global() member [all...] |
H A D | disasm.c | 44 static int jump__scnprintf(struct ins *ins, char *bf, size_t size, 46 static int call__scnprintf(struct ins *ins, char *bf, size_t size, 61 struct ins *new_instructions; in arch__grow_instructions() 68 new_instructions = realloc(arch->instructions, new_nr_allocated * sizeof(struct ins)); in arch__grow_instructions() 79 new_instructions = calloc(new_nr_allocated, sizeof(struct ins)); in arch__grow_instructions() 89 struct ins *ins; in arch__associate_ins_ops() 95 ins in arch__associate_ins_ops() 88 struct ins *ins; arch__associate_ins_ops() local 242 ins__raw_scnprintf(struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) ins__raw_scnprintf() argument 248 ins__scnprintf(struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) ins__scnprintf() argument 318 call__scnprintf(struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) call__scnprintf() argument 338 ins__is_call(const struct ins * ins) ins__is_call() argument 442 jump__scnprintf(struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) jump__scnprintf() argument 489 ins__is_jump(const struct ins * ins) ins__is_jump() argument 547 lock__scnprintf(struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) lock__scnprintf() argument 562 struct ins *ins = &ops->locked.ins; lock__delete() local 675 mov__scnprintf(struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) mov__scnprintf() argument 694 arithmetic__scnprintf(struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) arithmetic__scnprintf() argument 738 load_store__scnprintf(struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) load_store__scnprintf() argument 800 dec__scnprintf(struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) dec__scnprintf() argument 826 ins__is_nop(const struct ins * ins) ins__is_nop() argument 831 ins__is_ret(const struct ins * ins) ins__is_ret() argument 836 ins__is_lock(const struct ins * ins) ins__is_lock() argument 843 const struct ins *ins = insp; ins__key_cmp() local 865 struct ins *ins; __ins__find() local [all...] |
/linux/tools/objtool/arch/x86/ |
H A D | decode.c | 159 struct insn ins; in arch_decode_instruction() local 173 ret = insn_decode(&ins, sec->data->d_buf + offset, maxlen, in arch_decode_instruction() 180 insn->len = ins.length; in arch_decode_instruction() 183 if (ins.vex_prefix.nbytes) in arch_decode_instruction() 186 prefix = ins.prefixes.bytes[0]; in arch_decode_instruction() 188 op1 = ins.opcode.bytes[0]; in arch_decode_instruction() 189 op2 = ins.opcode.bytes[1]; in arch_decode_instruction() 190 op3 = ins.opcode.bytes[2]; in arch_decode_instruction() 192 if (ins.rex_prefix.nbytes) { in arch_decode_instruction() 193 rex = ins in arch_decode_instruction() [all...] |
/linux/arch/sparc/kernel/ |
H A D | process_64.c | 123 r_w.ins[0], r_w.ins[1], r_w.ins[2], r_w.ins[3], in show_regwindow32() 124 r_w.ins[4], r_w.ins[5], r_w.ins[6], r_w.ins[7]); in show_regwindow32() 157 rwk->ins[0], rwk->ins[1], rwk->ins[2], rwk->ins[3]); in show_regwindow() 159 rwk->ins[4], rwk->ins[5], rwk->ins[6], rwk->ins[7]); in show_regwindow() 161 printk("I7: <%pS>\n", (void *) rwk->ins[7]); in show_regwindow() 211 rp->i7 = rw->ins[7]; in __global_reg_self() 213 (rw->ins[6] + STACK_BIAS); in __global_reg_self() 215 rp->rpc = rw->ins[7]; in __global_reg_self() 434 __get_user(fp, &(((struct reg_window __user *)psp)->ins[6])); in clone_stackframe() 439 __get_user(fp, &(((struct reg_window32 __user *)psp)->ins[6])); in clone_stackframe() [all …]
|
H A D | process_32.c | 137 rw->ins[0], rw->ins[1], rw->ins[2], rw->ins[3], in show_regs() 138 rw->ins[4], rw->ins[5], rw->ins[6], rw->ins[7]); in show_regs() 166 pc = rw->ins[7]; in show_stack() 169 fp = rw->ins[6]; in show_stack() 382 pc = rw->ins[7]; 387 fp = rw->ins[6] + bias;
|
H A D | kgdb_32.c | 32 gdb_regs[GDB_I0 + i] = win->ins[i]; in pt_regs_to_gdb_regs() 66 gdb_regs[GDB_I0 + i] = win->ins[i]; in sleeping_thread_to_gdb_regs() 107 win->ins[i] = gdb_regs[GDB_I0 + i]; in gdb_regs_to_pt_regs()
|
/linux/arch/x86/include/asm/ |
H A D | bug.h | 38 #define _BUG_FLAGS(ins, flags, extra) \ argument 40 asm_inline volatile("1:\t" ins "\n" \ 56 #define _BUG_FLAGS(ins, flags, extra) \ argument 58 asm_inline volatile("1:\t" ins "\n" \ 73 #define _BUG_FLAGS(ins, flags, extra) asm volatile(ins) argument
|
/linux/arch/arm/mm/ |
H A D | alignment.c | 196 #define __get8_unaligned_check(ins,val,addr,err) \ argument 198 ARM( "1: "ins" %1, [%2], #1\n" ) \ 199 THUMB( "1: "ins" %1, [%2]\n" ) \ 214 #define __get16_unaligned_check(ins,val,addr) \ argument 217 __get8_unaligned_check(ins,v,a,err); \ 219 __get8_unaligned_check(ins,v,a,err); \ 231 #define __get32_unaligned_check(ins,val,addr) \ argument 234 __get8_unaligned_check(ins,v,a,err); \ 236 __get8_unaligned_check(ins,v,a,err); \ 238 __get8_unaligned_check(ins,v,a,err); \ [all …]
|
/linux/arch/sparc/include/uapi/asm/ |
H A D | ptrace.h | 54 unsigned long ins[8]; member 60 unsigned int ins[8]; member 66 unsigned long ins[6]; member 77 unsigned int ins[6]; member 87 unsigned long ins[8]; member 115 unsigned long ins[8]; member 121 unsigned long ins[6]; member
|
/linux/tools/objtool/arch/powerpc/ |
H A D | decode.c | 49 u32 ins; in arch_decode_instruction() local 51 ins = bswap_if_needed(file->elf, *(u32 *)(sec->data->d_buf + offset)); in arch_decode_instruction() 52 opcode = ins >> 26; in arch_decode_instruction() 58 if ((ins & 3) == 1) /* bl */ in arch_decode_instruction() 61 imm = ins & 0x3fffffc; in arch_decode_instruction()
|
/linux/fs/ocfs2/ |
H A D | extent_map.c | 171 struct ocfs2_extent_map_item *ins) in ocfs2_try_to_merge_extent_map() argument 176 if (ins->ei_phys == (emi->ei_phys + emi->ei_clusters) && in ocfs2_try_to_merge_extent_map() 177 ins->ei_cpos == (emi->ei_cpos + emi->ei_clusters) && in ocfs2_try_to_merge_extent_map() 178 ins->ei_flags == emi->ei_flags) { in ocfs2_try_to_merge_extent_map() 179 emi->ei_clusters += ins->ei_clusters; in ocfs2_try_to_merge_extent_map() 181 } else if ((ins->ei_phys + ins->ei_clusters) == emi->ei_phys && in ocfs2_try_to_merge_extent_map() 182 (ins->ei_cpos + ins->ei_clusters) == emi->ei_cpos && in ocfs2_try_to_merge_extent_map() 183 ins->ei_flags == emi->ei_flags) { in ocfs2_try_to_merge_extent_map() 184 emi->ei_phys = ins->ei_phys; in ocfs2_try_to_merge_extent_map() 185 emi->ei_cpos = ins->ei_cpos; in ocfs2_try_to_merge_extent_map() [all …]
|
/linux/sound/pci/oxygen/ |
H A D | oxygen_pcm.c | 679 int outs, ins; in oxygen_pcm_init() local 683 ins = !!(chip->model.device_config & (CAPTURE_0_FROM_I2S_1 | in oxygen_pcm_init() 685 if (outs | ins) { in oxygen_pcm_init() 687 0, outs, ins, &pcm); in oxygen_pcm_init() 707 if (ins) in oxygen_pcm_init() 716 ins = !!(chip->model.device_config & CAPTURE_1_FROM_SPDIF); in oxygen_pcm_init() 717 if (outs | ins) { in oxygen_pcm_init() 718 err = snd_pcm_new(chip->card, "Digital", 1, outs, ins, &pcm); in oxygen_pcm_init() 724 if (ins) in oxygen_pcm_init() 737 ins = !!(chip->model.device_config & CAPTURE_2_FROM_AC97_1); in oxygen_pcm_init() [all …]
|
/linux/tools/perf/scripts/python/ |
H A D | stat-cpi.py | 57 ins = get(time, "instructions", cpu, thread) 60 if ins != 0: 61 cpi = cyc/float(ins) 63 …15f: cpu %d, thread %d -> cpi %f (%d/%d)" % (time/(float(1000000000)), cpu, thread, cpi, cyc, ins))
|
/linux/fs/btrfs/ |
H A D | ulist.c | 158 static int ulist_rbtree_insert(struct ulist *ulist, struct ulist_node *ins) in ulist_rbtree_insert() argument 168 if (cur->val < ins->val) in ulist_rbtree_insert() 170 else if (cur->val > ins->val) in ulist_rbtree_insert() 175 rb_link_node(&ins->rb_node, parent, p); in ulist_rbtree_insert() 176 rb_insert_color(&ins->rb_node, &ulist->root); in ulist_rbtree_insert()
|
/linux/sound/drivers/ |
H A D | serial-u16550.c | 63 static int ins[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; /* 1 to 16 */ variable 83 module_param_array(ins, int, NULL, 0444); 84 MODULE_PARM_DESC(ins, "Number of MIDI inputs."); 834 int outs, int ins, in snd_uart16550_rmidi() argument 841 outs, ins, &rrawmidi); in snd_uart16550_rmidi() 869 ins[dev] = 1; in snd_serial_probe() 874 ins[dev] = 1; in snd_serial_probe() 878 ins[dev] = 1; in snd_serial_probe() 896 if (ins[dev] < 1 || ins[dev] > SNDRV_SERIAL_MAX_INS) { in snd_serial_probe() 899 SNDRV_SERIAL_MAX_INS, ins[dev]); in snd_serial_probe() [all …]
|
/linux/drivers/acpi/apei/ |
H A D | apei-base.c | 200 u8 ins; in apei_exec_for_each_entry() local 207 ins = entry->instruction; in apei_exec_for_each_entry() 210 if (ins >= ctx->instructions || !ins_table[ins].run) { in apei_exec_for_each_entry() 213 ins); in apei_exec_for_each_entry() 228 u8 ins = entry->instruction; in pre_map_gar_callback() local 230 if (ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER) in pre_map_gar_callback() 261 u8 ins = entry->instruction; in post_unmap_gar_callback() local 263 if (ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER) in post_unmap_gar_callback() 716 u8 ins = entry->instruction; in collect_res_callback() local 721 if (!(ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER)) in collect_res_callback()
|
/linux/arch/x86/lib/ |
H A D | atomic64_cx8_32.S | 48 .macro addsub_return func ins insc 63 \ins\()l %esi, %ebx 83 .macro incdec_return func ins insc 91 \ins\()l $1, %ebx
|
/linux/arch/riscv/include/asm/ |
H A D | io.h | 101 __io_reads_ins(ins, u8, b, __io_pbr(), __io_par(addr)) 102 __io_reads_ins(ins, u16, w, __io_pbr(), __io_par(addr)) 103 __io_reads_ins(ins, u32, l, __io_pbr(), __io_par(addr)) 126 __io_reads_ins(ins, u64, q, __io_pbr(), __io_par(addr))
|
/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-hw.c | 796 node->ins = BLT_INS_S1_OFF | BLT_INS_S2_MEM | BLT_INS_S3_OFF; in bdisp_hw_build_node() 802 node->ins = BLT_INS_S1_OFF | BLT_INS_S3_MEM; in bdisp_hw_build_node() 804 node->ins |= BLT_INS_S2_CF; in bdisp_hw_build_node() 806 node->ins |= BLT_INS_S2_MEM; in bdisp_hw_build_node() 813 node->ins = BLT_INS_S3_MEM; in bdisp_hw_build_node() 815 node->ins |= BLT_INS_S2_CF | BLT_INS_S1_CF; in bdisp_hw_build_node() 817 node->ins |= BLT_INS_S2_MEM | BLT_INS_S1_MEM; in bdisp_hw_build_node() 822 node->ins |= cfg->cconv ? BLT_INS_IVMX : 0; in bdisp_hw_build_node() 824 node->ins |= (cfg->scale || cfg->src_420 || cfg->dst_420) ? in bdisp_hw_build_node() 924 if (node->ins & BLT_INS_SCALE) { in bdisp_hw_build_node()
|
/linux/drivers/pci/hotplug/ |
H A D | cpci_hotplug_pci.c | 102 int ins = 0; in cpci_check_and_clear_ins() local 120 ins = 0; in cpci_check_and_clear_ins() 122 ins = 1; in cpci_check_and_clear_ins() 124 return ins; in cpci_check_and_clear_ins()
|
/linux/tools/perf/arch/powerpc/annotate/ |
H A D | instructions.c | 213 if (!strlen(dl->ins.name)) { in check_ppc_insn() 215 dl->ins.name = strdup(name_insn); in check_ppc_insn() 222 if (!strlen(dl->ins.name)) in check_ppc_insn() 223 dl->ins.name = strdup(ret->name); in check_ppc_insn()
|