Lines Matching refs:amdtp_stream
90 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
123 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
184 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
278 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
306 static int amdtp_stream_get_max_ctx_payload_size(struct amdtp_stream *s) in amdtp_stream_get_max_ctx_payload_size()
325 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
344 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
351 static void pool_blocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_blocking_data_blocks()
370 static void pool_ideal_nonblocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_nonblocking_data_blocks()
451 static void pool_ideal_syt_offsets(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_syt_offsets()
497 static unsigned int calculate_cached_cycle_count(struct amdtp_stream *s, unsigned int head) in calculate_cached_cycle_count()
509 static void cache_seq(struct amdtp_stream *s, const struct pkt_desc *descs, unsigned int desc_count) in cache_seq()
534 static void pool_ideal_seq_descs(struct amdtp_stream *s, unsigned int count) in pool_ideal_seq_descs()
550 static void pool_replayed_seq(struct amdtp_stream *s, unsigned int count) in pool_replayed_seq()
552 struct amdtp_stream *target = s->ctx_data.rx.replay_target; in pool_replayed_seq()
571 static void pool_seq_descs(struct amdtp_stream *s, unsigned int count) in pool_seq_descs()
581 struct amdtp_stream *tx = s->ctx_data.rx.replay_target; in pool_seq_descs()
594 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
625 static int queue_packet(struct amdtp_stream *s, struct fw_iso_packet *params, in queue_packet()
647 static inline int queue_out_packet(struct amdtp_stream *s, in queue_out_packet()
655 static inline int queue_in_packet(struct amdtp_stream *s, in queue_in_packet()
665 static void generate_cip_header(struct amdtp_stream *s, __be32 cip_header[2], in generate_cip_header()
678 static void build_it_pkt_header(struct amdtp_stream *s, unsigned int cycle, in build_it_pkt_header()
702 static int check_cip_header(struct amdtp_stream *s, const __be32 *buf, in check_cip_header()
797 static int parse_ir_ctx_header(struct amdtp_stream *s, unsigned int cycle, in parse_ir_ctx_header()
889 static int generate_device_pkt_descs(struct amdtp_stream *s, in generate_device_pkt_descs()
983 static void generate_pkt_descs(struct amdtp_stream *s, const __be32 *ctx_header, unsigned int packe… in generate_pkt_descs()
1026 static inline void cancel_stream(struct amdtp_stream *s) in cancel_stream()
1034 static void process_ctx_payloads(struct amdtp_stream *s, in process_ctx_payloads()
1050 struct amdtp_stream *s = private_data; in process_rx_packets()
1119 struct amdtp_stream *s = private_data; in skip_rx_packets()
1154 struct amdtp_stream *s = private_data; in process_rx_packets_intermediately()
1205 struct amdtp_stream *s = private_data; in process_tx_packets()
1247 struct amdtp_stream *s = private_data; in drop_tx_packets()
1275 struct amdtp_stream *s = private_data; in process_tx_packets_intermediately()
1326 struct amdtp_stream *s = private_data; in drop_tx_packets_initially()
1418 struct amdtp_stream *s; in process_ctxs_in_domain()
1442 struct amdtp_stream *s = private_data; in irq_target_callback()
1452 struct amdtp_stream *s = private_data; in irq_target_callback_intermediately()
1462 struct amdtp_stream *s = private_data; in irq_target_callback_skip()
1472 struct amdtp_stream *rx; in irq_target_callback_skip()
1475 struct amdtp_stream *tx; in irq_target_callback_skip()
1520 struct amdtp_stream *s = private_data; in amdtp_stream_first_callback()
1547 static int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed, in amdtp_stream_start()
1733 struct amdtp_stream *s) in amdtp_domain_stream_pcm_pointer()
1735 struct amdtp_stream *irq_target = d->irq_target; in amdtp_domain_stream_pcm_pointer()
1756 int amdtp_domain_stream_pcm_ack(struct amdtp_domain *d, struct amdtp_stream *s) in amdtp_domain_stream_pcm_ack()
1758 struct amdtp_stream *irq_target = d->irq_target; in amdtp_domain_stream_pcm_ack()
1773 void amdtp_stream_update(struct amdtp_stream *s) in amdtp_stream_update()
1788 static void amdtp_stream_stop(struct amdtp_stream *s) in amdtp_stream_stop()
1820 void amdtp_stream_pcm_abort(struct amdtp_stream *s) in amdtp_stream_pcm_abort()
1862 int amdtp_domain_add_stream(struct amdtp_domain *d, struct amdtp_stream *s, in amdtp_domain_add_stream()
1865 struct amdtp_stream *tmp; in amdtp_domain_add_stream()
1887 struct amdtp_stream *rx; in make_association()
1893 struct amdtp_stream *tx = NULL; in make_association()
1894 struct amdtp_stream *s; in make_association()
1945 struct amdtp_stream *s; in amdtp_domain_start()
2009 struct amdtp_stream *s, *next; in amdtp_domain_stop()