Lines Matching defs:packet

111 	 * Cancel the packet transmission if it's still queued.  That
112 * will call the packet transmission callback which cancels
116 if (card->driver->cancel_packet(card, &transaction->packet) == 0)
120 * If the request packet has already been sent, we need to see
165 static void transmit_complete_callback(struct fw_packet *packet,
169 container_of(packet, struct fw_transaction, packet);
199 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel,
206 packet->header[0] =
210 packet->header_length = 4;
211 packet->payload = payload;
212 packet->payload_length = length;
223 packet->header[0] =
228 packet->header[1] =
230 packet->header[2] =
235 packet->header[3] = *(u32 *)payload;
236 packet->header_length = 16;
237 packet->payload_length = 0;
242 packet->header[3] =
245 packet->header_length = 16;
246 packet->payload = payload;
247 packet->payload_length = length;
251 packet->header_length = 12;
252 packet->payload_length = 0;
256 packet->header[3] =
259 packet->header_length = 16;
260 packet->payload_length = 0;
267 packet->speed = speed;
268 packet->generation = generation;
269 packet->ack = 0;
270 packet->payload_mapped = false;
291 * fw_send_request() - submit a request packet for transmission
304 * Submit a request packet into the asynchronous request transmission queue.
334 * than when the request packet actually hits the wire. On the other hand,
369 fw_fill_request(&t->packet, tcode, t->tlabel,
372 t->packet.callback = transmit_complete_callback;
378 card->driver->send_request(card, &t->packet);
437 static void transmit_phy_packet_callback(struct fw_packet *packet,
627 static void free_response_callback(struct fw_packet *packet,
632 request = container_of(packet, struct fw_request, response);
922 /* FIXME: send statically allocated busy packet. */
973 * FIXME: sanity check packet, is length correct, does tcodes
1005 card->driver->cancel_packet(card, &t->packet);