Searched refs:regset (Results 51 - 75 of 101) sorted by relevance

12345

/linux-master/kernel/
H A Dptrace.c29 #include <linux/regset.h>
876 const struct user_regset *regset; local
880 regset = view->regsets + n;
881 if (regset->core_note_type == type)
882 return regset;
892 const struct user_regset *regset = find_regset(view, type); local
895 if (!regset || (kiov->iov_len % regset->size) != 0)
898 regset_no = regset - view->regsets;
900 (__kernel_size_t) (regset
[all...]
/linux-master/drivers/usb/mtu3/
H A Dmtu3_debugfs.c128 struct debugfs_regset32 *regset; local
136 regset = &mregs->regset;
137 regset->regs = regs;
138 regset->nregs = nregs;
139 regset->base = base;
141 debugfs_create_regset32(mregs->name, 0444, parent, regset);
/linux-master/arch/parisc/kernel/
H A Dptrace.c20 #include <linux/regset.h>
38 * These are our native regset flavors.
399 * regset functions.
403 const struct user_regset *regset,
412 const struct user_regset *regset,
520 const struct user_regset *regset,
532 const struct user_regset *regset,
583 const struct user_regset *regset,
596 const struct user_regset *regset,
628 * These are the regset flavor
402 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
411 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
519 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
531 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
582 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
595 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
[all...]
/linux-master/arch/arm/kernel/
H A Dptrace.c23 #include <linux/regset.h>
542 /* regset get/set implementations */
545 const struct user_regset *regset,
552 const struct user_regset *regset,
573 const struct user_regset *regset,
581 const struct user_regset *regset,
612 const struct user_regset *regset,
632 const struct user_regset *regset,
544 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
551 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
572 fpa_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
580 fpa_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
611 vfp_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
631 vfp_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/crypto/hisilicon/hpre/
H A Dhpre_main.c983 struct debugfs_regset32 *regset; local
985 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL);
986 if (!regset)
989 regset->regs = hpre_com_dfx_regs;
990 regset->nregs = ARRAY_SIZE(hpre_com_dfx_regs);
991 regset->base = qm->io_base;
992 regset->dev = dev;
995 regset, &hpre_com_regs_fops);
1004 struct debugfs_regset32 *regset; local
[all...]
/linux-master/fs/debugfs/
H A Dfile.c1288 struct debugfs_regset32 *regset = s->private; local
1290 if (regset->dev)
1291 pm_runtime_get_sync(regset->dev);
1293 debugfs_print_regs32(s, regset->regs, regset->nregs, regset->base, "");
1295 if (regset->dev)
1296 pm_runtime_put(regset->dev);
1310 * @regset: a pointer to a struct debugfs_regset32, which contains a pointer
1320 struct debugfs_regset32 *regset)
1318 debugfs_create_regset32(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset) argument
[all...]
/linux-master/drivers/usb/host/
H A Dxhci-debugfs.h81 struct debugfs_regset32 regset; member in struct:xhci_regset
/linux-master/drivers/usb/dwc3/
H A Ddebugfs.c1012 dwc->regset = kzalloc(sizeof(*dwc->regset), GFP_KERNEL);
1013 if (!dwc->regset)
1018 dwc->regset->regs = dwc3_regs;
1019 dwc->regset->nregs = ARRAY_SIZE(dwc3_regs);
1020 dwc->regset->base = dwc->regs - DWC3_GLOBALS_REGS_START;
1021 dwc->regset->dev = dwc->dev;
1025 debugfs_create_regset32("regdump", 0444, root, dwc->regset);
1044 kfree(dwc->regset);
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_v3d.c413 vc4_debugfs_add_regset32(drm, "v3d_regs", &v3d->regset);
437 v3d->regset.base = v3d->regs;
438 v3d->regset.regs = v3d_regs;
439 v3d->regset.nregs = ARRAY_SIZE(v3d_regs);
H A Dvc4_vec.c207 struct debugfs_regset32 regset; member in struct:vc4_vec
716 vc4_debugfs_add_regset32(drm, "vec_regs", &vec->regset);
772 vec->regset.base = vec->regs;
773 vec->regset.regs = vec_regs;
774 vec->regset.nregs = ARRAY_SIZE(vec_regs);
H A Dvc4_drv.h309 struct debugfs_regset32 regset; member in struct:vc4_v3d
332 struct debugfs_regset32 regset; member in struct:vc4_hvs
543 struct debugfs_regset32 regset; member in struct:vc4_crtc
944 struct debugfs_regset32 *regset);
949 struct debugfs_regset32 *regset)
947 vc4_debugfs_add_regset32(struct drm_device *drm, const char *filename, struct debugfs_regset32 *regset) argument
H A Dvc4_txp.c518 vc4_crtc->regset.base = txp->regs;
519 vc4_crtc->regset.regs = txp_regs;
520 vc4_crtc->regset.nregs = ARRAY_SIZE(txp_regs);
H A Dvc4_hvs.c79 drm_print_regset32(&p, &hvs->regset);
779 vc4_debugfs_add_regset32(drm, "hvs_regs", &hvs->regset);
842 hvs->regset.base = hvs->regs;
843 hvs->regset.regs = hvs_regs;
844 hvs->regset.nregs = ARRAY_SIZE(hvs_regs);
/linux-master/arch/x86/kernel/
H A Dptrace.c32 #include <asm/fpu/regset.h>
433 const struct user_regset *regset,
444 const struct user_regset *regset,
694 const struct user_regset *regset)
698 return iobm ? DIV_ROUND_UP(iobm->max, regset->size) : 0;
702 const struct user_regset *regset,
1023 const struct user_regset *regset,
1037 const struct user_regset *regset,
1377 * This is used by the core dump code to decide which regset to dump. The
432 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
443 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
693 ioperm_active(struct task_struct *target, const struct user_regset *regset) argument
701 ioperm_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1022 genregs32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1036 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
/linux-master/drivers/clk/davinci/
H A Dpll.c976 struct debugfs_regset32 *regset; local
978 regset = kzalloc(sizeof(*regset), GFP_KERNEL);
979 if (!regset)
982 regset->regs = davinci_pll_regs;
983 regset->nregs = ARRAY_SIZE(davinci_pll_regs);
984 regset->base = pll->base;
986 debugfs_create_regset32("registers", 0400, dentry, regset);
/linux-master/arch/m68k/kernel/
H A Dptrace.c22 #include <linux/regset.h>
303 const struct user_regset *regset,
302 m68k_regset_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
/linux-master/drivers/thermal/mediatek/
H A Dlvts_thermal.c207 struct debugfs_regset32 *regset; local
226 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL);
227 if (!regset)
230 regset->base = lvts_ctrl->base;
231 regset->regs = lvts_regs;
232 regset->nregs = ARRAY_SIZE(lvts_regs);
234 debugfs_create_regset32("registers", 0400, dentry, regset);
/linux-master/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c47 int regset; member in struct:vec_type
56 .regset = NT_ARM_SVE,
63 .regset = NT_ARM_SSVE,
133 if (ptrace(PTRACE_GETREGSET, pid, type->regset, &iov))
156 return ptrace(PTRACE_SETREGSET, pid, type->regset, &iov);
270 /* Access the FPSIMD registers via the SVE regset */
308 /* Verify via the FPSIMD regset */
423 /* Validate attempting to set SVE data and read it via the FPSIMD regset */
506 /* Validate attempting to set FPSIMD data and read it via the SVE regset */
681 /* FPSIMD via SVE regset */
[all...]
/linux-master/arch/xtensa/kernel/
H A Dptrace.c22 #include <linux/regset.h>
40 const struct user_regset *regset,
68 const struct user_regset *regset,
120 const struct user_regset *regset,
152 const struct user_regset *regset,
39 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
67 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
119 tie_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
151 tie_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/usb/dwc2/
H A Ddebugfs.c788 hsotg->regset = devm_kzalloc(hsotg->dev, sizeof(*hsotg->regset),
790 if (!hsotg->regset) {
795 hsotg->regset->regs = dwc2_regs;
796 hsotg->regset->nregs = ARRAY_SIZE(dwc2_regs);
797 hsotg->regset->base = hsotg->regs;
799 debugfs_create_regset32("regdump", 0444, root, hsotg->regset);
/linux-master/drivers/crypto/hisilicon/zip/
H A Dzip_main.c814 struct debugfs_regset32 *regset; local
829 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL);
830 if (!regset)
833 regset->regs = hzip_dfx_regs;
834 regset->nregs = ARRAY_SIZE(hzip_dfx_regs);
835 regset->base = qm->io_base + core_offsets[i];
836 regset->dev = dev;
839 debugfs_create_file("regs", 0444, tmp_d, regset,
/linux-master/drivers/crypto/hisilicon/sec2/
H A Dsec_main.c847 struct debugfs_regset32 *regset; local
853 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL);
854 if (!regset)
857 regset->regs = sec_dfx_regs;
858 regset->nregs = ARRAY_SIZE(sec_dfx_regs);
859 regset->base = qm->io_base;
860 regset->dev = dev;
863 debugfs_create_file("regs", 0444, tmp_d, regset, &sec_regs_fops);
/linux-master/fs/
H A Dbinfmt_elf.c1661 #include <linux/regset.h>
1683 * When a regset has a writeback hook, we call it on each thread before
1688 const struct user_regset *regset)
1690 if (regset->writeback)
1691 regset->writeback(task, regset, 1);
1709 * NT_PRSTATUS is the one special case, because the regset data
1711 * than being the whole note contents. We fill the regset in here.
1712 * We assume that regset 0 is NT_PRSTATUS.
1725 * Each other regset migh
1687 do_thread_regset_writeback(struct task_struct *task, const struct user_regset *regset) argument
1730 const struct user_regset *regset = &view->regsets[view_iter]; local
[all...]
/linux-master/arch/x86/math-emu/
H A Dfpu_entry.c29 #include <linux/regset.h>
35 #include <asm/fpu/regset.h>
640 const struct user_regset *regset,
692 const struct user_regset *regset,
639 fpregs_soft_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument
691 fpregs_soft_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_vout.c463 voutdev->regset.base = video->membase;
464 voutdev->regset.regs = voutdev->regs;
465 voutdev->regset.nregs = ARRAY_SIZE(voutdev->regs);
468 &voutdev->regset);

Completed in 299 milliseconds

12345