// SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and * Jean-Christian Hassler <[email protected]> * Copyright 1998 Emagic Soft- und Hardware GmbH * Copyright 2002 Martijn Sipkema * * This file is part of the Audiowerk2 ALSA driver * *****************************************************************************/ #define TSL_WS0 … #define TSL_WS1 … #define TSL_WS2 … #define TSL_WS3 … #define TSL_WS4 … #define TSL_DIS_A1 … #define TSL_SDW_A1 … #define TSL_SIB_A1 … #define TSL_SF_A1 … #define TSL_LF_A1 … #define TSL_BSEL_A1 … #define TSL_DOD_A1 … #define TSL_LOW_A1 … #define TSL_DIS_A2 … #define TSL_SDW_A2 … #define TSL_SIB_A2 … #define TSL_SF_A2 … #define TSL_LF_A2 … #define TSL_BSEL_A2 … #define TSL_DOD_A2 … #define TSL_LOW_A2 … #define TSL_EOS … /* Audiowerk8 hardware setup: */ /* WS0, SD4, TSL1 - Analog/ digital in */ /* WS1, SD0, TSL1 - Analog out #1, digital out */ /* WS2, SD2, TSL1 - Analog out #2 */ /* WS3, SD1, TSL2 - Analog out #3 */ /* WS4, SD3, TSL2 - Analog out #4 */ /* Audiowerk8 timing: */ /* Timeslot: | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | ... */ /* A1_INPUT: */ /* SD4: <_ADC-L_>-------<_ADC-R_>-------< */ /* WS0: _______________/---------------\_ */ /* A1_OUTPUT: */ /* SD0: <_1-L___>-------<_1-R___>-------< */ /* WS1: _______________/---------------\_ */ /* SD2: >-------<_2-L___>-------<_2-R___> */ /* WS2: -------\_______________/--------- */ /* A2_OUTPUT: */ /* SD1: <_3-L___>-------<_3-R___>-------< */ /* WS3: _______________/---------------\_ */ /* SD3: >-------<_4-L___>-------<_4-R___> */ /* WS4: -------\_______________/--------- */ static const int tsl1[8] = …; static const int tsl2[8] = …;