• Home
  • Raw
  • Download

Lines Matching refs:tlabel

49 #define HEADER_TLABEL(tlabel)		((tlabel) << 10)  argument
100 card->tlabel_mask &= ~(1ULL << t->tlabel); in close_transaction()
152 card->tlabel_mask &= ~(1ULL << t->tlabel); in split_transaction_timeout_callback()
211 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument
237 HEADER_TLABEL(tlabel) | in fw_fill_request()
287 int tlabel; in allocate_tlabel() local
289 tlabel = card->current_tlabel; in allocate_tlabel()
290 while (card->tlabel_mask & (1ULL << tlabel)) { in allocate_tlabel()
291 tlabel = (tlabel + 1) & 0x3f; in allocate_tlabel()
292 if (tlabel == card->current_tlabel) in allocate_tlabel()
296 card->current_tlabel = (tlabel + 1) & 0x3f; in allocate_tlabel()
297 card->tlabel_mask |= 1ULL << tlabel; in allocate_tlabel()
299 return tlabel; in allocate_tlabel()
356 int tlabel; in fw_send_request() local
365 tlabel = allocate_tlabel(card); in fw_send_request()
366 if (tlabel < 0) { in fw_send_request()
373 t->tlabel = tlabel; in fw_send_request()
381 fw_fill_request(&t->packet, tcode, t->tlabel, in fw_send_request()
677 int tcode, tlabel, extended_tcode, source, destination; in fw_fill_response() local
680 tlabel = HEADER_GET_TLABEL(request_header[0]); in fw_fill_response()
687 HEADER_TLABEL(tlabel) | in fw_fill_response()
945 int tcode, tlabel, source, rcode; in fw_core_handle_response() local
948 tlabel = HEADER_GET_TLABEL(p->header[0]); in fw_core_handle_response()
954 if (t->node_id == source && t->tlabel == tlabel) { in fw_core_handle_response()
960 card->tlabel_mask &= ~(1ULL << t->tlabel); in fw_core_handle_response()
969 source, tlabel); in fw_core_handle_response()