Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mxs-saif.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/dma-mapping.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/time.h>
#include <linux/fsl/mxs-dma.h>
#include <linux/pinctrl/consumer.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/saif.h>
#include <asm/mach-types.h>
#include <mach/hardware.h>
#include <mach/mxs.h>
#include "mxs-saif.h"

Go to the source code of this file.

Macros

#define MXS_SAIF_RATES   SNDRV_PCM_RATE_8000_192000
 
#define MXS_SAIF_FORMATS
 

Functions

int mxs_saif_put_mclk (unsigned int saif_id)
 
int mxs_saif_get_mclk (unsigned int saif_id, unsigned int mclk, unsigned int rate)
 
 MODULE_DEVICE_TABLE (of, mxs_saif_dt_ids)
 
 module_platform_driver (mxs_saif_driver)
 
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 
 MODULE_DESCRIPTION ("MXS ASoC SAIF driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:mxs-saif")
 

Macro Definition Documentation

#define MXS_SAIF_FORMATS
Value:
SNDRV_PCM_FMTBIT_S24_LE)

Definition at line 589 of file mxs-saif.c.

#define MXS_SAIF_RATES   SNDRV_PCM_RATE_8000_192000

Definition at line 588 of file mxs-saif.c.

Function Documentation

MODULE_ALIAS ( "platform:mxs-saif )
MODULE_AUTHOR ( "Freescale  Semiconductor,
Inc."   
)
MODULE_DESCRIPTION ( "MXS ASoC SAIF driver )
MODULE_DEVICE_TABLE ( of  ,
mxs_saif_dt_ids   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( mxs_saif_driver  )
int mxs_saif_get_mclk ( unsigned int  saif_id,
unsigned int  mclk,
unsigned int  rate 
)

Definition at line 239 of file mxs-saif.c.

int mxs_saif_put_mclk ( unsigned int  saif_id)

Definition at line 207 of file mxs-saif.c.