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

12345

/linux-master/drivers/clk/starfive/
H A Dclk-starfive-jh71x0.c210 struct debugfs_regset32 *regset; local
212 regset = devm_kzalloc(priv->dev, sizeof(*regset), GFP_KERNEL);
213 if (!regset)
216 regset->regs = &jh71x0_clk_reg;
217 regset->nregs = 1;
218 regset->base = priv->base + 4 * clk->idx;
220 debugfs_create_regset32("registers", 0400, dentry, regset);
/linux-master/drivers/gpio/
H A Dgpio-xlp.c70 u32 pos, regset; local
73 regset = (gpio / XLP_GPIO_REGSZ) * 4;
74 return !!(readl(addr + regset) & BIT(pos));
79 u32 value, pos, regset; local
82 regset = (gpio / XLP_GPIO_REGSZ) * 4;
83 value = readl(addr + regset);
90 writel(value, addr + regset);
/linux-master/drivers/gpu/drm/
H A Ddrm_print.c366 * @regset: the list of registers to print.
373 void drm_print_regset32(struct drm_printer *p, struct debugfs_regset32 *regset) argument
378 for (i = 0; i < regset->nregs; i++)
379 namelen = max(namelen, (int)strlen(regset->regs[i].name));
381 for (i = 0; i < regset->nregs; i++) {
383 namelen, regset->regs[i].name,
384 readl(regset->base + regset->regs[i].offset));
/linux-master/arch/mips/kernel/
H A Dptrace.c26 #include <linux/regset.h>
213 /* regset get/set implementations */
218 const struct user_regset *regset,
229 const struct user_regset *regset,
283 const struct user_regset *regset,
294 const struct user_regset *regset,
441 const struct user_regset *regset,
508 const struct user_regset *regset,
552 const struct user_regset *regset,
568 const struct user_regset *regset,
217 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
282 gpr64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
440 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
551 fp_mode_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
602 copy_pad_fprs(struct task_struct *target, const struct user_regset *regset, struct membuf *to, unsigned int live_sz) argument
622 msa_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
700 dsp32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
766 dsp64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
830 dsp_active(struct task_struct *target, const struct user_regset *regset) argument
[all...]
/linux-master/arch/sparc/kernel/
H A Dptrace_32.c22 #include <linux/regset.h>
84 const struct user_regset *regset,
107 const struct user_regset *regset,
167 const struct user_regset *regset,
183 const struct user_regset *regset,
245 const struct user_regset *regset,
261 const struct user_regset *regset,
288 const struct user_regset *regset,
301 const struct user_regset *regset,
83 genregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
106 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
166 fpregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
244 getregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
287 getfpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) 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) argument
H A Dptrace_64.c27 #include <linux/regset.h>
247 const struct user_regset *regset,
268 const struct user_regset *regset,
342 const struct user_regset *regset,
372 const struct user_regset *regset,
443 const struct user_regset *regset,
458 const struct user_regset *regset,
533 const struct user_regset *regset,
559 const struct user_regset *regset,
677 const struct user_regset *regset,
246 genregs64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
267 genregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
341 fpregs64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
371 fpregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
442 getregs64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
457 setregs64_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
532 genregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
558 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
676 fpregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
698 fpregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
776 getregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
795 setregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
829 getfpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
846 setfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dsvgalib.c24 void svga_wcrt_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) argument
28 while (regset->regnum != VGA_REGSET_END_VAL) {
29 regval = vga_rcrt(regbase, regset->regnum);
30 bitnum = regset->lowbit;
31 while (bitnum <= regset->highbit) {
38 vga_wcrt(regbase, regset->regnum, regval);
39 regset ++;
44 void svga_wseq_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value) argument
48 while (regset->regnum != VGA_REGSET_END_VAL) {
49 regval = vga_rseq(regbase, regset
63 svga_regset_size(const struct vga_regset *regset) argument
[all...]
/linux-master/arch/nios2/kernel/
H A Dptrace.c15 #include <linux/regset.h>
22 const struct user_regset *regset,
44 * Set the thread state from a regset passed in via ptrace
47 const struct user_regset *regset,
21 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
46 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
/linux-master/arch/hexagon/kernel/
H A Dptrace.c15 #include <linux/regset.h>
37 const struct user_regset *regset,
73 const struct user_regset *regset,
36 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
72 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-fpu.c3 #include <linux/regset.h>
/linux-master/arch/x86/kernel/
H A Dtls.c6 #include <linux/regset.h>
244 const struct user_regset *regset)
253 int regset_tls_get(struct task_struct *target, const struct user_regset *regset, argument
267 int regset_tls_set(struct task_struct *target, const struct user_regset *regset, argument
243 regset_tls_active(struct task_struct *target, const struct user_regset *regset) argument
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_vin.h61 struct debugfs_regset32 regset; member in struct:mgb4_vin_dev
H A Dmgb4_vout.h57 struct debugfs_regset32 regset; member in struct:mgb4_vout_dev
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_dpi.c97 struct debugfs_regset32 regset; member in struct:vc4_dpi
268 vc4_debugfs_add_regset32(drm, "dpi_regs", &dpi->regset);
328 dpi->regset.base = dpi->regs;
329 dpi->regset.regs = dpi_regs;
330 dpi->regset.nregs = ARRAY_SIZE(dpi_regs);
/linux-master/arch/s390/kernel/
H A Dptrace.c23 #include <linux/regset.h>
814 const struct user_regset *regset,
827 const struct user_regset *regset,
863 const struct user_regset *regset,
878 const struct user_regset *regset, unsigned int pos,
909 const struct user_regset *regset,
916 const struct user_regset *regset,
924 const struct user_regset *regset,
937 const struct user_regset *regset,
945 const struct user_regset *regset,
813 s390_regs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
826 s390_regs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
862 s390_fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
877 s390_fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
908 s390_last_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
915 s390_last_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
923 s390_tdb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
936 s390_tdb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
944 s390_vxrs_low_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
960 s390_vxrs_low_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
984 s390_vxrs_high_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
996 s390_vxrs_high_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
1013 s390_system_call_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1020 s390_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) argument
1030 s390_gs_cb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1045 s390_gs_cb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
1084 s390_gs_bc_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1097 s390_gs_bc_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
1142 s390_runtime_instr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1156 s390_runtime_instr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
1298 s390_compat_regs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1312 s390_compat_regs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
1348 s390_compat_regs_high_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1361 s390_compat_regs_high_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
1394 s390_compat_last_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1403 s390_compat_last_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
[all...]
/linux-master/drivers/crypto/hisilicon/
H A Ddebugfs.c567 * @regset: accelerator registers information.
571 void hisi_qm_regs_dump(struct seq_file *s, struct debugfs_regset32 *regset) argument
573 struct pci_dev *pdev = to_pci_dev(regset->dev);
575 const struct debugfs_reg32 *regs = regset->regs;
576 int regs_len = regset->nregs;
585 val = readl(regset->base + regs[i].offset);
596 struct debugfs_regset32 regset; local
599 regset.regs = qm_dfx_regs;
600 regset.nregs = ARRAY_SIZE(qm_dfx_regs);
602 regset
[all...]
/linux-master/include/linux/
H A Dsvga.h100 void svga_wcrt_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value);
101 void svga_wseq_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value);
/linux-master/drivers/watchdog/
H A Ddw_wdt.c521 struct debugfs_regset32 *regset; local
523 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL);
524 if (!regset)
527 regset->regs = dw_wdt_dbgfs_regs;
528 regset->nregs = ARRAY_SIZE(dw_wdt_dbgfs_regs);
529 regset->base = dw_wdt->regs;
533 debugfs_create_regset32("registers", 0444, dw_wdt->dbgfs_dir, regset);
/linux-master/arch/mips/include/asm/
H A Dtraps.h22 extern void (*board_bind_eic_interrupt)(int irq, int regset);
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_kms.c200 struct dpu_debugfs_regset32 *regset = s->private; local
201 struct dpu_kms *dpu_kms = regset->dpu_kms;
208 base = dpu_kms->mmio + regset->offset;
211 if (regset->offset & 0xF) {
212 seq_printf(s, "[%x]", regset->offset & ~0xF);
213 for (i = 0; i < (regset->offset & 0xF); i += 4)
220 for (i = 0; i < regset->blk_len; i += 4) {
221 addr = regset->offset + i;
237 struct dpu_debugfs_regset32 *regset; local
242 regset
[all...]
/linux-master/arch/csky/kernel/
H A Dptrace.c10 #include <linux/regset.h>
78 const struct user_regset *regset,
90 const struct user_regset *regset,
114 const struct user_regset *regset,
138 const struct user_regset *regset,
77 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
89 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
113 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
137 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
/linux-master/tools/testing/selftests/arm64/abi/
H A Dsyscall-abi.c382 } regset[] = { variable in typeref:struct:__anon529
399 for (i = 0; i < ARRAY_SIZE(regset); i++)
400 regset[i].setup(cfg, sve_vl, sme_vl, svcr);
404 for (i = 0; i < ARRAY_SIZE(regset); i++)
405 errors += regset[i].check(cfg, sve_vl, sme_vl, svcr);
/linux-master/drivers/spi/
H A Dspi-hisi-kunpeng.c139 struct debugfs_regset32 regset; member in struct:hisi_spi
175 hs->regset.regs = hisi_spi_regs;
176 hs->regset.nregs = ARRAY_SIZE(hisi_spi_regs);
177 hs->regset.base = hs->regs;
178 debugfs_create_regset32("registers", 0400, hs->debugfs, &hs->regset);
/linux-master/arch/arc/kernel/
H A Dptrace.c8 #include <linux/regset.h>
103 const struct user_regset *regset,
162 const struct user_regset *regset,
242 const struct user_regset *regset,
260 const struct user_regset *regset,
102 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
161 genregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
241 arcv2regs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
259 arcv2regs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
/linux-master/drivers/dma/
H A Dhisi_dma.c915 struct debugfs_regset32 *regset; local
924 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL);
925 if (!regset)
929 regset->regs = hisi_dma_hip08_comm_regs;
930 regset->nregs = ARRAY_SIZE(hisi_dma_hip08_comm_regs);
932 regset->regs = hisi_dma_hip09_comm_regs;
933 regset->nregs = ARRAY_SIZE(hisi_dma_hip09_comm_regs);
935 regset->base = hdma_dev->base;
936 regset
[all...]

Completed in 307 milliseconds

12345