Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wm8993.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/regmap.h>
#include <linux/regulator/consumer.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/tlv.h>
#include <sound/soc.h>
#include <sound/initval.h>
#include <sound/wm8993.h>
#include "wm8993.h"
#include "wm_hubs.h"

Go to the source code of this file.

Data Structures

struct  wm8993_priv
 
struct  _fll_div
 

Macros

#define WM8993_NUM_SUPPLIES   6
 
#define FIXED_FLL_SIZE   ((1 << 16) * 10)
 
#define WM8993_RATES   SNDRV_PCM_RATE_8000_48000
 
#define WM8993_FORMATS
 
#define wm8993_suspend   NULL
 
#define wm8993_resume   NULL
 

Functions

 MODULE_DEVICE_TABLE (i2c, wm8993_i2c_id)
 
 module_i2c_driver (wm8993_i2c_driver)
 
 MODULE_DESCRIPTION ("ASoC WM8993 driver")
 
 MODULE_AUTHOR ("Mark Brown <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define FIXED_FLL_SIZE   ((1 << 16) * 10)

Definition at line 370 of file wm8993.c.

#define WM8993_FORMATS
Value:
SNDRV_PCM_FMTBIT_S20_3LE |\
SNDRV_PCM_FMTBIT_S24_LE |\
SNDRV_PCM_FMTBIT_S32_LE)

Definition at line 1458 of file wm8993.c.

#define WM8993_NUM_SUPPLIES   6

Definition at line 34 of file wm8993.c.

#define WM8993_RATES   SNDRV_PCM_RATE_8000_48000

Definition at line 1456 of file wm8993.c.

#define wm8993_resume   NULL

Definition at line 1617 of file wm8993.c.

#define wm8993_suspend   NULL

Definition at line 1616 of file wm8993.c.

Function Documentation

MODULE_AUTHOR ( "Mark Brown <[email protected]>"  )
MODULE_DESCRIPTION ( "ASoC WM8993 driver )
MODULE_DEVICE_TABLE ( i2c  ,
wm8993_i2c_id   
)
module_i2c_driver ( wm8993_i2c_driver  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

int bclk_div

Definition at line 186 of file wm8993.c.

int clk_sys_rate

Definition at line 155 of file wm8993.c.

int div

Definition at line 185 of file wm8993.c.

u16 fll_fratio

Definition at line 375 of file wm8993.c.

unsigned int max

Definition at line 374 of file wm8993.c.

unsigned int min

Definition at line 373 of file wm8993.c.

int rate

Definition at line 170 of file wm8993.c.

int ratio

Definition at line 154 of file wm8993.c.

int sample_rate

Definition at line 171 of file wm8993.c.