Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
soc-utils.c File Reference
#include <linux/platform_device.h>
#include <linux/export.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>

Go to the source code of this file.

Functions

int snd_soc_calc_frame_size (int sample_size, int channels, int tdm_slots)
 
 EXPORT_SYMBOL_GPL (snd_soc_calc_frame_size)
 
int snd_soc_params_to_frame_size (struct snd_pcm_hw_params *params)
 
 EXPORT_SYMBOL_GPL (snd_soc_params_to_frame_size)
 
int snd_soc_calc_bclk (int fs, int sample_size, int channels, int tdm_slots)
 
 EXPORT_SYMBOL_GPL (snd_soc_calc_bclk)
 
int snd_soc_params_to_bclk (struct snd_pcm_hw_params *params)
 
 EXPORT_SYMBOL_GPL (snd_soc_params_to_bclk)
 
int __init snd_soc_util_init (void)
 
void __exit snd_soc_util_exit (void)
 

Function Documentation

EXPORT_SYMBOL_GPL ( snd_soc_calc_frame_size  )
EXPORT_SYMBOL_GPL ( snd_soc_params_to_frame_size  )
EXPORT_SYMBOL_GPL ( snd_soc_calc_bclk  )
EXPORT_SYMBOL_GPL ( snd_soc_params_to_bclk  )
int snd_soc_calc_bclk ( int  fs,
int  sample_size,
int  channels,
int  tdm_slots 
)

Definition at line 42 of file soc-utils.c.

int snd_soc_calc_frame_size ( int  sample_size,
int  channels,
int  tdm_slots 
)

Definition at line 23 of file soc-utils.c.

int snd_soc_params_to_bclk ( struct snd_pcm_hw_params params)

Definition at line 48 of file soc-utils.c.

int snd_soc_params_to_frame_size ( struct snd_pcm_hw_params params)

Definition at line 29 of file soc-utils.c.

void __exit snd_soc_util_exit ( void  )

Definition at line 154 of file soc-utils.c.

int __init snd_soc_util_init ( void  )

Definition at line 133 of file soc-utils.c.