Home
last modified time | relevance | path

Searched refs:reset_addr (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/lib/
Dstmp_device.c38 int stmp_reset_block(void __iomem *reset_addr) in stmp_reset_block() argument
44 ret = stmp_clear_poll_bit(reset_addr, STMP_MODULE_SFTRST); in stmp_reset_block()
49 writel(STMP_MODULE_CLKGATE, reset_addr + STMP_OFFSET_REG_CLR); in stmp_reset_block()
52 writel(STMP_MODULE_SFTRST, reset_addr + STMP_OFFSET_REG_SET); in stmp_reset_block()
56 while ((!(readl(reset_addr) & STMP_MODULE_CLKGATE)) && --timeout) in stmp_reset_block()
62 ret = stmp_clear_poll_bit(reset_addr, STMP_MODULE_SFTRST); in stmp_reset_block()
67 ret = stmp_clear_poll_bit(reset_addr, STMP_MODULE_CLKGATE); in stmp_reset_block()
74 pr_err("%s(%p): module reset timeout\n", __func__, reset_addr); in stmp_reset_block()
/kernel/linux/linux-5.10/arch/arm/mach-mxs/
Dmach-mxs.c57 static void __iomem *reset_addr; variable
358 reset_addr = of_iomap(np, 0); in mxs_restart_init()
359 if (!reset_addr) in mxs_restart_init()
363 reset_addr += MX23_CLKCTRL_RESET_OFFSET; in mxs_restart_init()
365 reset_addr += MX28_CLKCTRL_RESET_OFFSET; in mxs_restart_init()
436 if (reset_addr) { in mxs_restart()
438 __mxs_setl(MXS_CLKCTRL_RESET_CHIP, reset_addr); in mxs_restart()
/kernel/linux/linux-5.10/drivers/net/can/sja1000/
Dplx_pci.c506 void __iomem *reset_addr; in plx_pci_reset_marathon_pci() local
513 reset_addr = pci_iomap(pdev, reset_bar[i], 0); in plx_pci_reset_marathon_pci()
514 if (!reset_addr) { in plx_pci_reset_marathon_pci()
519 iowrite8(0x1, reset_addr); in plx_pci_reset_marathon_pci()
521 pci_iounmap(pdev, reset_addr); in plx_pci_reset_marathon_pci()
530 void __iomem *reset_addr; in plx_pci_reset_marathon_pcie() local
545 reset_addr = addr + chan_map->offset + in plx_pci_reset_marathon_pcie()
547 iowrite8(0x1, reset_addr); in plx_pci_reset_marathon_pcie()
/kernel/linux/linux-5.10/arch/m68k/atari/
Dconfig.c495 long reset_addr; in atari_reset() local
501 reset_addr = MACH_IS_MEDUSA || MACH_IS_AB40 ? 0xe00030 : in atari_reset()
564 : "a" (reset_addr) in atari_reset()
571 : "m" (tc_val), "a" (reset_addr)); in atari_reset()
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dcpuinfo.h37 u32 reset_addr; member
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dprocess.c46 pr_notice("Machine restart (%08x)...\n", cpuinfo.reset_addr); in machine_restart()
51 : "r" (cpuinfo.reset_addr) in machine_restart()
Dcpuinfo.c107 cpuinfo.reset_addr = fcpu(cpu, "altr,reset-addr"); in setup_cpuinfo()
/kernel/linux/linux-5.10/include/linux/
Drmi.h286 int (*reset)(struct rmi_transport_dev *xport, u16 reset_addr);
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c77 static int gpmi_reset_block(void __iomem *reset_addr, bool just_enable) in gpmi_reset_block() argument
83 ret = clear_poll_bit(reset_addr, MODULE_SFTRST); in gpmi_reset_block()
88 writel(MODULE_CLKGATE, reset_addr + MXS_CLR_ADDR); in gpmi_reset_block()
92 writel(MODULE_SFTRST, reset_addr + MXS_SET_ADDR); in gpmi_reset_block()
96 while ((!(readl(reset_addr) & MODULE_CLKGATE)) && --timeout) in gpmi_reset_block()
103 ret = clear_poll_bit(reset_addr, MODULE_SFTRST); in gpmi_reset_block()
108 ret = clear_poll_bit(reset_addr, MODULE_CLKGATE); in gpmi_reset_block()
115 pr_err("%s(%p): module reset timeout\n", __func__, reset_addr); in gpmi_reset_block()
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_smbus.c248 static int rmi_smb_reset(struct rmi_transport_dev *xport, u16 reset_addr) in rmi_smb_reset() argument
/kernel/linux/linux-5.10/drivers/hid/
Dhid-rmi.c488 static int rmi_hid_reset(struct rmi_transport_dev *xport, u16 reset_addr) in rmi_hid_reset() argument
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch16224 @@ -112,7 +118,7 @@ static int gpmi_reset_block(void __iomem *reset_addr, bool just_enable)
16228 - pr_err("%s(%p): module reset timeout\n", __func__, reset_addr);
16229 + pr_err("%s(%px): module reset timeout\n", __func__, reset_addr);