/kernel/linux/linux-5.10/arch/nios2/kernel/ |
H A D | ptrace.c | 15 #include <linux/regset.h> 23 const struct user_regset *regset, in genregs_get() 45 * Set the thread state from a regset passed in via ptrace 48 const struct user_regset *regset, in genregs_set() 22 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) genregs_get() argument 47 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
|
/kernel/linux/linux-6.6/arch/hexagon/kernel/ |
H A D | ptrace.c | 15 #include <linux/regset.h> 37 const struct user_regset *regset, in genregs_get() 73 const struct user_regset *regset, in genregs_set() 36 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) genregs_get() 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) genregs_set() argument
|
/kernel/linux/linux-6.6/arch/nios2/kernel/ |
H A D | ptrace.c | 15 #include <linux/regset.h> 22 const struct user_regset *regset, in genregs_get() 44 * Set the thread state from a regset passed in via ptrace 47 const struct user_regset *regset, in genregs_set() 21 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) genregs_get() 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) genregs_set() argument
|
/kernel/linux/linux-5.10/fs/debugfs/ |
H A D | file.c | 1078 struct debugfs_regset32 *regset = s->private; in debugfs_show_regset32() local 1080 if (regset->dev) in debugfs_show_regset32() 1081 pm_runtime_get_sync(regset->dev); in debugfs_show_regset32() 1083 debugfs_print_regs32(s, regset->regs, regset->nregs, regset->base, ""); in debugfs_show_regset32() 1085 if (regset->dev) in debugfs_show_regset32() 1086 pm_runtime_put(regset->dev); in debugfs_show_regset32() 1110 * @regset: a pointer to a struct debugfs_regset32, which contains a pointer 1120 struct debugfs_regset32 *regset) in debugfs_create_regset32() 1118 debugfs_create_regset32(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset) debugfs_create_regset32() argument [all...] |
/kernel/linux/linux-6.6/fs/debugfs/ |
H A D | file.c | 1186 struct debugfs_regset32 *regset = s->private; in debugfs_regset32_show() local 1188 if (regset->dev) in debugfs_regset32_show() 1189 pm_runtime_get_sync(regset->dev); in debugfs_regset32_show() 1191 debugfs_print_regs32(s, regset->regs, regset->nregs, regset->base, ""); in debugfs_regset32_show() 1193 if (regset->dev) in debugfs_regset32_show() 1194 pm_runtime_put(regset->dev); in debugfs_regset32_show() 1208 * @regset: a pointer to a struct debugfs_regset32, which contains a pointer 1218 struct debugfs_regset32 *regset) in debugfs_create_regset32() 1216 debugfs_create_regset32(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset) debugfs_create_regset32() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/ |
H A D | debugfs.c | 552 * @regset: accelerator registers information. 556 void hisi_qm_regs_dump(struct seq_file *s, struct debugfs_regset32 *regset) in hisi_qm_regs_dump() argument 558 struct pci_dev *pdev = to_pci_dev(regset->dev); in hisi_qm_regs_dump() 560 const struct debugfs_reg32 *regs = regset->regs; in hisi_qm_regs_dump() 561 int regs_len = regset->nregs; in hisi_qm_regs_dump() 570 val = readl(regset->base + regs[i].offset); in hisi_qm_regs_dump() 581 struct debugfs_regset32 regset; in qm_regs_show() local 584 regset.regs = qm_dfx_regs; in qm_regs_show() 585 regset.nregs = ARRAY_SIZE(qm_dfx_regs); in qm_regs_show() 587 regset in qm_regs_show() [all...] |
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
H A D | ptrace.c | 12 #include <linux/regset.h> 56 /* regset get/set implementations */ 59 const struct user_regset *regset, in gpr_get() 58 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() argument
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | ptrace.c | 23 #include <linux/regset.h> 568 /* regset get/set implementations */ 571 const struct user_regset *regset, in gpr_get() 578 const struct user_regset *regset, in gpr_set() 599 const struct user_regset *regset, in fpa_get() 607 const struct user_regset *regset, in fpa_set() 640 const struct user_regset *regset, in vfp_get() 660 const struct user_regset *regset, in vfp_set() 570 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() argument 577 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 598 fpa_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpa_get() argument 606 fpa_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpa_set() argument 639 vfp_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) vfp_get() argument 659 vfp_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) vfp_set() argument
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
H A D | ptrace.c | 21 #include <linux/regset.h> 39 * These are our native regset flavors. 400 * regset functions. 404 const struct user_regset *regset, in fpr_get() 413 const struct user_regset *regset, in fpr_set() 520 const struct user_regset *regset, in gpr_get() 532 const struct user_regset *regset, in gpr_set() 584 const struct user_regset *regset, in gpr32_get() 597 const struct user_regset *regset, in gpr32_set() 628 * These are the regset flavor 403 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() argument 412 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 519 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() 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) gpr_set() argument 583 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr32_get() argument 596 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 [all...] |
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | ptrace.c | 23 #include <linux/regset.h> 542 /* regset get/set implementations */ 545 const struct user_regset *regset, in gpr_get() 552 const struct user_regset *regset, in gpr_set() 573 const struct user_regset *regset, in fpa_get() 581 const struct user_regset *regset, in fpa_set() 612 const struct user_regset *regset, in vfp_get() 632 const struct user_regset *regset, in vfp_set() 544 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() 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) gpr_set() argument 572 fpa_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpa_get() 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) fpa_set() argument 611 vfp_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) vfp_get() 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) vfp_set() argument
|
/kernel/linux/linux-6.6/arch/parisc/kernel/ |
H A D | ptrace.c | 20 #include <linux/regset.h> 38 * These are our native regset flavors. 399 * regset functions. 403 const struct user_regset *regset, in fpr_get() 412 const struct user_regset *regset, in fpr_set() 520 const struct user_regset *regset, in gpr_get() 532 const struct user_regset *regset, in gpr_set() 583 const struct user_regset *regset, in gpr32_get() 596 const struct user_regset *regset, in gpr32_set() 628 * These are the regset flavor 402 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() 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) fpr_set() argument 519 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() 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) gpr_set() argument 582 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr32_get() 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) gpr32_set() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/mtu3/ |
H A D | mtu3_debugfs.c | 128 struct debugfs_regset32 *regset; in mtu3_debugfs_regset() local 136 regset = &mregs->regset; in mtu3_debugfs_regset() 137 regset->regs = regs; in mtu3_debugfs_regset() 138 regset->nregs = nregs; in mtu3_debugfs_regset() 139 regset->base = base; in mtu3_debugfs_regset() 141 debugfs_create_regset32(mregs->name, 0444, parent, regset); in mtu3_debugfs_regset()
|
/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
H A D | debugfs.c | 1013 dwc->regset = kzalloc(sizeof(*dwc->regset), GFP_KERNEL); in dwc3_debugfs_init() 1014 if (!dwc->regset) in dwc3_debugfs_init() 1019 dwc->regset->regs = dwc3_regs; in dwc3_debugfs_init() 1020 dwc->regset->nregs = ARRAY_SIZE(dwc3_regs); in dwc3_debugfs_init() 1021 dwc->regset->base = dwc->regs - DWC3_GLOBALS_REGS_START; in dwc3_debugfs_init() 1022 dwc->regset->dev = dwc->dev; in dwc3_debugfs_init() 1027 debugfs_create_regset32("regdump", 0444, root, dwc->regset); in dwc3_debugfs_init() 1046 kfree(dwc->regset); in dwc3_debugfs_exit()
|
/kernel/linux/linux-6.6/drivers/usb/dwc3/ |
H A D | debugfs.c | 1012 dwc->regset = kzalloc(sizeof(*dwc->regset), GFP_KERNEL); in dwc3_debugfs_init() 1013 if (!dwc->regset) in dwc3_debugfs_init() 1018 dwc->regset->regs = dwc3_regs; in dwc3_debugfs_init() 1019 dwc->regset->nregs = ARRAY_SIZE(dwc3_regs); in dwc3_debugfs_init() 1020 dwc->regset->base = dwc->regs - DWC3_GLOBALS_REGS_START; in dwc3_debugfs_init() 1021 dwc->regset->dev = dwc->dev; in dwc3_debugfs_init() 1025 debugfs_create_regset32("regdump", 0444, root, dwc->regset); in dwc3_debugfs_init() 1044 kfree(dwc->regset); in dwc3_debugfs_exit()
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_main.c | 982 struct debugfs_regset32 *regset; in hpre_pf_comm_regs_debugfs_init() local 984 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL); in hpre_pf_comm_regs_debugfs_init() 985 if (!regset) in hpre_pf_comm_regs_debugfs_init() 988 regset->regs = hpre_com_dfx_regs; in hpre_pf_comm_regs_debugfs_init() 989 regset->nregs = ARRAY_SIZE(hpre_com_dfx_regs); in hpre_pf_comm_regs_debugfs_init() 990 regset->base = qm->io_base; in hpre_pf_comm_regs_debugfs_init() 991 regset->dev = dev; in hpre_pf_comm_regs_debugfs_init() 994 regset, &hpre_com_regs_fops); in hpre_pf_comm_regs_debugfs_init() 1003 struct debugfs_regset32 *regset; in hpre_cluster_debugfs_init() local [all...] |
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
H A D | ptrace.c | 22 #include <linux/regset.h> 41 const struct user_regset *regset, in gpr_get() 69 const struct user_regset *regset, in gpr_set() 121 const struct user_regset *regset, in tie_get() 153 const struct user_regset *regset, in tie_set() 40 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() argument 68 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 120 tie_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tie_get() argument 152 tie_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tie_set() argument
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
H A D | ptrace.c | 10 #include <linux/regset.h> 78 const struct user_regset *regset, in gpr_get() 90 const struct user_regset *regset, in gpr_set() 114 const struct user_regset *regset, in fpr_get() 138 const struct user_regset *regset, in fpr_set() 77 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() 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) gpr_set() argument 113 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() 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) fpr_set() argument
|
/kernel/linux/linux-6.6/arch/csky/kernel/ |
H A D | ptrace.c | 10 #include <linux/regset.h> 78 const struct user_regset *regset, in gpr_get() 90 const struct user_regset *regset, in gpr_set() 114 const struct user_regset *regset, in fpr_get() 138 const struct user_regset *regset, in fpr_set() 77 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() 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) gpr_set() argument 113 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() 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) fpr_set() argument
|
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H A D | ptrace.c | 8 #include <linux/regset.h> 103 const struct user_regset *regset, in genregs_get() 162 const struct user_regset *regset, in genregs_set() 242 const struct user_regset *regset, in arcv2regs_get() 260 const struct user_regset *regset, in arcv2regs_set() 102 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) genregs_get() 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) genregs_set() argument 241 arcv2regs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) arcv2regs_get() 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) arcv2regs_set() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_vec.c | 170 struct debugfs_regset32 regset; member 552 vec->regset.base = vec->regs; in vc4_vec_bind() 553 vec->regset.regs = vec_regs; in vc4_vec_bind() 554 vec->regset.nregs = ARRAY_SIZE(vec_regs); in vc4_vec_bind() 579 vc4_debugfs_add_regset32(drm, "vec_regs", &vec->regset); in vc4_vec_bind()
|
H A D | vc4_txp.c | 156 struct debugfs_regset32 regset; member 493 txp->regset.base = txp->regs; in vc4_txp_bind() 494 txp->regset.regs = txp_regs; in vc4_txp_bind() 495 txp->regset.nregs = ARRAY_SIZE(txp_regs); in vc4_txp_bind() 522 vc4_debugfs_add_regset32(drm, "txp_regs", &txp->regset); in vc4_txp_bind()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-hisi-kunpeng.c | 139 struct debugfs_regset32 regset; member 175 hs->regset.regs = hisi_spi_regs; in hisi_spi_debugfs_init() 176 hs->regset.nregs = ARRAY_SIZE(hisi_spi_regs); in hisi_spi_debugfs_init() 177 hs->regset.base = hs->regs; in hisi_spi_debugfs_init() 178 debugfs_create_regset32("registers", 0400, hs->debugfs, &hs->regset); in hisi_spi_debugfs_init()
|
/kernel/linux/linux-6.6/arch/xtensa/kernel/ |
H A D | ptrace.c | 22 #include <linux/regset.h> 40 const struct user_regset *regset, in gpr_get() 68 const struct user_regset *regset, in gpr_set() 120 const struct user_regset *regset, in tie_get() 152 const struct user_regset *regset, in tie_set() 39 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() 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) gpr_set() argument 119 tie_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tie_get() 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) tie_set() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/abi/ |
H A D | syscall-abi.c | 382 } regset[] = { variable 399 for (i = 0; i < ARRAY_SIZE(regset); i++) in do_test() 400 regset[i].setup(cfg, sve_vl, sme_vl, svcr); in do_test() 404 for (i = 0; i < ARRAY_SIZE(regset); i++) in do_test() 405 errors += regset[i].check(cfg, sve_vl, sme_vl, svcr); in do_test()
|
/kernel/linux/linux-5.10/drivers/clk/davinci/ |
H A D | pll.c | 996 struct debugfs_regset32 *regset; in davinci_pll_debug_init() local 998 regset = kzalloc(sizeof(*regset), GFP_KERNEL); in davinci_pll_debug_init() 999 if (!regset) in davinci_pll_debug_init() 1002 regset->regs = davinci_pll_regs; in davinci_pll_debug_init() 1003 regset->nregs = ARRAY_SIZE(davinci_pll_regs); in davinci_pll_debug_init() 1004 regset->base = pll->base; in davinci_pll_debug_init() 1006 debugfs_create_regset32("registers", 0400, dentry, regset); in davinci_pll_debug_init()
|