Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wm8510.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/i2c.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux/of_device.h>
#include <linux/regmap.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/initval.h>
#include "wm8510.h"

Go to the source code of this file.

Data Structures

struct  wm8510_priv
 
struct  pll_
 

Macros

#define WM8510_POWER1_BIASEN   0x08
 
#define WM8510_POWER1_BUFIOEN   0x10
 
#define wm8510_reset(c)   snd_soc_write(c, WM8510_RESET, 0)
 
#define FIXED_PLL_SIZE   ((1 << 24) * 10)
 
#define WM8510_RATES
 
#define WM8510_FORMATS
 

Functions

 module_init (wm8510_modinit)
 
 module_exit (wm8510_exit)
 
 MODULE_DESCRIPTION ("ASoC WM8510 driver")
 
 MODULE_AUTHOR ("Liam Girdwood")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define FIXED_PLL_SIZE   ((1 << 24) * 10)

Definition at line 278 of file wm8510.c.

#define WM8510_FORMATS
Value:

Definition at line 549 of file wm8510.c.

#define WM8510_POWER1_BIASEN   0x08

Definition at line 106 of file wm8510.c.

#define WM8510_POWER1_BUFIOEN   0x10

Definition at line 107 of file wm8510.c.

#define WM8510_RATES
Value:
SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\
SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)

Definition at line 545 of file wm8510.c.

#define wm8510_reset (   c)    snd_soc_write(c, WM8510_RESET, 0)

Definition at line 109 of file wm8510.c.

Function Documentation

MODULE_AUTHOR ( "Liam Girdwood"  )
MODULE_DESCRIPTION ( "ASoC WM8510 driver )
module_exit ( wm8510_exit  )
module_init ( wm8510_modinit  )
MODULE_LICENSE ( "GPL"  )