Lines Matching refs:dir
135 static void stop_streams(struct snd_dice *dice, enum amdtp_stream_direction dir, in stop_streams() argument
143 if (dir == AMDTP_IN_STREAM) { in stop_streams()
198 enum amdtp_stream_direction dir, in keep_dual_resources() argument
217 if (dir == AMDTP_IN_STREAM) { in keep_dual_resources()
326 static int start_streams(struct snd_dice *dice, enum amdtp_stream_direction dir, in start_streams() argument
338 if (dir == AMDTP_IN_STREAM) { in start_streams()
347 if (dir == AMDTP_IN_STREAM) { in start_streams()
359 if (dir == AMDTP_IN_STREAM) { in start_streams()
488 static int init_stream(struct snd_dice *dice, enum amdtp_stream_direction dir, in init_stream() argument
495 if (dir == AMDTP_IN_STREAM) { in init_stream()
508 err = amdtp_am824_init(stream, dice->unit, dir, CIP_BLOCKING); in init_stream()
522 enum amdtp_stream_direction dir, in destroy_stream() argument
528 if (dir == AMDTP_IN_STREAM) { in destroy_stream()