Lines Matching defs:stream
71 if (atomic_read(&subs->stream->chip->shutdown))
333 switch (subs->stream->chip->usb_id) {
394 USB_ID_VENDOR(subs->stream->chip->usb_id) == 0x0582 /* Roland */ &&
413 subs->sync_endpoint = snd_usb_add_endpoint(subs->stream->chip,
514 subs->sync_endpoint = snd_usb_add_endpoint(subs->stream->chip,
557 if (!subs->stream->chip->keep_iface) {
593 subs->data_endpoint = snd_usb_add_endpoint(subs->stream->chip,
604 err = snd_usb_init_pitch(subs->stream->chip, fmt->iface, alts, fmt);
676 &subs->stream->substream[subs->direction ^ 1];
679 !subs->stream)
769 ret = snd_usb_power_domain_set(subs->stream->chip, subs->str_pd, state);
847 ret = snd_usb_lock_shutdown(subs->stream->chip);
864 snd_usb_unlock_shutdown(subs->stream->chip);
887 if (!snd_usb_lock_shutdown(subs->stream->chip)) {
892 snd_usb_unlock_shutdown(subs->stream->chip);
916 ret = snd_usb_lock_shutdown(subs->stream->chip);
936 ret = snd_usb_init_sample_rate(subs->stream->chip,
969 snd_usb_unlock_shutdown(subs->stream->chip);
1342 return snd_usb_autoresume(subs->stream->chip);
1347 int direction = substream->stream;
1369 snd_usb_autosuspend(subs->stream->chip);
1376 int direction = substream->stream;
1385 !snd_usb_lock_shutdown(subs->stream->chip)) {
1389 snd_usb_unlock_shutdown(subs->stream->chip);
1395 snd_usb_autosuspend(subs->stream->chip);
1775 if (subs->stream->chip->setup_fmt_after_resume_quirk) {
1815 if (subs->stream->chip->setup_fmt_after_resume_quirk) {
1848 void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream)
1852 ops = stream == SNDRV_PCM_STREAM_PLAYBACK ?
1854 snd_pcm_set_ops(pcm, stream, ops);
1859 struct snd_pcm *pcm = subs->stream->pcm;