Lines Matching refs:stream
84 int stream;
130 spinlock_t tx_lock; /* spinlock for bt tx stream control */
131 spinlock_t rx_lock; /* spinlock for bt rx stream control */
209 dev_dbg(bt->dev, "%s(), stream %d, state %d, tx->state %d, rx->state %d, irq_disabled %d\n",
211 bt_stream->stream, state,
241 bt->tx->stream = SNDRV_PCM_STREAM_PLAYBACK;
254 bt->rx->stream = SNDRV_PCM_STREAM_CAPTURE;
650 if (bt_stream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
664 dev_warn(bt->dev, "%s(), stream %d, timeout %llu, limit %llu, ret %d, flag %d\n",
665 __func__, bt_stream->stream,
675 dev_warn(bt->dev, "%s(), stream %d, error, trial left %d\n",
677 bt_stream->stream, max_timeout_trial);
684 dev_warn(bt->dev, "%s(), stream %d, error, timeout, condition is false, trial left %d\n",
686 bt_stream->stream, max_timeout_trial);
853 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
877 dev_dbg(bt->dev, "%s(), stream %d, substream %p\n",
878 __func__, substream->stream, substream);
882 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
899 dev_dbg(bt->dev, "%s(), stream %d\n", __func__, substream->stream);
912 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK &&
929 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
941 dev_dbg(bt->dev, "%s(), stream %d\n", __func__, substream->stream);
952 int stream = substream->stream;
955 dev_dbg(bt->dev, "%s(), stream %d, cmd %d\n",
956 __func__, substream->stream, cmd);
961 hw_packet_ptr = stream == SNDRV_PCM_STREAM_PLAYBACK ?
987 spinlock_t *lock; /* spinlock for bt stream control */
990 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
999 hw_packet_ptr = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ?
1033 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)