linux/sound/pci/ice1712/phase.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __SOUND_PHASE_H
#define __SOUND_PHASE_H

/*
 *   ALSA driver for ICEnsemble ICE1712 (Envy24)
 *
 *   Lowlevel functions for Terratec PHASE 22
 *
 *	Copyright (c) 2005 Misha Zhilin <[email protected]>
 */

#define PHASE_DEVICE_DESC

#define VT1724_SUBDEVICE_PHASE22
#define VT1724_SUBDEVICE_PHASE28
#define VT1724_SUBDEVICE_TS22

/* entry point */
extern struct snd_ice1712_card_info snd_vt1724_phase_cards[];

/* PHASE28 GPIO bits */
#define PHASE28_SPI_MISO
#define PHASE28_WM_RESET
#define PHASE28_SPI_CLK
#define PHASE28_SPI_MOSI
#define PHASE28_WM_RW
#define PHASE28_AC97_RESET
#define PHASE28_DIGITAL_SEL1
#define PHASE28_HP_SEL
#define PHASE28_WM_CS
#define PHASE28_AC97_COMMIT
#define PHASE28_AC97_ADDR
#define PHASE28_AC97_DATA_LOW
#define PHASE28_AC97_DATA_HIGH
#define PHASE28_AC97_DATA_MASK
#endif /* __SOUND_PHASE */