Lines Matching defs:packet
1041 /* Macros for decoding the iso packet control header. */
1058 struct fw_iso_packet packet;
1092 u.packet.payload_length = GET_PAYLOAD_LENGTH(control);
1093 u.packet.interrupt = GET_INTERRUPT(control);
1094 u.packet.skip = GET_SKIP(control);
1095 u.packet.tag = GET_TAG(control);
1096 u.packet.sy = GET_SY(control);
1097 u.packet.header_length = GET_HEADER_LENGTH(control);
1101 if (u.packet.header_length & 3)
1103 transmit_header_bytes = u.packet.header_length;
1107 if (u.packet.header_length == 0 ||
1108 u.packet.header_length % ctx->header_size != 0)
1113 if (u.packet.payload_length == 0 ||
1114 u.packet.payload_length & 3)
1124 (u.packet.header, p->header, transmit_header_bytes))
1126 if (u.packet.skip && ctx->type == FW_ISO_CONTEXT_TRANSMIT &&
1127 u.packet.header_length + u.packet.payload_length > 0)
1129 if (payload + u.packet.payload_length > buffer_end)
1132 if (fw_iso_context_queue(ctx, &u.packet,
1137 payload += u.packet.payload_length;
1480 static void outbound_phy_packet_callback(struct fw_packet *packet,
1484 container_of(packet, struct outbound_phy_packet_event, p);
1500 e->phy_packet.data[0] = packet->timestamp;