Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dreboot.h135 struct sys_off_data { struct
145 int (*callback)(struct sys_off_data *data), argument
152 int (*callback)(struct sys_off_data *data),
156 int (*callback)(struct sys_off_data *data),
160 int (*callback)(struct sys_off_data *data),
/linux/drivers/mfd/
H A D88pm886.c43 static int pm886_power_off_handler(struct sys_off_data *sys_off_data) in pm886_power_off_handler() argument
45 struct pm886_chip *chip = sys_off_data->cb_data; in pm886_power_off_handler()
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()
/linux/kernel/
H A Dreboot.c53 int (*sys_off_cb)(struct sys_off_data *data);
340 struct sys_off_data data = {}; in sys_off_notify()
412 int (*callback)(struct sys_off_data *data), in register_sys_off_handler()
526 int (*callback)(struct sys_off_data *data), in devm_register_sys_off_handler()
553 int (*callback)(struct sys_off_data *data), in devm_register_power_off_handler()
575 int (*callback)(struct sys_off_data *data), in devm_register_restart_handler()
587 static int platform_power_off_notify(struct sys_off_data *data) in platform_power_off_notify()
640 static int legacy_pm_power_off(struct sys_off_data *data) in legacy_pm_power_off()
/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()
/linux/drivers/power/reset/
H A Datc260x-poweroff.c164 static int atc260x_pwrc_pm_handler(struct sys_off_data *data) in atc260x_pwrc_pm_handler()
175 static int atc260x_pwrc_restart_handler(struct sys_off_data *data) in atc260x_pwrc_restart_handler()
H A Drestart-poweroff.c17 static int restart_poweroff_do_poweroff(struct sys_off_data *data) in restart_poweroff_do_poweroff()
H A Dbrcm-kona-reset.c18 static int kona_reset_handler(struct sys_off_data *data) in kona_reset_handler()
H A Dmsm-poweroff.c18 static int do_msm_poweroff(struct sys_off_data *data) in do_msm_poweroff()
H A Dregulator-poweroff.c21 static int regulator_poweroff_do_poweroff(struct sys_off_data *data) in regulator_poweroff_do_poweroff()
H A Dtps65086-restart.c12 static int tps65086_restart_notify(struct sys_off_data *data) in tps65086_restart_notify()
H A Drmobile-reset.c22 static int rmobile_reset_handler(struct sys_off_data *data) in rmobile_reset_handler()
H A Das3722-poweroff.c22 static int as3722_pm_power_off(struct sys_off_data *data) in as3722_pm_power_off()
H A Daxxia-reset.c29 static int axxia_restart_handler(struct sys_off_data *data) in axxia_restart_handler()
H A Dxgene-reboot.c29 static int xgene_restart_handler(struct sys_off_data *data) in xgene_restart_handler()
H A Dmt6323-poweroff.c25 static int mt6323_do_pwroff(struct sys_off_data *data) in mt6323_do_pwroff()
H A Dsyscon-poweroff.c26 static int syscon_poweroff(struct sys_off_data *off_data) in syscon_poweroff()
H A Dgpio-poweroff.c29 static int gpio_poweroff_do_poweroff(struct sys_off_data *data) in gpio_poweroff_do_poweroff()
H A Dbrcmstb-reboot.c32 static int brcmstb_restart_handler(struct sys_off_data *data) in brcmstb_restart_handler()
H A Dgpio-restart.c25 static int gpio_restart_notify(struct sys_off_data *data) in gpio_restart_notify()
/linux/drivers/platform/cznic/
H A Dturris-omnia-mcu-sys-off-wakeup.c109 static int omnia_power_off(struct sys_off_data *data) in omnia_power_off()
142 static int omnia_restart(struct sys_off_data *data) in omnia_restart()
/linux/arch/um/kernel/
H A Dreboot.c63 static int sys_power_off_handler(struct sys_off_data *data) in sys_power_off_handler()
/linux/drivers/firmware/efi/
H A Dreboot.c54 static int efi_power_off(struct sys_off_data *data) in efi_power_off()
/linux/arch/xtensa/platforms/iss/
H A Dsetup.c28 static int iss_power_off(struct sys_off_data *unused) in iss_power_off()
/linux/arch/xtensa/platforms/xt2000/
H A Dsetup.c45 static int xt2000_power_off(struct sys_off_data *unused) in xt2000_power_off()

12