Lines Matching defs:tlabel
51 card->transactions.tlabel_mask &= ~(1ULL << entry->tlabel);
245 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel,
271 async_header_set_tlabel(packet->header, tlabel);
318 int tlabel;
322 tlabel = card->transactions.current_tlabel;
323 while (card->transactions.tlabel_mask & (1ULL << tlabel)) {
324 tlabel = (tlabel + 1) & 0x3f;
325 if (tlabel == card->transactions.current_tlabel)
329 card->transactions.current_tlabel = (tlabel + 1) & 0x3f;
330 card->transactions.tlabel_mask |= 1ULL << tlabel;
332 return tlabel;
391 int tlabel;
394 * Allocate tlabel from the bitmap and put the transaction on
401 tlabel = allocate_tlabel(card);
402 if (tlabel < 0) {
420 t->tlabel = tlabel;
433 fw_fill_request(&t->packet, tcode, t->tlabel, destination_id, card->node_id,
792 int tcode, tlabel, extended_tcode, source, destination;
795 tlabel = async_header_get_tlabel(request_header);
801 async_header_set_tlabel(response->header, tlabel);
1147 int tcode, tlabel, source, rcode;
1150 tlabel = async_header_get_tlabel(p->header);
1187 iter->node_id == source && iter->tlabel == tlabel);
1194 fw_notice(card, "unsolicited response (source %x, tlabel %x)\n",
1195 source, tlabel);