Searched refs:RB_POWEROFF (Results 1 – 25 of 32) sorted by relevance
12
85 sc->sc_rbmask = RB_HALT | RB_POWEROFF; in gpiopower_attach()119 if (howto & RB_POWEROFF) in gpiopower_assert()135 (howto & RB_POWEROFF) != 0 ? "power off" : "reset"); in gpiopower_assert()
105 howto |= RB_POWEROFF; in main()126 if ((howto & RB_POWEROFF) && (howto & RB_POWERCYCLE)) in main()163 } else if (howto & RB_POWEROFF) { in main()
112 if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0) in rk8xx_poweroff()118 if (howto & RB_POWEROFF) in rk8xx_poweroff()
36 shutdown_nice(RB_POWEROFF); in orderly_poweroff()
188 shutdown_nice(RB_POWEROFF|RB_HALT); in xctrl_poweroff()356 else if ((howto & RB_POWEROFF) != 0) in xctrl_shutdown_final()
56 #define RB_POWEROFF 0x4000 /* turn the power off if possible */ macro
327 if ((howto & RB_POWEROFF) != 0) { in shutdown_nice_task_fn()438 if ((howto & RB_POWEROFF) != 0) in reboottrace()440 if ((howto & (RB_HALT|RB_POWEROFF)) == 0) in reboottrace()445 if ((howto & RB_POWEROFF) != 0) in reboottrace()447 if ((howto & (RB_HALT|RB_POWEROFF)) == 0) in reboottrace()964 bootopt |= RB_POWEROFF; in vpanic()989 if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0 || poweroff_delay <= 0) in poweroff_wait()
111 shutdown_nice(RB_POWEROFF); in am335x_pmic_intr()304 if (!(howto & RB_POWEROFF)) in am335x_pmic_shutdown()
147 shutdown_nice(RB_POWEROFF); in vmbus_shutdown_cb()
347 if ((howto & RB_POWEROFF) != 0) in opal_shutdown()364 howto = RB_POWEROFF; in opal_handle_shutdown_message()
158 if ((howto & RB_POWEROFF) != 0) { in rtas_shutdown()
73 write = (howto & RB_POWEROFF) != 0; in syscon_power_shutdown_final()
132 shutdown_nice(RB_POWEROFF); in pmac_therm_manage_fans()
756 if ((howto & RB_POWEROFF) != 0) in cuda_shutdown()
820 if ((howto & RB_POWEROFF) != 0) in pmu_shutdown()
230 if (howto & RB_HALT || howto & RB_POWEROFF) in bcmwd_reboot_system()
258 if ((howto & (RB_POWEROFF|RB_HALT)) == 0) in aw_wdog_shutdown_fn()
816 if (!(howto & RB_POWEROFF)) in axp2xx_shutdown()873 shutdown_nice(RB_POWEROFF); in axp2xx_intr()
582 shutdown_nice(RB_POWEROFF); in aw_thermal_intr()
926 if ((howto & RB_POWEROFF) == 0) in axp8xx_shutdown()1147 shutdown_nice(RB_POWEROFF); in axp8xx_intr()
104 if ((howto & RB_POWEROFF) != 0) in sbi_shutdown_final()
476 if ((howto & RB_POWEROFF) != 0) in psci_shutdown()
169 if ((howto & RB_POWEROFF) != 0 && efi_poweroff) in efi_shutdown_final()
630 if (howto != 0 && (howto & (RB_HALT | RB_POWEROFF | RB_REROOT | in sysdecode_reboot_howto()
622 shutdown_nice(RB_POWEROFF); in acpi_tz_monitor()