Lines Matching refs:packet_index

108 	s->packet_index = 0;  in amdtp_stream_init()
637 s->buffer.packets[s->packet_index].offset); in queue_packet()
643 if (++s->packet_index >= s->queue_size) in queue_packet()
644 s->packet_index = 0; in queue_packet()
701 data_block_counter, s->packet_index, index, curr_cycle_time); in build_it_pkt_header()
803 unsigned int *syt, unsigned int packet_index, unsigned int index, in parse_ir_ctx_header() argument
849 *data_block_counter, packet_index, index, curr_cycle_time); in parse_ir_ctx_header()
911 unsigned int packet_index = s->packet_index; in generate_tx_packet_descs() local
964 packet_index, i, curr_cycle_time); in generate_tx_packet_descs()
972 desc->ctx_payload = s->buffer.packets[packet_index].buffer; in generate_tx_packet_descs()
981 packet_index = (packet_index + 1) % queue_size; in generate_tx_packet_descs()
1014 unsigned int index = (s->packet_index + i) % s->queue_size; in generate_rx_packet_descs()
1048 s->packet_index = -1; in cancel_stream()
1150 if (s->packet_index < 0) in process_rx_packets()
1219 if (s->packet_index < 0) in skip_rx_packets()
1254 if (s->packet_index < 0) in process_rx_packets_intermediately()
1309 if (s->packet_index < 0) in process_tx_packets()
1354 if (s->packet_index < 0) in drop_tx_packets()
1382 if (s->packet_index < 0) in process_tx_packets_intermediately()
1434 if (s->packet_index < 0) in drop_tx_packets_initially()
1783 s->packet_index = 0; in amdtp_stream_start()
1796 sched_irq = !((s->packet_index + 1) % in amdtp_stream_start()
1804 } while (s->packet_index > 0); in amdtp_stream_start()