Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c365 struct pt_regs __user *pregs; in arch_ptrace() local
370 pregs = (struct pt_regs __user *) addr; in arch_ptrace()
378 pregs); in arch_ptrace()
386 pregs); in arch_ptrace()
Dptrace_64.c933 struct pt_regs32 __user *pregs; in compat_arch_ptrace() local
940 pregs = (struct pt_regs32 __user *) addr; in compat_arch_ptrace()
952 pregs); in compat_arch_ptrace()
959 pregs); in compat_arch_ptrace()
1017 struct pt_regs __user *pregs; in arch_ptrace() local
1022 pregs = (struct pt_regs __user *) addr; in arch_ptrace()
1035 pregs); in arch_ptrace()
1042 pregs); in arch_ptrace()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dras.c29 struct cbe_pmd_regs __iomem *pregs = cbe_get_cpu_pmd_regs(cpu); in dump_fir() local
32 if (pregs == NULL) in dump_fir()
39 in_be64(&pregs->checkstop_fir)); in dump_fir()
41 in_be64(&pregs->checkstop_fir)); in dump_fir()
43 in_be64(&pregs->spec_att_mchk_fir)); in dump_fir()
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk-periph-gate.c151 const struct tegra_clk_periph_regs *pregs; in tegra_clk_register_periph_gate() local
153 pregs = get_reg_bank(clk_num); in tegra_clk_register_periph_gate()
154 if (!pregs) in tegra_clk_register_periph_gate()
174 gate->regs = pregs; in tegra_clk_register_periph_gate()
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/controllers/
Dintel-spi.c148 void __iomem *pregs; member
190 readl(ispi->pregs + PR(i))); in intel_spi_dump_regs()
213 value = readl(ispi->pregs + PR(i)); in intel_spi_dump_regs()
322 ispi->pregs = ispi->base + BYT_PR; in intel_spi_init()
330 ispi->pregs = ispi->base + LPT_PR; in intel_spi_init()
338 ispi->pregs = ispi->base + BXT_PR; in intel_spi_init()
346 ispi->pregs = ispi->base + CNL_PR; in intel_spi_init()
840 pr_value = readl(ispi->pregs + PR(i)); in intel_spi_is_protected()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dinject.c138 static void raise_exception(struct mce *m, struct pt_regs *pregs) in raise_exception() argument
143 if (!pregs) { in raise_exception()
147 pregs = &regs; in raise_exception()
151 do_machine_check(pregs); in raise_exception()
/kernel/linux/linux-5.10/sound/pci/ac97/
Dac97_patch.c1232 const unsigned short *pregs = def_regs; in patch_sigmatel_stac9758() local
1239 pregs = m675_regs; in patch_sigmatel_stac9758()
1246 snd_ac97_write_cache(ac97, regs[i], pregs[i]); in patch_sigmatel_stac9758()