Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bells.c File Reference
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/jack.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include "../codecs/wm5102.h"
#include "../codecs/wm9081.h"

Go to the source code of this file.

Macros

#define SYSCLK_RATE   (44100 * 1024)
 
#define ASYNCCLK_RATE   (48000 * 512)
 
#define BCLK2_RATE   (64 * 8000)
 
#define MCLK_RATE   24576000
 
#define WM9081_AUDIO_RATE   44100
 
#define WM9081_MCLK_RATE   (WM9081_AUDIO_RATE * 256)
 

Functions

 module_platform_driver (bells_driver)
 
 MODULE_DESCRIPTION ("Bells audio support")
 
 MODULE_AUTHOR ("Mark Brown <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:bells")
 

Macro Definition Documentation

#define ASYNCCLK_RATE   (48000 * 512)

Definition at line 28 of file bells.c.

#define BCLK2_RATE   (64 * 8000)

Definition at line 31 of file bells.c.

#define MCLK_RATE   24576000

Definition at line 37 of file bells.c.

#define SYSCLK_RATE   (44100 * 1024)

Definition at line 25 of file bells.c.

#define WM9081_AUDIO_RATE   44100

Definition at line 39 of file bells.c.

#define WM9081_MCLK_RATE   (WM9081_AUDIO_RATE * 256)

Definition at line 40 of file bells.c.

Function Documentation

MODULE_ALIAS ( "platform:bells"  )
MODULE_AUTHOR ( "Mark Brown <[email protected]>"  )
MODULE_DESCRIPTION ( "Bells audio support )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( bells_driver  )