Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
i2s.c File Reference
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/pm_runtime.h>
#include <sound/soc.h>
#include <sound/pcm_params.h>
#include <linux/platform_data/asoc-s3c.h>
#include "dma.h"
#include "idma.h"
#include "i2s.h"
#include "i2s-regs.h"

Go to the source code of this file.

Data Structures

struct  i2s_dai
 

Macros

#define msecs_to_loops(t)   (loops_per_jiffy / 1000 * HZ * t)
 
#define DAI_OPENED   (1 << 0) /* Dai is opened */
 
#define DAI_MANAGER   (1 << 1) /* Dai is the manager */
 
#define i2s_suspend   NULL
 
#define i2s_resume   NULL
 
#define SAMSUNG_I2S_RATES   SNDRV_PCM_RATE_8000_96000
 
#define SAMSUNG_I2S_FMTS
 

Functions

 module_platform_driver (samsung_i2s_driver)
 
 MODULE_AUTHOR ("Jaswinder Singh, <[email protected]>")
 
 MODULE_DESCRIPTION ("Samsung I2S Interface")
 
 MODULE_ALIAS ("platform:samsung-i2s")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DAI_MANAGER   (1 << 1) /* Dai is the manager */

Definition at line 59 of file i2s.c.

#define DAI_OPENED   (1 << 0) /* Dai is opened */

Definition at line 58 of file i2s.c.

#define i2s_resume   NULL

Definition at line 860 of file i2s.c.

#define i2s_suspend   NULL

Definition at line 859 of file i2s.c.

#define msecs_to_loops (   t)    (loops_per_jiffy / 1000 * HZ * t)

Definition at line 30 of file i2s.c.

#define SAMSUNG_I2S_FMTS
Value:
SNDRV_PCM_FMTBIT_S16_LE | \
SNDRV_PCM_FMTBIT_S24_LE)

Definition at line 949 of file i2s.c.

#define SAMSUNG_I2S_RATES   SNDRV_PCM_RATE_8000_96000

Definition at line 947 of file i2s.c.

Function Documentation

MODULE_ALIAS ( "platform:samsung-i2s"  )
MODULE_AUTHOR ( "Jaswinder  Singh,
< jassisinghbrar @gmail.com >"   
)
MODULE_DESCRIPTION ( "Samsung I2S Interface )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( samsung_i2s_driver  )