Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
wm8400-core.c File Reference
#include <linux/module.h>
#include <linux/bug.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/mfd/core.h>
#include <linux/mfd/wm8400-private.h>
#include <linux/mfd/wm8400-audio.h>
#include <linux/regmap.h>
#include <linux/slab.h>

Go to the source code of this file.

Functions

u16 wm8400_reg_read (struct wm8400 *wm8400, u8 reg)
 
 EXPORT_SYMBOL_GPL (wm8400_reg_read)
 
int wm8400_block_read (struct wm8400 *wm8400, u8 reg, int count, u16 *data)
 
 EXPORT_SYMBOL_GPL (wm8400_block_read)
 
void wm8400_reset_codec_reg_cache (struct wm8400 *wm8400)
 
 EXPORT_SYMBOL_GPL (wm8400_reset_codec_reg_cache)
 
 subsys_initcall (wm8400_module_init)
 
 module_exit (wm8400_module_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Mark Brown <[email protected]>")
 

Function Documentation

EXPORT_SYMBOL_GPL ( wm8400_reg_read  )
EXPORT_SYMBOL_GPL ( wm8400_block_read  )
EXPORT_SYMBOL_GPL ( wm8400_reset_codec_reg_cache  )
MODULE_AUTHOR ( "Mark Brown <[email protected]>"  )
module_exit ( wm8400_module_exit  )
MODULE_LICENSE ( "GPL"  )
subsys_initcall ( wm8400_module_init  )
int wm8400_block_read ( struct wm8400 wm8400,
u8  reg,
int  count,
u16 data 
)

Definition at line 59 of file wm8400-core.c.

u16 wm8400_reg_read ( struct wm8400 wm8400,
u8  reg 
)

wm8400_reg_read - Single register read

: Pointer to wm8400 control structure : Register to read

Returns
Read value

Definition at line 46 of file wm8400-core.c.

void wm8400_reset_codec_reg_cache ( struct wm8400 wm8400)

wm8400_reset_codec_reg_cache - Reset cached codec registers to their default values.

Definition at line 153 of file wm8400-core.c.