Lines Matching defs:s

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()
163 struct snd_interval *s = hw_param_interval(params, rule->var); in apply_constraint_to_size() local
187 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
283 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
313 static int amdtp_stream_get_max_ctx_payload_size(struct amdtp_stream *s) in amdtp_stream_get_max_ctx_payload_size()
332 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
351 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
359 #define prev_packet_desc(s, desc) \ argument
362 static void pool_blocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_blocking_data_blocks()
380 static void pool_ideal_nonblocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_nonblocking_data_blocks()
461 static void pool_ideal_syt_offsets(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_syt_offsets()
506 static unsigned int calculate_cached_cycle_count(struct amdtp_stream *s, unsigned int head) in calculate_cached_cycle_count()
518 static void cache_seq(struct amdtp_stream *s, const struct pkt_desc *src, unsigned int desc_count) in cache_seq()
543 static void pool_ideal_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size, in pool_ideal_seq_descs()
554 static void pool_replayed_seq(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size, in pool_replayed_seq()
572 static void pool_seq_descs(struct amdtp_stream *s, struct seq_desc *descs, unsigned int size, in pool_seq_descs()
600 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
625 struct amdtp_stream *s = container_of(work, struct amdtp_stream, in pcm_period_work() local
633 static int queue_packet(struct amdtp_stream *s, struct fw_iso_packet *params, in queue_packet()
655 static inline int queue_out_packet(struct amdtp_stream *s, in queue_out_packet()
663 static inline int queue_in_packet(struct amdtp_stream *s, in queue_in_packet()
673 static void generate_cip_header(struct amdtp_stream *s, __be32 cip_header[2], in generate_cip_header()
686 static void build_it_pkt_header(struct amdtp_stream *s, unsigned int cycle, in build_it_pkt_header()
710 static int check_cip_header(struct amdtp_stream *s, const __be32 *buf, in check_cip_header()
809 static int parse_ir_ctx_header(struct amdtp_stream *s, unsigned int cycle, in parse_ir_ctx_header()
915 static int generate_tx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_tx_packet_descs()
1011 static void generate_rx_packet_descs(struct amdtp_stream *s, struct pkt_desc *desc, in generate_rx_packet_descs()
1056 static inline void cancel_stream(struct amdtp_stream *s) in cancel_stream()
1064 static snd_pcm_sframes_t compute_pcm_extra_delay(struct amdtp_stream *s, in compute_pcm_extra_delay()
1121 static void process_ctx_payloads(struct amdtp_stream *s, in process_ctx_payloads()
1148 struct amdtp_stream *s = private_data; in process_rx_packets() local
1222 struct amdtp_stream *s = private_data; in skip_rx_packets() local
1257 struct amdtp_stream *s = private_data; in process_rx_packets_intermediately() local
1311 struct amdtp_stream *s = private_data; in process_tx_packets() local
1358 struct amdtp_stream *s = private_data; in drop_tx_packets() local
1386 struct amdtp_stream *s = private_data; in process_tx_packets_intermediately() local
1437 struct amdtp_stream *s = private_data; in drop_tx_packets_initially() local
1529 struct amdtp_stream *s; in process_ctxs_in_domain() local
1553 struct amdtp_stream *s = private_data; in irq_target_callback() local
1563 struct amdtp_stream *s = private_data; in irq_target_callback_intermediately() local
1573 struct amdtp_stream *s = private_data; in irq_target_callback_skip() local
1631 struct amdtp_stream *s = private_data; in amdtp_stream_first_callback() local
1658 static int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed, in amdtp_stream_start()
1857 struct amdtp_stream *s) in amdtp_domain_stream_pcm_pointer()
1883 int amdtp_domain_stream_pcm_ack(struct amdtp_domain *d, struct amdtp_stream *s) in amdtp_domain_stream_pcm_ack()
1900 void amdtp_stream_update(struct amdtp_stream *s) in amdtp_stream_update()
1915 static void amdtp_stream_stop(struct amdtp_stream *s) in amdtp_stream_stop()
1949 void amdtp_stream_pcm_abort(struct amdtp_stream *s) in amdtp_stream_pcm_abort()
1991 int amdtp_domain_add_stream(struct amdtp_domain *d, struct amdtp_stream *s, in amdtp_domain_add_stream()
2023 struct amdtp_stream *s; in make_association() local
2073 struct amdtp_stream *s; in amdtp_domain_start() local
2137 struct amdtp_stream *s, *next; in amdtp_domain_stop() local