Lines Matching defs:direction
138 get_stream(struct snd_line6_pcm *line6pcm, int direction)
140 return (direction == SNDRV_PCM_STREAM_PLAYBACK) ?
148 struct line6_pcm_stream *pstr, int direction, int type)
151 (direction == SNDRV_PCM_STREAM_PLAYBACK) ?
182 static int line6_stream_start(struct snd_line6_pcm *line6pcm, int direction,
186 struct line6_pcm_stream *pstr = get_stream(line6pcm, direction);
194 if (direction == SNDRV_PCM_STREAM_PLAYBACK)
207 static void line6_stream_stop(struct snd_line6_pcm *line6pcm, int direction,
211 struct line6_pcm_stream *pstr = get_stream(line6pcm, direction);
219 if (direction == SNDRV_PCM_STREAM_CAPTURE) {