Home
last modified time | relevance | path

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

1234

/Linux-v4.19/sound/pci/cs46xx/
Ddsp_spos.c64 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in shadow_and_reallocate_code() local
73 if (ins->code.offset > 0) { in shadow_and_reallocate_code()
93 address += (ins->code.offset / 2) - overlay_begin_address; in shadow_and_reallocate_code()
117 ins->code.data[ins->code.size++] = loval; in shadow_and_reallocate_code()
118 ins->code.data[ins->code.size++] = hival; in shadow_and_reallocate_code()
138 static int find_free_symbol_index (struct dsp_spos_instance * ins) in find_free_symbol_index() argument
140 int index = ins->symbol_table.nsymbols,i; in find_free_symbol_index()
142 for (i = ins->symbol_table.highest_frag_index; i < ins->symbol_table.nsymbols; ++i) { in find_free_symbol_index()
143 if (ins->symbol_table.symbols[i].deleted) { in find_free_symbol_index()
155 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in add_symbols() local
[all …]
Ddsp_spos_scb_lib.c46 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in remove_symbol() local
47 int symbol_index = (int)(symbol - ins->symbol_table.symbols); in remove_symbol()
49 if (snd_BUG_ON(ins->symbol_table.nsymbols <= 0)) in remove_symbol()
52 symbol_index >= ins->symbol_table.nsymbols)) in remove_symbol()
55 ins->symbol_table.symbols[symbol_index].deleted = 1; in remove_symbol()
57 if (symbol_index < ins->symbol_table.highest_frag_index) { in remove_symbol()
58 ins->symbol_table.highest_frag_index = symbol_index; in remove_symbol()
61 if (symbol_index == ins->symbol_table.nsymbols - 1) in remove_symbol()
62 ins->symbol_table.nsymbols --; in remove_symbol()
64 if (ins->symbol_table.highest_frag_index > ins->symbol_table.nsymbols) { in remove_symbol()
[all …]
Dcs46xx_lib.c1354 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in snd_cs46xx_interrupt() local
1379 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt()
1380 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt()
1381 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt()
1382 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt()
1389 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt()
1390 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt()
1391 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt()
1392 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt()
2050 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in snd_cs46xx_adc_capture_get() local
[all …]
/Linux-v4.19/drivers/misc/sgi-gru/
Dgru_instructions.h340 static inline void gru_start_instruction(struct gru_instruction *ins, unsigned long op64) in gru_start_instruction() argument
342 gru_ordered_store_ulong(ins, op64); in gru_start_instruction()
344 gru_flush_cache(ins); in gru_start_instruction()
362 struct gru_instruction *ins = (struct gru_instruction *)cb; in gru_vload_phys() local
364 ins->baddr0 = (long)gpa | ((unsigned long)iaa << 62); in gru_vload_phys()
365 ins->nelem = 1; in gru_vload_phys()
366 ins->op1_stride = 1; in gru_vload_phys()
367 gru_start_instruction(ins, __opdword(OP_VLOAD, 0, XTYPE_DW, iaa, 0, in gru_vload_phys()
374 struct gru_instruction *ins = (struct gru_instruction *)cb; in gru_vstore_phys() local
376 ins->baddr0 = (long)gpa | ((unsigned long)iaa << 62); in gru_vstore_phys()
[all …]
/Linux-v4.19/tools/perf/util/
Dbpf-prologue.c103 #define ins(i, p) append_insn((i), (p)) macro
122 ins(BPF_LDX_MEM(BPF_DW, target_reg, ctx_reg, offset), pos); in gen_ldx_reg_from_ctx()
149 ins(BPF_MOV64_REG(BPF_REG_ARG3, src_base_addr_reg), pos); in gen_read_mem()
152 ins(BPF_ALU64_IMM(BPF_ADD, BPF_REG_ARG3, offset), pos); in gen_read_mem()
155 ins(BPF_ALU64_IMM(BPF_MOV, BPF_REG_ARG2, BPF_REG_SIZE), pos); in gen_read_mem()
159 ins(BPF_MOV64_REG(BPF_REG_ARG1, dst_addr_reg), pos); in gen_read_mem()
162 ins(BPF_EMIT_CALL(BPF_FUNC_probe_read), pos); in gen_read_mem()
168 ins(BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, JMP_TO_ERROR_CODE), in gen_read_mem()
265 ins(BPF_MOV64_REG(BPF_REG_7, BPF_REG_FP), pos); in gen_prologue_slowpath()
267 ins(BPF_ALU64_IMM(BPF_ADD, BPF_REG_7, stack_offset), pos); in gen_prologue_slowpath()
[all …]
Dannotate.h18 struct ins { struct
42 struct ins ins; member
53 int (*scnprintf)(struct ins *ins, char *bf, size_t size,
57 bool ins__is_jump(const struct ins *ins);
58 bool ins__is_call(const struct ins *ins);
59 bool ins__is_ret(const struct ins *ins);
60 bool ins__is_lock(const struct ins *ins);
61 int ins__scnprintf(struct ins *ins, char *bf, size_t size, struct ins_operands *ops);
141 struct ins ins; member
Dannotate.c63 struct ins *instructions;
91 struct ins *new_instructions; in arch__grow_instructions()
98 new_instructions = realloc(arch->instructions, new_nr_allocated * sizeof(struct ins)); in arch__grow_instructions()
109 new_instructions = calloc(new_nr_allocated, sizeof(struct ins)); in arch__grow_instructions()
119 struct ins *ins; in arch__associate_ins_ops() local
125 ins = &arch->instructions[arch->nr_instructions]; in arch__associate_ins_ops()
126 ins->name = strdup(name); in arch__associate_ins_ops()
127 if (!ins->name) in arch__associate_ins_ops()
130 ins->ops = ops; in arch__associate_ins_ops()
185 static int ins__raw_scnprintf(struct ins *ins, char *bf, size_t size, in ins__raw_scnprintf() argument
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dbug.h33 #define _BUG_FLAGS(ins, flags) \ argument
35 asm volatile("1:\t" ins "\n" \
50 #define _BUG_FLAGS(ins, flags) \ argument
52 asm volatile("1:\t" ins "\n" \
66 #define _BUG_FLAGS(ins, flags) asm volatile(ins) argument
/Linux-v4.19/arch/sparc/kernel/
Dprocess_64.c130 r_w.ins[0], r_w.ins[1], r_w.ins[2], r_w.ins[3], in show_regwindow32()
131 r_w.ins[4], r_w.ins[5], r_w.ins[6], r_w.ins[7]); in show_regwindow32()
169 rwk->ins[0], rwk->ins[1], rwk->ins[2], rwk->ins[3]); in show_regwindow()
171 rwk->ins[4], rwk->ins[5], rwk->ins[6], rwk->ins[7]); in show_regwindow()
173 printk("I7: <%pS>\n", (void *) rwk->ins[7]); in show_regwindow()
223 rp->i7 = rw->ins[7]; in __global_reg_self()
225 (rw->ins[6] + STACK_BIAS); in __global_reg_self()
227 rp->rpc = rw->ins[7]; in __global_reg_self()
446 __get_user(fp, &(((struct reg_window __user *)psp)->ins[6])); in clone_stackframe()
451 __get_user(fp, &(((struct reg_window32 __user *)psp)->ins[6])); in clone_stackframe()
[all …]
Dprocess_32.c143 rw->ins[0], rw->ins[1], rw->ins[2], rw->ins[3], in show_regs()
144 rw->ins[4], rw->ins[5], rw->ins[6], rw->ins[7]); in show_regs()
172 pc = rw->ins[7]; in show_stack()
175 fp = rw->ins[6]; in show_stack()
480 pc = rw->ins[7];
485 fp = rw->ins[6] + bias;
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()
/Linux-v4.19/arch/arm/mm/
Dalignment.c199 #define __get8_unaligned_check(ins,val,addr,err) \ argument
201 ARM( "1: "ins" %1, [%2], #1\n" ) \
202 THUMB( "1: "ins" %1, [%2]\n" ) \
217 #define __get16_unaligned_check(ins,val,addr) \ argument
220 __get8_unaligned_check(ins,v,a,err); \
222 __get8_unaligned_check(ins,v,a,err); \
234 #define __get32_unaligned_check(ins,val,addr) \ argument
237 __get8_unaligned_check(ins,v,a,err); \
239 __get8_unaligned_check(ins,v,a,err); \
241 __get8_unaligned_check(ins,v,a,err); \
[all …]
/Linux-v4.19/arch/sparc/include/uapi/asm/
Dptrace.h54 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-v4.19/drivers/staging/rts5208/
Dspi.c125 static int sf_enable_write(struct rtsx_chip *chip, u8 ins) in sf_enable_write() argument
135 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_COMMAND, 0xFF, ins); in sf_enable_write()
153 static int sf_disable_write(struct rtsx_chip *chip, u8 ins) in sf_disable_write() argument
163 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_COMMAND, 0xFF, ins); in sf_disable_write()
181 static void sf_program(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr, in sf_program() argument
184 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_COMMAND, 0xFF, ins); in sf_program()
205 static int sf_erase(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr) in sf_erase() argument
211 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_COMMAND, 0xFF, ins); in sf_erase()
604 u8 ins, slow_read; in spi_read_flash() local
611 ins = srb->cmnd[3]; in spi_read_flash()
[all …]
/Linux-v4.19/fs/ocfs2/
Dextent_map.c186 struct ocfs2_extent_map_item *ins) in ocfs2_try_to_merge_extent_map() argument
191 if (ins->ei_phys == (emi->ei_phys + emi->ei_clusters) && in ocfs2_try_to_merge_extent_map()
192 ins->ei_cpos == (emi->ei_cpos + emi->ei_clusters) && in ocfs2_try_to_merge_extent_map()
193 ins->ei_flags == emi->ei_flags) { in ocfs2_try_to_merge_extent_map()
194 emi->ei_clusters += ins->ei_clusters; in ocfs2_try_to_merge_extent_map()
196 } else if ((ins->ei_phys + ins->ei_clusters) == emi->ei_phys && in ocfs2_try_to_merge_extent_map()
197 (ins->ei_cpos + ins->ei_clusters) == emi->ei_cpos && in ocfs2_try_to_merge_extent_map()
198 ins->ei_flags == emi->ei_flags) { in ocfs2_try_to_merge_extent_map()
199 emi->ei_phys = ins->ei_phys; in ocfs2_try_to_merge_extent_map()
200 emi->ei_cpos = ins->ei_cpos; in ocfs2_try_to_merge_extent_map()
[all …]
/Linux-v4.19/sound/pci/oxygen/
Doxygen_pcm.c703 int outs, ins; in oxygen_pcm_init() local
707 ins = !!(chip->model.device_config & (CAPTURE_0_FROM_I2S_1 | in oxygen_pcm_init()
709 if (outs | ins) { in oxygen_pcm_init()
711 0, outs, ins, &pcm); in oxygen_pcm_init()
731 if (ins) in oxygen_pcm_init()
740 ins = !!(chip->model.device_config & CAPTURE_1_FROM_SPDIF); in oxygen_pcm_init()
741 if (outs | ins) { in oxygen_pcm_init()
742 err = snd_pcm_new(chip->card, "Digital", 1, outs, ins, &pcm); in oxygen_pcm_init()
748 if (ins) in oxygen_pcm_init()
761 ins = !!(chip->model.device_config & CAPTURE_2_FROM_AC97_1); in oxygen_pcm_init()
[all …]
/Linux-v4.19/tools/perf/scripts/python/
Dstat-cpi.py56 ins = get(time, "instructions", cpu, thread)
59 if ins != 0:
60 cpi = cyc/float(ins)
62 …%15f: cpu %d, thread %d -> cpi %f (%d/%d)" % (time/(float(1000000000)), cpu, thread, cpi, cyc, ins)
/Linux-v4.19/fs/btrfs/
Dulist.c144 static int ulist_rbtree_insert(struct ulist *ulist, struct ulist_node *ins) in ulist_rbtree_insert() argument
154 if (cur->val < ins->val) in ulist_rbtree_insert()
156 else if (cur->val > ins->val) in ulist_rbtree_insert()
161 rb_link_node(&ins->rb_node, parent, p); in ulist_rbtree_insert()
162 rb_insert_color(&ins->rb_node, &ulist->root); in ulist_rbtree_insert()
/Linux-v4.19/fs/ntfs/
Dunistr.c259 int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins, in ntfs_nlstoucs() argument
268 if (likely(ins)) { in ntfs_nlstoucs()
272 wc_len = nls->char2uni(ins + i, ins_len - i, in ntfs_nlstoucs()
336 int ntfs_ucstonls(const ntfs_volume *vol, const ntfschar *ins, in ntfs_ucstonls() argument
344 if (ins) { in ntfs_ucstonls()
358 retry: wc = nls->uni2char(le16_to_cpu(ins[i]), ns + o, in ntfs_ucstonls()
/Linux-v4.19/tools/perf/arch/s390/annotate/
Dinstructions.c48 static int call__scnprintf(struct ins *ins, char *bf, size_t size,
103 static int mov__scnprintf(struct ins *ins, char *bf, size_t size,
/Linux-v4.19/arch/x86/lib/
Datomic64_cx8_32.S47 .macro addsub_return func ins insc
62 \ins\()l %esi, %ebx
82 .macro incdec_return func ins insc
90 \ins\()l $1, %ebx
/Linux-v4.19/drivers/acpi/apei/
Dapei-base.c211 u8 ins; in apei_exec_for_each_entry() local
218 ins = entry->instruction; in apei_exec_for_each_entry()
221 if (ins >= ctx->instructions || !ins_table[ins].run) { in apei_exec_for_each_entry()
224 ins); in apei_exec_for_each_entry()
239 u8 ins = entry->instruction; in pre_map_gar_callback() local
241 if (ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER) in pre_map_gar_callback()
272 u8 ins = entry->instruction; in post_unmap_gar_callback() local
274 if (ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER) in post_unmap_gar_callback()
719 u8 ins = entry->instruction; in collect_res_callback() local
724 if (!(ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER)) in collect_res_callback()
/Linux-v4.19/sound/drivers/
Dserial-u16550.c77 static int ins[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; /* 1 to 16 */ variable
97 module_param_array(ins, int, NULL, 0444);
98 MODULE_PARM_DESC(ins, "Number of MIDI inputs.");
872 int outs, int ins, in snd_uart16550_rmidi() argument
879 outs, ins, &rrawmidi); in snd_uart16550_rmidi()
907 ins[dev] = 1; in snd_serial_probe()
912 ins[dev] = 1; in snd_serial_probe()
916 ins[dev] = 1; in snd_serial_probe()
934 if (ins[dev] < 1 || ins[dev] > SNDRV_SERIAL_MAX_INS) { in snd_serial_probe()
937 SNDRV_SERIAL_MAX_INS, ins[dev]); in snd_serial_probe()
[all …]
/Linux-v4.19/drivers/media/platform/sti/bdisp/
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-v4.19/drivers/pci/hotplug/
Dcpci_hotplug_pci.c104 int ins = 0; in cpci_check_and_clear_ins() local
122 ins = 0; in cpci_check_and_clear_ins()
124 ins = 1; in cpci_check_and_clear_ins()
126 return ins; in cpci_check_and_clear_ins()

1234