Home
last modified time | relevance | path

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

/Linux-v6.6/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.c931 struct pt_regs32 __user *pregs; in compat_arch_ptrace() local
938 pregs = (struct pt_regs32 __user *) addr; in compat_arch_ptrace()
950 pregs); in compat_arch_ptrace()
957 pregs); in compat_arch_ptrace()
1015 struct pt_regs __user *pregs; in arch_ptrace() local
1020 pregs = (struct pt_regs __user *) addr; in arch_ptrace()
1033 pregs); in arch_ptrace()
1040 pregs); in arch_ptrace()
/Linux-v6.6/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()
/Linux-v6.6/drivers/clk/tegra/
Dclk-periph-gate.c143 const struct tegra_clk_periph_regs *pregs; in tegra_clk_register_periph_gate() local
145 pregs = get_reg_bank(clk_num); in tegra_clk_register_periph_gate()
146 if (!pregs) in tegra_clk_register_periph_gate()
166 gate->regs = pregs; in tegra_clk_register_periph_gate()
/Linux-v6.6/drivers/spi/
Dspi-intel.c162 void __iomem *pregs; member
215 readl(ispi->pregs + PR(i))); in intel_spi_dump_regs()
235 value = readl(ispi->pregs + PR(i)); in intel_spi_dump_regs()
1078 ispi->pregs = ispi->base + BYT_PR; in intel_spi_init()
1086 ispi->pregs = ispi->base + LPT_PR; in intel_spi_init()
1094 ispi->pregs = ispi->base + BXT_PR; in intel_spi_init()
1102 ispi->pregs = ispi->base + CNL_PR; in intel_spi_init()
1199 pr_value = readl(ispi->pregs + PR(i)); in intel_spi_is_protected()
/Linux-v6.6/arch/x86/kernel/cpu/mce/
Dinject.c156 static void raise_exception(struct mce *m, struct pt_regs *pregs) in raise_exception() argument
161 if (!pregs) { in raise_exception()
165 pregs = &regs; in raise_exception()
169 do_machine_check(pregs); in raise_exception()
/Linux-v6.6/arch/loongarch/kernel/
Dtraps.c61 struct pt_regs *pregs = (struct pt_regs *)regs; in show_backtrace() local
67 for (unwind_start(&state, task, pregs); in show_backtrace()
/Linux-v6.6/sound/pci/ac97/
Dac97_patch.c1254 const unsigned short *pregs = def_regs; in patch_sigmatel_stac9758() local
1261 pregs = m675_regs; in patch_sigmatel_stac9758()
1268 snd_ac97_write_cache(ac97, regs[i], pregs[i]); in patch_sigmatel_stac9758()