Lines Matching refs:amdtp_stream
92 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
126 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
190 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
286 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
316 static int amdtp_stream_get_max_ctx_payload_size(struct amdtp_stream *s) in amdtp_stream_get_max_ctx_payload_size()
335 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
354 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
365 static void pool_blocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_blocking_data_blocks()
383 static void pool_ideal_nonblocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_nonblocking_data_blocks()
464 static void pool_ideal_syt_offsets(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_syt_offsets()
509 static unsigned int calculate_cached_cycle_count(struct amdtp_stream *s, unsigned int head) in calculate_cached_cycle_count()
521 static void cache_seq(struct amdtp_stream *s, const struct pkt_desc *src, unsigned int desc_count) in cache_seq()
546 static void pool_ideal_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size, in pool_ideal_seq_descs()
557 static void pool_replayed_seq(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size, in pool_replayed_seq()
560 struct amdtp_stream *target = s->ctx_data.rx.replay_target; in pool_replayed_seq()
575 static void pool_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size, in pool_seq_descs()
579 void (*pool_seq_descs)(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size, in pool_seq_descs()
588 struct amdtp_stream *tx = s->ctx_data.rx.replay_target; in pool_seq_descs()
603 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
644 struct amdtp_stream *s = container_of(work, struct amdtp_stream, in pcm_period_work()
652 static int queue_packet(struct amdtp_stream *s, struct fw_iso_packet *params, in queue_packet()
674 static inline int queue_out_packet(struct amdtp_stream *s, in queue_out_packet()
682 static inline int queue_in_packet(struct amdtp_stream *s, in queue_in_packet()
692 static void generate_cip_header(struct amdtp_stream *s, __be32 cip_header[2], in generate_cip_header()
705 static void build_it_pkt_header(struct amdtp_stream *s, unsigned int cycle, in build_it_pkt_header()
729 static int check_cip_header(struct amdtp_stream *s, const __be32 *buf, in check_cip_header()
828 static int parse_ir_ctx_header(struct amdtp_stream *s, unsigned int cycle, in parse_ir_ctx_header()
934 static int generate_tx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_tx_packet_descs()
1030 static void generate_rx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_rx_packet_descs()
1075 static inline void cancel_stream(struct amdtp_stream *s) in cancel_stream()
1090 static snd_pcm_sframes_t compute_pcm_extra_delay(struct amdtp_stream *s, in compute_pcm_extra_delay()
1147 static void process_ctx_payloads(struct amdtp_stream *s, in process_ctx_payloads()
1174 struct amdtp_stream *s = private_data; in process_rx_packets()
1245 struct amdtp_stream *s = private_data; in skip_rx_packets()
1280 struct amdtp_stream *s = private_data; in process_rx_packets_intermediately()
1334 struct amdtp_stream *s = private_data; in process_tx_packets()
1381 struct amdtp_stream *s = private_data; in drop_tx_packets()
1409 struct amdtp_stream *s = private_data; in process_tx_packets_intermediately()
1460 struct amdtp_stream *s = private_data; in drop_tx_packets_initially()
1552 struct amdtp_stream *s; in process_ctxs_in_domain()
1576 struct amdtp_stream *s = private_data; in irq_target_callback()
1586 struct amdtp_stream *s = private_data; in irq_target_callback_intermediately()
1596 struct amdtp_stream *s = private_data; in irq_target_callback_skip()
1606 struct amdtp_stream *rx; in irq_target_callback_skip()
1609 struct amdtp_stream *tx; in irq_target_callback_skip()
1654 struct amdtp_stream *s = private_data; in amdtp_stream_first_callback()
1681 static int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed, in amdtp_stream_start()
1880 struct amdtp_stream *s) in amdtp_domain_stream_pcm_pointer()
1882 struct amdtp_stream *irq_target = d->irq_target; in amdtp_domain_stream_pcm_pointer()
1903 int amdtp_domain_stream_pcm_ack(struct amdtp_domain *d, struct amdtp_stream *s) in amdtp_domain_stream_pcm_ack()
1905 struct amdtp_stream *irq_target = d->irq_target; in amdtp_domain_stream_pcm_ack()
1920 void amdtp_stream_update(struct amdtp_stream *s) in amdtp_stream_update()
1935 static void amdtp_stream_stop(struct amdtp_stream *s) in amdtp_stream_stop()
1969 void amdtp_stream_pcm_abort(struct amdtp_stream *s) in amdtp_stream_pcm_abort()
2011 int amdtp_domain_add_stream(struct amdtp_domain *d, struct amdtp_stream *s, in amdtp_domain_add_stream()
2014 struct amdtp_stream *tmp; in amdtp_domain_add_stream()
2036 struct amdtp_stream *rx; in make_association()
2042 struct amdtp_stream *tx = NULL; in make_association()
2043 struct amdtp_stream *s; in make_association()
2093 struct amdtp_stream *s; in amdtp_domain_start()
2157 struct amdtp_stream *s, *next; in amdtp_domain_stop()