| /linux-6.15/drivers/power/reset/ |
| H A D | atc260x-poweroff.c | 28 if (!restart && !power_supply_is_system_supplied()) { in atc2603c_do_poweroff() 35 (restart ? ATC2603C_PMU_SYS_CTL0_RESET_WK_EN in atc2603c_do_poweroff() 54 reg_mask = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN in atc2603c_do_poweroff() 56 reg_val = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN : 0; in atc2603c_do_poweroff() 59 restart ? ATC2603C_PMU_SYS_CTL0 : ATC2603C_PMU_SYS_CTL1, in atc2603c_do_poweroff() 63 restart ? 0 : 1, ret); in atc2603c_do_poweroff() 79 if (!restart && !power_supply_is_system_supplied()) { in atc2609a_do_poweroff() 86 (restart ? ATC2609A_PMU_SYS_CTL0_RESET_WK_EN in atc2609a_do_poweroff() 105 reg_mask = restart ? ATC2609A_PMU_SYS_CTL0_RESTART_EN in atc2609a_do_poweroff() 107 reg_val = restart ? ATC2609A_PMU_SYS_CTL0_RESTART_EN : 0; in atc2609a_do_poweroff() [all …]
|
| H A D | Kconfig | 31 This driver supports restart for Atmel AT91SAM9 and SAMA5 53 This driver supports restart for Axxia SoC. 65 to have restart support. 76 to have restart support. 87 to have restart support. 107 bool "GPIO restart driver" 111 If your board needs a GPIO high/low to restart, say Y and 135 Power off and restart support for Qualcomm boards. 210 Instead they restart, and u-boot holds the SoC until the 214 bool "ST restart driver" [all …]
|
| H A 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()
|
| H A D | Makefile | 10 obj-$(CONFIG_POWER_RESET_EP93XX) += ep93xx-restart.o 13 obj-$(CONFIG_POWER_RESET_GPIO_RESTART) += gpio-restart.o 25 obj-$(CONFIG_POWER_RESET_RESTART) += restart-poweroff.o 27 obj-$(CONFIG_POWER_RESET_TPS65086) += tps65086-restart.o
|
| /linux-6.15/Documentation/devicetree/bindings/power/reset/ |
| H A D | restart-handler.yaml | 4 $id: http://devicetree.org/schemas/power/reset/restart-handler.yaml# 14 system, e.g. my cutting off the power. System might have several restart 22 0:: Restart handler of last resort, with limited restart capabilities. 23 128:: Typical, default restart handler; use if no other restart handler 24 is expected to be available, and/or if restart functionality is 25 sufficient to restart the entire system. 26 255:: Highest priority restart handler, will preempt all other restart handlers.
|
| H A D | gpio-restart.yaml | 4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml# 13 Drive a GPIO line that can be used to restart the system from a restart handler. 16 request the given gpio line and install a restart handler. If the optional properties 18 not driven until the restart is initiated. 20 When the system is restarted, the restart handler will be invoked in priority order. The GPIO 26 restart handler completes allowing other restart handlers to be attempted. 29 - $ref: restart-handler.yaml# 33 const: gpio-restart 61 description: Delay (default 3000) to wait after completing restart sequence [ms] 72 gpio-restart { [all …]
|
| H A D | st-reset.txt | 4 - compatible: should be "stih407-restart". 8 restart { 9 compatible = "st,stih407-restart";
|
| H A D | qcom,pshold.yaml | 7 title: Qualcomm SoC restart and power off 14 Clearing that bit allows us to restart/power off. The difference between 15 power off and restart is determined by unique power manager IC settings.
|
| /linux-6.15/arch/arm/mach-omap2/ |
| H A 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 …]
|
| H A D | Makefile | 57 obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o 58 obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o 59 obj-$(CONFIG_SOC_TI81XX) += ti81xx-restart.o 60 obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o 61 obj-$(CONFIG_SOC_AM43XX) += omap4-restart.o 62 obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o 63 obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o 64 obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o 65 obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o
|
| /linux-6.15/kernel/futex/ |
| H A D | waitwake.c | 690 struct restart_block *restart; in futex_wait() local 706 restart = ¤t->restart_block; in futex_wait() 707 restart->futex.uaddr = uaddr; in futex_wait() 708 restart->futex.val = val; in futex_wait() 709 restart->futex.time = *abs_time; in futex_wait() 710 restart->futex.bitset = bitset; in futex_wait() 721 u32 __user *uaddr = restart->futex.uaddr; in futex_wait_restart() 724 if (restart->futex.flags & FLAGS_HAS_TIMEOUT) { in futex_wait_restart() 725 t = restart->futex.time; in futex_wait_restart() 728 restart->fn = do_no_restart_syscall; in futex_wait_restart() [all …]
|
| /linux-6.15/arch/openrisc/kernel/ |
| H A D | signal.c | 272 int restart = 0; in do_signal() local 285 restart = -2; in do_signal() 290 restart++; in do_signal() 304 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal() 322 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal() 324 return restart; in do_signal() 342 int restart = do_signal(regs, syscall); in do_work_pending() local 343 if (unlikely(restart)) { in do_work_pending() 349 return restart; in do_work_pending()
|
| /linux-6.15/arch/arm/mach-pxa/ |
| H A D | pxa-dt.c | 20 .restart = pxa_restart, 33 .restart = pxa_restart, 48 .restart = pxa_restart,
|
| /linux-6.15/arch/nios2/kernel/ |
| H A D | signal.c | 237 int restart = 0; in do_signal() local 256 restart = -2; in do_signal() 261 restart++; in do_signal() 272 if (unlikely(restart && regs->ea == restart_addr)) { in do_signal() 289 if (unlikely(restart) && regs->ea == restart_addr) { in do_signal() 299 return restart; in do_signal() 314 int restart = do_signal(regs); in do_notify_resume() local 316 if (unlikely(restart)) { in do_notify_resume() 322 return restart; in do_notify_resume()
|
| /linux-6.15/arch/powerpc/platforms/embedded6xx/ |
| H A D | mvme5100.c | 39 static u_char *restart; variable 161 restart = ioremap(BOARD_MODRST_REG, 4); in mvme5100_setup_arch() 184 out_8((u_char *) restart, 0x01); in mvme5100_restart() 207 .restart = mvme5100_restart, in define_machine()
|
| H A D | wii.c | 131 if (ppc_md.restart) in wii_halt() 132 ppc_md.restart(NULL); in wii_halt() 174 .restart = wii_restart, in define_machine()
|
| /linux-6.15/arch/arm/mach-mvebu/ |
| H A D | board-v7.c | 164 .restart = mvebu_restart, 180 .restart = mvebu_restart, 194 .restart = mvebu_restart, 208 .restart = mvebu_restart,
|
| /linux-6.15/drivers/watchdog/ |
| H A 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-6.15/kernel/time/ |
| H A D | alarmtimer.c | 719 struct restart_block *restart; in alarmtimer_do_nsleep() local 739 restart = ¤t->restart_block; in alarmtimer_do_nsleep() 740 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep() 750 return nanosleep_copyout(restart, &rmt); in alarmtimer_do_nsleep() 770 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart() argument 772 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() 773 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart() 793 struct restart_block *restart = ¤t->restart_block; in alarm_timer_nsleep() local 827 restart->nanosleep.clockid = type; in alarm_timer_nsleep() 828 restart->nanosleep.expires = exp; in alarm_timer_nsleep() [all …]
|
| H A D | hrtimer.c | 1141 bool restart, bool keep_local) in remove_hrtimer() argument 1165 if (!restart) in remove_hrtimer() 1725 int restart; in __run_hrtimer() local 1761 restart = fn(timer); in __run_hrtimer() 1776 if (restart != HRTIMER_NORESTART && in __run_hrtimer() 2074 switch(restart->nanosleep.type) { in nanosleep_copyout() 2093 struct restart_block *restart; in do_nanosleep() local 2112 restart = ¤t->restart_block; in do_nanosleep() 2113 if (restart->nanosleep.type != TT_NONE) { in do_nanosleep() 2141 struct restart_block *restart; in hrtimer_nanosleep() local [all …]
|
| /linux-6.15/drivers/media/i2c/ |
| H A D | msp3400-kthreads.c | 505 restart: 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() 731 goto restart; in msp3410d_thread() 837 goto restart; in msp3410d_thread() 997 restart: in msp34xxg_thread() 1026 goto restart; in msp34xxg_thread() [all …]
|
| /linux-6.15/drivers/slimbus/ |
| H A 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-6.15/include/linux/ |
| H A D | thread_info.h | 73 #define arch_set_restart_data(restart) do { } while (0) argument 76 static inline long set_restart_fn(struct restart_block *restart, in set_restart_fn() argument 79 restart->fn = fn; in set_restart_fn() 80 arch_set_restart_data(restart); in set_restart_fn()
|
| /linux-6.15/drivers/ps3/ |
| H A 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()
|
| /linux-6.15/arch/arm/kernel/ |
| H A D | signal.c | 541 int restart = 0; in do_signal() local 557 restart -= 2; in do_signal() 562 restart++; in do_signal() 580 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal() 593 if (unlikely(restart) && regs->ARM_pc == restart_addr) { in do_signal() 595 return restart; in do_signal() 618 int restart = do_signal(regs, syscall); in do_work_pending() local 619 if (unlikely(restart)) { in do_work_pending() 625 return restart; in do_work_pending()
|