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

Go to the source code of this file.

Data Structures

struct  wm2000_priv
 

Macros

#define WM2000_NUM_SUPPLIES   3
 
#define wm2000_suspend   NULL
 
#define wm2000_resume   NULL
 

Typedefs

typedef int(* wm2000_mode_fn )(struct i2c_client *i2c, int analogue)
 

Enumerations

enum  wm2000_anc_mode { ANC_ACTIVE = 0, ANC_BYPASS = 1, ANC_STANDBY = 2, ANC_OFF = 3 }
 

Functions

 MODULE_DEVICE_TABLE (i2c, wm2000_i2c_id)
 
 module_i2c_driver (wm2000_i2c_driver)
 
 MODULE_DESCRIPTION ("ASoC WM2000 driver")
 
 MODULE_AUTHOR ("Mark Brown <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define WM2000_NUM_SUPPLIES   3

Definition at line 47 of file wm2000.c.

#define wm2000_resume   NULL

Definition at line 698 of file wm2000.c.

#define wm2000_suspend   NULL

Definition at line 697 of file wm2000.c.

Typedef Documentation

typedef int(* wm2000_mode_fn)(struct i2c_client *i2c, int analogue)

Definition at line 424 of file wm2000.c.

Enumeration Type Documentation

Enumerator:
ANC_ACTIVE 
ANC_BYPASS 
ANC_STANDBY 
ANC_OFF 

Definition at line 55 of file wm2000.c.

Function Documentation

MODULE_AUTHOR ( "Mark Brown <[email protected]>"  )
MODULE_DESCRIPTION ( "ASoC WM2000 driver )
MODULE_DEVICE_TABLE ( i2c  ,
wm2000_i2c_id   
)
module_i2c_driver ( wm2000_i2c_driver  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

int analogue

Definition at line 429 of file wm2000.c.

enum wm2000_anc_mode dest

Definition at line 428 of file wm2000.c.

enum wm2000_anc_mode source

Definition at line 427 of file wm2000.c.

wm2000_mode_fn step[2]

Definition at line 430 of file wm2000.c.