Searched refs:register_event (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/soc/xilinx/ |
H A D | zynqmp_power.c | 257 static int register_event(struct device *dev, const enum pm_api_cb_id cb_type, const u32 node_id, in register_event() function 306 ret = register_event(&pdev->dev, PM_INIT_SUSPEND_CB, 0, 0, false, in zynqmp_pm_probe() 327 ret = register_event(&pdev->dev, PM_NOTIFY_CB, node_id, EVENT_SUBSYSTEM_RESTART, in zynqmp_pm_probe()
|
/linux/mm/ |
H A D | memcontrol-v1.c | 95 int (*register_event)(struct mem_cgroup *memcg, member 2019 event->register_event = mem_cgroup_usage_register_event; in memcg_write_event_control() 2025 event->register_event = mem_cgroup_oom_register_event; in memcg_write_event_control() 2031 event->register_event = vmpressure_register_event; in memcg_write_event_control() 2034 event->register_event = memsw_cgroup_usage_register_event; in memcg_write_event_control() 2056 ret = event->register_event(memcg, event->eventfd, buf); in memcg_write_event_control()
|