Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/suspend.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/soc.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/au1xxx_psc.h>
#include "psc.h"
Go to the source code of this file.
Macros | |
#define | AC97_RW_RETRIES 5 |
#define | AC97_DIR (SND_SOC_DAIDIR_PLAYBACK | SND_SOC_DAIDIR_CAPTURE) |
#define | AC97_RATES SNDRV_PCM_RATE_8000_48000 |
#define | AC97_FMTS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3BE) |
#define | AC97PCR_START(stype) ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TS : PSC_AC97PCR_RS) |
#define | AC97PCR_STOP(stype) ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TP : PSC_AC97PCR_RP) |
#define | AC97PCR_CLRFIFO(stype) ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TC : PSC_AC97PCR_RC) |
#define | AC97STAT_BUSY(stype) ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97STAT_TB : PSC_AC97STAT_RB) |
#define | ac97_to_pscdata(x) au1xpsc_ac97_workdata |
#define | AU1XPSCAC97_PMOPS NULL |
Functions | |
EXPORT_SYMBOL_GPL (soc_ac97_ops) | |
module_init (au1xpsc_ac97_load) | |
module_exit (au1xpsc_ac97_unload) | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("Au12x0/Au1550 PSC AC97 ALSA ASoC audio driver") | |
MODULE_AUTHOR ("Manuel Lauss") | |
Variables | |
struct snd_ac97_bus_ops | soc_ac97_ops |
#define AC97_DIR (SND_SOC_DAIDIR_PLAYBACK | SND_SOC_DAIDIR_CAPTURE) |
Definition at line 34 of file psc-ac97.c.
#define AC97_FMTS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3BE) |
Definition at line 40 of file psc-ac97.c.
#define AC97_RATES SNDRV_PCM_RATE_8000_48000 |
Definition at line 37 of file psc-ac97.c.
#define AC97_RW_RETRIES 5 |
Definition at line 32 of file psc-ac97.c.
#define ac97_to_pscdata | ( | x | ) | au1xpsc_ac97_workdata |
Definition at line 70 of file psc-ac97.c.
#define AC97PCR_CLRFIFO | ( | stype | ) | ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TC : PSC_AC97PCR_RC) |
Definition at line 47 of file psc-ac97.c.
#define AC97PCR_START | ( | stype | ) | ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TS : PSC_AC97PCR_RS) |
Definition at line 43 of file psc-ac97.c.
#define AC97PCR_STOP | ( | stype | ) | ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TP : PSC_AC97PCR_RP) |
Definition at line 45 of file psc-ac97.c.
#define AC97STAT_BUSY | ( | stype | ) | ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97STAT_TB : PSC_AC97STAT_RB) |
Definition at line 50 of file psc-ac97.c.
#define AU1XPSCAC97_PMOPS NULL |
Definition at line 487 of file psc-ac97.c.
EXPORT_SYMBOL_GPL | ( | soc_ac97_ops | ) |
MODULE_AUTHOR | ( | "Manuel Lauss" | ) |
module_exit | ( | au1xpsc_ac97_unload | ) |
module_init | ( | au1xpsc_ac97_load | ) |
MODULE_LICENSE | ( | "GPL" | ) |
struct snd_ac97_bus_ops soc_ac97_ops |
Definition at line 204 of file psc-ac97.c.