Lines Matching refs:packets
414 s->buffer.packets[s->packet_index].offset); in queue_packet()
447 buffer = s->buffer.packets[s->packet_index].buffer; in handle_out_packet()
493 buffer = s->buffer.packets[s->packet_index].buffer; in handle_out_packet_without_header()
528 buffer = s->buffer.packets[s->packet_index].buffer; in handle_in_packet()
640 buffer = s->buffer.packets[s->packet_index].buffer; in handle_in_packet_without_header()
689 unsigned int i, packets = header_length / 4; in out_stream_callback() local
698 cycle = increment_cycle_count(cycle, QUEUE_LENGTH - packets); in out_stream_callback()
700 for (i = 0; i < packets; ++i) { in out_stream_callback()
719 unsigned int i, packets; in in_stream_callback() local
728 packets = header_length / IN_PACKET_HEADER_SIZE; in in_stream_callback()
733 cycle = decrement_cycle_count(cycle, packets); in in_stream_callback()
738 for (i = 0; i < packets; i++) { in in_stream_callback()
756 if (i < packets) { in in_stream_callback()
774 unsigned int packets; in amdtp_stream_first_callback() local
786 packets = header_length / IN_PACKET_HEADER_SIZE; in amdtp_stream_first_callback()
787 cycle = decrement_cycle_count(cycle, packets); in amdtp_stream_first_callback()
794 packets = header_length / 4; in amdtp_stream_first_callback()
795 cycle = increment_cycle_count(cycle, QUEUE_LENGTH - packets); in amdtp_stream_first_callback()