/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ARCH_AUDIO_H__ #define __ASM_ARCH_AUDIO_H__ #include <sound/core.h> #include <sound/pcm.h> #include <sound/ac97_codec.h> /* * @reset_gpio: AC97 reset gpio (normally gpio113 or gpio95) * a -1 value means no gpio will be used for reset * @codec_pdata: AC97 codec platform_data * reset_gpio should only be specified for pxa27x CPUs where a silicon * bug prevents correct operation of the reset line. If not specified, * the default behaviour on these CPUs is to consider gpio 113 as the * AC97 reset line, which is the default on most boards. */ typedef struct { int (*startup)(struct snd_pcm_substream *, void *); void (*shutdown)(struct snd_pcm_substream *, void *); void (*suspend)(void *); void (*resume)(void *); void *priv; int reset_gpio; void *codec_pdata[AC97_BUS_MAX_DEVICES]; } pxa2xx_audio_ops_t; extern void pxa_set_ac97_info(pxa2xx_audio_ops_t *ops); #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
addr-map.h | File | 1.41 KB | 0644 |
|
audio.h | File | 955 B | 0644 |
|
balloon3.h | File | 6.38 KB | 0644 |
|
bitfield.h | File | 2.81 KB | 0644 |
|
corgi.h | File | 4.72 KB | 0644 |
|
dma.h | File | 528 B | 0644 |
|
eseries-gpio.h | File | 1.85 KB | 0644 |
|
generic.h | File | 27 B | 0644 |
|
hardware.h | File | 6.68 KB | 0644 |
|
hx4700.h | File | 4.96 KB | 0644 |
|
io.h | File | 397 B | 0644 |
|
irqs.h | File | 4.94 KB | 0644 |
|
lubbock.h | File | 1.92 KB | 0644 |
|
magician.h | File | 4.24 KB | 0644 |
|
mainstone.h | File | 6.46 KB | 0644 |
|
mfp.h | File | 515 B | 0644 |
|
mtd-xip.h | File | 1.27 KB | 0644 |
|
palmld.h | File | 3 KB | 0644 |
|
palmtc.h | File | 2.47 KB | 0644 |
|
palmtx.h | File | 3.31 KB | 0644 |
|
poodle.h | File | 3.2 KB | 0644 |
|
pxa25x-udc.h | File | 0 B | 0644 |
|
pxa2xx-regs.h | File | 8.83 KB | 0644 |
|
pxa3xx-regs.h | File | 8.73 KB | 0644 |
|
regs-ac97.h | File | 4.47 KB | 0644 |
|
regs-lcd.h | File | 9 KB | 0644 |
|
regs-ost.h | File | 1.28 KB | 0644 |
|
regs-uart.h | File | 7.55 KB | 0644 |
|
reset.h | File | 717 B | 0644 |
|
smemc.h | File | 4.14 KB | 0644 |
|
spitz.h | File | 8.33 KB | 0644 |
|
tosa.h | File | 7.48 KB | 0644 |
|
trizeps4.h | File | 5.04 KB | 0644 |
|
uncompress.h | File | 1.62 KB | 0644 |
|
vpac270.h | File | 994 B | 0644 |
|
z2.h | File | 932 B | 0644 |
|