/Linux-v5.4/lib/ |
D | stmp_device.c | 38 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()
|
/Linux-v5.4/arch/arm/mach-mxs/ |
D | mach-mxs.c | 57 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() 434 if (reset_addr) { in mxs_restart() 436 __mxs_setl(MXS_CLKCTRL_RESET_CHIP, reset_addr); in mxs_restart()
|
/Linux-v5.4/drivers/net/can/sja1000/ |
D | plx_pci.c | 506 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()
|
/Linux-v5.4/drivers/gpu/drm/mxsfb/ |
D | mxsfb_crtc.c | 173 static int mxsfb_reset_block(void __iomem *reset_addr) in mxsfb_reset_block() argument 177 ret = clear_poll_bit(reset_addr, MODULE_SFTRST); in mxsfb_reset_block() 181 writel(MODULE_CLKGATE, reset_addr + MXS_CLR_ADDR); in mxsfb_reset_block() 183 ret = clear_poll_bit(reset_addr, MODULE_SFTRST); in mxsfb_reset_block() 187 return clear_poll_bit(reset_addr, MODULE_CLKGATE); in mxsfb_reset_block()
|
/Linux-v5.4/arch/m68k/atari/ |
D | config.c | 495 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()
|
/Linux-v5.4/arch/nios2/include/asm/ |
D | cpuinfo.h | 37 u32 reset_addr; member
|
/Linux-v5.4/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_core.c | 94 .reset_addr = 0x22, 166 .reset_addr = 0x12, 280 .reset_addr = 0x12, 394 .reset_addr = 0x12, 517 .reset_addr = 0x12, 652 .reset_addr = 0x12, 758 .reset_addr = 0x12, 1393 err = regmap_update_bits(hw->regmap, hw->settings->reset_addr, in st_lsm6dsx_init_device() 1402 err = regmap_update_bits(hw->regmap, hw->settings->reset_addr, in st_lsm6dsx_init_device()
|
D | st_lsm6dsx.h | 228 u8 reset_addr; member
|
/Linux-v5.4/arch/nios2/kernel/ |
D | process.c | 46 pr_notice("Machine restart (%08x)...\n", cpuinfo.reset_addr); in machine_restart() 51 : "r" (cpuinfo.reset_addr) in machine_restart()
|
D | cpuinfo.c | 107 cpuinfo.reset_addr = fcpu(cpu, "altr,reset-addr"); in setup_cpuinfo()
|
/Linux-v5.4/include/linux/ |
D | rmi.h | 285 int (*reset)(struct rmi_transport_dev *xport, u16 reset_addr);
|
/Linux-v5.4/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 77 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()
|
/Linux-v5.4/drivers/input/rmi4/ |
D | rmi_smbus.c | 248 static int rmi_smb_reset(struct rmi_transport_dev *xport, u16 reset_addr) in rmi_smb_reset() argument
|
/Linux-v5.4/drivers/hid/ |
D | hid-rmi.c | 490 static int rmi_hid_reset(struct rmi_transport_dev *xport, u16 reset_addr) in rmi_hid_reset() argument
|