Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wm8971.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/i2c.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 "wm8971.h"

Go to the source code of this file.

Data Structures

struct  wm8971_priv
 
struct  _coeff_div
 

Macros

#define WM8971_REG_COUNT   43
 
#define wm8971_reset(c)   snd_soc_write(c, WM8971_RESET, 0)
 
#define WM8971_RATES
 
#define WM8971_FORMATS
 

Functions

 MODULE_DEVICE_TABLE (i2c, wm8971_i2c_id)
 
 module_i2c_driver (wm8971_i2c_driver)
 
 MODULE_DESCRIPTION ("ASoC WM8971 driver")
 
 MODULE_AUTHOR ("Lab126")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define WM8971_FORMATS
Value:
SNDRV_PCM_FMTBIT_S24_LE)

Definition at line 554 of file wm8971.c.

#define WM8971_RATES
Value:

Definition at line 550 of file wm8971.c.

#define WM8971_REG_COUNT   43

Definition at line 31 of file wm8971.c.

#define wm8971_reset (   c)    snd_soc_write(c, WM8971_RESET, 0)

Definition at line 60 of file wm8971.c.

Function Documentation

MODULE_AUTHOR ( "Lab126"  )
MODULE_DESCRIPTION ( "ASoC WM8971 driver )
MODULE_DEVICE_TABLE ( i2c  ,
wm8971_i2c_id   
)
module_i2c_driver ( wm8971_i2c_driver  )
MODULE_LICENSE ( "GPL"  )