Lines Matching refs:s
110 struct amdtp_stream *s,
209 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit,
214 void amdtp_stream_destroy(struct amdtp_stream *s);
216 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate,
218 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s);
220 void amdtp_stream_update(struct amdtp_stream *s);
222 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s,
225 void amdtp_stream_pcm_prepare(struct amdtp_stream *s);
226 void amdtp_stream_pcm_abort(struct amdtp_stream *s);
237 static inline bool amdtp_stream_running(struct amdtp_stream *s) in amdtp_stream_running() argument
239 return !IS_ERR(s->context); in amdtp_stream_running()
249 static inline bool amdtp_streaming_error(struct amdtp_stream *s) in amdtp_streaming_error() argument
251 return s->packet_index < 0; in amdtp_streaming_error()
260 static inline bool amdtp_stream_pcm_running(struct amdtp_stream *s) in amdtp_stream_pcm_running() argument
262 return !!s->pcm; in amdtp_stream_pcm_running()
274 static inline void amdtp_stream_pcm_trigger(struct amdtp_stream *s, in amdtp_stream_pcm_trigger() argument
277 WRITE_ONCE(s->pcm, pcm); in amdtp_stream_pcm_trigger()
313 int amdtp_domain_add_stream(struct amdtp_domain *d, struct amdtp_stream *s,
331 struct amdtp_stream *s);
332 int amdtp_domain_stream_pcm_ack(struct amdtp_domain *d, struct amdtp_stream *s);
343 struct amdtp_stream *s; in amdtp_domain_wait_ready() local
345 list_for_each_entry(s, &d->streams, list) { in amdtp_domain_wait_ready()
348 if (wait_event_interruptible_timeout(s->ready_wait, s->ready_processing, j) <= 0) in amdtp_domain_wait_ready()