Lines Matching full:handler
29 struct list_head handler; member
102 struct pmi_handler *handler; in pmi_notify_handlers() local
105 list_for_each_entry(handler, &data->handler, node) { in pmi_notify_handlers()
106 pr_debug("pmi: notifying handler %p\n", handler); in pmi_notify_handlers()
107 if (handler->type == data->msg.type) in pmi_notify_handlers()
108 handler->handle_pmi_message(data->msg); in pmi_notify_handlers()
138 INIT_LIST_HEAD(&data->handler); in pmi_of_probe()
178 struct pmi_handler *handler, *tmp; in pmi_of_remove() local
185 list_for_each_entry_safe(handler, tmp, &data->handler, node) in pmi_of_remove()
186 list_del(&handler->node); in pmi_of_remove()
239 int pmi_register_handler(struct pmi_handler *handler) in pmi_register_handler() argument
245 list_add_tail(&handler->node, &data->handler); in pmi_register_handler()
252 void pmi_unregister_handler(struct pmi_handler *handler) in pmi_unregister_handler() argument
257 pr_debug("pmi: unregistering handler %p\n", handler); in pmi_unregister_handler()
260 list_del(&handler->node); in pmi_unregister_handler()