Lines Matching refs:buffer
413 err = fw_iso_context_queue(s->context, &p, &s->buffer.iso_buffer, in queue_packet()
414 s->buffer.packets[s->packet_index].offset); in queue_packet()
441 __be32 *buffer; in handle_out_packet() local
447 buffer = s->buffer.packets[s->packet_index].buffer; in handle_out_packet()
450 pcm_frames = s->process_data_blocks(s, buffer + 2, data_blocks, &syt); in handle_out_packet()
456 buffer[0] = cpu_to_be32(ACCESS_ONCE(s->source_node_id_field) | in handle_out_packet()
460 buffer[1] = cpu_to_be32(CIP_EOH | in handle_out_packet()
470 trace_out_packet(s, cycle, buffer, payload_length, index); in handle_out_packet()
487 __be32 *buffer; in handle_out_packet_without_header() local
493 buffer = s->buffer.packets[s->packet_index].buffer; in handle_out_packet_without_header()
496 pcm_frames = s->process_data_blocks(s, buffer, data_blocks, &syt); in handle_out_packet_without_header()
519 __be32 *buffer; in handle_in_packet() local
528 buffer = s->buffer.packets[s->packet_index].buffer; in handle_in_packet()
529 cip_header[0] = be32_to_cpu(buffer[0]); in handle_in_packet()
530 cip_header[1] = be32_to_cpu(buffer[1]); in handle_in_packet()
612 syt = be32_to_cpu(buffer[1]) & CIP_SYT_MASK; in handle_in_packet()
613 pcm_frames = s->process_data_blocks(s, buffer + 2, data_blocks, &syt); in handle_in_packet()
635 __be32 *buffer; in handle_in_packet_without_header() local
641 buffer = s->buffer.packets[s->packet_index].buffer; in handle_in_packet_without_header()
648 pcm_frames = s->process_data_blocks(s, buffer, data_blocks, NULL); in handle_in_packet_without_header()
864 err = iso_packets_buffer_init(&s->buffer, s->unit, QUEUE_LENGTH, in amdtp_stream_start()
918 iso_packets_buffer_destroy(&s->buffer, s->unit); in amdtp_stream_start()
1009 iso_packets_buffer_destroy(&s->buffer, s->unit); in amdtp_stream_stop()