Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ac97.c File Reference
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/module.h>
#include <sound/soc.h>
#include <mach/dma.h>
#include <plat/regs-ac97.h>
#include <linux/platform_data/asoc-s3c.h>
#include "dma.h"

Go to the source code of this file.

Data Structures

struct  s3c_ac97_info
 

Macros

#define AC_CMD_ADDR(x)   (x << 16)
 
#define AC_CMD_DATA(x)   (x & 0xffff)
 
#define S3C_AC97_DAI_PCM   0
 
#define S3C_AC97_DAI_MIC   1
 

Functions

 EXPORT_SYMBOL_GPL (soc_ac97_ops)
 
 module_platform_driver (s3c_ac97_driver)
 
 MODULE_AUTHOR ("Jaswinder Singh, <[email protected]>")
 
 MODULE_DESCRIPTION ("AC97 driver for the Samsung SoC")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:samsung-ac97")
 

Variables

struct snd_ac97_bus_ops soc_ac97_ops
 

Macro Definition Documentation

#define AC_CMD_ADDR (   x)    (x << 16)

Definition at line 28 of file ac97.c.

#define AC_CMD_DATA (   x)    (x & 0xffff)

Definition at line 29 of file ac97.c.

#define S3C_AC97_DAI_MIC   1

Definition at line 32 of file ac97.c.

#define S3C_AC97_DAI_PCM   0

Definition at line 31 of file ac97.c.

Function Documentation

EXPORT_SYMBOL_GPL ( soc_ac97_ops  )
MODULE_ALIAS ( "platform:samsung-ac97 )
MODULE_AUTHOR ( "Jaswinder  Singh,
< jassisinghbrar @gmail.com >"   
)
MODULE_DESCRIPTION ( "AC97 driver for the Samsung SoC"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( s3c_ac97_driver  )

Variable Documentation

struct snd_ac97_bus_ops soc_ac97_ops
Initial value:
= {
.read = s3c_ac97_read,
.write = s3c_ac97_write,
.warm_reset = s3c_ac97_warm_reset,
.reset = s3c_ac97_cold_reset,
}

Definition at line 217 of file ac97.c.