Lines Matching refs:amdtp_stream

90 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit,
123 void amdtp_stream_destroy(struct amdtp_stream *s)
184 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s,
280 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate,
310 static int amdtp_stream_get_max_ctx_payload_size(struct amdtp_stream *s)
329 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s)
348 void amdtp_stream_pcm_prepare(struct amdtp_stream *s)
358 static void pool_blocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs,
376 static void pool_ideal_nonblocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs,
457 static void pool_ideal_syt_offsets(struct amdtp_stream *s, struct seq_desc *descs,
502 static unsigned int calculate_cached_cycle_count(struct amdtp_stream *s, unsigned int head)
514 static void cache_seq(struct amdtp_stream *s, const struct pkt_desc *src, unsigned int desc_count)
539 static void pool_ideal_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
550 static void pool_replayed_seq(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
553 struct amdtp_stream *target = s->ctx_data.rx.replay_target;
568 static void pool_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
572 void (*pool_seq_descs)(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size,
581 struct amdtp_stream *tx = s->ctx_data.rx.replay_target;
596 static void update_pcm_pointers(struct amdtp_stream *s,
627 static int queue_packet(struct amdtp_stream *s, struct fw_iso_packet *params,
649 static inline int queue_out_packet(struct amdtp_stream *s,
657 static inline int queue_in_packet(struct amdtp_stream *s,
667 static void generate_cip_header(struct amdtp_stream *s, __be32 cip_header[2],
680 static void build_it_pkt_header(struct amdtp_stream *s, unsigned int cycle,
704 static int check_cip_header(struct amdtp_stream *s, const __be32 *buf,
799 static int parse_ir_ctx_header(struct amdtp_stream *s, unsigned int cycle,
905 static int generate_tx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc,
1001 static void generate_rx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc,
1046 static inline void cancel_stream(struct amdtp_stream *s)
1054 static snd_pcm_sframes_t compute_pcm_extra_delay(struct amdtp_stream *s,
1111 static void process_ctx_payloads(struct amdtp_stream *s,
1138 struct amdtp_stream *s = private_data;
1212 struct amdtp_stream *s = private_data;
1247 struct amdtp_stream *s = private_data;
1301 struct amdtp_stream *s = private_data;
1348 struct amdtp_stream *s = private_data;
1376 struct amdtp_stream *s = private_data;
1427 struct amdtp_stream *s = private_data;
1519 struct amdtp_stream *s;
1543 struct amdtp_stream *s = private_data;
1553 struct amdtp_stream *s = private_data;
1563 struct amdtp_stream *s = private_data;
1573 struct amdtp_stream *rx;
1576 struct amdtp_stream *tx;
1621 struct amdtp_stream *s = private_data;
1648 static int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed,
1847 struct amdtp_stream *s)
1849 struct amdtp_stream *irq_target = d->irq_target;
1870 int amdtp_domain_stream_pcm_ack(struct amdtp_domain *d, struct amdtp_stream *s)
1872 struct amdtp_stream *irq_target = d->irq_target;
1887 void amdtp_stream_update(struct amdtp_stream *s)
1902 static void amdtp_stream_stop(struct amdtp_stream *s)
1935 void amdtp_stream_pcm_abort(struct amdtp_stream *s)
1977 int amdtp_domain_add_stream(struct amdtp_domain *d, struct amdtp_stream *s,
1980 struct amdtp_stream *tmp;
2002 struct amdtp_stream *rx;
2008 struct amdtp_stream *tx = NULL;
2009 struct amdtp_stream *s;
2059 struct amdtp_stream *s;
2123 struct amdtp_stream *s, *next;