| /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 | 1294 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in snd_cs46xx_interrupt() local 1319 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt() 1320 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt() 1321 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt() 1322 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt() 1329 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt() 1330 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt() 1331 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt() 1332 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt() 1980 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; 28 const struct ins *instructions; 54 struct ins { struct 81 struct ins ins; member 95 int (*scnprintf)(const struct ins *ins, char *bf, size_t size, 139 bool ins__is_call(const struct ins *ins); 140 bool ins__is_jump(const struct ins *in 56 opsins global() argument [all...] |
| H A D | disasm.c | 63 struct ins *new_instructions; in arch__grow_instructions() 71 new_nr_allocated * sizeof(struct ins)); in arch__grow_instructions() 82 new_instructions = calloc(new_nr_allocated, sizeof(struct ins)); in arch__grow_instructions() 86 memcpy(new_instructions, arch->instructions, arch->nr_instructions * sizeof(struct ins)); in arch__grow_instructions() 92 struct ins *ins; in arch__associate_ins_ops() local 98 ins = (struct ins *)&arch->instructions[arch->nr_instructions]; in arch__associate_ins_ops() 99 ins->name = strdup(name); in arch__associate_ins_ops() 100 if (!ins in arch__associate_ins_ops() 216 ins__raw_scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) ins__raw_scnprintf() argument 222 ins__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) ins__scnprintf() argument 294 call__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) call__scnprintf() argument 315 ins__is_call(const struct ins * ins) ins__is_call() argument 422 jump__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) jump__scnprintf() argument 470 ins__is_jump(const struct ins * ins) ins__is_jump() argument 528 lock__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) lock__scnprintf() argument 543 struct ins *ins = &ops->locked.ins; lock__delete() local 657 mov__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) mov__scnprintf() argument 699 dec__scnprintf(const struct ins * ins,char * bf,size_t size,struct ins_operands * ops,int max_ins_name) dec__scnprintf() argument 725 ins__is_nop(const struct ins * ins) ins__is_nop() argument 730 ins__is_ret(const struct ins * ins) ins__is_ret() argument 735 ins__is_lock(const struct ins * ins) ins__is_lock() argument 742 const struct ins *ins = insp; ins__key_cmp() local 765 const struct ins *ins; __ins__find() local [all...] |
| /linux/tools/objtool/arch/x86/ |
| H A D | decode.c | 223 struct insn ins; in arch_decode_instruction() local 237 ret = insn_decode(&ins, sec->data->d_buf + offset, maxlen, in arch_decode_instruction() 244 insn->len = ins.length; in arch_decode_instruction() 247 if (ins.vex_prefix.nbytes) in arch_decode_instruction() 250 prefix = ins.prefixes.bytes[0]; in arch_decode_instruction() 252 op1 = ins.opcode.bytes[0]; in arch_decode_instruction() 253 op2 = ins.opcode.bytes[1]; in arch_decode_instruction() 254 op3 = ins.opcode.bytes[2]; in arch_decode_instruction() 256 if (ins.rex_prefix.nbytes) { in arch_decode_instruction() 257 rex = ins in arch_decode_instruction() [all...] |
| /linux/arch/arm/mm/ |
| H A D | alignment.c | 197 #define __get8_unaligned_check(ins,val,addr,err) \ argument 199 ARM( "1: "ins" %1, [%2], #1\n" ) \ 200 THUMB( "1: "ins" %1, [%2]\n" ) \ 215 #define __get16_unaligned_check(ins,val,addr) \ argument 218 __get8_unaligned_check(ins,v,a,err); \ 220 __get8_unaligned_check(ins,v,a,err); \ 232 #define __get32_unaligned_check(ins,val,addr) \ argument 235 __get8_unaligned_check(ins,v,a,err); \ 237 __get8_unaligned_check(ins,v,a,err); \ 239 __get8_unaligned_check(ins,v,a,err); \ [all …]
|
| /linux/tools/perf/pmu-events/ |
| H A D | amd_metrics.py | 16 ins = Event("instructions") variable 31 ins_r = d_ratio(ins, br) 55 ins_r = d_ratio(ins, br) 76 ins_r = d_ratio(ins, br) 99 ins_r = d_ratio(ins, br) 112 ins_r = d_ratio(ins, br) 180 ins_w = d_ratio(ins, walks) 188 ins_l = d_ratio(ins, l1_miss) 353 ins, l1m), "insns"), 356 ins, l2 [all...] |
| H A D | intel_metrics.py | 132 ins = Event("instructions") 146 ins_r = d_ratio(ins, br_all) 177 ins_r = d_ratio(ins, br_all) 213 ins_r = d_ratio(ins, br_cond) 229 ins_r = d_ratio(ins, br_cond_nt) 254 ins_r = d_ratio(ins, br_far) 795 ins = Event("instructions") 808 ins_r = d_ratio(ins, all_sw) 878 ins = Event("instructions") 912 d_ratio(LDST_LD, ins), "10 [all...] |
| /linux/tools/perf/util/annotate-arch/ |
| H A D | annotate-powerpc.c | 18 static int arithmetic__scnprintf(const struct ins *ins, char *bf, size_t size, in arithmetic__scnprintf() argument 21 return scnprintf(bf, size, "%-*s %s", max_ins_name, ins->name, in arithmetic__scnprintf() 62 static int load_store__scnprintf(const struct ins *ins, char *bf, size_t size, in load_store__scnprintf() argument 65 return scnprintf(bf, size, "%-*s %s", max_ins_name, ins->name, in load_store__scnprintf() 301 if (!strlen(dl->ins.name)) { in check_ppc_insn() 303 dl->ins.name = strdup(name_insn); in check_ppc_insn() 310 if (!strlen(dl->ins.name)) in check_ppc_insn() 311 dl->ins.name = strdup(ret->name); in check_ppc_insn()
|
| H A D | annotate-x86.c | 23 static const struct ins x86__instructions[] = { 233 if (ins__is_call(&dl->ins)) { in update_insn_state_x86() 282 if (!strncmp(dl->ins.name, "add", 3)) { in update_insn_state_x86() 353 if (!strncmp(dl->ins.name, "sub", 3)) { in update_insn_state_x86() 385 if (!strncmp(dl->ins.name, "lea", 3)) { in update_insn_state_x86() 457 if (!strncmp(dl->ins.name, "imul", 4) || !strncmp(dl->ins.name, "mul", 3) || in update_insn_state_x86() 458 !strncmp(dl->ins.name, "idiv", 4) || !strncmp(dl->ins.name, "div", 3) || in update_insn_state_x86() 459 !strncmp(dl->ins in update_insn_state_x86() [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/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 | 106 __io_reads_ins(ins, u8, b, __io_pbr(), __io_par(addr)) 107 __io_reads_ins(ins, u16, w, __io_pbr(), __io_par(addr)) 108 __io_reads_ins(ins, u32, l, __io_pbr(), __io_par(addr)) 135 __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/arch/sparc/kernel/ |
| 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()
|
| H A D | kgdb_64.c | 32 gdb_regs[GDB_I0 + i] = win->ins[i]; in pt_regs_to_gdb_regs() 67 gdb_regs[GDB_I0 + i] = win->ins[i]; in sleeping_thread_to_gdb_regs() 113 win->ins[i] = gdb_regs[GDB_I0 + i]; in gdb_regs_to_pt_regs()
|
| H A D | signal32.c | 449 err |= __put_user(rp->ins[i], &sf->ss.ins[i]); in setup_frame32() 450 err |= __put_user(rp->ins[6], &sf->ss.fp); in setup_frame32() 451 err |= __put_user(rp->ins[7], &sf->ss.callers_pc); in setup_frame32() 581 err |= __put_user(rp->ins[i], &sf->ss.ins[i]); in setup_rt_frame32() 582 err |= __put_user(rp->ins[6], &sf->ss.fp); in setup_rt_frame32() 583 err |= __put_user(rp->ins[7], &sf->ss.callers_pc); in setup_rt_frame32()
|
| /linux/fs/btrfs/ |
| H A D | direct-io.c | 182 struct btrfs_key ins; in btrfs_new_extent_direct() local 189 0, alloc_hint, &ins, true, true); in btrfs_new_extent_direct() 199 file_extent.disk_bytenr = ins.objectid; in btrfs_new_extent_direct() 200 file_extent.disk_num_bytes = ins.offset; in btrfs_new_extent_direct() 201 file_extent.num_bytes = ins.offset; in btrfs_new_extent_direct() 202 file_extent.ram_bytes = ins.offset; in btrfs_new_extent_direct() 207 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_new_extent_direct() 209 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, true); in btrfs_new_extent_direct()
|
| H A D | extent-tree.c | 59 struct btrfs_key *ins, int ref_mod, u64 oref_root); 4233 struct btrfs_key *ins) in found_extent_clustered() argument 4239 last_ptr->window_start = ins->objectid; in found_extent_clustered() 4245 struct btrfs_key *ins) in found_extent() argument 4249 found_extent_clustered(ffe_ctl, ins); in found_extent() 4331 struct btrfs_key *ins, in find_free_extent_update_loop() argument 4343 if (ins->objectid) { in find_free_extent_update_loop() 4344 found_extent(ffe_ctl, ins); in find_free_extent_update_loop() 4427 struct btrfs_key *ins) in prepare_allocation_clustered() argument 4443 ins->offset = space_info->max_extent_size; in prepare_allocation_clustered() [all …]
|
| /linux/sound/soc/amd/vangogh/ |
| H A D | acp5x-pcm-dma.c | 323 struct i2s_stream_instance *ins; in acp5x_dma_close() local 328 ins = substream->runtime->private_data; in acp5x_dma_close() 329 if (!ins) in acp5x_dma_close() 332 switch (ins->i2s_instance) { in acp5x_dma_close() 341 switch (ins->i2s_instance) { in acp5x_dma_close() 350 kfree(ins); in acp5x_dma_close()
|
| /linux/arch/mips/include/asm/mach-malta/ |
| H A D | kernel-entry-init.h | 50 ins t2, t1, 16, 3 69 ins t0, t1, 16, 3
|
| /linux/sound/soc/amd/raven/ |
| H A D | acp3x-pcm-dma.c | 328 struct i2s_stream_instance *ins; in acp3x_dma_close() local 333 ins = substream->runtime->private_data; in acp3x_dma_close() 334 if (!ins) in acp3x_dma_close() 338 switch (ins->i2s_instance) { in acp3x_dma_close() 347 switch (ins->i2s_instance) { in acp3x_dma_close()
|