linux/sound/pci/ice1712/hoontech.h

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

/*
 *   ALSA driver for ICEnsemble ICE1712 (Envy24)
 *
 *   Lowlevel functions for Hoontech STDSP24
 *
 *	Copyright (c) 2000 Jaroslav Kysela <[email protected]>
 */      

#define HOONTECH_DEVICE_DESC

#define ICE1712_SUBDEVICE_STDSP24
#define ICE1712_SUBDEVICE_STDSP24_VALUE
#define ICE1712_SUBDEVICE_STDSP24_MEDIA7_1
#define ICE1712_SUBDEVICE_EVENT_EZ8
#define ICE1712_SUBDEVICE_STAUDIO_ADCIII

extern struct snd_ice1712_card_info snd_ice1712_hoontech_cards[];


/* Hoontech SoundTrack Audio DSP 24 GPIO definitions */

#define ICE1712_STDSP24_0_BOX(r, x)
#define ICE1712_STDSP24_0_DAREAR(r, x)
#define ICE1712_STDSP24_1_CHN1(r, x)
#define ICE1712_STDSP24_1_CHN2(r, x)
#define ICE1712_STDSP24_1_CHN3(r, x)
#define ICE1712_STDSP24_2_CHN4(r, x)
#define ICE1712_STDSP24_2_MIDIIN(r, x)
#define ICE1712_STDSP24_2_MIDI1(r, x)
#define ICE1712_STDSP24_3_MIDI2(r, x)
#define ICE1712_STDSP24_3_MUTE(r, x)
#define ICE1712_STDSP24_3_INSEL(r, x)
#define ICE1712_STDSP24_SET_ADDR(r, a)
#define ICE1712_STDSP24_CLOCK(r, a, c)
#define ICE1712_STDSP24_CLOCK_BIT

/* Hoontech SoundTrack Audio DSP 24 box configuration definitions */

#define ICE1712_STDSP24_DAREAR
#define ICE1712_STDSP24_MUTE
#define ICE1712_STDSP24_INSEL

#define ICE1712_STDSP24_BOX_CHN1
#define ICE1712_STDSP24_BOX_CHN2
#define ICE1712_STDSP24_BOX_CHN3
#define ICE1712_STDSP24_BOX_CHN4
#define ICE1712_STDSP24_BOX_MIDI1
#define ICE1712_STDSP24_BOX_MIDI2

/* Hoontech SoundTrack Audio DSP 24 Value definitions for modified hardware */

#define ICE1712_STDSP24_AK4524_CS
#define ICE1712_STDSP24_SERIAL_DATA
#define ICE1712_STDSP24_SERIAL_CLOCK

#endif /* __SOUND_HOONTECH_H */