Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wm8995.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/spi/spi.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include "wm8995.h"

Go to the source code of this file.

Data Structures

struct  fll_config
 
struct  wm8995_priv
 
struct  fll_div
 

Macros

#define WM8995_NUM_SUPPLIES   8
 
#define WM8995_REGULATOR_EVENT(n)
 
#define FIXED_FLL_SIZE   ((1 << 16) * 10)
 
#define wm8995_suspend   NULL
 
#define wm8995_resume   NULL
 
#define WM8995_FORMATS
 

Functions

 module_init (wm8995_modinit)
 
 module_exit (wm8995_exit)
 
 MODULE_DESCRIPTION ("ASoC WM8995 driver")
 
 MODULE_AUTHOR ("Dimitris Papastamos <dp@opensource.wolfsonmicro.com>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

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

Definition at line 1728 of file wm8995.c.

#define WM8995_FORMATS
Value:

Definition at line 2155 of file wm8995.c.

#define WM8995_NUM_SUPPLIES   8

Definition at line 35 of file wm8995.c.

#define WM8995_REGULATOR_EVENT (   n)
Value:
static int wm8995_regulator_event_##n(struct notifier_block *nb, \
unsigned long event, void *data) \
{ \
disable_nb[n]); \
regcache_mark_dirty(wm8995->regmap); \
} \
return 0; \
}

Definition at line 396 of file wm8995.c.

#define wm8995_resume   NULL

Definition at line 2025 of file wm8995.c.

#define wm8995_suspend   NULL

Definition at line 2024 of file wm8995.c.

Function Documentation

MODULE_AUTHOR ( "Dimitris Papastamos <dp@opensource.wolfsonmicro.com>"  )
MODULE_DESCRIPTION ( "ASoC WM8995 driver )
module_exit ( wm8995_exit  )
module_init ( wm8995_modinit  )
MODULE_LICENSE ( "GPL"  )