Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wm8753.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/of_device.h>
#include <linux/regmap.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include <asm/div64.h>
#include "wm8753.h"

Go to the source code of this file.

Data Structures

struct  wm8753_priv
 
struct  _pll_div
 
struct  _coeff_div
 

Macros

#define wm8753_reset(c)   snd_soc_write(c, WM8753_RESET, 0)
 
#define FIXED_PLL_SIZE   ((1 << 22) * 10)
 
#define WM8753_RATES
 
#define WM8753_FORMATS
 

Functions

 module_param (caps_charge, int, 0)
 
 MODULE_PARM_DESC (caps_charge,"WM8753 cap charge time (msecs)")
 
 MODULE_DEVICE_TABLE (of, wm8753_of_match)
 
 module_init (wm8753_modinit)
 
 module_exit (wm8753_exit)
 
 MODULE_DESCRIPTION ("ASoC WM8753 driver")
 
 MODULE_AUTHOR ("Liam Girdwood")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

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

Definition at line 710 of file wm8753.c.

#define WM8753_FORMATS
Value:
SNDRV_PCM_FMTBIT_S24_LE)

Definition at line 1360 of file wm8753.c.

#define WM8753_RATES
Value:
SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\
SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |\
SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000)

Definition at line 1355 of file wm8753.c.

#define wm8753_reset (   c)    snd_soc_write(c, WM8753_RESET, 0)

Definition at line 158 of file wm8753.c.

Function Documentation

MODULE_AUTHOR ( "Liam Girdwood"  )
MODULE_DESCRIPTION ( "ASoC WM8753 driver )
MODULE_DEVICE_TABLE ( of  ,
wm8753_of_match   
)
module_exit ( wm8753_exit  )
module_init ( wm8753_modinit  )
MODULE_LICENSE ( "GPL"  )
module_param ( caps_charge  ,
int  ,
 
)
MODULE_PARM_DESC ( caps_charge  ,
"WM8753 cap charge time (msecs)"   
)