Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
poodle.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/timer.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <asm/mach-types.h>
#include <asm/hardware/locomo.h>
#include <mach/poodle.h>
#include <mach/audio.h>
#include "../codecs/wm8731.h"
#include "pxa2xx-i2s.h"

Go to the source code of this file.

Macros

#define POODLE_HP   1
 
#define POODLE_HP_OFF   0
 
#define POODLE_SPK_ON   1
 
#define POODLE_SPK_OFF   0
 
#define POODLE_AUDIO_CLOCK   12288000
 

Functions

 module_platform_driver (poodle_driver)
 
 MODULE_AUTHOR ("Richard Purdie")
 
 MODULE_DESCRIPTION ("ALSA SoC Poodle")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:poodle-audio")
 

Macro Definition Documentation

#define POODLE_AUDIO_CLOCK   12288000

Definition at line 41 of file poodle.c.

#define POODLE_HP   1

Definition at line 35 of file poodle.c.

#define POODLE_HP_OFF   0

Definition at line 36 of file poodle.c.

#define POODLE_SPK_OFF   0

Definition at line 38 of file poodle.c.

#define POODLE_SPK_ON   1

Definition at line 37 of file poodle.c.

Function Documentation

MODULE_ALIAS ( "platform:poodle-audio )
MODULE_AUTHOR ( "Richard Purdie"  )
MODULE_DESCRIPTION ( "ALSA SoC Poodle"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( poodle_driver  )