Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
max9768.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/gpio.h>
#include <linux/regmap.h>
#include <sound/core.h>
#include <sound/soc.h>
#include <sound/tlv.h>
#include <sound/max9768.h>

Go to the source code of this file.

Data Structures

struct  max9768
 

Macros

#define MAX9768_VOL   0
 
#define MAX9768_CTRL   3
 
#define MAX9768_CTRL_PWM   0x15
 
#define MAX9768_CTRL_FILTERLESS   0x16
 

Functions

 MODULE_DEVICE_TABLE (i2c, max9768_i2c_id)
 
 module_i2c_driver (max9768_i2c_driver)
 
 MODULE_AUTHOR ("Wolfram Sang <[email protected]>")
 
 MODULE_DESCRIPTION ("ASoC MAX9768 amplifier driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define MAX9768_CTRL   3

Definition at line 25 of file max9768.c.

#define MAX9768_CTRL_FILTERLESS   0x16

Definition at line 29 of file max9768.c.

#define MAX9768_CTRL_PWM   0x15

Definition at line 28 of file max9768.c.

#define MAX9768_VOL   0

Definition at line 24 of file max9768.c.

Function Documentation

MODULE_AUTHOR ( "Wolfram Sang <[email protected]>"  )
MODULE_DESCRIPTION ( "ASoC MAX9768 amplifier driver )
MODULE_DEVICE_TABLE ( i2c  ,
max9768_i2c_id   
)
module_i2c_driver ( max9768_i2c_driver  )
MODULE_LICENSE ( "GPL v2 )