Lines Matching refs:ops
59 int dyn_event_register(struct dyn_event_operations *ops) in dyn_event_register() argument
61 if (!ops || !ops->create || !ops->show || !ops->is_busy || in dyn_event_register()
62 !ops->free || !ops->match) in dyn_event_register()
65 INIT_LIST_HEAD(&ops->list); in dyn_event_register()
67 list_add_tail(&ops->list, &dyn_event_ops_list); in dyn_event_register()
111 if (type && type != pos->ops) in dyn_event_release()
113 if (!pos->ops->match(system, event, in dyn_event_release()
117 ret = pos->ops->free(pos); in dyn_event_release()
130 struct dyn_event_operations *ops; in create_dyn_event() local
137 list_for_each_entry(ops, &dyn_event_ops_list, list) { in create_dyn_event()
138 ret = ops->create(raw_command); in create_dyn_event()
172 if (ev && ev->ops) in dyn_event_seq_show()
173 return ev->ops->show(m, ev); in dyn_event_seq_show()
203 if (type && ev->ops != type) in dyn_events_release_all()
205 if (ev->ops->is_busy(ev)) { in dyn_events_release_all()
211 if (type && ev->ops != type) in dyn_events_release_all()
213 ret = ev->ops->free(ev); in dyn_events_release_all()