Lines Matching refs:tlabel
69 card->tlabel_mask &= ~(1ULL << iter->tlabel);
139 card->tlabel_mask &= ~(1ULL << t->tlabel);
212 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel,
238 async_header_set_tlabel(packet->header, tlabel);
284 int tlabel;
286 tlabel = card->current_tlabel;
287 while (card->tlabel_mask & (1ULL << tlabel)) {
288 tlabel = (tlabel + 1) & 0x3f;
289 if (tlabel == card->current_tlabel)
293 card->current_tlabel = (tlabel + 1) & 0x3f;
294 card->tlabel_mask |= 1ULL << tlabel;
296 return tlabel;
356 int tlabel;
359 * Allocate tlabel from the bitmap and put the transaction on
365 tlabel = allocate_tlabel(card);
366 if (tlabel < 0) {
385 t->tlabel = tlabel;
393 fw_fill_request(&t->packet, tcode, t->tlabel, destination_id, card->node_id, generation,
725 int tcode, tlabel, extended_tcode, source, destination;
728 tlabel = async_header_get_tlabel(request_header);
734 async_header_set_tlabel(response->header, tlabel);
1030 int tcode, tlabel, source, rcode;
1033 tlabel = async_header_get_tlabel(p->header);
1068 if (iter->node_id == source && iter->tlabel == tlabel) {
1074 card->tlabel_mask &= ~(1ULL << iter->tlabel);
1086 fw_notice(card, "unsolicited response (source %x, tlabel %x)\n",
1087 source, tlabel);