![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef __SOC_PXA_AUDIO_H__ 0003 #define __SOC_PXA_AUDIO_H__ 0004 0005 #include <sound/core.h> 0006 #include <sound/pcm.h> 0007 #include <sound/ac97_codec.h> 0008 0009 /* 0010 * @reset_gpio: AC97 reset gpio (normally gpio113 or gpio95) 0011 * a -1 value means no gpio will be used for reset 0012 * @codec_pdata: AC97 codec platform_data 0013 0014 * reset_gpio should only be specified for pxa27x CPUs where a silicon 0015 * bug prevents correct operation of the reset line. If not specified, 0016 * the default behaviour on these CPUs is to consider gpio 113 as the 0017 * AC97 reset line, which is the default on most boards. 0018 */ 0019 typedef struct { 0020 int (*startup)(struct snd_pcm_substream *, void *); 0021 void (*shutdown)(struct snd_pcm_substream *, void *); 0022 void (*suspend)(void *); 0023 void (*resume)(void *); 0024 void *priv; 0025 int reset_gpio; 0026 void *codec_pdata[AC97_BUS_MAX_DEVICES]; 0027 } pxa2xx_audio_ops_t; 0028 0029 extern void pxa_set_ac97_info(pxa2xx_audio_ops_t *ops); 0030 0031 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |