ARM divsi3.S: raise(SIGFPE) when called for
[minix.git] / drivers / audio / es1371 / sample_rate_converter.h
blob8ba50391ece0b7f60d95600ec9945b8261c47181
1 #ifndef SRC_H
2 #define SRC_H
4 #include "es1371.h"
5 #include "wait.h"
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)
26 #endif /* SRC_H */