Lines Matching refs:sys_off_handler
52 struct sys_off_handler { struct
321 struct sys_off_handler *handler; in sys_off_notify()
324 handler = container_of(nb, struct sys_off_handler, nb); in sys_off_notify()
332 static struct sys_off_handler platform_sys_off_handler;
334 static struct sys_off_handler *alloc_sys_off_handler(int priority) in alloc_sys_off_handler()
336 struct sys_off_handler *handler; in alloc_sys_off_handler()
361 static void free_sys_off_handler(struct sys_off_handler *handler) in free_sys_off_handler()
390 struct sys_off_handler *
396 struct sys_off_handler *handler; in register_sys_off_handler()
464 void unregister_sys_off_handler(struct sys_off_handler *handler) in unregister_sys_off_handler()
487 struct sys_off_handler *handler = data; in devm_unregister_sys_off_handler()
510 struct sys_off_handler *handler; in devm_register_sys_off_handler()
565 static struct sys_off_handler *platform_power_off_handler;
589 struct sys_off_handler *handler; in register_platform_power_off()
643 struct sys_off_handler *sys_off = NULL; in do_kernel_power_off()