Lines Matching refs:packet
1069 struct fw_iso_packet packet; in ioctl_queue_iso() member
1105 u.packet.payload_length = GET_PAYLOAD_LENGTH(control); in ioctl_queue_iso()
1106 u.packet.interrupt = GET_INTERRUPT(control); in ioctl_queue_iso()
1107 u.packet.skip = GET_SKIP(control); in ioctl_queue_iso()
1108 u.packet.tag = GET_TAG(control); in ioctl_queue_iso()
1109 u.packet.sy = GET_SY(control); in ioctl_queue_iso()
1110 u.packet.header_length = GET_HEADER_LENGTH(control); in ioctl_queue_iso()
1114 if (u.packet.header_length & 3) in ioctl_queue_iso()
1116 transmit_header_bytes = u.packet.header_length; in ioctl_queue_iso()
1120 if (u.packet.header_length == 0 || in ioctl_queue_iso()
1121 u.packet.header_length % ctx->header_size != 0) in ioctl_queue_iso()
1126 if (u.packet.payload_length == 0 || in ioctl_queue_iso()
1127 u.packet.payload_length & 3) in ioctl_queue_iso()
1137 (u.packet.header, p->header, transmit_header_bytes)) in ioctl_queue_iso()
1139 if (u.packet.skip && ctx->type == FW_ISO_CONTEXT_TRANSMIT && in ioctl_queue_iso()
1140 u.packet.header_length + u.packet.payload_length > 0) in ioctl_queue_iso()
1142 if (payload + u.packet.payload_length > buffer_end) in ioctl_queue_iso()
1145 if (fw_iso_context_queue(ctx, &u.packet, in ioctl_queue_iso()
1150 payload += u.packet.payload_length; in ioctl_queue_iso()
1494 static void outbound_phy_packet_callback(struct fw_packet *packet, in outbound_phy_packet_callback() argument
1498 container_of(packet, struct outbound_phy_packet_event, p); in outbound_phy_packet_callback()
1513 e->phy_packet.data[0] = packet->timestamp; in outbound_phy_packet_callback()