1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19extern unsigned long vidc_fill_1x8_u(unsigned long ibuf, unsigned long iend,
20 unsigned long obuf, int mask);
21extern unsigned long vidc_fill_2x8_u(unsigned long ibuf, unsigned long iend,
22 unsigned long obuf, int mask);
23extern unsigned long vidc_fill_1x8_s(unsigned long ibuf, unsigned long iend,
24 unsigned long obuf, int mask);
25extern unsigned long vidc_fill_2x8_s(unsigned long ibuf, unsigned long iend,
26 unsigned long obuf, int mask);
27extern unsigned long vidc_fill_1x16_s(unsigned long ibuf, unsigned long iend,
28 unsigned long obuf, int mask);
29extern unsigned long vidc_fill_2x16_s(unsigned long ibuf, unsigned long iend,
30 unsigned long obuf, int mask);
31
32
33
34
35
36extern irqreturn_t vidc_sound_dma_irq(int irqnr, void *ref);
37
38
39
40
41
42extern unsigned long (*vidc_filler) (unsigned long ibuf, unsigned long iend,
43 unsigned long obuf, int mask);
44
45
46
47
48
49extern irqreturn_t (*dma_interrupt) (void);
50
51
52
53
54
55extern unsigned long dma_start, dma_count, dma_bufsize;
56extern unsigned long dma_buf[2], dma_pbuf[2];
57
58
59
60extern void vidc_synth_init(struct address_info *hw_config);
61extern void vidc_synth_exit(struct address_info *hw_config);
62extern int vidc_synth_get_volume(void);
63extern int vidc_synth_set_volume(int vol);
64