Lines Matching refs:rcode
39 #define HEADER_RCODE(rcode) ((rcode) << 12)
74 struct fw_card *card, int rcode)
95 t->callback(card, rcode, NULL, 0, t->callback_data);
192 * rcode, so just forward that to the callback.
385 int rcode;
388 static void transaction_callback(struct fw_card *card, int rcode,
393 if (rcode == RCODE_COMPLETE)
395 d->rcode = rcode;
430 return d.rcode;
672 int rcode, void *payload, size_t length)
688 HEADER_RCODE(rcode);
802 struct fw_request *request, int rcode)
814 if (rcode == RCODE_COMPLETE)
816 rcode, request->data,
820 rcode, NULL, 0);
943 int tcode, tlabel, source, rcode;
948 rcode = HEADER_GET_RCODE(p->header[1]);
1007 t->callback(card, rcode, data, data_length, t->callback_data);
1013 * @rcode: the result code
1015 const char *fw_rcode_string(int rcode)
1030 if ((unsigned int)rcode < ARRAY_SIZE(names) && names[rcode])
1031 return names[rcode];
1093 int rcode = RCODE_COMPLETE;
1099 rcode = RCODE_ADDRESS_ERROR;
1121 rcode = RCODE_TYPE_ERROR;
1129 rcode = RCODE_TYPE_ERROR;
1141 rcode = RCODE_TYPE_ERROR;
1155 rcode = RCODE_TYPE_ERROR;
1165 rcode = RCODE_TYPE_ERROR;
1176 rcode = RCODE_TYPE_ERROR;
1194 rcode = RCODE_ADDRESS_ERROR;
1198 fw_send_response(card, request, rcode);