Home
last modified time | relevance | path

Searched refs:sys_off_data (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/include/linux/
H A Dreboot.h133 struct sys_off_data { struct
142 int (*callback)(struct sys_off_data *data), argument
149 int (*callback)(struct sys_off_data *data),
153 int (*callback)(struct sys_off_data *data),
157 int (*callback)(struct sys_off_data *data),
/openbmc/linux/kernel/
H A Dreboot.c53 int (*sys_off_cb)(struct sys_off_data *data);
321 struct sys_off_data data = {}; in sys_off_notify()
392 int (*callback)(struct sys_off_data *data), in register_sys_off_handler()
506 int (*callback)(struct sys_off_data *data), in devm_register_sys_off_handler()
532 int (*callback)(struct sys_off_data *data), in devm_register_power_off_handler()
554 int (*callback)(struct sys_off_data *data), in devm_register_restart_handler()
566 static int platform_power_off_notify(struct sys_off_data *data) in platform_power_off_notify()
619 static int legacy_pm_power_off(struct sys_off_data *data) in legacy_pm_power_off()
/openbmc/linux/arch/mips/loongson64/
H A Dreset.c25 static int firmware_restart(struct sys_off_data *unusedd) in firmware_restart()
34 static int firmware_poweroff(struct sys_off_data *unused) in firmware_poweroff()
/openbmc/linux/drivers/firmware/efi/
H A Dreboot.c54 static int efi_power_off(struct sys_off_data *data) in efi_power_off()
/openbmc/linux/arch/xtensa/platforms/iss/
H A Dsetup.c28 static int iss_power_off(struct sys_off_data *unused) in iss_power_off()
/openbmc/linux/arch/xtensa/platforms/xt2000/
H A Dsetup.c45 static int xt2000_power_off(struct sys_off_data *unused) in xt2000_power_off()
/openbmc/linux/drivers/mfd/
H A Dtps65219.c35 static int tps65219_power_off_handler(struct sys_off_data *data) in tps65219_power_off_handler()
51 static int tps65219_restart_handler(struct sys_off_data *data) in tps65219_restart_handler()
H A Dstpmic1.c121 static int stpmic1_power_off(struct sys_off_data *data) in stpmic1_power_off()
H A Drk8xx-core.c509 static int rk808_power_off(struct sys_off_data *data) in rk808_power_off()
543 static int rk808_restart(struct sys_off_data *data) in rk808_restart()
H A Daxp20x.c1109 static int axp20x_power_off(struct sys_off_data *data) in axp20x_power_off()
/openbmc/linux/drivers/soc/renesas/
H A Dpwc-rzv2m.c72 static int rzv2m_pwc_poweroff(struct sys_off_data *data) in rzv2m_pwc_poweroff()
/openbmc/linux/drivers/power/reset/
H A Dodroid-go-ultra-poweroff.c29 static int odroid_go_ultra_poweroff_prepare(struct sys_off_data *data) in odroid_go_ultra_poweroff_prepare()
/openbmc/linux/drivers/parisc/
H A Dpower.c201 static int qemu_power_off(struct sys_off_data *data) in qemu_power_off()
H A Dlasi.c149 static int lasi_power_off(struct sys_off_data *data) in lasi_power_off()
/openbmc/linux/arch/xtensa/platforms/xtfpga/
H A Dsetup.c36 static int xtfpga_power_off(struct sys_off_data *unused) in xtfpga_power_off()
/openbmc/linux/drivers/acpi/
H A Dsleep.c1055 static int acpi_power_off_prepare(struct sys_off_data *data) in acpi_power_off_prepare()
1064 static int acpi_power_off(struct sys_off_data *data) in acpi_power_off()
/openbmc/linux/drivers/platform/x86/x86-android-tablets/
H A Dlenovo.c503 static int lenovo_yoga_tab2_830_1050_power_off(struct sys_off_data *data) in lenovo_yoga_tab2_830_1050_power_off()
/openbmc/linux/drivers/regulator/
H A Dpfuze100-regulator.c575 static int pfuze_power_off_prepare(struct sys_off_data *data) in pfuze_power_off_prepare()
/openbmc/linux/drivers/soc/tegra/
H A Dpmc.c1145 static int tegra_pmc_restart_handler(struct sys_off_data *data) in tegra_pmc_restart_handler()
1152 static int tegra_pmc_power_off_handler(struct sys_off_data *data) in tegra_pmc_power_off_handler()