Home
last modified time | relevance | path

Searched refs:regset (Results 26 - 50 of 189) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/thermal/broadcom/
H A Dbcm2835_thermal.c123 struct debugfs_regset32 *regset; in bcm2835_thermal_debugfs() local
127 regset = devm_kzalloc(&pdev->dev, sizeof(*regset), GFP_KERNEL); in bcm2835_thermal_debugfs()
128 if (!regset) in bcm2835_thermal_debugfs()
131 regset->regs = bcm2835_thermal_regs; in bcm2835_thermal_debugfs()
132 regset->nregs = ARRAY_SIZE(bcm2835_thermal_regs); in bcm2835_thermal_debugfs()
133 regset->base = data->regs; in bcm2835_thermal_debugfs()
135 debugfs_create_regset32("regset", 0444, data->debugfsdir, regset); in bcm2835_thermal_debugfs()
/kernel/linux/linux-6.6/drivers/thermal/broadcom/
H A Dbcm2835_thermal.c123 struct debugfs_regset32 *regset; in bcm2835_thermal_debugfs() local
127 regset = devm_kzalloc(&pdev->dev, sizeof(*regset), GFP_KERNEL); in bcm2835_thermal_debugfs()
128 if (!regset) in bcm2835_thermal_debugfs()
131 regset->regs = bcm2835_thermal_regs; in bcm2835_thermal_debugfs()
132 regset->nregs = ARRAY_SIZE(bcm2835_thermal_regs); in bcm2835_thermal_debugfs()
133 regset->base = data->regs; in bcm2835_thermal_debugfs()
135 debugfs_create_regset32("regset", 0444, data->debugfsdir, regset); in bcm2835_thermal_debugfs()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_debugfs.c41 struct debugfs_regset32 *regset = node->info_ent->data; in vc4_debugfs_regset32() local
44 drm_print_regset32(&p, regset); in vc4_debugfs_regset32()
80 struct debugfs_regset32 *regset) in vc4_debugfs_add_regset32()
82 vc4_debugfs_add_file(drm, name, vc4_debugfs_regset32, regset); in vc4_debugfs_add_regset32()
78 vc4_debugfs_add_regset32(struct drm_device *drm, const char *name, struct debugfs_regset32 *regset) vc4_debugfs_add_regset32() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_debugfs.c39 struct debugfs_regset32 *regset = entry->file.data; in vc4_debugfs_regset32() local
46 drm_print_regset32(&p, regset); in vc4_debugfs_regset32()
55 struct debugfs_regset32 *regset) in vc4_debugfs_add_regset32()
57 drm_debugfs_add_file(drm, name, vc4_debugfs_regset32, regset); in vc4_debugfs_add_regset32()
53 vc4_debugfs_add_regset32(struct drm_device *drm, const char *name, struct debugfs_regset32 *regset) vc4_debugfs_add_regset32() argument
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dptrace.c27 #include <linux/regset.h>
73 /* regset get/set implementations */
76 const struct user_regset *regset, in gpr_get()
91 const struct user_regset *regset, in gpr_set()
146 const struct user_regset *regset, in fpr_get()
198 const struct user_regset *regset, in fpr_set()
230 const struct user_regset *regset, in cfg_get()
249 const struct user_regset *regset, in cfg_set()
259 const struct user_regset *regset, in copy_pad_fprs()
266 cp_sz = min(regset in copy_pad_fprs()
75 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() argument
90 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr_set() argument
145 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() argument
197 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpr_set() argument
229 cfg_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) cfg_get() argument
248 cfg_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) cfg_set() argument
258 copy_pad_fprs(struct task_struct *target, const struct user_regset *regset, struct membuf *to, unsigned int live_sz) copy_pad_fprs() argument
278 simd_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) simd_get() argument
308 simd_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) simd_set() argument
343 lbt_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) lbt_get() argument
359 lbt_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) lbt_set() argument
661 hw_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) hw_break_get() argument
702 hw_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) hw_break_set() argument
[all...]
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dptrace.c19 #include <linux/regset.h>
34 const struct user_regset *regset, in riscv_gpr_get()
42 const struct user_regset *regset, in riscv_gpr_set()
54 const struct user_regset *regset, in riscv_fpr_get()
68 const struct user_regset *regset, in riscv_fpr_set()
89 const struct user_regset *regset, in riscv_vr_get()
119 const struct user_regset *regset, in riscv_vr_set()
310 const struct user_regset *regset, in compat_riscv_gpr_get()
322 const struct user_regset *regset, in compat_riscv_gpr_set()
33 riscv_gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) riscv_gpr_get() argument
41 riscv_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) riscv_gpr_set() argument
53 riscv_fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) riscv_fpr_get() argument
67 riscv_fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) riscv_fpr_set() argument
88 riscv_vr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) riscv_vr_get() argument
118 riscv_vr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) riscv_vr_set() argument
309 compat_riscv_gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) compat_riscv_gpr_get() argument
321 compat_riscv_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_riscv_gpr_set() argument
/kernel/linux/linux-5.10/drivers/media/platform/sti/c8sectpfe/
H A Dc8sectpfe-debugfs.c228 fei->regset = devm_kzalloc(fei->dev, sizeof(*fei->regset), GFP_KERNEL); in c8sectpfe_debugfs_init()
229 if (!fei->regset) in c8sectpfe_debugfs_init()
232 fei->regset->regs = fei_sys_regs; in c8sectpfe_debugfs_init()
233 fei->regset->nregs = ARRAY_SIZE(fei_sys_regs); in c8sectpfe_debugfs_init()
234 fei->regset->base = fei->io; in c8sectpfe_debugfs_init()
237 debugfs_create_regset32("registers", S_IRUGO, fei->root, fei->regset); in c8sectpfe_debugfs_init()
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/c8sectpfe/
H A Dc8sectpfe-debugfs.c228 fei->regset = devm_kzalloc(fei->dev, sizeof(*fei->regset), GFP_KERNEL); in c8sectpfe_debugfs_init()
229 if (!fei->regset) in c8sectpfe_debugfs_init()
232 fei->regset->regs = fei_sys_regs; in c8sectpfe_debugfs_init()
233 fei->regset->nregs = ARRAY_SIZE(fei_sys_regs); in c8sectpfe_debugfs_init()
234 fei->regset->base = fei->io; in c8sectpfe_debugfs_init()
237 debugfs_create_regset32("registers", S_IRUGO, fei->root, fei->regset); in c8sectpfe_debugfs_init()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dptrace.c26 #include <linux/regset.h>
207 /* regset get/set implementations */
212 const struct user_regset *regset, in gpr32_get()
223 const struct user_regset *regset, in gpr32_set()
277 const struct user_regset *regset, in gpr64_get()
288 const struct user_regset *regset, in gpr64_set()
435 const struct user_regset *regset, in fpr_get()
502 const struct user_regset *regset, in fpr_set()
545 const struct user_regset *regset, in fp_mode_get()
561 const struct user_regset *regset, in fp_mode_set()
211 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr32_get() argument
222 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr32_set() argument
276 gpr64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr64_get() argument
287 gpr64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr64_set() argument
434 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() argument
501 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpr_set() argument
544 fp_mode_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fp_mode_get() argument
560 fp_mode_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fp_mode_set() argument
595 copy_pad_fprs(struct task_struct *target, const struct user_regset *regset, struct membuf *to, unsigned int live_sz) copy_pad_fprs() argument
615 msa_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) msa_get() argument
645 msa_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) msa_set() argument
693 dsp32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) dsp32_get() argument
714 dsp32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) dsp32_set() argument
759 dsp64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) dsp64_get() argument
780 dsp64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) dsp64_set() argument
823 dsp_active(struct task_struct *target, const struct user_regset *regset) dsp_active() argument
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dptrace.c26 #include <linux/regset.h>
213 /* regset get/set implementations */
218 const struct user_regset *regset, in gpr32_get()
229 const struct user_regset *regset, in gpr32_set()
283 const struct user_regset *regset, in gpr64_get()
294 const struct user_regset *regset, in gpr64_set()
441 const struct user_regset *regset, in fpr_get()
508 const struct user_regset *regset, in fpr_set()
552 const struct user_regset *regset, in fp_mode_get()
568 const struct user_regset *regset, in fp_mode_set()
217 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr32_get() argument
228 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr32_set() argument
282 gpr64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr64_get() argument
293 gpr64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr64_set() argument
440 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() argument
507 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpr_set() argument
551 fp_mode_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fp_mode_get() argument
567 fp_mode_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fp_mode_set() argument
602 copy_pad_fprs(struct task_struct *target, const struct user_regset *regset, struct membuf *to, unsigned int live_sz) copy_pad_fprs() argument
622 msa_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) msa_get() argument
652 msa_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) msa_set() argument
700 dsp32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) dsp32_get() argument
721 dsp32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) dsp32_set() argument
766 dsp64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) dsp64_get() argument
787 dsp64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) dsp64_set() argument
830 dsp_active(struct task_struct *target, const struct user_regset *regset) dsp_active() argument
[all...]
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dptrace.c29 #include <linux/regset.h>
477 const struct user_regset *regset, in hw_break_get()
480 unsigned int note_type = regset->core_note_type; in hw_break_get()
509 const struct user_regset *regset, in hw_break_set()
513 unsigned int note_type = regset->core_note_type; in hw_break_set()
525 limit = regset->n * regset->size; in hw_break_set()
563 const struct user_regset *regset, in gpr_get()
570 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument
588 static int fpr_active(struct task_struct *target, const struct user_regset *regset) in fpr_active() argument
476 hw_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) hw_break_get() argument
508 hw_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) hw_break_set() argument
562 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() argument
598 __fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) __fpr_get() argument
611 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() argument
623 __fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned int start_pos) __fpr_set() argument
650 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpr_set() argument
669 tls_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tls_get() argument
678 tls_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tls_set() argument
693 system_call_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) system_call_get() argument
700 system_call_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) system_call_set() argument
744 sve_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) sve_get() argument
794 sve_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) sve_set() argument
893 pac_mask_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pac_mask_get() argument
948 pac_address_keys_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pac_address_keys_get() argument
963 pac_address_keys_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pac_address_keys_set() argument
997 pac_generic_keys_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pac_generic_keys_get() argument
1012 pac_generic_keys_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pac_generic_keys_set() argument
1037 tagged_addr_ctrl_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tagged_addr_ctrl_get() argument
1049 tagged_addr_ctrl_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tagged_addr_ctrl_set() argument
1223 compat_gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) compat_gpr_get() argument
1234 compat_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_gpr_set() argument
1296 compat_vfp_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) compat_vfp_get() argument
1321 compat_vfp_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_vfp_set() argument
1352 compat_tls_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) compat_tls_get() argument
1359 compat_tls_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_tls_set() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
H A Dptrace-novsx.c3 #include <linux/regset.h>
21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument
45 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/
H A Dptrace-novsx.c3 #include <linux/regset.h>
21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument
49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dsvgalib.c23 void svga_wcrt_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) in svga_wcrt_multi() argument
27 while (regset->regnum != VGA_REGSET_END_VAL) { in svga_wcrt_multi()
28 regval = vga_rcrt(regbase, regset->regnum); in svga_wcrt_multi()
29 bitnum = regset->lowbit; in svga_wcrt_multi()
30 while (bitnum <= regset->highbit) { in svga_wcrt_multi()
37 vga_wcrt(regbase, regset->regnum, regval); in svga_wcrt_multi()
38 regset ++; in svga_wcrt_multi()
43 void svga_wseq_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) in svga_wseq_multi() argument
47 while (regset->regnum != VGA_REGSET_END_VAL) { in svga_wseq_multi()
48 regval = vga_rseq(regbase, regset in svga_wseq_multi()
62 svga_regset_size(const struct vga_regset *regset) svga_regset_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dsvgalib.c24 void svga_wcrt_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) in svga_wcrt_multi() argument
28 while (regset->regnum != VGA_REGSET_END_VAL) { in svga_wcrt_multi()
29 regval = vga_rcrt(regbase, regset->regnum); in svga_wcrt_multi()
30 bitnum = regset->lowbit; in svga_wcrt_multi()
31 while (bitnum <= regset->highbit) { in svga_wcrt_multi()
38 vga_wcrt(regbase, regset->regnum, regval); in svga_wcrt_multi()
39 regset ++; in svga_wcrt_multi()
44 void svga_wseq_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) in svga_wseq_multi() argument
48 while (regset->regnum != VGA_REGSET_END_VAL) { in svga_wseq_multi()
49 regval = vga_rseq(regbase, regset in svga_wseq_multi()
63 svga_regset_size(const struct vga_regset *regset) svga_regset_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/clk/starfive/
H A Dclk-starfive-jh71x0.c210 struct debugfs_regset32 *regset; in jh71x0_clk_debug_init() local
212 regset = devm_kzalloc(priv->dev, sizeof(*regset), GFP_KERNEL); in jh71x0_clk_debug_init()
213 if (!regset) in jh71x0_clk_debug_init()
216 regset->regs = &jh71x0_clk_reg; in jh71x0_clk_debug_init()
217 regset->nregs = 1; in jh71x0_clk_debug_init()
218 regset->base = priv->base + 4 * clk->idx; in jh71x0_clk_debug_init()
220 debugfs_create_regset32("registers", 0400, dentry, regset); in jh71x0_clk_debug_init()
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dptrace_32.c25 #include <linux/regset.h>
136 const struct user_regset *regset, in genregs_get()
145 const struct user_regset *regset, in genregs_set()
169 const struct user_regset *regset, in fpregs_get()
183 const struct user_regset *regset, in fpregs_set()
204 const struct user_regset *regset) in fpregs_active()
206 return tsk_used_math(target) ? regset->n : 0; in fpregs_active()
212 const struct user_regset *regset, in dspregs_get()
222 const struct user_regset *regset, in dspregs_set()
240 const struct user_regset *regset) in dspregs_active()
135 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) genregs_get() argument
144 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument
168 fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpregs_get() argument
182 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs_set() argument
203 fpregs_active(struct task_struct *target, const struct user_regset *regset) fpregs_active() argument
211 dspregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) dspregs_get() argument
221 dspregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) dspregs_set() argument
239 dspregs_active(struct task_struct *target, const struct user_regset *regset) dspregs_active() argument
[all...]
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dptrace_32.c24 #include <linux/regset.h>
135 const struct user_regset *regset, in genregs_get()
144 const struct user_regset *regset, in genregs_set()
168 const struct user_regset *regset, in fpregs_get()
182 const struct user_regset *regset, in fpregs_set()
203 const struct user_regset *regset) in fpregs_active()
205 return tsk_used_math(target) ? regset->n : 0; in fpregs_active()
211 const struct user_regset *regset, in dspregs_get()
221 const struct user_regset *regset, in dspregs_set()
239 const struct user_regset *regset) in dspregs_active()
134 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) genregs_get() argument
143 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs_set() argument
167 fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpregs_get() argument
181 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs_set() argument
202 fpregs_active(struct task_struct *target, const struct user_regset *regset) fpregs_active() argument
210 dspregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) dspregs_get() argument
220 dspregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) dspregs_set() argument
238 dspregs_active(struct task_struct *target, const struct user_regset *regset) dspregs_active() argument
[all...]
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dptrace.c17 #include <linux/regset.h>
33 const struct user_regset *regset, in riscv_gpr_get()
41 const struct user_regset *regset, in riscv_gpr_set()
55 const struct user_regset *regset, in riscv_fpr_get()
69 const struct user_regset *regset, in riscv_fpr_set()
32 riscv_gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) riscv_gpr_get() argument
40 riscv_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) riscv_gpr_set() argument
54 riscv_fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) riscv_fpr_get() argument
68 riscv_fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) riscv_fpr_set() argument
/kernel/linux/linux-6.6/arch/openrisc/kernel/
H A Dptrace.c24 #include <linux/regset.h>
35 * Copy the thread state to a regset that can be interpreted by userspace.
39 * to userspace. As such, we need to make sure that the regset remains
49 const struct user_regset *regset, in genregs_get()
62 * Set the thread state from a regset passed in via ptrace
65 const struct user_regset *regset, in genregs_set()
97 const struct user_regset *regset, in fpregs_get()
106 const struct user_regset *regset, in fpregs_set()
48 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) genregs_get() argument
64 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user * ubuf) genregs_set() argument
96 fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpregs_get() argument
105 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs_set() argument
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/
H A Dhpre_main.c616 struct debugfs_regset32 *regset; in hpre_pf_comm_regs_debugfs_init() local
618 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL); in hpre_pf_comm_regs_debugfs_init()
619 if (!regset) in hpre_pf_comm_regs_debugfs_init()
622 regset->regs = hpre_com_dfx_regs; in hpre_pf_comm_regs_debugfs_init()
623 regset->nregs = ARRAY_SIZE(hpre_com_dfx_regs); in hpre_pf_comm_regs_debugfs_init()
624 regset->base = qm->io_base; in hpre_pf_comm_regs_debugfs_init()
626 debugfs_create_regset32("regs", 0444, qm->debug.debug_root, regset); in hpre_pf_comm_regs_debugfs_init()
634 struct debugfs_regset32 *regset; in hpre_cluster_debugfs_init() local
644 regset in hpre_cluster_debugfs_init()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_print.c323 * @regset: the list of registers to print.
330 void drm_print_regset32(struct drm_printer *p, struct debugfs_regset32 *regset) in drm_print_regset32() argument
335 for (i = 0; i < regset->nregs; i++) in drm_print_regset32()
336 namelen = max(namelen, (int)strlen(regset->regs[i].name)); in drm_print_regset32()
338 for (i = 0; i < regset->nregs; i++) { in drm_print_regset32()
340 namelen, regset->regs[i].name, in drm_print_regset32()
341 readl(regset->base + regset->regs[i].offset)); in drm_print_regset32()
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-xlp.c70 u32 pos, regset; in xlp_gpio_get_reg() local
73 regset = (gpio / XLP_GPIO_REGSZ) * 4; in xlp_gpio_get_reg()
74 return !!(readl(addr + regset) & BIT(pos)); in xlp_gpio_get_reg()
79 u32 value, pos, regset; in xlp_gpio_set_reg() local
82 regset = (gpio / XLP_GPIO_REGSZ) * 4; in xlp_gpio_set_reg()
83 value = readl(addr + regset); in xlp_gpio_set_reg()
90 writel(value, addr + regset); in xlp_gpio_set_reg()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_print.c347 * @regset: the list of registers to print.
354 void drm_print_regset32(struct drm_printer *p, struct debugfs_regset32 *regset) in drm_print_regset32() argument
359 for (i = 0; i < regset->nregs; i++) in drm_print_regset32()
360 namelen = max(namelen, (int)strlen(regset->regs[i].name)); in drm_print_regset32()
362 for (i = 0; i < regset->nregs; i++) { in drm_print_regset32()
364 namelen, regset->regs[i].name, in drm_print_regset32()
365 readl(regset->base + regset->regs[i].offset)); in drm_print_regset32()
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dptrace_32.c22 #include <linux/regset.h>
85 const struct user_regset *regset, in genregs32_get()
108 const struct user_regset *regset, in genregs32_set()
167 const struct user_regset *regset, in fpregs32_get()
183 const struct user_regset *regset, in fpregs32_set()
245 const struct user_regset *regset, in getregs_get()
261 const struct user_regset *regset, in setregs_set()
288 const struct user_regset *regset, in getfpregs_get()
301 const struct user_regset *regset, in setfpregs_set()
84 genregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) genregs32_get() argument
107 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) genregs32_set() argument
166 fpregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpregs32_get() argument
182 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs32_set() argument
244 getregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) getregs_get() argument
260 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) setregs_set() argument
287 getfpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) getfpregs_get() argument
300 setfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) setfpregs_set() argument

Completed in 16 milliseconds

12345678