Home
last modified time | relevance | path

Searched refs:reboot_nb (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/power/reset/
H A Dqemu-virt-ctrl.c25 struct notifier_block reboot_nb; member
57 struct qemu_virt_ctrl *ctrl = container_of(nb, struct qemu_virt_ctrl, reboot_nb); in qemu_virt_ctrl_reboot_notify()
96 ctrl->reboot_nb.notifier_call = qemu_virt_ctrl_reboot_notify; in qemu_virt_ctrl_probe()
97 ret = devm_register_reboot_notifier(&pdev->dev, &ctrl->reboot_nb); in qemu_virt_ctrl_probe()
/linux/drivers/firmware/arm_scmi/
H A Dscmi_power_control.c93 struct notifier_block reboot_nb; member
103 container_of(x, struct scmi_syspower_conf, reboot_nb)
194 unregister_reboot_notifier(&sc->reboot_nb); in scmi_forceful_work_func()
222 sc->reboot_nb.notifier_call = &scmi_reboot_notifier; in scmi_request_graceful_transition()
223 ret = register_reboot_notifier(&sc->reboot_nb); in scmi_request_graceful_transition()