[MIPS] Add RM200 with R5000 CPU to known ARC machines
[linux/fpc-iii.git] / sound / oss / vidc.h
blob0d1424751ecd3d5ad4a84705f9f6768e0c591cde
1 /*
2 * linux/drivers/sound/vidc.h
4 * Copyright (C) 1997 Russell King <rmk@arm.linux.org.uk>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * VIDC sound function prototypes
13 /* vidc_fill.S */
16 * Filler routines for different channels and sample sizes
19 extern unsigned long vidc_fill_1x8_u(unsigned long ibuf, unsigned long iend,
20 unsigned long obuf, int mask);
21 extern unsigned long vidc_fill_2x8_u(unsigned long ibuf, unsigned long iend,
22 unsigned long obuf, int mask);
23 extern unsigned long vidc_fill_1x8_s(unsigned long ibuf, unsigned long iend,
24 unsigned long obuf, int mask);
25 extern unsigned long vidc_fill_2x8_s(unsigned long ibuf, unsigned long iend,
26 unsigned long obuf, int mask);
27 extern unsigned long vidc_fill_1x16_s(unsigned long ibuf, unsigned long iend,
28 unsigned long obuf, int mask);
29 extern unsigned long vidc_fill_2x16_s(unsigned long ibuf, unsigned long iend,
30 unsigned long obuf, int mask);
33 * DMA Interrupt handler
36 extern irqreturn_t vidc_sound_dma_irq(int irqnr, void *ref);
39 * Filler routine pointer
42 extern unsigned long (*vidc_filler) (unsigned long ibuf, unsigned long iend,
43 unsigned long obuf, int mask);
46 * Virtual DMA buffer exhausted
49 extern irqreturn_t (*dma_interrupt) (void);
52 * Virtual DMA buffer addresses
55 extern unsigned long dma_start, dma_count, dma_bufsize;
56 extern unsigned long dma_buf[2], dma_pbuf[2];
58 /* vidc_synth.c */
60 extern void vidc_synth_init(struct address_info *hw_config);
61 extern void vidc_synth_exit(struct address_info *hw_config);
62 extern int vidc_synth_get_volume(void);
63 extern int vidc_synth_set_volume(int vol);