Lines Matching refs:tlabel
57 card->tlabel_mask &= ~(1ULL << iter->tlabel); in close_transaction()
124 card->tlabel_mask &= ~(1ULL << t->tlabel); in split_transaction_timeout_callback()
191 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument
217 async_header_set_tlabel(packet->header, tlabel); in fw_fill_request()
263 int tlabel; in allocate_tlabel() local
265 tlabel = card->current_tlabel; in allocate_tlabel()
266 while (card->tlabel_mask & (1ULL << tlabel)) { in allocate_tlabel()
267 tlabel = (tlabel + 1) & 0x3f; in allocate_tlabel()
268 if (tlabel == card->current_tlabel) in allocate_tlabel()
272 card->current_tlabel = (tlabel + 1) & 0x3f; in allocate_tlabel()
273 card->tlabel_mask |= 1ULL << tlabel; in allocate_tlabel()
275 return tlabel; in allocate_tlabel()
335 int tlabel; in __fw_send_request() local
344 tlabel = allocate_tlabel(card); in __fw_send_request()
345 if (tlabel < 0) { in __fw_send_request()
364 t->tlabel = tlabel; in __fw_send_request()
372 fw_fill_request(&t->packet, tcode, t->tlabel, destination_id, card->node_id, generation, in __fw_send_request()
706 int tcode, tlabel, extended_tcode, source, destination; in fw_fill_response() local
709 tlabel = async_header_get_tlabel(request_header); in fw_fill_response()
715 async_header_set_tlabel(response->header, tlabel); in fw_fill_response()
1006 int tcode, tlabel, source, rcode; in fw_core_handle_response() local
1009 tlabel = async_header_get_tlabel(p->header); in fw_core_handle_response()
1044 if (iter->node_id == source && iter->tlabel == tlabel) { in fw_core_handle_response()
1047 card->tlabel_mask &= ~(1ULL << iter->tlabel); in fw_core_handle_response()
1060 source, tlabel); in fw_core_handle_response()