Lines Matching refs:amdtp_stream
74 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
109 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
148 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
221 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
254 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
275 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
283 static unsigned int calculate_data_blocks(struct amdtp_stream *s, in calculate_data_blocks()
327 static unsigned int calculate_syt(struct amdtp_stream *s, in calculate_syt()
370 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
390 struct amdtp_stream *s = (void *)data; in pcm_period_tasklet()
397 static int queue_packet(struct amdtp_stream *s, unsigned int header_length, in queue_packet()
426 static inline int queue_out_packet(struct amdtp_stream *s, in queue_out_packet()
432 static inline int queue_in_packet(struct amdtp_stream *s) in queue_in_packet()
437 static int handle_out_packet(struct amdtp_stream *s, in handle_out_packet()
483 static int handle_out_packet_without_header(struct amdtp_stream *s, in handle_out_packet_without_header()
515 static int handle_in_packet(struct amdtp_stream *s, in handle_in_packet()
631 static int handle_in_packet_without_header(struct amdtp_stream *s, in handle_in_packet_without_header()
688 struct amdtp_stream *s = private_data; in out_stream_callback()
718 struct amdtp_stream *s = private_data; in in_stream_callback()
772 struct amdtp_stream *s = private_data; in amdtp_stream_first_callback()
818 int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed) in amdtp_stream_start()
930 unsigned long amdtp_stream_pcm_pointer(struct amdtp_stream *s) in amdtp_stream_pcm_pointer()
961 int amdtp_stream_pcm_ack(struct amdtp_stream *s) in amdtp_stream_pcm_ack()
978 void amdtp_stream_update(struct amdtp_stream *s) in amdtp_stream_update()
993 void amdtp_stream_stop(struct amdtp_stream *s) in amdtp_stream_stop()
1021 void amdtp_stream_pcm_abort(struct amdtp_stream *s) in amdtp_stream_pcm_abort()