Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/gpio/
H A Dgpiopower.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/sys/dev/iicbus/pmic/rockchip/
H A Drk8xx.c111 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 Dreboot.h36 shutdown_nice(RB_POWEROFF); in orderly_poweroff()
/freebsd/sbin/reboot/
H A Dreboot.c278 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 Dcontrol.c188 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 Dreboot.h54 #define RB_POWEROFF 0x4000 /* turn the power off if possible */ macro
/freebsd/sys/kern/
H A Dkern_shutdown.c326 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 Dam335x_pmic.c111 shutdown_nice(RB_POWEROFF); in am335x_pmic_intr()
304 if (!(howto & RB_POWEROFF)) in am335x_pmic_shutdown()
/freebsd/sys/dev/hyperv/utilities/
H A Dvmbus_shutdown.c146 shutdown_nice(RB_POWEROFF); in vmbus_shutdown_cb()
/freebsd/sys/powerpc/powernv/
H A Dopal_dev.c346 if ((howto & RB_POWEROFF) != 0) in opal_shutdown()
363 howto = RB_POWEROFF; in opal_handle_shutdown_message()
/freebsd/sys/powerpc/pseries/
H A Drtas_dev.c157 if ((howto & RB_POWEROFF) != 0) { in rtas_shutdown()
/freebsd/sys/dev/syscon/
H A Dsyscon_power.c72 write = (howto & RB_POWEROFF) != 0; in syscon_power_shutdown_final()
/freebsd/sys/powerpc/powermac/
H A Dpowermac_thermal.c131 shutdown_nice(RB_POWEROFF); in pmac_therm_manage_fans()
H A Dcuda.c750 if ((howto & RB_POWEROFF) != 0) in cuda_shutdown()
H A Dpmu.c814 if ((howto & RB_POWEROFF) != 0) in pmu_shutdown()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_wdog.c230 if (howto & RB_HALT || howto & RB_POWEROFF) in bcmwd_reboot_system()
/freebsd/sys/arm/allwinner/
H A Daw_wdog.c258 if ((howto & (RB_POWEROFF|RB_HALT)) == 0) in aw_wdog_shutdown_fn()
H A Daxp209.c816 if (!(howto & RB_POWEROFF)) in axp2xx_shutdown()
873 shutdown_nice(RB_POWEROFF); in axp2xx_intr()
H A Daw_thermal.c581 shutdown_nice(RB_POWEROFF); in aw_thermal_intr()
H A Daxp81x.c925 if ((howto & RB_POWEROFF) == 0) in axp8xx_shutdown()
1146 shutdown_nice(RB_POWEROFF); in axp8xx_intr()
/freebsd/sys/riscv/riscv/
H A Dsbi.c103 if ((howto & RB_POWEROFF) != 0) in sbi_shutdown_final()
/freebsd/sys/dev/psci/
H A Dpsci.c479 if ((howto & RB_POWEROFF) != 0) in psci_shutdown()
/freebsd/sys/dev/efidev/
H A Defirt.c160 if ((howto & RB_POWEROFF) != 0 && efi_poweroff) in efi_shutdown_final()
/freebsd/lib/libsysdecode/
H A Dflags.c630 if (howto != 0 && (howto & (RB_HALT | RB_POWEROFF | RB_REROOT | in sysdecode_reboot_howto()
/freebsd/sys/dev/acpica/
H A Dacpi_thermal.c622 shutdown_nice(RB_POWEROFF); in acpi_tz_monitor()

12