Home
last modified time | relevance | path

Searched full:restart (Results 1 – 25 of 1358) sorted by relevance

12345678910>>...55

/linux/Documentation/devicetree/bindings/power/reset/
H A Drestart-handler.yaml4 $id: http://devicetree.org/schemas/power/reset/restart-handler.yaml#
7 title: Restart and shutdown handler Common Properties
13 Restart and shutdown handler device is responsible for powering off the
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 Dgpio-restart.yaml4 $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
42 description: Treat the GPIO as being open source and defer driving it to when the restart is
61 description: Delay (default 3000) to wait after completing restart sequence [ms]
[all …]
H A Dst-reset.txt4 - compatible: should be "stih407-restart".
8 restart {
9 compatible = "st,stih407-restart";
H A Dqcom,pshold.yaml7 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/drivers/power/reset/
H A DKconfig31 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.
84 This driver provides restart support for Cirrus EP93XX SoC.
87 to have restart support.
107 bool "GPIO restart driver"
[all …]
H A Datc260x-poweroff.c19 int (*do_poweroff)(const struct atc260x_pwrc *pwrc, bool restart);
22 static int atc2603c_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2603c_do_poweroff() argument
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()
53 /* Trigger poweroff / restart sequence */ 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()
73 static int atc2609a_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2609a_do_poweroff() argument
[all …]
H A Drestart-poweroff.c35 { .compatible = "restart-poweroff", },
43 .name = "poweroff-restart",
50 MODULE_DESCRIPTION("restart poweroff driver");
51 MODULE_ALIAS("platform:poweroff-restart");
H A Dlinkstation-poweroff.c3 * LinkStation power off restart driver
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 Dgpio-restart.c3 * Toggles a GPIO pin to restart a device
98 dev_err(&pdev->dev, "%s: cannot register restart handler, %d\n", in gpio_restart_probe()
107 { .compatible = "gpio-restart", },
114 .name = "restart-gpio",
122 MODULE_DESCRIPTION("GPIO restart driver");
H A DMakefile10 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
28 obj-$(CONFIG_POWER_RESET_TPS65086) += tps65086-restart.o
/linux/arch/arm/mach-omap2/
H A Dboard-generic.c62 .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 DMakefile56 # Restart code (OMAP4/5 currently in omap4-common.c)
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/include/uapi/linux/
H A Dreboot.h19 * RESTART Restart system using default command and mode.
21 * CAD_ON Ctrl-Alt-Del sequence causes RESTART command.
24 * RESTART2 Restart system using given command string.
26 * KEXEC Restart system using a previously loaded Linux kernel
/linux/arch/nios2/kernel/
H A Dsignal.c237 int restart = 0; in do_signal() local
251 * Prepare for system call restart. We do this here so that a in do_signal()
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()
318 * Restart without handlers. in do_notify_resume()
[all …]
/linux/drivers/watchdog/
H A Drave-sp-wdt.c35 * @restart: Function to send "restart" command
42 int (*restart)(struct watchdog_device *); member
144 * Restart handler is called in atomic context which means we in rave_sp_wdt_reboot_notifier()
154 const int ret = sp_wd->variant->restart(&sp_wd->wdd); in rave_sp_wdt_reboot_notifier()
158 "Failed to issue restart command (%d)", ret); 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,
H A Dixp4xx_wdt.c104 .restart = ixp4xx_wdt_restart,
110 * is useless, but we still need to use it to restart the system
113 * the restart operation.
123 .restart = ixp4xx_wdt_restart,
143 dev_info(dev, "Rev. A0 IXP42x CPU detected - only restart supported\n"); in ixp4xx_wdt_probe()
/linux/kernel/futex/
H A Dwaitwake.c334 static long futex_wait_restart(struct restart_block *restart);
709 struct restart_block *restart; in futex_wait()
725 restart = &current->restart_block; in futex_wait_restart()
726 restart->futex.uaddr = uaddr; in futex_wait_restart()
727 restart->futex.val = val; in futex_wait_restart()
728 restart->futex.time = *abs_time; in futex_wait_restart()
729 restart->futex.bitset = bitset; in futex_wait_restart()
730 restart->futex.flags = flags | FLAGS_HAS_TIMEOUT; in futex_wait_restart()
732 return set_restart_fn(restart, futex_wait_restart); in futex_wait_restart()
738 static long futex_wait_restart(struct restart_block *restart)
690 struct restart_block *restart; futex_wait() local
719 futex_wait_restart(struct restart_block * restart) futex_wait_restart() argument
[all...]
/linux/tools/testing/selftests/powerpc/signal/
H A Dsig_sc_double_restart.c16 * handler finishes will lead to restart one insn earlier than it ought
39 * be raised again and think there is a restart to be done because the in SIGUSR1_handler()
41 * restart will retreat NIP another 4 bytes to fail case branch. in SIGUSR1_handler()
129 fprintf(stderr, "Double restart moved restart before sc instruction.\n"); in test_restart()
173 return test_harness(test_restart, "sig sys restart"); in main()
/linux/drivers/slimbus/
H A Dsched.c14 * @restart: Restart time value per spec used for clock pause. This value
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/drivers/net/wireless/intel/iwlwifi/
H A Diwl-trans.c157 if (trans->restart.mode.type == IWL_ERR_TYPE_TOP_RESET_FAILED) in iwl_trans_determine_restart_mode()
175 if (trans->restart.during_reset) in iwl_trans_determine_restart_mode()
207 restart.wk.work); in iwl_trans_restart_wk()
210 if (trans->restart.mode.type == IWL_ERR_TYPE_TOP_RESET_BY_BT) { in iwl_trans_restart_wk()
222 iwl_op_mode_dump_error(trans->op_mode, &trans->restart.mode); in iwl_trans_restart_wk()
228 * managed that via trans->restart.mode. in iwl_trans_restart_wk()
241 queue_delayed_work(system_unbound_wq, &trans->restart.wk, in iwl_trans_restart_wk()
256 iwl_trans_opmode_sw_reset(trans, trans->restart.mode.type); in iwl_trans_restart_wk()
291 INIT_DELAYED_WORK(&trans->restart.wk, iwl_trans_restart_wk); in iwl_trans_alloc()
336 cancel_delayed_work_sync(&trans->restart.wk); in iwl_trans_free()
[all …]
/linux/Documentation/watchdog/
H A Dwatchdog-kernel-api.rst104 * restart_nb: notifier block that is registered for machine restart, for
106 should define ops->restart. Priority can be changed through
133 int (*restart)(struct watchdog_device *);
174 start function to restart the watchdog timer hardware. And that's also what
232 * restart: this routine restarts the machine. It returns 0 on success or a
317 To change the priority of the restart handler the following helper should be
324 * 0: should be called in last resort, has limited restart capabilities
325 * 128: default restart handler, use if no other handler is expected to be
326 available, and/or if restart is sufficient to restart the entire system
327 * 255: highest priority, will preempt all other restart handlers
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_sriov_pf.c50 INIT_WORK(&gt->sriov.pf.workers.restart, pf_worker_restart_func); in pf_init_workers()
184 xe_gt_sriov_dbg(gt, "restart completed\n"); in pf_restart()
189 struct xe_gt *gt = container_of(w, typeof(*gt), sriov.pf.workers.restart); in pf_worker_restart_func()
200 if (!queue_work(xe->sriov.wq, &gt->sriov.pf.workers.restart)) in pf_queue_restart()
201 xe_gt_sriov_dbg(gt, "restart already in queue!\n"); in pf_queue_restart()
205 * xe_gt_sriov_pf_restart - Restart SR-IOV support after a GT reset.
/linux/arch/arm/kernel/
H A Dsignal.c541 int restart = 0; in do_signal() local
552 * Prepare for system call restart. We do this here so that a in do_signal()
557 restart -= 2; in do_signal()
562 restart++; in do_signal()
575 * decision to restart the system call. But skip this if a in do_signal()
576 * debugger has chosen to restart at a different PC. 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
[all …]
/linux/kernel/time/
H A Dalarmtimer.c701 struct restart_block *restart; in alarmtimer_do_nsleep() local
721 restart = &current->restart_block; in alarmtimer_do_nsleep()
722 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep()
732 return nanosleep_copyout(restart, &rmt); in alarmtimer_do_nsleep()
748 * @restart: ptr to restart block
752 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart() argument
754 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart()
755 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart()
775 struct restart_block *restart = &current->restart_block; in alarm_timer_nsleep() local
805 /* abs timers don't set remaining time or restart */ in alarm_timer_nsleep()
[all …]
/linux/arch/arm/mach-pxa/
H A Dpxa-dt.c20 .restart = pxa_restart,
33 .restart = pxa_restart,
48 .restart = pxa_restart,

12345678910>>...55