Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
tpa6130a2.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/device.h>
#include <linux/i2c.h>
#include <linux/gpio.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <sound/tpa6130a2-plat.h>
#include <sound/soc.h>
#include <sound/tlv.h>
#include "tpa6130a2.h"

Go to the source code of this file.

Data Structures

struct  tpa6130a2_data
 

Enumerations

enum  tpa_model { TPA6130A2, TPA6140A2 }
 

Functions

int tpa6130a2_stereo_enable (struct snd_soc_codec *codec, int enable)
 
 EXPORT_SYMBOL_GPL (tpa6130a2_stereo_enable)
 
int tpa6130a2_add_controls (struct snd_soc_codec *codec)
 
 EXPORT_SYMBOL_GPL (tpa6130a2_add_controls)
 
 MODULE_DEVICE_TABLE (i2c, tpa6130a2_id)
 
 module_i2c_driver (tpa6130a2_i2c_driver)
 
 MODULE_AUTHOR ("Peter Ujfalusi <[email protected]>")
 
 MODULE_DESCRIPTION ("TPA6130A2 Headphone amplifier driver")
 
 MODULE_LICENSE ("GPL")
 

Enumeration Type Documentation

enum tpa_model
Enumerator:
TPA6130A2 
TPA6140A2 

Definition at line 36 of file tpa6130a2.c.

Function Documentation

EXPORT_SYMBOL_GPL ( tpa6130a2_stereo_enable  )
EXPORT_SYMBOL_GPL ( tpa6130a2_add_controls  )
MODULE_AUTHOR ( "Peter Ujfalusi <[email protected]>"  )
MODULE_DESCRIPTION ( "TPA6130A2 Headphone amplifier driver )
MODULE_DEVICE_TABLE ( i2c  ,
tpa6130a2_id   
)
module_i2c_driver ( tpa6130a2_i2c_driver  )
MODULE_LICENSE ( "GPL"  )
int tpa6130a2_add_controls ( struct snd_soc_codec codec)

Definition at line 344 of file tpa6130a2.c.

int tpa6130a2_stereo_enable ( struct snd_soc_codec codec,
int  enable 
)

Definition at line 325 of file tpa6130a2.c.