/freebsd/sys/dev/gpio/ |
H A D | gpiopower.c | 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()
|
/freebsd/sys/dev/iicbus/pmic/rockchip/ |
H A D | rk8xx.c | 111 if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0) in rk8xx_poweroff() 117 if (howto & RB_POWEROFF) in rk8xx_poweroff()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | reboot.h | 36 shutdown_nice(RB_POWEROFF); in orderly_poweroff()
|
/freebsd/sbin/reboot/ |
H A D | reboot.c | 278 howto |= RB_POWEROFF; in main() 303 if ((howto & RB_POWEROFF) && (howto & RB_POWERCYCLE)) in main() 359 } else if (howto & RB_POWEROFF) { in main()
|
/freebsd/sys/dev/xen/control/ |
H A D | control.c | 188 shutdown_nice(RB_POWEROFF|RB_HALT); in xctrl_poweroff() 356 else if ((howto & RB_POWEROFF) != 0) in xctrl_shutdown_final()
|
/freebsd/sys/sys/ |
H A D | reboot.h | 54 #define RB_POWEROFF 0x4000 /* turn the power off if possible */ macro
|
/freebsd/sys/kern/ |
H A D | kern_shutdown.c | 326 if ((howto & RB_POWEROFF) != 0) { in shutdown_nice_task_fn() 439 if ((howto & RB_POWEROFF) != 0) in reboottrace() 441 if ((howto & (RB_HALT|RB_POWEROFF)) == 0) in reboottrace() 446 if ((howto & RB_POWEROFF) != 0) in reboottrace() 448 if ((howto & (RB_HALT|RB_POWEROFF)) == 0) in reboottrace() 976 bootopt |= RB_POWEROFF; in vpanic() 1001 if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0 || poweroff_delay <= 0) in poweroff_wait()
|
/freebsd/sys/arm/ti/am335x/ |
H A D | am335x_pmic.c | 111 shutdown_nice(RB_POWEROFF); in am335x_pmic_intr() 304 if (!(howto & RB_POWEROFF)) in am335x_pmic_shutdown()
|
/freebsd/sys/dev/hyperv/utilities/ |
H A D | vmbus_shutdown.c | 146 shutdown_nice(RB_POWEROFF); in vmbus_shutdown_cb()
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_dev.c | 346 if ((howto & RB_POWEROFF) != 0) in opal_shutdown() 363 howto = RB_POWEROFF; in opal_handle_shutdown_message()
|
/freebsd/sys/powerpc/pseries/ |
H A D | rtas_dev.c | 157 if ((howto & RB_POWEROFF) != 0) { in rtas_shutdown()
|
/freebsd/sys/dev/syscon/ |
H A D | syscon_power.c | 72 write = (howto & RB_POWEROFF) != 0; in syscon_power_shutdown_final()
|
/freebsd/sys/powerpc/powermac/ |
H A D | powermac_thermal.c | 131 shutdown_nice(RB_POWEROFF); in pmac_therm_manage_fans()
|
H A D | cuda.c | 750 if ((howto & RB_POWEROFF) != 0) in cuda_shutdown()
|
H A D | pmu.c | 814 if ((howto & RB_POWEROFF) != 0) in pmu_shutdown()
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_wdog.c | 230 if (howto & RB_HALT || howto & RB_POWEROFF) in bcmwd_reboot_system()
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_wdog.c | 258 if ((howto & (RB_POWEROFF|RB_HALT)) == 0) in aw_wdog_shutdown_fn()
|
H A D | axp209.c | 816 if (!(howto & RB_POWEROFF)) in axp2xx_shutdown() 873 shutdown_nice(RB_POWEROFF); in axp2xx_intr()
|
H A D | aw_thermal.c | 581 shutdown_nice(RB_POWEROFF); in aw_thermal_intr()
|
H A D | axp81x.c | 925 if ((howto & RB_POWEROFF) == 0) in axp8xx_shutdown() 1146 shutdown_nice(RB_POWEROFF); in axp8xx_intr()
|
/freebsd/sys/riscv/riscv/ |
H A D | sbi.c | 103 if ((howto & RB_POWEROFF) != 0) in sbi_shutdown_final()
|
/freebsd/sys/dev/psci/ |
H A D | psci.c | 479 if ((howto & RB_POWEROFF) != 0) in psci_shutdown()
|
/freebsd/sys/dev/efidev/ |
H A D | efirt.c | 160 if ((howto & RB_POWEROFF) != 0 && efi_poweroff) in efi_shutdown_final()
|
/freebsd/lib/libsysdecode/ |
H A D | flags.c | 630 if (howto != 0 && (howto & (RB_HALT | RB_POWEROFF | RB_REROOT | in sysdecode_reboot_howto()
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_thermal.c | 622 shutdown_nice(RB_POWEROFF); in acpi_tz_monitor()
|