Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tosa.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/gpio.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <asm/mach-types.h>
#include <mach/tosa.h>
#include <mach/audio.h>
#include "../codecs/wm9712.h"
#include "pxa2xx-ac97.h"

Go to the source code of this file.

Macros

#define TOSA_HP   0
 
#define TOSA_MIC_INT   1
 
#define TOSA_HEADSET   2
 
#define TOSA_HP_OFF   3
 
#define TOSA_SPK_ON   0
 
#define TOSA_SPK_OFF   1
 

Functions

 module_platform_driver (tosa_driver)
 
 MODULE_AUTHOR ("Richard Purdie")
 
 MODULE_DESCRIPTION ("ALSA SoC Tosa")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:tosa-audio")
 

Macro Definition Documentation

#define TOSA_HEADSET   2

Definition at line 39 of file tosa.c.

#define TOSA_HP   0

Definition at line 37 of file tosa.c.

#define TOSA_HP_OFF   3

Definition at line 40 of file tosa.c.

#define TOSA_MIC_INT   1

Definition at line 38 of file tosa.c.

#define TOSA_SPK_OFF   1

Definition at line 42 of file tosa.c.

#define TOSA_SPK_ON   0

Definition at line 41 of file tosa.c.

Function Documentation

MODULE_ALIAS ( "platform:tosa-audio )
MODULE_AUTHOR ( "Richard Purdie"  )
MODULE_DESCRIPTION ( "ALSA SoC Tosa"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( tosa_driver  )