Home
last modified time | relevance | path

Searched refs:async_handler (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/sound/firewire/motu/
Dmotu-transaction.c61 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()
[all …]
Dmotu.h70 struct fw_address_handler async_handler; member
/Linux-v6.6/sound/firewire/digi00x/
Ddigi00x-transaction.c33 if (offset == dg00x->async_handler.offset) in handle_message()
44 (dg00x->async_handler.offset >> 32)); in snd_dg00x_transaction_reregister()
45 data[1] = cpu_to_be32(dg00x->async_handler.offset); in snd_dg00x_transaction_reregister()
53 if (dg00x->async_handler.callback_data == NULL) in snd_dg00x_transaction_unregister()
56 fw_core_remove_address_handler(&dg00x->async_handler); in snd_dg00x_transaction_unregister()
58 dg00x->async_handler.callback_data = NULL; in snd_dg00x_transaction_unregister()
69 dg00x->async_handler.length = 4; in snd_dg00x_transaction_register()
70 dg00x->async_handler.address_callback = handle_message; in snd_dg00x_transaction_register()
71 dg00x->async_handler.callback_data = dg00x; in snd_dg00x_transaction_register()
73 err = fw_core_add_address_handler(&dg00x->async_handler, in snd_dg00x_transaction_register()
Ddigi00x.h54 struct fw_address_handler async_handler; member
/Linux-v6.6/sound/firewire/fireface/
Dff-transaction.c139 offset -= ff->async_handler.offset; in handle_msg()
151 ff->async_handler.length = ff->spec->midi_addr_range; in allocate_own_address()
152 ff->async_handler.address_callback = handle_msg; in allocate_own_address()
153 ff->async_handler.callback_data = ff; in allocate_own_address()
156 midi_msg_region.end = midi_msg_region.start + ff->async_handler.length; in allocate_own_address()
158 err = fw_core_add_address_handler(&ff->async_handler, &midi_msg_region); in allocate_own_address()
161 if (ff->async_handler.offset & 0x0000ffffffff) { in allocate_own_address()
162 fw_core_remove_address_handler(&ff->async_handler); in allocate_own_address()
187 addr = (fw_card->node_id << 16) | (ff->async_handler.offset >> 32); in snd_ff_transaction_reregister()
224 if (ff->async_handler.callback_data == NULL) in snd_ff_transaction_unregister()
[all …]
Dff.h77 struct fw_address_handler async_handler; member
/Linux-v6.6/sound/firewire/tascam/
Dtascam-transaction.c259 if (offset != tscm->async_handler.offset) in handle_midi_tx()
306 tscm->async_handler.length = 8 * 8; in snd_tscm_transaction_register()
307 tscm->async_handler.address_callback = handle_midi_tx; in snd_tscm_transaction_register()
308 tscm->async_handler.callback_data = tscm; in snd_tscm_transaction_register()
310 err = fw_core_add_address_handler(&tscm->async_handler, in snd_tscm_transaction_register()
327 fw_core_remove_address_handler(&tscm->async_handler); in snd_tscm_transaction_register()
328 tscm->async_handler.callback_data = NULL; in snd_tscm_transaction_register()
341 (tscm->async_handler.offset >> 32)); in snd_tscm_transaction_reregister()
348 reg = cpu_to_be32(tscm->async_handler.offset); in snd_tscm_transaction_reregister()
374 if (tscm->async_handler.callback_data == NULL) in snd_tscm_transaction_unregister()
[all …]
Dtascam.h86 struct fw_address_handler async_handler; member