Lines Matching defs:packets
230 // includes 'empty' or 'NODATA' packets which include no event. In
299 // additional buffering needed to adjust for no-data packets.
397 * 2) packets with a rounded-up number of blocks occur as early
499 // Additionally, the sequence of tx packets is severely checked against any discontinuity
637 s->buffer.packets[s->packet_index].offset);
972 desc->ctx_payload = s->buffer.packets[packet_index].buffer;
1034 desc->ctx_payload = s->buffer.packets[index].buffer;
1087 // NOTE: estimate delay by recent history of arrived AMDTP packets. The estimated
1088 // value expectedly corresponds to a few packets (0-2) since the packet arrived at
1101 // NOTE: use history of scheduled packets.
1145 unsigned int packets;
1153 // Calculate the number of packets in buffer and check XRUN.
1154 packets = header_length / sizeof(*ctx_header);
1156 generate_rx_packet_descs(s, desc, ctx_header, packets);
1158 process_ctx_payloads(s, desc, packets);
1166 // At NO_PERIOD_WAKEUP mode, the packets for all IT/IR contexts are processed by
1178 for (i = 0; i < packets; ++i) {
1215 unsigned int packets;
1222 packets = header_length / sizeof(*ctx_header);
1224 cycle = compute_ohci_it_cycle(ctx_header[packets - 1], s->queue_size);
1227 for (i = 0; i < packets; ++i) {
1232 bool sched_irq = (s == d->irq_target && i == packets - 1);
1251 unsigned int packets;
1257 packets = header_length / sizeof(*ctx_header);
1260 while (offset < packets) {
1280 if (offset < packets) {
1312 // Calculate the number of packets in buffer and check XRUN.
1350 unsigned int packets;
1357 packets = header_length / s->ctx_data.tx.ctx_header_size;
1359 ctx_header += (packets - 1) * s->ctx_data.tx.ctx_header_size / sizeof(*ctx_header);
1363 for (i = 0; i < packets; ++i) {
1379 unsigned int packets;
1385 packets = header_length / s->ctx_data.tx.ctx_header_size;
1389 while (offset < packets) {
1412 if (offset < packets) {
1439 // Attempt to detect any event in the batch of packets.
1637 * amdtp_stream_start - start transferring packets
1641 * @queue_size: The number of packets in the queue.
1851 // Process isochronous packets queued till recent isochronous cycle to handle PCM frames.
1874 // Process isochronous packets for recent isochronous cycle to handle
1896 * amdtp_stream_stop - stop sending packets
2044 * amdtp_domain_start - start sending packets for isoc context in the domain.
2046 * @tx_init_skip_cycles: the number of cycles to skip processing packets at initial stage of IR
2050 * @replay_on_the_fly: transfer rx packets according to nominal frequency, then begin to replay
2051 * according to arrival of events in tx packets.
2118 * amdtp_domain_stop - stop sending packets for isoc context in the same domain.