OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [armnommu/] [drivers/] [sound/] [vidc.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1622 jcastillo
/*
2
 * sound/vidc.h
3
 *
4
 * VIDC sound function prototypes
5
 *
6
 * Copyright (C) 1997 Russell King
7
 */
8
 
9
/* vidc.c */
10
extern int vidc_busy;
11
 
12
/* vidc_fill.S */
13
/*
14
 * Filler routines for different channels and sample sizes
15
 */
16
extern unsigned long vidc_fill_1x8_u(unsigned long ibuf, unsigned long iend,
17
                                     unsigned long obuf, int mask);
18
extern unsigned long vidc_fill_2x8_u(unsigned long ibuf, unsigned long iend,
19
                                     unsigned long obuf, int mask);
20
extern unsigned long vidc_fill_1x8_s(unsigned long ibuf, unsigned long iend,
21
                                     unsigned long obuf, int mask);
22
extern unsigned long vidc_fill_2x8_s(unsigned long ibuf, unsigned long iend,
23
                                     unsigned long obuf, int mask);
24
extern unsigned long vidc_fill_1x16_s(unsigned long ibuf, unsigned long iend,
25
                                      unsigned long obuf, int mask);
26
extern unsigned long vidc_fill_2x16_s(unsigned long ibuf, unsigned long iend,
27
                                      unsigned long obuf, int mask);
28
 
29
/*
30
 * DMA Interrupt handler
31
 */
32
extern void vidc_sound_dma_irq (int irqnr, void *ref, struct pt_regs *regs);
33
 
34
/*
35
 * Filler routine pointer
36
 */
37
extern unsigned long (*vidc_filler) (unsigned long ibuf, unsigned long iend,
38
                                     unsigned long obuf, int mask);
39
 
40
/*
41
 * Virtual DMA buffer exhausted
42
 */
43
extern void (*dma_interrupt)(void);
44
 
45
/*
46
 * Virtual DMA buffer addresses
47
 */
48
extern unsigned long dma_start, dma_count, dma_bufsize;
49
extern unsigned long dma_buf[2], dma_pbuf[2];
50
 
51
/* vidc_audio.c */
52
extern void vidc_audio_init (struct address_info *hw_config);
53
extern int  vidc_audio_get_volume (void);
54
extern int  vidc_audio_set_volume (int vol);
55
 
56
/* vidc_mixer.c */
57
extern void vidc_mixer_init (struct address_info *hw_config);
58
 
59
/* vidc_synth.c */
60
extern void vidc_synth_init (struct address_info *hw_config);
61
extern int  vidc_synth_get_volume (void);
62
extern int  vidc_synth_set_volume (int vol);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.