// SPDX-License-Identifier: GPL-2.0-or-later /* * cx18 audio-related functions * * Derived from ivtv-audio.c * * Copyright (C) 2007 Hans Verkuil <[email protected]> */ #include "cx18-driver.h" #include "cx18-io.h" #include "cx18-cards.h" #include "cx18-audio.h" #define CX18_AUDIO_ENABLE … #define CX18_AI1_MUX_MASK … #define CX18_AI1_MUX_I2S1 … #define CX18_AI1_MUX_I2S2 … #define CX18_AI1_MUX_843_I2S … /* Selects the audio input and output according to the current settings. */ int cx18_audio_set_io(struct cx18 *cx) { … }