Lines Matching refs:tlabel

36 #define HEADER_TLABEL(tlabel)		((tlabel) << 10)  argument
87 card->tlabel_mask &= ~(1ULL << iter->tlabel); in close_transaction()
157 card->tlabel_mask &= ~(1ULL << t->tlabel); in split_transaction_timeout_callback()
227 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument
253 HEADER_TLABEL(tlabel) | in fw_fill_request()
303 int tlabel; in allocate_tlabel() local
305 tlabel = card->current_tlabel; in allocate_tlabel()
306 while (card->tlabel_mask & (1ULL << tlabel)) { in allocate_tlabel()
307 tlabel = (tlabel + 1) & 0x3f; in allocate_tlabel()
308 if (tlabel == card->current_tlabel) in allocate_tlabel()
312 card->current_tlabel = (tlabel + 1) & 0x3f; in allocate_tlabel()
313 card->tlabel_mask |= 1ULL << tlabel; in allocate_tlabel()
315 return tlabel; in allocate_tlabel()
375 int tlabel; in __fw_send_request() local
384 tlabel = allocate_tlabel(card); in __fw_send_request()
385 if (tlabel < 0) { in __fw_send_request()
404 t->tlabel = tlabel; in __fw_send_request()
412 fw_fill_request(&t->packet, tcode, t->tlabel, destination_id, card->node_id, generation, in __fw_send_request()
732 int tcode, tlabel, extended_tcode, source, destination; in fw_fill_response() local
735 tlabel = HEADER_GET_TLABEL(request_header[0]); in fw_fill_response()
742 HEADER_TLABEL(tlabel) | in fw_fill_response()
1028 int tcode, tlabel, source, rcode; in fw_core_handle_response() local
1031 tlabel = HEADER_GET_TLABEL(p->header[0]); in fw_core_handle_response()
1037 if (iter->node_id == source && iter->tlabel == tlabel) { in fw_core_handle_response()
1043 card->tlabel_mask &= ~(1ULL << iter->tlabel); in fw_core_handle_response()
1053 source, tlabel); in fw_core_handle_response()