|
Linux Kernel
3.7.1
|
#include <linux/init.h>#include <linux/module.h>#include <linux/slab.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 | AU1XPSC_I2S_DAIFMT |
| #define | AU1XPSC_I2S_DIR (SND_SOC_DAIDIR_PLAYBACK | SND_SOC_DAIDIR_CAPTURE) |
| #define | AU1XPSC_I2S_RATES SNDRV_PCM_RATE_8000_192000 |
| #define | AU1XPSC_I2S_FMTS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE) |
| #define | I2SSTAT_BUSY(stype) ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB) |
| #define | I2SPCR_START(stype) ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TS : PSC_I2SPCR_RS) |
| #define | I2SPCR_STOP(stype) ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TP : PSC_I2SPCR_RP) |
| #define | I2SPCR_CLRFIFO(stype) ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TC : PSC_I2SPCR_RC) |
| #define | AU1XPSCI2S_PMOPS NULL |
Functions | |
| module_platform_driver (au1xpsc_i2s_driver) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_DESCRIPTION ("Au12x0/Au1550 PSC I2S ALSA ASoC audio driver") | |
| MODULE_AUTHOR ("Manuel Lauss") | |
| #define AU1XPSC_I2S_DAIFMT |
| #define AU1XPSC_I2S_DIR (SND_SOC_DAIDIR_PLAYBACK | SND_SOC_DAIDIR_CAPTURE) |
| #define AU1XPSC_I2S_FMTS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE) |
| #define AU1XPSC_I2S_RATES SNDRV_PCM_RATE_8000_192000 |
| #define I2SPCR_CLRFIFO | ( | stype | ) | ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TC : PSC_I2SPCR_RC) |
| #define I2SPCR_START | ( | stype | ) | ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TS : PSC_I2SPCR_RS) |
| #define I2SPCR_STOP | ( | stype | ) | ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TP : PSC_I2SPCR_RP) |
| #define I2SSTAT_BUSY | ( | stype | ) | ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB) |
| MODULE_AUTHOR | ( | "Manuel Lauss" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | au1xpsc_i2s_driver | ) |
1.8.2