Lines Matching defs:packet
1112 /* Macros for decoding the iso packet control header. */
1129 struct fw_iso_packet packet;
1163 u.packet.payload_length = GET_PAYLOAD_LENGTH(control);
1164 u.packet.interrupt = GET_INTERRUPT(control);
1165 u.packet.skip = GET_SKIP(control);
1166 u.packet.tag = GET_TAG(control);
1167 u.packet.sy = GET_SY(control);
1168 u.packet.header_length = GET_HEADER_LENGTH(control);
1172 if (u.packet.header_length & 3)
1174 transmit_header_bytes = u.packet.header_length;
1178 if (u.packet.header_length == 0 ||
1179 u.packet.header_length % ctx->header_size != 0)
1184 if (u.packet.payload_length == 0 ||
1185 u.packet.payload_length & 3)
1195 (u.packet.header, p->header, transmit_header_bytes))
1197 if (u.packet.skip && ctx->type == FW_ISO_CONTEXT_TRANSMIT &&
1198 u.packet.header_length + u.packet.payload_length > 0)
1200 if (payload + u.packet.payload_length > buffer_end)
1203 if (fw_iso_context_queue(ctx, &u.packet,
1208 payload += u.packet.payload_length;
1553 static void outbound_phy_packet_callback(struct fw_packet *packet,
1557 container_of(packet, struct outbound_phy_packet_event, p);
1593 pp->data[0] = packet->timestamp;
1603 pp->tstamp = packet->timestamp;