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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [sound/] [ad1848.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
 
2
#define AD_F_CS4231     0x0001  /* Returned if a CS4232 (or compatible) detected */
3
#define AD_F_CS4248     0x0001  /* Returned if a CS4248 (or compatible) detected */
4
 
5
#define         AD1848_SET_XTAL         1
6
#define         AD1848_MIXER_REROUTE    2
7
 
8
#define AD1848_REROUTE(oldctl, newctl) \
9
                ad1848_control(AD1848_MIXER_REROUTE, ((oldctl)<<8)|(newctl))
10
 
11
 
12
int ad1848_init(char *name, int io_base, int irq, int dma_playback,
13
        int dma_capture, int share_dma, int *osp, struct module *owner);
14
void ad1848_unload (int io_base, int irq, int dma_playback, int dma_capture, int share_dma);
15
 
16
int ad1848_detect (int io_base, int *flags, int *osp);
17
int ad1848_control(int cmd, int arg);
18
 
19
void adintr(int irq, void *dev_id, struct pt_regs * dummy);
20
void attach_ms_sound(struct address_info * hw_config, struct module * owner);
21
 
22
int probe_ms_sound(struct address_info *hw_config);
23
void unload_ms_sound(struct address_info *hw_info);

powered by: WebSVN 2.1.0

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