Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
twl4030-audio.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/i2c/twl.h>
#include <linux/mfd/core.h>
#include <linux/mfd/twl4030-audio.h>

Go to the source code of this file.

Data Structures

struct  twl4030_audio_resource
 
struct  twl4030_audio
 

Macros

#define TWL4030_AUDIO_CELLS   2
 

Functions

int twl4030_audio_enable_resource (enum twl4030_audio_res id)
 
 EXPORT_SYMBOL_GPL (twl4030_audio_enable_resource)
 
int twl4030_audio_disable_resource (unsigned id)
 
 EXPORT_SYMBOL_GPL (twl4030_audio_disable_resource)
 
unsigned int twl4030_audio_get_mclk (void)
 
 EXPORT_SYMBOL_GPL (twl4030_audio_get_mclk)
 
 MODULE_DEVICE_TABLE (of, twl4030_audio_of_match)
 
 module_platform_driver (twl4030_audio_driver)
 
 MODULE_AUTHOR ("Peter Ujfalusi <[email protected]>")
 
 MODULE_DESCRIPTION ("TWL4030 audio block MFD driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:twl4030-audio")
 

Macro Definition Documentation

#define TWL4030_AUDIO_CELLS   2

Definition at line 37 of file twl4030-audio.c.

Function Documentation

EXPORT_SYMBOL_GPL ( twl4030_audio_enable_resource  )
EXPORT_SYMBOL_GPL ( twl4030_audio_disable_resource  )
EXPORT_SYMBOL_GPL ( twl4030_audio_get_mclk  )
MODULE_ALIAS ( "platform:twl4030-audio )
MODULE_AUTHOR ( "Peter Ujfalusi <[email protected]>"  )
MODULE_DESCRIPTION ( "TWL4030 audio block MFD driver )
MODULE_DEVICE_TABLE ( of  ,
twl4030_audio_of_match   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( twl4030_audio_driver  )
int twl4030_audio_disable_resource ( unsigned  id)

Definition at line 121 of file twl4030-audio.c.

int twl4030_audio_enable_resource ( enum twl4030_audio_res  id)

Definition at line 92 of file twl4030-audio.c.

unsigned int twl4030_audio_get_mclk ( void  )

Definition at line 153 of file twl4030-audio.c.