Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/sound/pci/cs46xx/
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 …]
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 …]
/kernel/linux/linux-5.10/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()
150 ins(BPF_MOV64_REG(BPF_REG_ARG3, src_base_addr_reg), pos); in gen_read_mem()
153 ins(BPF_ALU64_IMM(BPF_ADD, BPF_REG_ARG3, offset), pos); in gen_read_mem()
156 ins(BPF_ALU64_IMM(BPF_MOV, BPF_REG_ARG2, BPF_REG_SIZE), pos); in gen_read_mem()
160 ins(BPF_MOV64_REG(BPF_REG_ARG1, dst_addr_reg), pos); in gen_read_mem()
163 ins(BPF_EMIT_CALL(probeid), pos); in gen_read_mem()
169 ins(BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, JMP_TO_ERROR_CODE), in gen_read_mem()
266 ins(BPF_MOV64_REG(BPF_REG_7, BPF_REG_FP), pos); in gen_prologue_slowpath()
268 ins(BPF_ALU64_IMM(BPF_ADD, BPF_REG_7, stack_offset), pos); in gen_prologue_slowpath()
[all …]
Dannotate.h27 struct ins { struct
52 struct ins ins; member
63 int (*scnprintf)(struct ins *ins, char *bf, size_t size,
67 bool ins__is_jump(const struct ins *ins);
68 bool ins__is_call(const struct ins *ins);
69 bool ins__is_ret(const struct ins *ins);
70 bool ins__is_lock(const struct ins *ins);
71 int ins__scnprintf(struct ins *ins, char *bf, size_t size, struct ins_operands *ops, int max_ins_na…
152 struct ins ins; member
Dannotate.c77 struct ins *instructions;
105 struct ins *new_instructions; in arch__grow_instructions()
112 new_instructions = realloc(arch->instructions, new_nr_allocated * sizeof(struct ins)); in arch__grow_instructions()
123 new_instructions = calloc(new_nr_allocated, sizeof(struct ins)); in arch__grow_instructions()
133 struct ins *ins; in arch__associate_ins_ops() local
139 ins = &arch->instructions[arch->nr_instructions]; in arch__associate_ins_ops()
140 ins->name = strdup(name); in arch__associate_ins_ops()
141 if (!ins->name) in arch__associate_ins_ops()
144 ins->ops = ops; in arch__associate_ins_ops()
217 static int ins__raw_scnprintf(struct ins *ins, char *bf, size_t size, in ins__raw_scnprintf() argument
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dbug.h34 #define _BUG_FLAGS(ins, flags) \ argument
36 asm_inline volatile("1:\t" ins "\n" \
51 #define _BUG_FLAGS(ins, flags) \ argument
53 asm_inline volatile("1:\t" ins "\n" \
67 #define _BUG_FLAGS(ins, flags) asm volatile(ins) argument
/kernel/linux/linux-5.10/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.c141 rw->ins[0], rw->ins[1], rw->ins[2], rw->ins[3], in show_regs()
142 rw->ins[4], rw->ins[5], rw->ins[6], rw->ins[7]); in show_regs()
170 pc = rw->ins[7]; in show_stack()
173 fp = rw->ins[6]; in show_stack()
402 pc = rw->ins[7];
407 fp = rw->ins[6] + bias;
/kernel/linux/linux-5.10/arch/arm/mm/
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" ) \
212 #define __get16_unaligned_check(ins,val,addr) \ argument
215 __get8_unaligned_check(ins,v,a,err); \
217 __get8_unaligned_check(ins,v,a,err); \
229 #define __get32_unaligned_check(ins,val,addr) \ argument
232 __get8_unaligned_check(ins,v,a,err); \
234 __get8_unaligned_check(ins,v,a,err); \
236 __get8_unaligned_check(ins,v,a,err); \
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/fs/ocfs2/
Dextent_map.c173 struct ocfs2_extent_map_item *ins) in ocfs2_try_to_merge_extent_map() argument
178 if (ins->ei_phys == (emi->ei_phys + emi->ei_clusters) && in ocfs2_try_to_merge_extent_map()
179 ins->ei_cpos == (emi->ei_cpos + emi->ei_clusters) && in ocfs2_try_to_merge_extent_map()
180 ins->ei_flags == emi->ei_flags) { in ocfs2_try_to_merge_extent_map()
181 emi->ei_clusters += ins->ei_clusters; in ocfs2_try_to_merge_extent_map()
183 } else if ((ins->ei_phys + ins->ei_clusters) == emi->ei_phys && in ocfs2_try_to_merge_extent_map()
184 (ins->ei_cpos + ins->ei_clusters) == emi->ei_cpos && in ocfs2_try_to_merge_extent_map()
185 ins->ei_flags == emi->ei_flags) { in ocfs2_try_to_merge_extent_map()
186 emi->ei_phys = ins->ei_phys; in ocfs2_try_to_merge_extent_map()
187 emi->ei_cpos = ins->ei_cpos; in ocfs2_try_to_merge_extent_map()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Dspi.c105 static int sf_enable_write(struct rtsx_chip *chip, u8 ins) in sf_enable_write() argument
115 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_COMMAND, 0xFF, ins); in sf_enable_write()
133 static int sf_disable_write(struct rtsx_chip *chip, u8 ins) in sf_disable_write() argument
143 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_COMMAND, 0xFF, ins); in sf_disable_write()
161 static void sf_program(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr, in sf_program() argument
164 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_COMMAND, 0xFF, ins); in sf_program()
185 static int sf_erase(struct rtsx_chip *chip, u8 ins, u8 addr_mode, u32 addr) in sf_erase() argument
191 rtsx_add_cmd(chip, WRITE_REG_CMD, SPI_COMMAND, 0xFF, ins); in sf_erase()
558 u8 ins, slow_read; in spi_read_flash() local
565 ins = srb->cmnd[3]; in spi_read_flash()
[all …]
/kernel/linux/linux-5.10/sound/pci/oxygen/
Doxygen_pcm.c679 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 …]
/kernel/linux/linux-5.10/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()
Dextent-tree.c52 struct btrfs_key *ins, int ref_mod);
1480 struct btrfs_key ins; in run_delayed_data_ref() local
1485 ins.objectid = node->bytenr; in run_delayed_data_ref()
1486 ins.offset = node->num_bytes; in run_delayed_data_ref()
1487 ins.type = BTRFS_EXTENT_ITEM_KEY; in run_delayed_data_ref()
1501 ref->offset, &ins, in run_delayed_data_ref()
3758 struct btrfs_key *ins) in found_extent_clustered() argument
3764 last_ptr->window_start = ins->objectid; in found_extent_clustered()
3770 struct btrfs_key *ins) in found_extent() argument
3774 found_extent_clustered(ffe_ctl, ins); in found_extent()
[all …]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
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))
/kernel/linux/linux-5.10/fs/ntfs/
Dunistr.c245 int ntfs_nlstoucs(const ntfs_volume *vol, const char *ins, in ntfs_nlstoucs() argument
254 if (likely(ins)) { in ntfs_nlstoucs()
258 wc_len = nls->char2uni(ins + i, ins_len - i, in ntfs_nlstoucs()
322 int ntfs_ucstonls(const ntfs_volume *vol, const ntfschar *ins, in ntfs_ucstonls() argument
330 if (ins) { in ntfs_ucstonls()
344 retry: wc = nls->uni2char(le16_to_cpu(ins[i]), ns + o, in ntfs_ucstonls()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-sysfs.c148 char *outs = NULL, *ins = NULL; in coresight_make_links() local
156 ins = devm_kasprintf(&target->dev, GFP_KERNEL, in coresight_make_links()
158 if (!ins) in coresight_make_links()
169 link->target_name = ins; in coresight_make_links()
/kernel/linux/linux-5.10/arch/x86/lib/
Datomic64_cx8_32.S43 .macro addsub_return func ins insc
58 \ins\()l %esi, %ebx
78 .macro incdec_return func ins insc
86 \ins\()l $1, %ebx
/kernel/linux/linux-5.10/drivers/acpi/apei/
Dapei-base.c203 u8 ins; in apei_exec_for_each_entry() local
210 ins = entry->instruction; in apei_exec_for_each_entry()
213 if (ins >= ctx->instructions || !ins_table[ins].run) { in apei_exec_for_each_entry()
216 ins); in apei_exec_for_each_entry()
231 u8 ins = entry->instruction; in pre_map_gar_callback() local
233 if (ctx->ins_table[ins].flags & APEI_EXEC_INS_ACCESS_REGISTER) in pre_map_gar_callback()
264 u8 ins = entry->instruction; in post_unmap_gar_callback() local
266 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()
/kernel/linux/linux-5.10/sound/drivers/
Dserial-u16550.c64 static int ins[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; /* 1 to 16 */ variable
84 module_param_array(ins, int, NULL, 0444);
85 MODULE_PARM_DESC(ins, "Number of MIDI inputs.");
859 int outs, int ins, in snd_uart16550_rmidi() argument
866 outs, ins, &rrawmidi); in snd_uart16550_rmidi()
894 ins[dev] = 1; in snd_serial_probe()
899 ins[dev] = 1; in snd_serial_probe()
903 ins[dev] = 1; in snd_serial_probe()
921 if (ins[dev] < 1 || ins[dev] > SNDRV_SERIAL_MAX_INS) { in snd_serial_probe()
924 SNDRV_SERIAL_MAX_INS, ins[dev]); in snd_serial_probe()
[all …]
/kernel/linux/linux-5.10/drivers/phy/cadence/
Dphy-cadence-sierra.c273 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_init() local
286 if (ins->phy_type == PHY_TYPE_PCIE) { in cdns_sierra_phy_init()
291 } else if (ins->phy_type == PHY_TYPE_USB3) { in cdns_sierra_phy_init()
304 for (i = 0; i < ins->num_lanes; i++) { in cdns_sierra_phy_init()
306 regmap = phy->regmap_lane_cdb[i + ins->mlane]; in cdns_sierra_phy_init()
317 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_on() local
329 ret = reset_control_deassert(ins->lnk_rst); in cdns_sierra_phy_on()
335 ret = regmap_field_read_poll_timeout(sp->pllctrl_lock[ins->mlane], in cdns_sierra_phy_on()
345 struct cdns_sierra_inst *ins = phy_get_drvdata(gphy); in cdns_sierra_phy_off() local
347 return reset_control_assert(ins->lnk_rst); in cdns_sierra_phy_off()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dio.h114 __io_reads_ins(ins, u8, b, __io_pbr(), __io_par(addr))
115 __io_reads_ins(ins, u16, w, __io_pbr(), __io_par(addr))
116 __io_reads_ins(ins, u32, l, __io_pbr(), __io_par(addr))
139 __io_reads_ins(ins, u64, q, __io_pbr(), __io_par(addr))

1234