Home
last modified time | relevance | path

Searched refs:RB_POWEROFF (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-14-stable/sys/dev/gpio/
HDgpiopower.c85 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-14-stable/sbin/reboot/
HDreboot.c105 howto |= RB_POWEROFF; in main()
126 if ((howto & RB_POWEROFF) && (howto & RB_POWERCYCLE)) in main()
163 } else if (howto & RB_POWEROFF) { in main()
/freebsd-14-stable/sys/dev/iicbus/pmic/rockchip/
HDrk8xx.c112 if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0) in rk8xx_poweroff()
118 if (howto & RB_POWEROFF) in rk8xx_poweroff()
/freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/
HDreboot.h36 shutdown_nice(RB_POWEROFF); in orderly_poweroff()
/freebsd-14-stable/sys/dev/xen/control/
HDcontrol.c188 shutdown_nice(RB_POWEROFF|RB_HALT); in xctrl_poweroff()
356 else if ((howto & RB_POWEROFF) != 0) in xctrl_shutdown_final()
/freebsd-14-stable/sys/sys/
HDreboot.h56 #define RB_POWEROFF 0x4000 /* turn the power off if possible */ macro
/freebsd-14-stable/sys/kern/
HDkern_shutdown.c327 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()
/freebsd-14-stable/sys/arm/ti/am335x/
HDam335x_pmic.c111 shutdown_nice(RB_POWEROFF); in am335x_pmic_intr()
304 if (!(howto & RB_POWEROFF)) in am335x_pmic_shutdown()
/freebsd-14-stable/sys/dev/hyperv/utilities/
HDvmbus_shutdown.c147 shutdown_nice(RB_POWEROFF); in vmbus_shutdown_cb()
/freebsd-14-stable/sys/powerpc/powernv/
HDopal_dev.c347 if ((howto & RB_POWEROFF) != 0) in opal_shutdown()
364 howto = RB_POWEROFF; in opal_handle_shutdown_message()
/freebsd-14-stable/sys/powerpc/pseries/
HDrtas_dev.c158 if ((howto & RB_POWEROFF) != 0) { in rtas_shutdown()
/freebsd-14-stable/sys/dev/extres/syscon/
HDsyscon_power.c73 write = (howto & RB_POWEROFF) != 0; in syscon_power_shutdown_final()
/freebsd-14-stable/sys/powerpc/powermac/
HDpowermac_thermal.c132 shutdown_nice(RB_POWEROFF); in pmac_therm_manage_fans()
HDcuda.c756 if ((howto & RB_POWEROFF) != 0) in cuda_shutdown()
HDpmu.c820 if ((howto & RB_POWEROFF) != 0) in pmu_shutdown()
/freebsd-14-stable/sys/arm/broadcom/bcm2835/
HDbcm2835_wdog.c230 if (howto & RB_HALT || howto & RB_POWEROFF) in bcmwd_reboot_system()
/freebsd-14-stable/sys/arm/allwinner/
HDaw_wdog.c258 if ((howto & (RB_POWEROFF|RB_HALT)) == 0) in aw_wdog_shutdown_fn()
HDaxp209.c816 if (!(howto & RB_POWEROFF)) in axp2xx_shutdown()
873 shutdown_nice(RB_POWEROFF); in axp2xx_intr()
HDaw_thermal.c582 shutdown_nice(RB_POWEROFF); in aw_thermal_intr()
HDaxp81x.c926 if ((howto & RB_POWEROFF) == 0) in axp8xx_shutdown()
1147 shutdown_nice(RB_POWEROFF); in axp8xx_intr()
/freebsd-14-stable/sys/riscv/riscv/
HDsbi.c104 if ((howto & RB_POWEROFF) != 0) in sbi_shutdown_final()
/freebsd-14-stable/sys/dev/psci/
HDpsci.c476 if ((howto & RB_POWEROFF) != 0) in psci_shutdown()
/freebsd-14-stable/sys/dev/efidev/
HDefirt.c169 if ((howto & RB_POWEROFF) != 0 && efi_poweroff) in efi_shutdown_final()
/freebsd-14-stable/lib/libsysdecode/
HDflags.c630 if (howto != 0 && (howto & (RB_HALT | RB_POWEROFF | RB_REROOT | in sysdecode_reboot_howto()
/freebsd-14-stable/sys/dev/acpica/
HDacpi_thermal.c622 shutdown_nice(RB_POWEROFF); in acpi_tz_monitor()

12