/Linux-v5.15/Documentation/devicetree/bindings/power/reset/ |
D | gpio-restart.txt | 1 Drive a GPIO line that can be used to restart the system from a restart 5 time, the driver will request the given gpio line and install a restart 8 the restart is initiated. 10 When the system is restarted, the restart handler will be invoked in 18 restart handler completes allowing other restart handlers to be attempted. 21 - compatible : should be "gpio-restart". 29 it to when the restart is initiated. If this optional property is not 33 0: Restart handler of last resort, with limited restart 35 128: Default restart handler; use if no other restart handler is 36 expected to be available, and/or if restart functionality is [all …]
|
D | st-reset.txt | 4 - compatible: should be "stih407-restart". 8 restart { 9 compatible = "st,stih407-restart";
|
D | msm-poweroff.txt | 4 Clearing that bit allows us to restart/poweroff. The difference 5 between poweroff and restart is determined by unique power manager IC 14 restart@fc4ab000 {
|
/Linux-v5.15/drivers/power/reset/ |
D | atc260x-poweroff.c | 20 int (*do_poweroff)(const struct atc260x_pwrc *pwrc, bool restart); 26 static int atc2603c_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2603c_do_poweroff() argument 32 if (!restart && !power_supply_is_system_supplied()) { in atc2603c_do_poweroff() 39 (restart ? ATC2603C_PMU_SYS_CTL0_RESET_WK_EN in atc2603c_do_poweroff() 58 reg_mask = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN in atc2603c_do_poweroff() 60 reg_val = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN : 0; in atc2603c_do_poweroff() 63 restart ? ATC2603C_PMU_SYS_CTL0 : ATC2603C_PMU_SYS_CTL1, in atc2603c_do_poweroff() 67 restart ? 0 : 1, ret); in atc2603c_do_poweroff() 77 static int atc2609a_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2609a_do_poweroff() argument 83 if (!restart && !power_supply_is_system_supplied()) { in atc2609a_do_poweroff() [all …]
|
D | Kconfig | 31 This driver supports restart for Atmel AT91SAM9 and SAMA5 46 This driver provides power-off and restart support for a system 53 This driver supports restart for Axxia SoC. 62 This driver provides restart support for Broadcom Kona chips. 65 to have restart support. 73 This driver provides restart support for Broadcom STB boards. 76 to have restart support. 96 bool "GPIO restart driver" 100 If your board needs a GPIO high/low to restart, say Y and 124 Power off and restart support for Qualcomm boards. [all …]
|
D | linkstation-poweroff.c | 37 void (*phy_set_reg)(bool restart); 43 static void linkstation_mvphy_reg_intn(bool restart) in linkstation_mvphy_reg_intn() argument 48 if (restart) in linkstation_mvphy_reg_intn() 82 static void readynas_mvphy_set_reg(bool restart) in readynas_mvphy_set_reg() argument 87 if (restart) in readynas_mvphy_set_reg()
|
D | Makefile | 12 obj-$(CONFIG_POWER_RESET_GPIO_RESTART) += gpio-restart.o 17 obj-$(CONFIG_POWER_RESET_OXNAS) += oxnas-restart.o 24 obj-$(CONFIG_POWER_RESET_RESTART) += restart-poweroff.o 26 obj-$(CONFIG_POWER_RESET_TPS65086) += tps65086-restart.o
|
/Linux-v5.15/arch/arm/mach-omap2/ |
D | board-generic.c | 62 .restart = omap2xxx_restart, 79 .restart = omap2xxx_restart, 126 .restart = omap3xxx_restart, 144 .restart = omap3xxx_restart, 161 .restart = omap3xxx_restart, 178 .restart = omap3xxx_restart, 194 .restart = omap3xxx_restart, 213 .restart = ti81xx_restart, 230 .restart = ti81xx_restart, 248 .restart = am33xx_restart, [all …]
|
D | Makefile | 60 obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o 61 obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o 62 obj-$(CONFIG_SOC_TI81XX) += ti81xx-restart.o 63 obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o 64 obj-$(CONFIG_SOC_AM43XX) += omap4-restart.o 65 obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o 66 obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o 67 obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o 68 obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o
|
/Linux-v5.15/arch/arm/mach-ep93xx/ |
D | edb93xx.c | 250 .restart = ep93xx_restart, 262 .restart = ep93xx_restart, 274 .restart = ep93xx_restart, 286 .restart = ep93xx_restart, 298 .restart = ep93xx_restart, 310 .restart = ep93xx_restart, 322 .restart = ep93xx_restart, 334 .restart = ep93xx_restart,
|
D | micro9.c | 83 .restart = ep93xx_restart, 95 .restart = ep93xx_restart, 107 .restart = ep93xx_restart, 119 .restart = ep93xx_restart,
|
/Linux-v5.15/arch/openrisc/kernel/ |
D | signal.c | 233 int restart = 0; in do_signal() local 246 restart = -2; in do_signal() 251 restart++; in do_signal() 265 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal() 283 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal() 285 return restart; in do_signal() 303 int restart = do_signal(regs, syscall); in do_work_pending() local 304 if (unlikely(restart)) { in do_work_pending() 310 return restart; in do_work_pending()
|
/Linux-v5.15/arch/arm64/kernel/ |
D | cpu-reset.h | 21 typeof(__cpu_soft_restart) *restart; in cpu_soft_restart() 25 restart = (void *)__pa_symbol(function_nocfi(__cpu_soft_restart)); in cpu_soft_restart() 28 restart(el2_switch, entry, arg0, arg1, arg2); in cpu_soft_restart()
|
/Linux-v5.15/arch/arm/mach-pxa/ |
D | pxa-dt.c | 26 .restart = pxa_restart, 39 .restart = pxa_restart, 54 .restart = pxa_restart,
|
/Linux-v5.15/arch/nios2/kernel/ |
D | signal.c | 235 int restart = 0; in do_signal() local 254 restart = -2; in do_signal() 259 restart++; in do_signal() 269 if (unlikely(restart && regs->ea == restart_addr)) { in do_signal() 286 if (unlikely(restart) && regs->ea == restart_addr) { in do_signal() 296 return restart; in do_signal() 311 int restart = do_signal(regs); in do_notify_resume() local 313 if (unlikely(restart)) { in do_notify_resume() 319 return restart; in do_notify_resume()
|
/Linux-v5.15/kernel/time/ |
D | alarmtimer.c | 203 int restart = ALARMTIMER_NORESTART; in alarmtimer_fired() local 210 restart = alarm->function(alarm, base->get_ktime()); in alarmtimer_fired() 213 if (restart != ALARMTIMER_NORESTART) { in alarmtimer_fired() 749 struct restart_block *restart; in alarmtimer_do_nsleep() local 769 restart = ¤t->restart_block; in alarmtimer_do_nsleep() 770 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep() 780 return nanosleep_copyout(restart, &rmt); in alarmtimer_do_nsleep() 800 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart() argument 802 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() 803 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart() [all …]
|
D | hrtimer.c | 1136 bool restart, bool keep_local) in remove_hrtimer() argument 1160 if (!restart) in remove_hrtimer() 1649 int restart; in __run_hrtimer() local 1685 restart = fn(timer); in __run_hrtimer() 1700 if (restart != HRTIMER_NORESTART && in __run_hrtimer() 2016 int nanosleep_copyout(struct restart_block *restart, struct timespec64 *ts) in nanosleep_copyout() argument 2018 switch(restart->nanosleep.type) { in nanosleep_copyout() 2021 if (put_old_timespec32(ts, restart->nanosleep.compat_rmtp)) in nanosleep_copyout() 2026 if (put_timespec64(ts, restart->nanosleep.rmtp)) in nanosleep_copyout() 2037 struct restart_block *restart; in do_nanosleep() local [all …]
|
/Linux-v5.15/arch/arm/mach-mvebu/ |
D | board-v7.c | 164 .restart = mvebu_restart, 180 .restart = mvebu_restart, 194 .restart = mvebu_restart, 208 .restart = mvebu_restart,
|
/Linux-v5.15/arch/powerpc/platforms/embedded6xx/ |
D | mvme5100.c | 38 static u_char *restart; variable 160 restart = ioremap(BOARD_MODRST_REG, 4); in mvme5100_setup_arch() 183 out_8((u_char *) restart, 0x01); in mvme5100_restart() 214 .restart = mvme5100_restart, in define_machine()
|
/Linux-v5.15/drivers/watchdog/ |
D | rave-sp-wdt.c | 42 int (*restart)(struct watchdog_device *); member 154 const int ret = sp_wd->variant->restart(&sp_wd->wdd); in rave_sp_wdt_reboot_notifier() 224 .restart = rave_sp_wdt_restart, 231 .restart = rave_sp_wdt_legacy_restart, 238 .restart = rave_sp_wdt_rdu_restart,
|
/Linux-v5.15/drivers/media/i2c/ |
D | msp3400-kthreads.c | 505 restart: in msp3400c_thread() 507 state->restart = 0; in msp3400c_thread() 532 goto restart; in msp3400c_thread() 548 goto restart; in msp3400c_thread() 587 goto restart; in msp3400c_thread() 675 goto restart; in msp3400c_thread() 700 restart: in msp3410d_thread() 702 state->restart = 0; in msp3410d_thread() 731 goto restart; in msp3410d_thread() 746 goto restart; in msp3410d_thread() [all …]
|
/Linux-v5.15/drivers/slimbus/ |
D | sched.c | 25 int slim_ctrl_clk_pause(struct slim_controller *ctrl, bool wakeup, u8 restart) in slim_ctrl_clk_pause() argument 35 if (wakeup == false && restart > SLIM_CLK_UNSPECIFIED) in slim_ctrl_clk_pause() 99 msg.wbuf = &restart; in slim_ctrl_clk_pause()
|
/Linux-v5.15/include/linux/ |
D | thread_info.h | 65 #define arch_set_restart_data(restart) do { } while (0) argument 68 static inline long set_restart_fn(struct restart_block *restart, in set_restart_fn() argument 71 restart->fn = fn; in set_restart_fn() 72 arch_set_restart_data(restart); in set_restart_fn()
|
/Linux-v5.15/drivers/remoteproc/ |
D | qcom_q6v5_adsp.c | 80 struct reset_control *restart; member 149 reset_control_assert(adsp->restart); in qcom_adsp_shutdown() 159 reset_control_deassert(adsp->restart); in qcom_adsp_shutdown() 349 adsp->restart = devm_reset_control_get_optional_exclusive(adsp->dev, "restart"); in adsp_init_reset() 352 if (!adsp->restart) in adsp_init_reset() 353 adsp->restart = devm_reset_control_get_exclusive(adsp->dev, "cc_lpass"); in adsp_init_reset() 355 if (IS_ERR(adsp->restart)) { in adsp_init_reset() 357 return PTR_ERR(adsp->restart); in adsp_init_reset()
|
/Linux-v5.15/drivers/ps3/ |
D | sys-manager-core.c | 48 if (ps3_sys_manager_ops.restart) in ps3_sys_manager_restart() 49 ps3_sys_manager_ops.restart(ps3_sys_manager_ops.dev); in ps3_sys_manager_restart()
|