Searched refs:regs (Results 1 - 25 of 3731) sorted by last modified time

1234567891011>>

/linux-master/sound/soc/tegra/
H A Dtegra186_dspk.c480 void __iomem *regs; local
500 regs = devm_platform_ioremap_resource(pdev, 0);
501 if (IS_ERR(regs))
502 return PTR_ERR(regs);
504 dspk->regmap = devm_regmap_init_mmio(dev, regs, &tegra186_dspk_regmap);
/linux-master/sound/soc/meson/
H A Daxg-tdm-formatter.c267 void __iomem *regs; local
281 regs = devm_platform_ioremap_resource(pdev, 0);
282 if (IS_ERR(regs))
283 return PTR_ERR(regs);
285 formatter->map = devm_regmap_init_mmio(dev, regs, drv->regmap_cfg);
H A Daxg-fifo.c338 void __iomem *regs; local
352 regs = devm_platform_ioremap_resource(pdev, 0);
353 if (IS_ERR(regs))
354 return PTR_ERR(regs);
356 fifo->map = devm_regmap_init_mmio(dev, regs, &axg_fifo_regmap_cfg);
/linux-master/kernel/bpf/
H A Dverifier.c61 * insn is less then 4K, but there are too many branches that change stack/regs.
1805 struct bpf_reg_state *regs, u32 regno)
1808 verbose(env, "mark_reg_known_zero(regs, %u)\n", regno);
1809 /* Something bad happened, let's kill all regs */
1811 __mark_reg_not_init(env, regs + regno);
1814 __mark_reg_known_zero(regs + regno);
1859 static void mark_reg_graph_node(struct bpf_reg_state *regs, u32 regno, argument
1862 __mark_reg_known_zero(&regs[regno]);
1863 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC;
1864 regs[regn
1804 mark_reg_known_zero(struct bpf_verifier_env *env, struct bpf_reg_state *regs, u32 regno) argument
2315 mark_reg_unknown(struct bpf_verifier_env *env, struct bpf_reg_state *regs, u32 regno) argument
2335 mark_reg_not_init(struct bpf_verifier_env *env, struct bpf_reg_state *regs, u32 regno) argument
2348 mark_btf_ld_reg(struct bpf_verifier_env *env, struct bpf_reg_state *regs, u32 regno, enum bpf_reg_type reg_type, struct btf *btf, u32 btf_id, enum bpf_type_flag flag) argument
2368 struct bpf_reg_state *regs = state->regs; local
3244 __check_reg_arg(struct bpf_verifier_env *env, struct bpf_reg_state *regs, u32 regno, enum reg_arg_type t) argument
5050 struct bpf_reg_state *regs = cur_regs(env); local
5518 struct bpf_reg_state *regs = cur_regs(env); local
5610 struct bpf_reg_state *regs = cur_regs(env); local
6431 check_ptr_to_btf_access(struct bpf_verifier_env *env, struct bpf_reg_state *regs, int regno, int off, int size, enum bpf_access_type atype, int value_regno) argument
6579 check_ptr_to_map_access(struct bpf_verifier_env *env, struct bpf_reg_state *regs, int regno, int off, int size, enum bpf_access_type atype, int value_regno) argument
6672 struct bpf_reg_state *regs = cur_regs(env); local
6740 struct bpf_reg_state *regs = cur_regs(env); local
7249 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; local
7482 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; local
7559 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; local
7596 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; local
7660 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; local
7768 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; local
8227 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; local
8455 get_dynptr_arg_reg(struct bpf_verifier_env *env, const struct bpf_func_proto *fn, struct bpf_reg_state *regs) argument
8575 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[regno]; local
9276 clear_caller_saved_regs(struct bpf_verifier_env *env, struct bpf_reg_state *regs) argument
9348 btf_check_func_arg_match(struct bpf_verifier_env *env, int subprog, const struct btf *btf, struct bpf_reg_state *regs) argument
9440 btf_check_subprog_call(struct bpf_verifier_env *env, int subprog, struct bpf_reg_state *regs) argument
9945 do_refine_retval_range(struct bpf_verifier_env *env, struct bpf_reg_state *regs, int ret_type, int func_id, struct bpf_call_arg_meta *meta) argument
10034 struct bpf_reg_state *regs = cur_regs(env), *reg; local
10085 check_bpf_snprintf_call(struct bpf_verifier_env *env, struct bpf_reg_state *regs) argument
10151 struct bpf_reg_state *regs = cur_regs(env); local
10187 struct bpf_reg_state *regs; local
11073 struct bpf_reg_state *regs = cur_regs(env); local
11626 struct bpf_reg_state *regs = cur_regs(env), *reg = &regs[i + 1]; local
12098 struct bpf_reg_state *regs = cur_regs(env); local
12672 struct bpf_reg_state *regs; local
12913 struct bpf_reg_state *regs = state->regs, *dst_reg; local
13719 struct bpf_reg_state *regs = cur_regs(env); local
13880 struct bpf_reg_state *regs = state->regs, *dst_reg, *src_reg; local
13978 struct bpf_reg_state *regs = cur_regs(env); local
14816 struct bpf_reg_state *regs = state->regs, *reg; local
14954 struct bpf_reg_state *regs = this_branch->frame[this_branch->curframe]->regs; local
15171 struct bpf_reg_state *regs = cur_regs(env); local
15293 struct bpf_reg_state *regs = cur_regs(env); local
17583 struct bpf_reg_state *regs; local
20439 struct bpf_reg_state *regs; local
[all...]
H A Dcore.c45 #define BPF_R0 regs[BPF_REG_0]
46 #define BPF_R1 regs[BPF_REG_1]
47 #define BPF_R2 regs[BPF_REG_2]
48 #define BPF_R3 regs[BPF_REG_3]
49 #define BPF_R4 regs[BPF_REG_4]
50 #define BPF_R5 regs[BPF_REG_5]
51 #define BPF_R6 regs[BPF_REG_6]
52 #define BPF_R7 regs[BPF_REG_7]
53 #define BPF_R8 regs[BPF_REG_8]
54 #define BPF_R9 regs[BPF_REG_
1705 ___bpf_prog_run(u64 *regs, const struct bpf_insn *insn) argument
[all...]
/linux-master/include/linux/
H A Dregmap.h634 void __iomem *regs,
695 void __iomem *regs,
877 * @regs: Pointer to memory-mapped IO region
883 #define regmap_init_mmio_clk(dev, clk_id, regs, config) \
885 dev, clk_id, regs, config)
891 * @regs: Pointer to memory-mapped IO region
897 #define regmap_init_mmio(dev, regs, config) \
898 regmap_init_mmio_clk(dev, NULL, regs, config)
1086 * @regs: Pointer to memory-mapped IO region
1093 #define devm_regmap_init_mmio_clk(dev, clk_id, regs, confi
1999 regmap_register_patch(struct regmap *map, const struct reg_sequence *regs, int num_regs) argument
[all...]
/linux-master/drivers/spi/
H A Dspi-hisi-kunpeng.c127 void __iomem *regs; member in struct:hisi_spi
173 hs->regset.regs = hisi_spi_regs;
175 hs->regset.base = hs->regs;
183 return readl(hs->regs + HISI_SPI_SR) & SR_BUSY;
188 return readl(hs->regs + HISI_SPI_SR) & SR_RXNE;
193 return readl(hs->regs + HISI_SPI_SR) & SR_TXNF;
202 readl(hs->regs + HISI_SPI_DOUT);
209 writel(0, hs->regs + HISI_SPI_ENR);
210 writel(IMR_MASK, hs->regs + HISI_SPI_IMR);
211 writel(ICR_MASK, hs->regs
[all...]
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dchip.c1474 struct ethtool_regs *regs, void *_p)
1482 regs->version = chip->info->prod_num;
1473 mv88e6xxx_get_regs(struct dsa_switch *ds, int port, struct ethtool_regs *regs, void *_p) argument
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c874 vmid->regs = &vmid_regs[i];
963 const struct dce110_clk_src_regs *regs,
973 regs, &cs_shift, &cs_mask)) {
1039 hws->regs = &hwseq_reg;
2422 ctx->dc_bios->regs = &bios_regs;
959 dcn20_clock_source_create( struct dc_context *ctx, struct dc_bios *bios, enum clock_source_id id, const struct dce110_clk_src_regs *regs, bool dp_clk_src) argument
/linux-master/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_hpo_dp_link_encoder.c35 (enc3->regs->reg)
625 enc31->regs = hpo_le_regs;
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
H A Ddcn32_clk_mgr.c89 (clk_mgr->regs->reg)
1156 clk_mgr->regs = &clk_mgr_regs_dcn321;
1160 clk_mgr->regs = &clk_mgr_regs_dcn32;
/linux-master/drivers/firewire/
H A Dohci.c73 #define CONTROL_SET(regs) (regs)
74 #define CONTROL_CLEAR(regs) ((regs) + 4)
75 #define COMMAND_PTR(regs) ((regs) + 12)
76 #define CONTEXT_MATCH(regs) ((regs) + 16)
95 u32 regs; member in struct:ar_context
119 u32 regs; member in struct:context
1017 ar_context_init(struct ar_context *ctx, struct fw_ohci *ohci, unsigned int descriptors_offset, u32 regs) argument
1177 context_init(struct context *ctx, struct fw_ohci *ohci, u32 regs, descriptor_callback_t callback) argument
1708 detect_dead_context(struct fw_ohci *ohci, const char *name, unsigned int regs) argument
3003 u32 *mask, regs; local
[all...]
/linux-master/drivers/base/regmap/
H A Dregmap.c2372 * the (register,newvalue) pairs in regs have not been formatted, but
2377 const struct reg_sequence *regs,
2402 unsigned int reg = regs[i].reg;
2403 unsigned int val = regs[i].def;
2419 int reg = regs[i].reg;
2435 struct reg_sequence *regs,
2449 base = regs;
2451 unsigned int reg = regs[i].reg;
2468 * write the regs and apply the delay before we change the
2472 if (page_change || regs[
2376 _regmap_raw_multi_reg_write(struct regmap *map, const struct reg_sequence *regs, size_t num_regs) argument
2434 _regmap_range_multi_paged_reg_write(struct regmap *map, struct reg_sequence *regs, size_t num_regs) argument
2515 _regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs, size_t num_regs) argument
2613 regmap_multi_reg_write(struct regmap *map, const struct reg_sequence *regs, int num_regs) argument
2646 regmap_multi_reg_write_bypassed(struct regmap *map, const struct reg_sequence *regs, int num_regs) argument
3356 regmap_register_patch(struct regmap *map, const struct reg_sequence *regs, int num_regs) argument
[all...]
/linux-master/arch/xtensa/kernel/
H A Dstacktrace.c28 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, argument
32 unsigned long windowstart = regs->windowstart;
33 unsigned long windowbase = regs->windowbase;
34 unsigned long a0 = regs->areg[0];
35 unsigned long a1 = regs->areg[1];
36 unsigned long pc = regs->pc;
51 !(regs->ps & PS_WOE_MASK)))
78 a0 = regs->areg[index * 4];
79 a1 = regs->areg[index * 4 + 1];
96 /* a1 = regs
117 xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, int (*kfn)(struct stackframe *frame, void *data), int (*ufn)(struct stackframe *frame, void *data), void *data) argument
[all...]
H A Dprocess.c48 #include <asm/regs.h>
231 * regs != NULL, usp_thread_fn is userspace stack pointer.
232 * It is expected to copy parent regs (in case CLONE_VM is not set
235 * regs == NULL, usp_thread_fn is the function to run in the new thread
293 struct pt_regs *regs = current_pt_regs(); local
295 usp_thread_fn : regs->areg[1];
300 *childregs = *regs;
320 if (regs->areg[1] == usp && len != 0) {
321 int callinc = (regs->areg[0] >> 30) & 3;
323 put_user(regs
[all...]
/linux-master/arch/xtensa/include/asm/
H A Dptrace.h87 # define user_mode(regs) (((regs)->ps & 0x00000020)!=0)
88 # define instruction_pointer(regs) ((regs)->pc)
89 # define return_pointer(regs) (MAKE_PC_FROM_RA((regs)->areg[0], \
90 (regs)->pc))
93 # define profile_pc(regs) instruction_pointer(regs)
95 # define profile_pc(regs) \
104 regs_return_value(struct pt_regs *regs) argument
[all...]
H A Dprocessor.h21 #include <asm/regs.h>
198 #define start_thread(regs, new_pc, new_sp) \
200 unsigned long syscall = (regs)->syscall; \
202 memcpy(current_aregs, (regs)->areg, sizeof(current_aregs)); \
203 memset((regs), 0, sizeof(*(regs))); \
204 (regs)->pc = (new_pc); \
205 (regs)->ps = USER_PS_VALUE; \
206 memcpy((regs)->areg, current_aregs, sizeof(current_aregs)); \
207 (regs)
[all...]
/linux-master/arch/x86/net/
H A Dbpf_jit_comp.c437 * first restore those callee-saved regs from stack, before
1174 bool ex_handler_bpf(const struct exception_table_entry *x, struct pt_regs *regs) argument
1180 *(unsigned long *)((void *)regs + reg) = 0;
1181 regs->ip += x->fixup & 0xff;
1297 /* Exception callback will clobber callee regs for its own use, and
1298 * restore the original callee regs from main prog's stack frame.
2351 /* get the count of the regs that are used to pass arguments */
2384 * Meanwhile, the compiler will pass the argument on regs
2385 * if the remaining regs can hold the argument.
2396 * the arg1-5,arg7 will be passed by regs, an
[all...]
/linux-master/arch/riscv/net/
H A Dbpf_jit_comp64.c553 struct pt_regs *regs)
558 *(unsigned long *)((void *)regs + pt_regmap[regs_offset]) = 0;
559 regs->epc = (unsigned long)&ex->fixup - offset;
813 * FP - nregs_off [ regs count ]
552 ex_handler_bpf(const struct exception_table_entry *ex, struct pt_regs *regs) argument
/linux-master/arch/arm64/net/
H A Dbpf_jit_comp.c743 struct pt_regs *regs)
748 regs->regs[dst_reg] = 0;
749 regs->pc = (unsigned long)&ex->fixup - offset;
1973 * SP + nregs_off [ arg regs count ]
2039 /* save arg regs count*/
2043 /* save arg regs */
742 ex_handler_bpf(const struct exception_table_entry *ex, struct pt_regs *regs) argument
/linux-master/drivers/pinctrl/renesas/
H A Dpinctrl-rzg2l.c210 * @regs: hardware specific register offsets
221 const struct rzg2l_register_offsets regs; member in struct:rzg2l_hwcfg
465 const struct rzg2l_register_offsets *regs = &pctrl->data->hwcfg->regs; local
481 writel(0x0, pctrl->base + regs->pwpr); /* B0WI=0, PFCWE=0 */
482 writel(PWPR_PFCWE, pctrl->base + regs->pwpr); /* B0WI=0, PFCWE=1 */
490 writel(0x0, pctrl->base + regs->pwpr); /* B0WI=0, PFCWE=0 */
491 writel(PWPR_B0WI, pctrl->base + regs->pwpr); /* B0WI=1, PFCWE=0 */
834 static int rzg2l_caps_to_pwr_reg(const struct rzg2l_register_offsets *regs, u32 caps) argument
837 return SD_CH(regs
853 const struct rzg2l_register_offsets *regs = &hwcfg->regs; local
881 const struct rzg2l_register_offsets *regs = &hwcfg->regs; local
2521 const struct rzg2l_register_offsets *regs = &hwcfg->regs; local
2577 const struct rzg2l_register_offsets *regs = &hwcfg->regs; local
2603 const struct rzg2l_register_offsets *regs = &hwcfg->regs; local
[all...]
/linux-master/drivers/pinctrl/intel/
H A Dpinctrl-intel.h82 * @padown_offset: Register offset of PAD_OWN register from @regs. If %0
84 * @padcfglock_offset: Register offset of PADCFGLOCK from @regs. If %0 then
86 * @hostown_offset: Register offset of HOSTSW_OWN from @regs. If %0 then it
89 * @is_offset: Register offset of GPI_IS from @regs.
90 * @ie_offset: Register offset of GPI_IE from @regs.
103 * @regs: Community specific common registers (reserved for core driver)
133 void __iomem *regs; member in struct:intel_community
/linux-master/tools/testing/selftests/riscv/hwprobe/
H A Dcbo.c30 unsigned long *regs = (unsigned long *)&((ucontext_t *)context)->uc_mcontext; local
31 uint32_t insn = *(uint32_t *)regs[0];
33 assert(insn == MK_CBO(regs[11]));
36 regs[0] += 4;
/linux-master/rust/
H A DMakefile282 -mskip-rax-setup -mgeneral-regs-only -msign-return-address=% \
292 -fzero-call-used-regs=% -fno-stack-clash-protection \
/linux-master/kernel/
H A Dprofile.c335 struct pt_regs *regs = get_irq_regs(); local
337 if (!user_mode(regs) && cpumask_available(prof_cpu_mask) &&
339 profile_hit(type, (void *)profile_pc(regs));

Completed in 336 milliseconds

1234567891011>>