linux/sound/pci/oxygen/cm9780.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef CM9780_H_INCLUDED
#define CM9780_H_INCLUDED

#define CM9780_JACK
#define CM9780_MIXER
#define CM9780_GPIO_SETUP
#define CM9780_GPIO_STATUS

/* jack control */
#define CM9780_RSOE
#define CM9780_CBOE
#define CM9780_SSOE
#define CM9780_FROE
#define CM9780_HP2FMICOE
#define CM9780_CB2MICOE
#define CM9780_FMIC2LI
#define CM9780_FMIC2MIC
#define CM9780_HP2LI
#define CM9780_HP2MIC
#define CM9780_MIC2LI
#define CM9780_MIC2MIC
#define CM9780_LI2LI
#define CM9780_LI2MIC
#define CM9780_LO2LI
#define CM9780_LO2MIC

/* mixer control */
#define CM9780_BSTSEL
#define CM9780_STRO_MIC
#define CM9780_SPDI_FREX
#define CM9780_SPDI_SSEX
#define CM9780_SPDI_CBEX
#define CM9780_SPDI_RSEX
#define CM9780_MIX2FR
#define CM9780_MIX2SS
#define CM9780_MIX2CB
#define CM9780_MIX2RS
#define CM9780_MIX2FR_EX
#define CM9780_MIX2SS_EX
#define CM9780_MIX2CB_EX
#define CM9780_MIX2RS_EX
#define CM9780_P47_IO
#define CM9780_PCBSW

/* GPIO setup */
#define CM9780_GPI0EN
#define CM9780_GPI1EN
#define CM9780_SENSE_P
#define CM9780_LOCK_P
#define CM9780_GPIO0P
#define CM9780_GPIO1P
#define CM9780_GPIO0IO
#define CM9780_GPIO1IO

/* GPIO status */
#define CM9780_GPO0
#define CM9780_GPO1
#define CM9780_GPIO0S
#define CM9780_GPIO1S
#define CM9780_GPII0S
#define CM9780_GPII1S

#endif