Lines Matching refs:async_handler
61 if (offset != motu->async_handler.offset || length != 4) { in handle_message()
81 if (motu->async_handler.callback_data == NULL) in snd_motu_transaction_reregister()
86 (motu->async_handler.offset >> 32)); in snd_motu_transaction_reregister()
92 data = cpu_to_be32(motu->async_handler.offset); in snd_motu_transaction_reregister()
106 motu->async_handler.length = 4; in snd_motu_transaction_register()
107 motu->async_handler.address_callback = handle_message; in snd_motu_transaction_register()
108 motu->async_handler.callback_data = motu; in snd_motu_transaction_register()
110 err = fw_core_add_address_handler(&motu->async_handler, in snd_motu_transaction_register()
117 fw_core_remove_address_handler(&motu->async_handler); in snd_motu_transaction_register()
118 motu->async_handler.address_callback = NULL; in snd_motu_transaction_register()
128 if (motu->async_handler.address_callback != NULL) in snd_motu_transaction_unregister()
129 fw_core_remove_address_handler(&motu->async_handler); in snd_motu_transaction_unregister()
130 motu->async_handler.address_callback = NULL; in snd_motu_transaction_unregister()