Lines Matching refs:amdtp_stream
79 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
117 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
178 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
273 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
313 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
334 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
426 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
446 struct amdtp_stream *s = container_of(work, struct amdtp_stream, in pcm_period_work()
454 static int queue_packet(struct amdtp_stream *s, struct fw_iso_packet *params, in queue_packet()
476 static inline int queue_out_packet(struct amdtp_stream *s, in queue_out_packet()
484 static inline int queue_in_packet(struct amdtp_stream *s, in queue_in_packet()
494 static void generate_cip_header(struct amdtp_stream *s, __be32 cip_header[2], in generate_cip_header()
507 static void build_it_pkt_header(struct amdtp_stream *s, unsigned int cycle, in build_it_pkt_header()
532 static int check_cip_header(struct amdtp_stream *s, const __be32 *buf, in check_cip_header()
628 static int parse_ir_ctx_header(struct amdtp_stream *s, unsigned int cycle, in parse_ir_ctx_header()
698 static int generate_device_pkt_descs(struct amdtp_stream *s, in generate_device_pkt_descs()
751 static void generate_pkt_descs(struct amdtp_stream *s, struct pkt_desc *descs, in generate_pkt_descs()
795 static inline void cancel_stream(struct amdtp_stream *s) in cancel_stream()
803 static void process_ctx_payloads(struct amdtp_stream *s, in process_ctx_payloads()
820 struct amdtp_stream *s = private_data; in out_stream_callback()
878 struct amdtp_stream *s = private_data; in in_stream_callback()
912 struct amdtp_stream *irq_target = d->irq_target; in pool_ideal_seq_descs()
916 struct amdtp_stream *s; in pool_ideal_seq_descs()
959 struct amdtp_stream *irq_target = private_data; in irq_target_callback()
962 struct amdtp_stream *s; in irq_target_callback()
995 struct amdtp_stream *s = private_data; in amdtp_stream_first_callback()
1038 static int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed, in amdtp_stream_start()
1182 struct amdtp_stream *s) in amdtp_domain_stream_pcm_pointer()
1184 struct amdtp_stream *irq_target = d->irq_target; in amdtp_domain_stream_pcm_pointer()
1221 int amdtp_domain_stream_pcm_ack(struct amdtp_domain *d, struct amdtp_stream *s) in amdtp_domain_stream_pcm_ack()
1223 struct amdtp_stream *irq_target = d->irq_target; in amdtp_domain_stream_pcm_ack()
1243 void amdtp_stream_update(struct amdtp_stream *s) in amdtp_stream_update()
1258 static void amdtp_stream_stop(struct amdtp_stream *s) in amdtp_stream_stop()
1286 void amdtp_stream_pcm_abort(struct amdtp_stream *s) in amdtp_stream_pcm_abort()
1330 int amdtp_domain_add_stream(struct amdtp_domain *d, struct amdtp_stream *s, in amdtp_domain_add_stream()
1333 struct amdtp_stream *tmp; in amdtp_domain_add_stream()
1397 struct amdtp_stream *s; in amdtp_domain_start()
1507 struct amdtp_stream *s, *next; in amdtp_domain_stop()