6 #include "pci_helper.h"
8 int src_init(DEV_STRUCT
* DSP
);
9 void src_set_rate(const DEV_STRUCT
* DSP
, char src_base
, u16_t rate
);
11 #define SRC_SYNTH_BASE 0x70
12 #define SRC_DAC_BASE 0x74
13 #define SRC_ADC_BASE 0x78
15 #define SRC_BUSY_BIT 23
17 #define SRC_RAM_WE 0x01000000
18 #define SRC_RAM_BUSY 0x00800000
19 #define SRC_DISABLE 0x00400000
20 #define DIS_P1 0x00200000
21 #define DIS_P2 0x00100000
22 #define DIS_REC 0x00080000
24 #define SRC_CTLMASK (DIS_REC|DIS_P2|DIS_P1|SRC_DISABLE)