[MIPS] BCM1480: Cleanup debug code left behind in the PCI driver.
[linux-2.6/verdex.git] / include / asm-arm / arch-s3c2410 / audio.h
blob0d276e67f2fb23bb06d4853e3562234fb2ff0699
1 /* linux/include/asm-arm/arch-s3c2410/audio.h
3 * (c) 2004-2005 Simtec Electronics
4 * http://www.simtec.co.uk/products/SWLINUX/
5 * Ben Dooks <ben@simtec.co.uk>
7 * S3C24XX - Audio platfrom_device info
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
13 * Changelog:
14 * 20-Nov-2004 BJD Created file
15 * 07-Mar-2005 BJD Added suspend/resume calls
18 #ifndef __ASM_ARCH_AUDIO_H
19 #define __ASM_ARCH_AUDIO_H __FILE__
21 /* struct s3c24xx_iis_ops
23 * called from the s3c24xx audio core to deal with the architecture
24 * or the codec's setup and control.
26 * the pointer to itself is passed through in case the caller wants to
27 * embed this in an larger structure for easy reference to it's context.
30 struct s3c24xx_iis_ops {
31 struct module *owner;
33 int (*startup)(struct s3c24xx_iis_ops *me);
34 void (*shutdown)(struct s3c24xx_iis_ops *me);
35 int (*suspend)(struct s3c24xx_iis_ops *me);
36 int (*resume)(struct s3c24xx_iis_ops *me);
38 int (*open)(struct s3c24xx_iis_ops *me, snd_pcm_substream_t *strm);
39 int (*close)(struct s3c24xx_iis_ops *me, snd_pcm_substream_t *strm);
40 int (*prepare)(struct s3c24xx_iis_ops *me, snd_pcm_substream_t *strm, snd_pcm_runtime_t *rt);
43 struct s3c24xx_platdata_iis {
44 const char *codec_clk;
45 struct s3c24xx_iis_ops *ops;
46 int (*match_dev)(struct device *dev);
49 #endif /* __ASM_ARCH_AUDIO_H */