Home
last modified time | relevance | path

Searched refs:ins (Results 1 – 25 of 84) sorted by relevance

1234

/linux/drivers/misc/sgi-gru/
H A Dgru_instructions.h330 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 Ddsp_spos.c51 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 Ddsp_spos_scb_lib.c32 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 Dcs46xx_lib.c1304 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in snd_cs46xx_interrupt() local
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()
1339 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt()
1340 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt()
1341 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt()
1342 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt()
1990 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in snd_cs46xx_adc_capture_get() local
[all …]
/linux/tools/perf/util/
H A Ddisasm.h13 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 *ins);
142 bool ins__is_ret(const struct ins *ins);
143 bool ins__is_lock(const struct ins *ins);
153 int ins__raw_scnprintf(const struct ins *ins, char *bf, size_t size,
[all …]
H A Ddisasm.c62 struct ins *new_instructions; in arch__grow_instructions()
70 new_nr_allocated * sizeof(struct ins)); in arch__grow_instructions()
81 new_instructions = calloc(new_nr_allocated, sizeof(struct ins)); in arch__grow_instructions()
85 memcpy(new_instructions, arch->instructions, arch->nr_instructions * sizeof(struct ins)); in arch__grow_instructions()
91 struct ins *ins; in arch__associate_ins_ops() local
97 ins = (struct ins *)&arch->instructions[arch->nr_instructions]; in arch__associate_ins_ops()
98 ins->name = strdup(name); in arch__associate_ins_ops()
99 if (!ins->name) in arch__associate_ins_ops()
102 ins->ops = ops; in arch__associate_ins_ops()
215 int ins__raw_scnprintf(const struct ins *ins, char *bf, size_t size, in ins__raw_scnprintf() argument
[all …]
/linux/tools/objtool/arch/x86/
H A Ddecode.c223 struct insn ins; in arch_decode_instruction()
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()
159 struct insn ins; arch_decode_instruction() local
[all...]
/linux/arch/arm/mm/
H A Dalignment.c197 #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 Damd_metrics.py16 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)
297 ins, l1m), "insns"),
300 ins, l2m), "insns"),
[all …]
H A Dintel_metrics.py132 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)
734 ins = Event("instructions")
747 ins_r = d_ratio(ins, all_sw)
817 ins = Event("instructions")
851 d_ratio(LDST_LD, ins), "100%"),
[all …]
/linux/fs/ocfs2/
H A Dextent_map.c171 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/tools/perf/util/annotate-arch/
H A Dannotate-powerpc.c18 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 Dannotate-x86.c22 static const struct ins x86__instructions[] = {
223 if (ins__is_call(&dl->ins)) { in update_insn_state_x86()
256 if (!strncmp(dl->ins.name, "add", 3)) { in update_insn_state_x86()
325 if (!strncmp(dl->ins.name, "sub", 3)) { in update_insn_state_x86()
355 if (!strncmp(dl->ins.name, "lea", 3)) { in update_insn_state_x86()
428 if (!strncmp(dl->ins.name, "imul", 4) || !strncmp(dl->ins.name, "mul", 3) || in update_insn_state_x86()
429 !strncmp(dl->ins.name, "idiv", 4) || !strncmp(dl->ins.name, "div", 3) || in update_insn_state_x86()
430 !strncmp(dl->ins.name, "shl", 3) || !strncmp(dl->ins.name, "shr", 3) || in update_insn_state_x86()
431 !strncmp(dl->ins.name, "sar", 3) || !strncmp(dl->ins.name, "and", 3) || in update_insn_state_x86()
432 !strncmp(dl->ins.name, "or", 2) || !strncmp(dl->ins.name, "neg", 3) || in update_insn_state_x86()
[all …]
/linux/tools/perf/scripts/python/
H A Dstat-cpi.py57 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/arch/x86/include/asm/
H A Dbug.h86 #define _BUG_FLAGS(cond_str, ins, flags, extra) \ argument
88 asm_inline volatile("1:\t" ins "\n" \
109 #define _BUG_FLAGS(cond_str, ins, flags, extra) asm volatile(ins) argument
/linux/drivers/acpi/apei/
H A Dapei-base.c200 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 Datomic64_cx8_32.S48 .macro addsub_return func ins insc
63 \ins\()l %esi, %ebx
83 .macro incdec_return func ins insc
91 \ins\()l $1, %ebx
/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-hw.c796 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/arch/riscv/include/asm/
H A Dio.h105 __io_reads_ins(ins, u8, b, __io_pbr(), __io_par(addr))
106 __io_reads_ins(ins, u16, w, __io_pbr(), __io_par(addr))
107 __io_reads_ins(ins, u32, l, __io_pbr(), __io_par(addr))
130 __io_reads_ins(ins, u64, q, __io_pbr(), __io_par(addr))
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dsb.c48 u32 ins[2]; member
263 dsb->ins[0] = ldw; in intel_dsb_emit()
264 dsb->ins[1] = udw; in intel_dsb_emit()
266 intel_dsb_buffer_write(dsb->dsb_buf, dsb->free_pos++, dsb->ins[0]); in intel_dsb_emit()
267 intel_dsb_buffer_write(dsb->dsb_buf, dsb->free_pos++, dsb->ins[1]); in intel_dsb_emit()
283 prev_opcode = dsb->ins[1] & ~DSB_REG_VALUE_MASK; in intel_dsb_prev_ins_is_write()
284 prev_reg = dsb->ins[1] & DSB_REG_VALUE_MASK; in intel_dsb_prev_ins_is_write()
337 dsb->ins[0]++; in intel_dsb_reg_write_indexed()
339 dsb->ins[0]); in intel_dsb_reg_write_indexed()
938 dsb->ins[0] = 0; in intel_dsb_wait()
[all …]
/linux/drivers/pci/hotplug/
H A Dcpci_hotplug_pci.c102 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/fs/btrfs/
H A Dextent-tree.c59 struct btrfs_key *ins, int ref_mod, u64 oref_root);
4159 struct btrfs_key *ins) in found_extent_clustered() argument
4165 last_ptr->window_start = ins->objectid; in found_extent_clustered()
4171 struct btrfs_key *ins) in found_extent() argument
4175 found_extent_clustered(ffe_ctl, ins); in found_extent()
4257 struct btrfs_key *ins, in find_free_extent_update_loop() argument
4269 if (ins->objectid) { in find_free_extent_update_loop()
4270 found_extent(ffe_ctl, ins); in find_free_extent_update_loop()
4352 struct btrfs_key *ins) in prepare_allocation_clustered() argument
4368 ins->offset = space_info->max_extent_size; in prepare_allocation_clustered()
[all …]
/linux/arch/sparc/kernel/
H A Dkgdb_32.c32 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 Dkgdb_64.c32 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()
/linux/sound/soc/amd/vangogh/
H A Dacp5x-pcm-dma.c323 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()

1234