Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wm8741.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/spi/spi.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/of_device.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 "wm8741.h"

Go to the source code of this file.

Data Structures

struct  wm8741_priv
 

Macros

#define WM8741_NUM_SUPPLIES   2
 
#define WM8741_NUM_RATES   6
 
#define WM8741_RATES
 
#define WM8741_FORMATS
 
#define wm8741_suspend   NULL
 
#define wm8741_resume   NULL
 

Functions

 MODULE_DEVICE_TABLE (of, wm8741_of_match)
 
 module_init (wm8741_modinit)
 
 module_exit (wm8741_exit)
 
 MODULE_DESCRIPTION ("ASoC WM8741 driver")
 
 MODULE_AUTHOR ("Ian Lartey <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define WM8741_FORMATS
Value:

Definition at line 387 of file wm8741.c.

#define WM8741_NUM_RATES   6

Definition at line 40 of file wm8741.c.

#define WM8741_NUM_SUPPLIES   2

Definition at line 34 of file wm8741.c.

#define WM8741_RATES
Value:
SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | \
SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_176400 | \
SNDRV_PCM_RATE_192000)

Definition at line 382 of file wm8741.c.

#define wm8741_resume   NULL

Definition at line 417 of file wm8741.c.

#define wm8741_suspend   NULL

Definition at line 416 of file wm8741.c.

Function Documentation

MODULE_AUTHOR ( "Ian Lartey <[email protected]>"  )
MODULE_DESCRIPTION ( "ASoC WM8741 driver )
MODULE_DEVICE_TABLE ( of  ,
wm8741_of_match   
)
module_exit ( wm8741_exit  )
module_init ( wm8741_modinit  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

int ratio

Definition at line 115 of file wm8741.c.

int value

Definition at line 114 of file wm8741.c.