#ifndef _LINUX_3780I_H
#define _LINUX_3780I_H
#include <asm/io.h>
#define DSP_IsaSlaveControl …
#define DSP_IsaSlaveStatus …
#define DSP_ConfigAddress …
#define DSP_ConfigData …
#define DSP_HBridgeControl …
#define DSP_MsaAddrLow …
#define DSP_MsaAddrHigh …
#define DSP_MsaDataDSISHigh …
#define DSP_MsaDataISLow …
#define DSP_ReadAndClear …
#define DSP_Interrupt …
DSP_ISA_SLAVE_CONTROL;
DSP_HBRIDGE_CONTROL;
#define DSP_UartCfg1Index …
#define DSP_UartCfg2Index …
#define DSP_HBridgeCfg1Index …
#define DSP_HBridgeCfg2Index …
#define DSP_BusMasterCfg1Index …
#define DSP_BusMasterCfg2Index …
#define DSP_IsaProtCfgIndex …
#define DSP_PowerMgCfgIndex …
#define DSP_HBusTimerCfgIndex …
DSP_UART_CFG_1;
DSP_UART_CFG_2;
DSP_HBRIDGE_CFG_1;
DSP_HBRIDGE_CFG_2;
DSP_BUSMASTER_CFG_1;
DSP_BUSMASTER_CFG_2;
DSP_ISA_PROT_CFG;
DSP_POWER_MGMT_CFG;
DSP_HBUS_TIMER_CFG;
#define DSP_ChipID …
#define DSP_MspBootDomain …
#define DSP_LBusTimeoutDisable …
#define DSP_ClockControl_1 …
#define DSP_ClockControl_2 …
#define DSP_ChipReset …
#define DSP_GpioModeControl_15_8 …
#define DSP_GpioDriverEnable_15_8 …
#define DSP_GpioOutputData_15_8 …
DSP_BOOT_DOMAIN;
DSP_LBUS_TIMEOUT_DISABLE;
DSP_CHIP_RESET;
DSP_CLOCK_CONTROL_1;
DSP_CLOCK_CONTROL_2;
DSP_GPIO_OUTPUT_DATA_15_8;
DSP_GPIO_DRIVER_ENABLE_15_8;
DSP_GPIO_MODE_15_8;
#define MW_ADC_MASK …
#define MW_AIC2_MASK …
#define MW_MIDI_MASK …
#define MW_CDDAC_MASK …
#define MW_AIC1_MASK …
#define MW_UART_MASK …
#define MW_ACI_MASK …
DSP_3780I_CONFIG_SETTINGS;
int dsp3780I_EnableDSP(DSP_3780I_CONFIG_SETTINGS * pSettings,
unsigned short *pIrqMap,
unsigned short *pDmaMap);
int dsp3780I_DisableDSP(DSP_3780I_CONFIG_SETTINGS * pSettings);
int dsp3780I_Reset(DSP_3780I_CONFIG_SETTINGS * pSettings);
int dsp3780I_Run(DSP_3780I_CONFIG_SETTINGS * pSettings);
int dsp3780I_ReadDStore(unsigned short usDspBaseIO, void __user *pvBuffer,
unsigned uCount, unsigned long ulDSPAddr);
int dsp3780I_ReadAndClearDStore(unsigned short usDspBaseIO,
void __user *pvBuffer, unsigned uCount,
unsigned long ulDSPAddr);
int dsp3780I_WriteDStore(unsigned short usDspBaseIO, void __user *pvBuffer,
unsigned uCount, unsigned long ulDSPAddr);
int dsp3780I_ReadIStore(unsigned short usDspBaseIO, void __user *pvBuffer,
unsigned uCount, unsigned long ulDSPAddr);
int dsp3780I_WriteIStore(unsigned short usDspBaseIO, void __user *pvBuffer,
unsigned uCount, unsigned long ulDSPAddr);
unsigned short dsp3780I_ReadMsaCfg(unsigned short usDspBaseIO,
unsigned long ulMsaAddr);
void dsp3780I_WriteMsaCfg(unsigned short usDspBaseIO,
unsigned long ulMsaAddr, unsigned short usValue);
int dsp3780I_GetIPCSource(unsigned short usDspBaseIO,
unsigned short *pusIPCSource);
#define MKWORD(var) …
#define MKBYTE(var) …
#define WriteMsaCfg(addr,value) …
#define ReadMsaCfg(addr) …
#define WriteGenCfg(index,value) …
#define ReadGenCfg(index) …
#define InWordDsp(index) …
#define InByteDsp(index) …
#define OutWordDsp(index,value) …
#define OutByteDsp(index,value) …
#endif