Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cs42l52.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 <linux/input.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include <sound/cs42l52.h>
#include "cs42l52.h"

Go to the source code of this file.

Data Structures

struct  sp_config
 
struct  cs42l52_private
 
struct  cs42l52_clk_para
 

Macros

#define CS42L52_RATES   (SNDRV_PCM_RATE_8000_96000)
 
#define CS42L52_FORMATS
 

Functions

 MODULE_DEVICE_TABLE (i2c, cs42l52_id)
 
 module_i2c_driver (cs42l52_i2c_driver)
 
 MODULE_DESCRIPTION ("ASoC CS42L52 driver")
 
 MODULE_AUTHOR ("Georgi Vlaev, Nucleus Systems Ltd, <[email protected]>")
 
 MODULE_AUTHOR ("Brian Austin, Cirrus Logic Inc, <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CS42L52_FORMATS
Value:
SNDRV_PCM_FMTBIT_S18_3LE | SNDRV_PCM_FMTBIT_U18_3LE | \
SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_U20_3LE | \
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_U24_LE)

Definition at line 907 of file cs42l52.c.

#define CS42L52_RATES   (SNDRV_PCM_RATE_8000_96000)

Definition at line 905 of file cs42l52.c.

Function Documentation

MODULE_AUTHOR ( "Georgi  Vlaev,
Nucleus Systems  Ltd,
< joe @nucleusys.com >"   
)
MODULE_AUTHOR ( "Brian  Austin,
Cirrus Logic  Inc,
< brian.austin @cirrus.com >"   
)
MODULE_DESCRIPTION ( "ASoC CS42L52 driver )
MODULE_DEVICE_TABLE ( i2c  ,
cs42l52_id   
)
module_i2c_driver ( cs42l52_i2c_driver  )
MODULE_LICENSE ( "GPL"  )