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

Go to the source code of this file.

Data Structures

struct  ssm2602_priv
 
struct  ssm2602_coeff
 

Macros

#define SSM2602_COEFF_SRATE(sr, bosr, usb)   (((sr) << 2) | ((bosr) << 1) | (usb))
 
#define SSM2602_RATES
 
#define SSM2602_FORMATS
 

Enumerations

enum  ssm2602_type { SSM2602, SSM2604 }
 

Functions

 module_init (ssm2602_modinit)
 
 module_exit (ssm2602_exit)
 
 MODULE_DESCRIPTION ("ASoC SSM2602/SSM2603/SSM2604 driver")
 
 MODULE_AUTHOR ("Cliff Cai")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define SSM2602_COEFF_SRATE (   sr,
  bosr,
  usb 
)    (((sr) << 2) | ((bosr) << 1) | (usb))

Definition at line 222 of file ssm2602.c.

#define SSM2602_FORMATS
Value:

Definition at line 527 of file ssm2602.c.

#define SSM2602_RATES
Value:
SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |\
SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000)

Definition at line 523 of file ssm2602.c.

Enumeration Type Documentation

Enumerator:
SSM2602 
SSM2604 

Definition at line 47 of file ssm2602.c.

Function Documentation

MODULE_AUTHOR ( "Cliff Cai"  )
MODULE_DESCRIPTION ( "ASoC SSM2602/SSM2603/SSM2604 driver )
module_exit ( ssm2602_exit  )
module_init ( ssm2602_modinit  )
MODULE_LICENSE ( "GPL"  )