Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
omap-mcpdm.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/slab.h>
#include <linux/pm_runtime.h>
#include <linux/of_device.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include "omap-mcpdm.h"
#include "omap-pcm.h"

Go to the source code of this file.

Data Structures

struct  omap_mcpdm
 

Macros

#define OMAP44XX_MCPDM_L3_BASE   0x49032000
 
#define OMAP_MCPDM_RATES   (SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000)
 
#define OMAP_MCPDM_FORMATS   SNDRV_PCM_FMTBIT_S32_LE
 

Functions

void omap_mcpdm_configure_dn_offsets (struct snd_soc_pcm_runtime *rtd, u8 rx1, u8 rx2)
 
 EXPORT_SYMBOL_GPL (omap_mcpdm_configure_dn_offsets)
 
 MODULE_DEVICE_TABLE (of, omap_mcpdm_of_match)
 
 module_platform_driver (asoc_mcpdm_driver)
 
 MODULE_ALIAS ("platform:omap-mcpdm")
 
 MODULE_AUTHOR ("Misael Lopez Cruz <[email protected]>")
 
 MODULE_DESCRIPTION ("OMAP PDM SoC Interface")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define OMAP44XX_MCPDM_L3_BASE   0x49032000

Definition at line 46 of file omap-mcpdm.c.

#define OMAP_MCPDM_FORMATS   SNDRV_PCM_FMTBIT_S32_LE

Definition at line 399 of file omap-mcpdm.c.

#define OMAP_MCPDM_RATES   (SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000)

Definition at line 398 of file omap-mcpdm.c.

Function Documentation

EXPORT_SYMBOL_GPL ( omap_mcpdm_configure_dn_offsets  )
MODULE_ALIAS ( "platform:omap-mcpdm"  )
MODULE_AUTHOR ( "Misael Lopez Cruz <[email protected]>"  )
MODULE_DESCRIPTION ( "OMAP PDM SoC Interface )
MODULE_DEVICE_TABLE ( of  ,
omap_mcpdm_of_match   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( asoc_mcpdm_driver  )
void omap_mcpdm_configure_dn_offsets ( struct snd_soc_pcm_runtime rtd,
u8  rx1,
u8  rx2 
)

Definition at line 423 of file omap-mcpdm.c.