Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
soc-dpcm.h File Reference
#include <linux/list.h>
#include <sound/pcm.h>

Go to the source code of this file.

Data Structures

struct  snd_soc_dpcm
 
struct  snd_soc_dpcm_runtime
 

Enumerations

enum  snd_soc_dpcm_update { SND_SOC_DPCM_UPDATE_NO = 0, SND_SOC_DPCM_UPDATE_BE, SND_SOC_DPCM_UPDATE_FE }
 
enum  snd_soc_dpcm_link_state { SND_SOC_DPCM_LINK_STATE_NEW = 0, SND_SOC_DPCM_LINK_STATE_FREE }
 
enum  snd_soc_dpcm_state {
  SND_SOC_DPCM_STATE_NEW = 0, SND_SOC_DPCM_STATE_OPEN, SND_SOC_DPCM_STATE_HW_PARAMS, SND_SOC_DPCM_STATE_PREPARE,
  SND_SOC_DPCM_STATE_START, SND_SOC_DPCM_STATE_STOP, SND_SOC_DPCM_STATE_PAUSED, SND_SOC_DPCM_STATE_SUSPEND,
  SND_SOC_DPCM_STATE_HW_FREE, SND_SOC_DPCM_STATE_CLOSE
}
 
enum  snd_soc_dpcm_trigger { SND_SOC_DPCM_TRIGGER_PRE = 0, SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_BESPOKE }
 

Functions

int snd_soc_dpcm_can_be_free_stop (struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream)
 
int snd_soc_dpcm_can_be_params (struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream)
 
int snd_soc_dpcm_fe_can_update (struct snd_soc_pcm_runtime *fe, int stream)
 
int snd_soc_dpcm_be_can_update (struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream)
 
struct snd_pcm_substreamsnd_soc_dpcm_get_substream (struct snd_soc_pcm_runtime *be, int stream)
 
enum snd_soc_dpcm_state snd_soc_dpcm_be_get_state (struct snd_soc_pcm_runtime *be, int stream)
 
void snd_soc_dpcm_be_set_state (struct snd_soc_pcm_runtime *be, int stream, enum snd_soc_dpcm_state state)
 
int soc_dpcm_be_digital_mute (struct snd_soc_pcm_runtime *fe, int mute)
 
int soc_dpcm_debugfs_add (struct snd_soc_pcm_runtime *rtd)
 
int soc_dpcm_runtime_update (struct snd_soc_dapm_widget *)
 

Enumeration Type Documentation

Enumerator:
SND_SOC_DPCM_LINK_STATE_NEW 
SND_SOC_DPCM_LINK_STATE_FREE 

Definition at line 32 of file soc-dpcm.h.

Enumerator:
SND_SOC_DPCM_STATE_NEW 
SND_SOC_DPCM_STATE_OPEN 
SND_SOC_DPCM_STATE_HW_PARAMS 
SND_SOC_DPCM_STATE_PREPARE 
SND_SOC_DPCM_STATE_START 
SND_SOC_DPCM_STATE_STOP 
SND_SOC_DPCM_STATE_PAUSED 
SND_SOC_DPCM_STATE_SUSPEND 
SND_SOC_DPCM_STATE_HW_FREE 
SND_SOC_DPCM_STATE_CLOSE 

Definition at line 40 of file soc-dpcm.h.

Enumerator:
SND_SOC_DPCM_TRIGGER_PRE 
SND_SOC_DPCM_TRIGGER_POST 
SND_SOC_DPCM_TRIGGER_BESPOKE 

Definition at line 60 of file soc-dpcm.h.

Enumerator:
SND_SOC_DPCM_UPDATE_NO 
SND_SOC_DPCM_UPDATE_BE 
SND_SOC_DPCM_UPDATE_FE 

Definition at line 23 of file soc-dpcm.h.

Function Documentation

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 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_debugfs_add ( struct snd_soc_pcm_runtime rtd)
int soc_dpcm_runtime_update ( struct snd_soc_dapm_widget )

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