Lines Matching refs:cb_fun
91 event_cb_func_t cb_fun, void *data) in xlnx_add_cb_for_notify_event() argument
124 cb_data->eve_cb = cb_fun; in xlnx_add_cb_for_notify_event()
135 if (cb_pos->eve_cb == cb_fun && in xlnx_add_cb_for_notify_event()
145 cb_data->eve_cb = cb_fun; in xlnx_add_cb_for_notify_event()
154 static int xlnx_add_cb_for_suspend(event_cb_func_t cb_fun, void *data) in xlnx_add_cb_for_suspend() argument
179 cb_data->eve_cb = cb_fun; in xlnx_add_cb_for_suspend()
190 static int xlnx_remove_cb_for_suspend(event_cb_func_t cb_fun) in xlnx_remove_cb_for_suspend() argument
205 if (cb_pos->eve_cb == cb_fun) { in xlnx_remove_cb_for_suspend()
226 event_cb_func_t cb_fun, void *data) in xlnx_remove_cb_for_notify_event() argument
242 if (cb_pos->eve_cb == cb_fun && in xlnx_remove_cb_for_notify_event()
283 const bool wake, event_cb_func_t cb_fun, void *data) in xlnx_register_event() argument
297 if (!cb_fun) in xlnx_register_event()
301 ret = xlnx_add_cb_for_suspend(cb_fun, data); in xlnx_register_event()
305 ret = xlnx_add_cb_for_notify_event(node_id, event, wake, cb_fun, data); in xlnx_register_event()
314 ret = xlnx_add_cb_for_notify_event(node_id, eve, wake, cb_fun, in xlnx_register_event()
328 xlnx_remove_cb_for_notify_event(node_id, eve, cb_fun, data); in xlnx_register_event()
350 xlnx_remove_cb_for_notify_event(node_id, eve, cb_fun, data); in xlnx_register_event()
353 xlnx_remove_cb_for_notify_event(node_id, event, cb_fun, data); in xlnx_register_event()
376 event_cb_func_t cb_fun, void *data) in xlnx_unregister_event() argument
391 if (!cb_fun) in xlnx_unregister_event()
395 ret = xlnx_remove_cb_for_suspend(cb_fun); in xlnx_unregister_event()
399 xlnx_remove_cb_for_notify_event(node_id, event, cb_fun, data); in xlnx_unregister_event()
406 xlnx_remove_cb_for_notify_event(node_id, eve, cb_fun, data); in xlnx_unregister_event()