/openbmc/linux/drivers/power/reset/ |
H A 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 …]
|
H A 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 …]
|
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()
|
/openbmc/linux/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 …]
|
/openbmc/linux/kernel/futex/ |
H A D | waitwake.c | 320 static long futex_wait_restart(struct restart_block *restart); 635 struct restart_block *restart; in futex_wait() local 677 restart = ¤t->restart_block; in futex_wait() 678 restart->futex.uaddr = uaddr; in futex_wait() 679 restart->futex.val = val; in futex_wait() 680 restart->futex.time = *abs_time; in futex_wait() 681 restart->futex.bitset = bitset; in futex_wait() 682 restart->futex.flags = flags | FLAGS_HAS_TIMEOUT; in futex_wait() 684 ret = set_restart_fn(restart, futex_wait_restart); in futex_wait() 694 static long futex_wait_restart(struct restart_block *restart) in futex_wait_restart() argument [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 260 | 45 def test(persistent, restart): argument 46 assert persistent or not restart 48 '' if persistent else 'non-', 'with' if restart else 'without')) 65 if restart: 92 test(persistent=False, restart=False) 93 test(persistent=True, restart=False) 94 test(persistent=True, restart=True)
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lvm2/files/ |
H A D | 0001-Avoid-bashisms-in-init-scripts.patch | 53 - echo $"Usage: $0 {start|stop|restart|status}" 54 + echo "Usage: $0 {start|stop|restart|status}" 72 - echo $"Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}" 73 + echo "Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}" 91 - echo $"Usage: $0 {start|stop|restart|status|force-stop}" 92 + echo "Usage: $0 {start|stop|restart|status|force-stop}" 110 - echo $"Usage: $0 {start|stop|restart|status|force-stop}" 111 + echo "Usage: $0 {start|stop|restart|status|force-stop}"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/multipath-tools/files/ |
H A D | multipathd.oe | 90 restart() { 121 restart) 122 restart 124 force-restart) 127 condrestart|try-restart) 129 restart
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/openct/openct/ |
H A D | openct.init | 57 restart() { 74 start|stop|restart) 78 restart 83 try-restart|condrestart) 84 [ ! -f $lockfile ] || restart
|
/openbmc/linux/arch/arm/mach-ep93xx/ |
H A D | edb93xx.c | 251 .restart = ep93xx_restart, 264 .restart = ep93xx_restart, 277 .restart = ep93xx_restart, 290 .restart = ep93xx_restart, 303 .restart = ep93xx_restart, 316 .restart = ep93xx_restart, 329 .restart = ep93xx_restart, 342 .restart = ep93xx_restart,
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/autofs/autofs/ |
H A D | 0004-autofs.init.in-remove-bashism.patch | 49 -function restart() { 50 +restart() { 54 @@ -143,7 +143,7 @@ function restart() { 69 …o $"Usage: $0 {start|forcestart|stop|status|restart|force-reload|forcerestart|reload|condrestart|t… 104 -function restart() { 105 +restart() { 109 @@ -110,7 +110,7 @@ function restart() {
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/ |
H A D | postgresql.init | 150 restart(){ 156 [ -e "$lockfile" ] && restart || : 176 restart) 177 restart 179 condrestart|try-restart) 186 restart
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | signal.c | 238 int restart = 0; in do_signal() local 251 restart = -2; in do_signal() 256 restart++; in do_signal() 270 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal() 288 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal() 290 return restart; in do_signal() 308 int restart = do_signal(regs, syscall); in do_work_pending() local 309 if (unlikely(restart)) { in do_work_pending() 315 return restart; in do_work_pending()
|
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/ |
H A D | run-ptest | 11 systemctl restart radiusd || /etc/init.d/radiusd restart || { 21 systemctl restart radiusd || /etc/init.d/radiusd restart
|
/openbmc/openbmc/meta-hpe/meta-rl300-g11/recipes-hpe/host/host-boot-enable/ |
H A D | host-boot-enable.sh | 29 systemctl restart xyz.openbmc_project.ampere_host_error_monitor.service 30 systemctl restart xyz.openbmc_project.amperecpusensor.service 31 systemctl restart xyz.openbmc_project.EntityManager.service 32 systemctl restart phosphor-pid-control.service
|
/openbmc/openbmc/meta-phosphor/recipes-core/systemd/ |
H A D | phosphor-systemd-policy.bb | 8 SRC_URI += "file://service-restart-policy.conf" 15 …install -m 644 -D ${UNPACKDIR}/service-restart-policy.conf ${D}${systemd_unitdir}/system.conf.d/se… 19 FILES:${PN} += "${systemd_unitdir}/system.conf.d/service-restart-policy.conf"
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | test_service_restart_policy.robot | 21 [Documentation] Kill active services and expect auto restart. 23 # The services listed below restart policy should be "always" 39 [Documentation] Kill the service and it must restart. 52 Sleep 10s reason=Wait for service to restart. 84 # From service list it will check service auto-restart policy 86 # Proper restart policy services will be appended to auto_restart_policy_always_services list. 99 ... Fail msg=All the given services have incorrect auto-restart policy. 102 …eyword And Continue On Failure Fail msg=Listed services are having incorrect auto-restart policy. 108 # they automatically restart and put into active state. 119 Sleep 10s reason=Wait for service to restart. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | st-reset.txt | 4 - compatible: should be "stih407-restart". 8 restart { 9 compatible = "st,stih407-restart";
|
/openbmc/openbmc/poky/meta/recipes-extended/at/at/ |
H A D | atd.init | 21 restart() { 33 restart|reload) 34 restart
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | pxa-dt.c | 20 .restart = pxa_restart, 33 .restart = pxa_restart, 48 .restart = pxa_restart,
|
/openbmc/linux/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()
|
/openbmc/openbmc/meta-hpe/meta-rl300-g11/recipes-hpe/power-sequencing/files/ |
H A D | gpios-manager.sh | 57 systemctl restart xyz.openbmc_project.ampere_host_error_monitor.service 58 systemctl restart xyz.openbmc_project.amperecpusensor.service 59 systemctl restart xyz.openbmc_project.EntityManager.service 60 systemctl restart phosphor-pid-control.service
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/ |
H A D | freediameter.init | 38 restart() { function 61 restart) 62 restart
|
/openbmc/ipmitool/contrib/ |
H A D | ipmievd.init.suse | 173 try-restart|condrestart) 182 $0 restart 188 restart) 195 $0 try-restart
|
/openbmc/linux/kernel/time/ |
H A D | alarmtimer.c | 202 int restart = ALARMTIMER_NORESTART; in alarmtimer_fired() local 209 restart = alarm->function(alarm, base->get_ktime()); in alarmtimer_fired() 212 if (restart != ALARMTIMER_NORESTART) { in alarmtimer_fired() 773 struct restart_block *restart; in alarmtimer_do_nsleep() local 793 restart = ¤t->restart_block; in alarmtimer_do_nsleep() 794 if (restart->nanosleep.type != TT_NONE) { in alarmtimer_do_nsleep() 804 return nanosleep_copyout(restart, &rmt); in alarmtimer_do_nsleep() 824 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) in alarm_timer_nsleep_restart() argument 826 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() 827 ktime_t exp = restart->nanosleep.expires; in alarm_timer_nsleep_restart() [all …]
|