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

Go to the source code of this file.

Data Structures

struct  wm9081_priv
 
struct  _fll_div
 

Macros

#define FIXED_FLL_SIZE   ((1 << 16) * 10)
 
#define WM9081_RATES   SNDRV_PCM_RATE_8000_96000
 
#define WM9081_FORMATS
 

Functions

 module_i2c_driver (wm9081_i2c_driver)
 
 MODULE_DESCRIPTION ("ASoC WM9081 driver")
 
 MODULE_AUTHOR ("Mark Brown <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

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

Definition at line 457 of file wm9081.c.

#define WM9081_FORMATS
Value:

Definition at line 1239 of file wm9081.c.

#define WM9081_RATES   SNDRV_PCM_RATE_8000_96000

Definition at line 1237 of file wm9081.c.

Function Documentation

MODULE_AUTHOR ( "Mark Brown <[email protected]>"  )
MODULE_DESCRIPTION ( "ASoC WM9081 driver )
module_i2c_driver ( wm9081_i2c_driver  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

int bclk_div

Definition at line 124 of file wm9081.c.

int clk_sys_rate

Definition at line 91 of file wm9081.c.

int div

Definition at line 123 of file wm9081.c.

u16 fll_fratio

Definition at line 462 of file wm9081.c.

unsigned int max

Definition at line 461 of file wm9081.c.

unsigned int min

Definition at line 460 of file wm9081.c.

int rate

Definition at line 106 of file wm9081.c.

int ratio

Definition at line 90 of file wm9081.c.

int sample_rate

Definition at line 107 of file wm9081.c.