Home
last modified time | relevance | path

Searched refs:pregs (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/arch/sparc/kernel/
Dcentral.c29 void __iomem *pregs; member
174 p->pregs = of_ioremap(&op->resource[0], 0, in fhc_probe()
177 if (!p->pregs) { in fhc_probe()
183 reg = upa_readl(p->pregs + FHC_PREGS_BSR); in fhc_probe()
191 if (upa_readl(p->pregs + FHC_PREGS_JCTRL) & FHC_JTAG_CTRL_MENAB) in fhc_probe()
197 (p->pregs + FHC_PREGS_CTRL); in fhc_probe()
214 reg = upa_readl(p->pregs + FHC_PREGS_CTRL); in fhc_probe()
223 upa_writel(reg, p->pregs + FHC_PREGS_CTRL); in fhc_probe()
224 upa_readl(p->pregs + FHC_PREGS_CTRL); in fhc_probe()
226 reg = upa_readl(p->pregs + FHC_PREGS_ID); in fhc_probe()
[all …]
Dptrace_32.c347 struct pt_regs __user *pregs; in arch_ptrace() local
353 pregs = (struct pt_regs __user *) addr; in arch_ptrace()
361 &pregs->psr); in arch_ptrace()
366 &pregs->u_regs[0]); in arch_ptrace()
374 &pregs->psr); in arch_ptrace()
379 &pregs->u_regs[0]); in arch_ptrace()
Dptrace_64.c914 struct pt_regs32 __user *pregs; in compat_arch_ptrace() local
921 pregs = (struct pt_regs32 __user *) addr; in compat_arch_ptrace()
933 &pregs->psr); in compat_arch_ptrace()
938 &pregs->u_regs[0]); in compat_arch_ptrace()
945 &pregs->psr); in compat_arch_ptrace()
950 &pregs->u_regs[0]); in compat_arch_ptrace()
1025 struct pt_regs __user *pregs; in arch_ptrace() local
1030 pregs = (struct pt_regs __user *) addr; in arch_ptrace()
1043 &pregs->u_regs[0]); in arch_ptrace()
1049 &pregs->tstate); in arch_ptrace()
[all …]
/Linux-v4.19/arch/powerpc/platforms/cell/
Dras.c33 struct cbe_pmd_regs __iomem *pregs = cbe_get_cpu_pmd_regs(cpu); in dump_fir() local
36 if (pregs == NULL) in dump_fir()
43 in_be64(&pregs->checkstop_fir)); in dump_fir()
45 in_be64(&pregs->checkstop_fir)); in dump_fir()
47 in_be64(&pregs->spec_att_mchk_fir)); in dump_fir()
/Linux-v4.19/drivers/clk/tegra/
Dclk-periph-gate.c137 const struct tegra_clk_periph_regs *pregs; in tegra_clk_register_periph_gate() local
139 pregs = get_reg_bank(clk_num); in tegra_clk_register_periph_gate()
140 if (!pregs) in tegra_clk_register_periph_gate()
160 gate->regs = pregs; in tegra_clk_register_periph_gate()
/Linux-v4.19/drivers/mtd/spi-nor/
Dintel-spi.c148 void __iomem *pregs; member
191 readl(ispi->pregs + PR(i))); in intel_spi_dump_regs()
210 value = readl(ispi->pregs + PR(i)); in intel_spi_dump_regs()
311 ispi->pregs = ispi->base + BYT_PR; in intel_spi_init()
332 ispi->pregs = ispi->base + LPT_PR; in intel_spi_init()
340 ispi->pregs = ispi->base + BXT_PR; in intel_spi_init()
803 pr_value = readl(ispi->pregs + PR(i)); in intel_spi_is_protected()
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/
Dmce-inject.c144 static void raise_exception(struct mce *m, struct pt_regs *pregs) in raise_exception() argument
149 if (!pregs) { in raise_exception()
153 pregs = &regs; in raise_exception()
157 do_machine_check(pregs, 0); in raise_exception()
/Linux-v4.19/sound/pci/ac97/
Dac97_patch.c1247 unsigned short *pregs = def_regs; in patch_sigmatel_stac9758() local
1254 pregs = m675_regs; in patch_sigmatel_stac9758()
1261 snd_ac97_write_cache(ac97, regs[i], pregs[i]); in patch_sigmatel_stac9758()