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()
704 static int generate_device_pkt_descs(struct amdtp_stream *s, in generate_device_pkt_descs()
760 static void generate_pkt_descs(struct amdtp_stream *s, struct pkt_desc *descs, in generate_pkt_descs()
804 static inline void cancel_stream(struct amdtp_stream *s) in cancel_stream()
812 static void process_ctx_payloads(struct amdtp_stream *s, in process_ctx_payloads()
829 struct amdtp_stream *s = private_data; in out_stream_callback()
887 struct amdtp_stream *s = private_data; in in_stream_callback()
921 struct amdtp_stream *irq_target = d->irq_target; in pool_ideal_seq_descs()
925 struct amdtp_stream *s; in pool_ideal_seq_descs()
968 struct amdtp_stream *irq_target = private_data; in irq_target_callback()
971 struct amdtp_stream *s; in irq_target_callback()
1004 struct amdtp_stream *s = private_data; in amdtp_stream_first_callback()
1047 static int amdtp_stream_start(struct amdtp_stream *s, int channel, int speed, in amdtp_stream_start()
1190 struct amdtp_stream *s) in amdtp_domain_stream_pcm_pointer()
1192 struct amdtp_stream *irq_target = d->irq_target; in amdtp_domain_stream_pcm_pointer()
1229 int amdtp_domain_stream_pcm_ack(struct amdtp_domain *d, struct amdtp_stream *s) in amdtp_domain_stream_pcm_ack()
1231 struct amdtp_stream *irq_target = d->irq_target; in amdtp_domain_stream_pcm_ack()
1251 void amdtp_stream_update(struct amdtp_stream *s) in amdtp_stream_update()
1266 static void amdtp_stream_stop(struct amdtp_stream *s) in amdtp_stream_stop()
1294 void amdtp_stream_pcm_abort(struct amdtp_stream *s) in amdtp_stream_pcm_abort()
1338 int amdtp_domain_add_stream(struct amdtp_domain *d, struct amdtp_stream *s, in amdtp_domain_add_stream()
1341 struct amdtp_stream *tmp; in amdtp_domain_add_stream()
1405 struct amdtp_stream *s; in amdtp_domain_start()
1518 struct amdtp_stream *s, *next; in amdtp_domain_stop()