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

Go to the source code of this file.

Data Structures

struct  wm8990_priv
 
struct  _pll_div
 

Macros

#define wm8990_reset(c)   snd_soc_write(c, WM8990_RESET, 0)
 
#define SOC_WM899X_OUTPGA_SINGLE_R_TLV(xname, reg, shift, max, invert, tlv_array)
 
#define FIXED_PLL_SIZE   ((1 << 16) * 10)
 
#define WM8990_RATES
 
#define WM8990_FORMATS
 

Functions

 module_init (wm8990_modinit)
 
 module_exit (wm8990_exit)
 
 MODULE_DESCRIPTION ("ASoC WM8990 driver")
 
 MODULE_AUTHOR ("Liam Girdwood")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

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

Definition at line 941 of file wm8990.c.

#define SOC_WM899X_OUTPGA_SINGLE_R_TLV (   xname,
  reg,
  shift,
  max,
  invert,
  tlv_array 
)
Value:
{\
.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname), \
.tlv.p = (tlv_array), \
.info = snd_soc_info_volsw, \
.get = snd_soc_get_volsw, .put = wm899x_outpga_put_volsw_vu, \
.private_value = SOC_SINGLE_VALUE(reg, shift, max, invert) }

Definition at line 153 of file wm8990.c.

#define WM8990_FORMATS
Value:

Definition at line 1278 of file wm8990.c.

#define WM8990_RATES
Value:
SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 | \
SNDRV_PCM_RATE_48000)

Definition at line 1274 of file wm8990.c.

#define wm8990_reset (   c)    snd_soc_write(c, WM8990_RESET, 0)

Definition at line 116 of file wm8990.c.

Function Documentation

MODULE_AUTHOR ( "Liam Girdwood"  )
MODULE_DESCRIPTION ( "ASoC WM8990 driver )
module_exit ( wm8990_exit  )
module_init ( wm8990_modinit  )
MODULE_LICENSE ( "GPL"  )