Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wm8974.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/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 "wm8974.h"

Go to the source code of this file.

Data Structures

struct  pll_
 

Macros

#define WM8974_POWER1_BIASEN   0x08
 
#define WM8974_POWER1_BUFIOEN   0x04
 
#define wm8974_reset(c)   snd_soc_write(c, WM8974_RESET, 0)
 
#define FIXED_PLL_SIZE   ((1 << 24) * 10)
 
#define WM8974_RATES   (SNDRV_PCM_RATE_8000_48000)
 
#define WM8974_FORMATS
 

Functions

 MODULE_DEVICE_TABLE (i2c, wm8974_i2c_id)
 
 module_i2c_driver (wm8974_i2c_driver)
 
 MODULE_DESCRIPTION ("ASoC WM8974 driver")
 
 MODULE_AUTHOR ("Liam Girdwood")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

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

Definition at line 276 of file wm8974.c.

#define WM8974_FORMATS
Value:
SNDRV_PCM_FMTBIT_S24_LE)

Definition at line 541 of file wm8974.c.

#define WM8974_POWER1_BIASEN   0x08

Definition at line 48 of file wm8974.c.

#define WM8974_POWER1_BUFIOEN   0x04

Definition at line 49 of file wm8974.c.

#define WM8974_RATES   (SNDRV_PCM_RATE_8000_48000)

Definition at line 539 of file wm8974.c.

#define wm8974_reset (   c)    snd_soc_write(c, WM8974_RESET, 0)

Definition at line 51 of file wm8974.c.

Function Documentation

MODULE_AUTHOR ( "Liam Girdwood"  )
MODULE_DESCRIPTION ( "ASoC WM8974 driver )
MODULE_DEVICE_TABLE ( i2c  ,
wm8974_i2c_id   
)
module_i2c_driver ( wm8974_i2c_driver  )
MODULE_LICENSE ( "GPL"  )