Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
txx9aclc-ac97.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/gfp.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include "txx9aclc.h"

Go to the source code of this file.

Macros

#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
 

Functions

 EXPORT_SYMBOL_GPL (soc_ac97_ops)
 
 module_platform_driver (txx9aclc_ac97_driver)
 
 MODULE_AUTHOR ("Atsushi Nemoto <anemo@mba.ocn.ne.jp>")
 
 MODULE_DESCRIPTION ("TXx9 ACLC AC97 driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:txx9aclc-ac97")
 

Variables

struct snd_ac97_bus_ops soc_ac97_ops
 

Macro Definition Documentation

#define AC97_DIR   (SND_SOC_DAIDIR_PLAYBACK | SND_SOC_DAIDIR_CAPTURE)

Definition at line 25 of file txx9aclc-ac97.c.

#define AC97_FMTS   SNDRV_PCM_FMTBIT_S16_LE

Definition at line 34 of file txx9aclc-ac97.c.

#define AC97_RATES   SNDRV_PCM_RATE_8000_48000

Definition at line 28 of file txx9aclc-ac97.c.

Function Documentation

EXPORT_SYMBOL_GPL ( soc_ac97_ops  )
MODULE_ALIAS ( "platform:txx9aclc-ac97 )
MODULE_AUTHOR ( "Atsushi Nemoto <anemo@mba.ocn.ne.jp>"  )
MODULE_DESCRIPTION ( "TXx9 ACLC AC97 driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( txx9aclc_ac97_driver  )

Variable Documentation

struct snd_ac97_bus_ops soc_ac97_ops
Initial value:
= {
.read = txx9aclc_ac97_read,
.write = txx9aclc_ac97_write,
.reset = txx9aclc_ac97_cold_reset,
}

Definition at line 122 of file txx9aclc-ac97.c.