Home
last modified time | relevance | path

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

12345678910>>...75

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/
Dgpio-restart.txt1 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 …]
Dmsm-poweroff.txt1 MSM Restart Driver
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 {
Dst-reset.txt4 - compatible: should be "stih407-restart".
8 restart {
9 compatible = "st,stih407-restart";
/kernel/linux/linux-5.10/fs/ntfs/
Dlogfile.c28 * @vi: $LogFile inode to which the restart page header belongs
29 * @rp: restart page header to check
30 * @pos: position in @vi at which the restart page header resides
32 * Check the restart page header @rp for consistency and return 'true' if it is
36 * require the full restart page.
61 * We must be either at !pos (1st restart page) or at pos = system page in ntfs_check_restart_page_header()
62 * size (2nd restart page). in ntfs_check_restart_page_header()
65 ntfs_error(vi->i_sb, "Found restart area in incorrect " in ntfs_check_restart_page_header()
79 * If chkdsk has been run the restart page may not be protected by an in ntfs_check_restart_page_header()
89 ntfs_error(vi->i_sb, "$LogFile restart page specifies " in ntfs_check_restart_page_header()
[all …]
Dlogfile.h23 * Two restart areas present in the first two pages (restart pages, one restart
40 * exception is if the journal is clean as marked by the two restart pages
51 * Log file restart page header (begins the restart area).
108 * Log file restart area record. The offset of this record is found by adding
115 when the restart area was last written.
122 restart area. Must be 1. */
178 /* 20*/ le16 restart_area_length;/* Length of the restart area including the
189 after this restart area structure, aligned
219 store the two restart pages and 48 (0x30)
254 /* 8*/ leLSN client_restart_lsn;/* LSN at which this client needs to restart
[all …]
/kernel/linux/linux-5.10/drivers/power/reset/
DKconfig31 This driver supports restart for Atmel AT91SAM9 and SAMA5
46 This driver supports restart for Axxia SoC.
55 This driver provides restart support for Broadcom Kona chips.
58 to have restart support.
66 This driver provides restart support for Broadcom STB boards.
69 to have restart support.
89 bool "GPIO restart driver"
93 If your board needs a GPIO high/low to restart, say Y and
117 Power off and restart support for Qualcomm boards.
135 This driver supports restart for Microsemi Ocelot SoC and similar.
[all …]
Dgpio-restart.c3 * Toggles a GPIO pin to restart a device
100 dev_err(&pdev->dev, "%s: cannot register restart handler, %d\n", in gpio_restart_probe()
116 "%s: cannot unregister restart handler, %d\n", in gpio_restart_remove()
125 { .compatible = "gpio-restart", },
133 .name = "restart-gpio",
141 MODULE_DESCRIPTION("GPIO restart driver");
Drestart-poweroff.c45 { .compatible = "restart-poweroff", },
53 .name = "poweroff-restart",
60 MODULE_DESCRIPTION("restart poweroff driver");
62 MODULE_ALIAS("platform:poweroff-restart");
/kernel/linux/linux-5.10/kernel/
Dreboot.c139 * to restart the system.
149 * 0: Restart handler of last resort,
150 * with limited restart capabilities
151 * 128: Default restart handler; use if no other
152 * restart handler is expected to be available,
153 * and/or if restart functionality is
154 * sufficient to restart the entire system
155 * 255: Highest priority restart handler, will
156 * preempt all other restart handlers
158 * Registers a function with code to be called to restart the
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
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 …]
DMakefile57 # Restart code (OMAP4/5 currently in omap4-common.c)
58 obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o
59 obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o
60 obj-$(CONFIG_SOC_TI81XX) += ti81xx-restart.o
61 obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o
62 obj-$(CONFIG_SOC_AM43XX) += omap4-restart.o
63 obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o
64 obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o
65 obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o
66 obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o
/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dsignal.c59 regs->orig_gpr11 = -1; /* Avoid syscall restart checks */ in restore_sigcontext()
233 int restart = 0; in do_signal() local
241 * Setup syscall restart here so that a debugger will in do_signal()
246 restart = -2; in do_signal()
251 restart++; in do_signal()
261 * the decision to restart the syscall; specifically, if the PC is in do_signal()
262 * changed, don't restart the syscall. in do_signal()
265 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal()
270 /* No automatic restart */ in do_signal()
280 * Restore pt_regs PC as syscall restart will be handled by in do_signal()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
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
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_pcs.h25 #define GMAC_AN_CTRL_RAN BIT(9) /* Restart Auto-Negotiation */
78 * dwmac_rane - To restart ANE
81 * @restart: to restart ANE
82 * Description: this is to just restart the Auto-Negotiation.
84 static inline void dwmac_rane(void __iomem *ioaddr, u32 reg, bool restart) in dwmac_rane() argument
88 if (restart) in dwmac_rane()
110 /* Enable and restart the Auto-Negotiation */ in dwmac_ctrl_ane()
/kernel/linux/linux-5.10/drivers/watchdog/
Dwatchdog_core.c31 #include <linux/reboot.h> /* For restart handler */
181 ret = wdd->ops->restart(wdd, action, data); in watchdog_restart_notifier()
189 * watchdog_set_restart_priority - Change priority of restart handler
191 * @priority: priority of the restart handler, should follow these guidelines:
192 * 0: use watchdog's restart function as last resort, has limited restart
194 * 128: default restart handler, use if no other handler is expected to be
195 * available and/or if restart is sufficient to restart the entire system
198 * If a wdd->ops->restart function is provided when watchdog_register_device is
199 * called, it will be registered as a restart handler with the priority given
286 if (wdd->ops->restart) { in __watchdog_register_device()
[all …]
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,
/kernel/linux/linux-5.10/drivers/net/phy/
Dphy-c45.c145 * genphy_c45_restart_aneg - Enable and restart auto-negotiation
150 * Enable and restart auto-negotiation.
160 * genphy_c45_check_and_restart_aneg - Enable and restart auto-negotiation
162 * @restart: whether aneg restart is requested
166 * Check, and restart auto-negotiation if needed.
168 int genphy_c45_check_and_restart_aneg(struct phy_device *phydev, bool restart) in genphy_c45_check_and_restart_aneg() argument
172 if (!restart) { in genphy_c45_check_and_restart_aneg()
173 /* Configure and restart aneg if it wasn't set before */ in genphy_c45_check_and_restart_aneg()
179 restart = true; in genphy_c45_check_and_restart_aneg()
182 if (restart) in genphy_c45_check_and_restart_aneg()
[all …]
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dsignal.c235 int restart = 0; in do_signal() local
249 * Prepare for system call restart. We do this here so that a in do_signal()
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()
310 int restart = do_signal(regs); in do_notify_resume() local
312 if (unlikely(restart)) { in do_notify_resume()
314 * Restart without handlers. in do_notify_resume()
[all …]
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_q6v5_adsp.c80 struct reset_control *restart; member
149 reset_control_assert(adsp->restart); in qcom_adsp_shutdown()
150 /* wait after asserting subsystem restart from AOSS */ in qcom_adsp_shutdown()
159 reset_control_deassert(adsp->restart); in qcom_adsp_shutdown()
160 /* wait after de-asserting subsystem restart from AOSS */ in qcom_adsp_shutdown()
349 adsp->restart = devm_reset_control_get_optional_exclusive(adsp->dev, "restart"); in adsp_init_reset()
351 /* Fall back to the old "cc_lpass" if "restart" is absent */ 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()
[all …]
/kernel/linux/linux-5.10/drivers/slimbus/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/signal/
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()
/kernel/linux/linux-5.10/kernel/time/
Dalarmtimer.c203 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()
742 struct restart_block *restart; in alarmtimer_do_nsleep() local
762 restart = &current->restart_block; in alarmtimer_do_nsleep()
763 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep()
773 return nanosleep_copyout(restart, &rmt); in alarmtimer_do_nsleep()
789 * @restart: ptr to restart block
793 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart() argument
795 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpu-reset.h21 typeof(__cpu_soft_restart) *restart; in cpu_soft_restart() local
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()
/kernel/linux/linux-5.10/Documentation/watchdog/
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
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dpxa-dt.c26 .restart = pxa_restart,
39 .restart = pxa_restart,
54 .restart = pxa_restart,

12345678910>>...75