Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
max98088.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/i2c.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 <linux/slab.h>
#include <asm/div64.h>
#include <sound/max98088.h>
#include "max98088.h"

Go to the source code of this file.

Data Structures

struct  max98088_cdata
 
struct  max98088_priv
 

Macros

#define MAX98088_RATES   SNDRV_PCM_RATE_8000_96000
 
#define MAX98088_FORMATS   (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE)
 
#define max98088_suspend   NULL
 
#define max98088_resume   NULL
 

Enumerations

enum  max98088_type { MAX98088, MAX98089 }
 

Functions

 MODULE_DEVICE_TABLE (i2c, max98088_i2c_id)
 
 module_i2c_driver (max98088_i2c_driver)
 
 MODULE_DESCRIPTION ("ALSA SoC MAX98088 driver")
 
 MODULE_AUTHOR ("Peter Hsiang, Jesse Marroquin")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MAX98088_FORMATS   (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE)

Definition at line 1650 of file max98088.c.

#define MAX98088_RATES   SNDRV_PCM_RATE_8000_96000

Definition at line 1649 of file max98088.c.

#define max98088_resume   NULL

Definition at line 1964 of file max98088.c.

#define max98088_suspend   NULL

Definition at line 1963 of file max98088.c.

Enumeration Type Documentation

Enumerator:
MAX98088 
MAX98089 

Definition at line 29 of file max98088.c.

Function Documentation

MODULE_AUTHOR ( "Peter  Hsiang,
Jesse Marroquin"   
)
MODULE_DESCRIPTION ( "ALSA SoC MAX98088 driver )
MODULE_DEVICE_TABLE ( i2c  ,
max98088_i2c_id   
)
module_i2c_driver ( max98088_i2c_driver  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

u32 rate

Definition at line 1225 of file max98088.c.

int readable

Definition at line 332 of file max98088.c.

u8 sr

Definition at line 1226 of file max98088.c.

int vol

Definition at line 334 of file max98088.c.

int writable

Definition at line 333 of file max98088.c.