Searched refs:rcode (Results 1 – 5 of 5) sorted by relevance
/sound/firewire/fireworks/ |
D | fireworks_transaction.c | 119 copy_resp_to_buf(struct snd_efw *efw, void *data, size_t length, int *rcode) in copy_resp_to_buf() argument 137 *rcode = RCODE_CONFLICT_ERROR; in copy_resp_to_buf() 160 *rcode = RCODE_COMPLETE; in copy_resp_to_buf() 167 void *data, size_t length, int *rcode) in handle_resp_for_user() argument 192 copy_resp_to_buf(efw, data, length, rcode); in handle_resp_for_user() 199 void *data, size_t length, int *rcode, u32 seqnum) in handle_resp_for_kernel() argument 220 *rcode = RCODE_COMPLETE; in handle_resp_for_kernel() 232 int rcode, dummy; in efw_response() local 235 rcode = RCODE_TYPE_ERROR; in efw_response() 237 rcode = RCODE_DATA_ERROR; in efw_response() [all …]
|
/sound/firewire/ |
D | lib.c | 38 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() 70 static void async_midi_port_callback(struct fw_card *card, int rcode, in async_midi_port_callback() argument 81 if (rcode == RCODE_COMPLETE) in async_midi_port_callback() 83 else if (!rcode_is_permanent_error(rcode)) in async_midi_port_callback()
|
D | lib.h | 20 static inline bool rcode_is_permanent_error(int rcode) in rcode_is_permanent_error() argument 22 return rcode == RCODE_TYPE_ERROR || rcode == RCODE_ADDRESS_ERROR; in rcode_is_permanent_error()
|
D | scs1x.c | 84 static void scs_write_callback(struct fw_card *card, int rcode, in scs_write_callback() argument 89 if (rcode == RCODE_GENERATION) { in scs_write_callback()
|
/sound/firewire/bebob/ |
D | bebob_maudio.c | 97 int err, rcode; in snd_bebob_maudio_load_firmware() local 124 rcode = fw_run_transaction(device->card, TCODE_WRITE_BLOCK_REQUEST, in snd_bebob_maudio_load_firmware() 129 if (rcode != RCODE_COMPLETE) { in snd_bebob_maudio_load_firmware()
|