Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
soc-pcm.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/export.h>
#include <linux/debugfs.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dpcm.h>
#include <sound/initval.h>

Go to the source code of this file.

Macros

#define DPCM_MAX_BE_USERS   8
 

Functions

 EXPORT_SYMBOL_GPL (dpcm_be_dai_trigger)
 
int soc_dpcm_runtime_update (struct snd_soc_dapm_widget *widget)
 
int soc_dpcm_be_digital_mute (struct snd_soc_pcm_runtime *fe, int mute)
 
int soc_new_pcm (struct snd_soc_pcm_runtime *rtd, int num)
 
int snd_soc_dpcm_fe_can_update (struct snd_soc_pcm_runtime *fe, int stream)
 
 EXPORT_SYMBOL_GPL (snd_soc_dpcm_fe_can_update)
 
int snd_soc_dpcm_be_can_update (struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream)
 
 EXPORT_SYMBOL_GPL (snd_soc_dpcm_be_can_update)
 
struct snd_pcm_substreamsnd_soc_dpcm_get_substream (struct snd_soc_pcm_runtime *be, int stream)
 
 EXPORT_SYMBOL_GPL (snd_soc_dpcm_get_substream)
 
enum snd_soc_dpcm_state snd_soc_dpcm_be_get_state (struct snd_soc_pcm_runtime *be, int stream)
 
 EXPORT_SYMBOL_GPL (snd_soc_dpcm_be_get_state)
 
void snd_soc_dpcm_be_set_state (struct snd_soc_pcm_runtime *be, int stream, enum snd_soc_dpcm_state state)
 
 EXPORT_SYMBOL_GPL (snd_soc_dpcm_be_set_state)
 
int snd_soc_dpcm_can_be_free_stop (struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream)
 
 EXPORT_SYMBOL_GPL (snd_soc_dpcm_can_be_free_stop)
 
int snd_soc_dpcm_can_be_params (struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream)
 
 EXPORT_SYMBOL_GPL (snd_soc_dpcm_can_be_params)
 
int snd_soc_platform_trigger (struct snd_pcm_substream *substream, int cmd, struct snd_soc_platform *platform)
 
 EXPORT_SYMBOL_GPL (snd_soc_platform_trigger)
 

Macro Definition Documentation

#define DPCM_MAX_BE_USERS   8

Definition at line 34 of file soc-pcm.c.

Function Documentation

EXPORT_SYMBOL_GPL ( dpcm_be_dai_trigger  )
EXPORT_SYMBOL_GPL ( snd_soc_dpcm_fe_can_update  )
EXPORT_SYMBOL_GPL ( snd_soc_dpcm_be_can_update  )
EXPORT_SYMBOL_GPL ( snd_soc_dpcm_get_substream  )
EXPORT_SYMBOL_GPL ( snd_soc_dpcm_be_get_state  )
EXPORT_SYMBOL_GPL ( snd_soc_dpcm_be_set_state  )
EXPORT_SYMBOL_GPL ( snd_soc_dpcm_can_be_free_stop  )
EXPORT_SYMBOL_GPL ( snd_soc_dpcm_can_be_params  )
EXPORT_SYMBOL_GPL ( snd_soc_platform_trigger  )
int snd_soc_dpcm_be_can_update ( struct snd_soc_pcm_runtime fe,
struct snd_soc_pcm_runtime be,
int  stream 
)

Definition at line 2122 of file soc-pcm.c.

enum snd_soc_dpcm_state snd_soc_dpcm_be_get_state ( struct snd_soc_pcm_runtime be,
int  stream 
)

Definition at line 2143 of file soc-pcm.c.

void snd_soc_dpcm_be_set_state ( struct snd_soc_pcm_runtime be,
int  stream,
enum snd_soc_dpcm_state  state 
)

Definition at line 2150 of file soc-pcm.c.

int snd_soc_dpcm_can_be_free_stop ( struct snd_soc_pcm_runtime fe,
struct snd_soc_pcm_runtime be,
int  stream 
)

Definition at line 2161 of file soc-pcm.c.

int snd_soc_dpcm_can_be_params ( struct snd_soc_pcm_runtime fe,
struct snd_soc_pcm_runtime be,
int  stream 
)

Definition at line 2188 of file soc-pcm.c.

int snd_soc_dpcm_fe_can_update ( struct snd_soc_pcm_runtime fe,
int  stream 
)

Definition at line 2113 of file soc-pcm.c.

struct snd_pcm_substream* snd_soc_dpcm_get_substream ( struct snd_soc_pcm_runtime be,
int  stream 
)
read

Definition at line 2135 of file soc-pcm.c.

int snd_soc_platform_trigger ( struct snd_pcm_substream substream,
int  cmd,
struct snd_soc_platform platform 
)

Definition at line 2212 of file soc-pcm.c.

int soc_dpcm_be_digital_mute ( struct snd_soc_pcm_runtime fe,
int  mute 
)

Definition at line 1922 of file soc-pcm.c.

int soc_dpcm_runtime_update ( struct snd_soc_dapm_widget widget)

Definition at line 1830 of file soc-pcm.c.

int soc_new_pcm ( struct snd_soc_pcm_runtime rtd,
int  num 
)

Definition at line 2002 of file soc-pcm.c.