Home
last modified time | relevance | path

Searched refs:rcode (Results 1 – 7 of 7) sorted by relevance

/sound/firewire/fireworks/
Dfireworks_transaction.c118 copy_resp_to_buf(struct snd_efw *efw, void *data, size_t length, int *rcode) in copy_resp_to_buf() argument
136 *rcode = RCODE_CONFLICT_ERROR; in copy_resp_to_buf()
159 *rcode = RCODE_COMPLETE; in copy_resp_to_buf()
166 void *data, size_t length, int *rcode) in handle_resp_for_user() argument
191 copy_resp_to_buf(efw, data, length, rcode); in handle_resp_for_user()
198 void *data, size_t length, int *rcode, u32 seqnum) in handle_resp_for_kernel() argument
219 *rcode = RCODE_COMPLETE; in handle_resp_for_kernel()
231 int rcode, dummy; in efw_response() local
234 rcode = RCODE_TYPE_ERROR; in efw_response()
236 rcode = RCODE_DATA_ERROR; in efw_response()
[all …]
/sound/firewire/
Dlib.c38 int generation, rcode, tries = 0; in snd_fw_transaction() local
46 rcode = fw_run_transaction(device->card, tcode, in snd_fw_transaction()
51 if (rcode == RCODE_COMPLETE) in snd_fw_transaction()
54 if (rcode == RCODE_GENERATION && (flags & FW_FIXED_GENERATION)) in snd_fw_transaction()
57 if (rcode_is_permanent_error(rcode) || ++tries >= 3) { in snd_fw_transaction()
61 fw_rcode_string(rcode)); in snd_fw_transaction()
Dlib.h21 static inline bool rcode_is_permanent_error(int rcode) in rcode_is_permanent_error() argument
23 return rcode == RCODE_TYPE_ERROR || rcode == RCODE_ADDRESS_ERROR; in rcode_is_permanent_error()
/sound/firewire/fireface/
Dff-transaction.c11 int rcode) in finish_transmit_midi_msg() argument
16 if (rcode_is_permanent_error(rcode)) { in finish_transmit_midi_msg()
21 if (rcode != RCODE_COMPLETE) { in finish_transmit_midi_msg()
35 static void finish_transmit_midi0_msg(struct fw_card *card, int rcode, in finish_transmit_midi0_msg() argument
41 finish_transmit_midi_msg(ff, 0, rcode); in finish_transmit_midi0_msg()
44 static void finish_transmit_midi1_msg(struct fw_card *card, int rcode, in finish_transmit_midi1_msg() argument
50 finish_transmit_midi_msg(ff, 1, rcode); in finish_transmit_midi1_msg()
/sound/firewire/oxfw/
Doxfw-scs1x.c101 int rcode; in handle_hss() local
104 rcode = RCODE_ADDRESS_ERROR; in handle_hss()
109 rcode = RCODE_TYPE_ERROR; in handle_hss()
119 rcode = RCODE_COMPLETE; in handle_hss()
121 fw_send_response(card, request, rcode); in handle_hss()
124 static void scs_write_callback(struct fw_card *card, int rcode, in scs_write_callback() argument
129 if (!rcode_is_permanent_error(rcode)) { in scs_write_callback()
131 if (rcode == RCODE_COMPLETE) in scs_write_callback()
/sound/firewire/tascam/
Dtascam-transaction.c145 static void async_midi_port_callback(struct fw_card *card, int rcode, in async_midi_port_callback() argument
156 if (rcode == RCODE_COMPLETE) in async_midi_port_callback()
158 else if (!rcode_is_permanent_error(rcode)) in async_midi_port_callback()
/sound/firewire/bebob/
Dbebob_maudio.c96 int err, rcode; in snd_bebob_maudio_load_firmware() local
123 rcode = fw_run_transaction(device->card, TCODE_WRITE_BLOCK_REQUEST, in snd_bebob_maudio_load_firmware()
128 if (rcode != RCODE_COMPLETE) { in snd_bebob_maudio_load_firmware()