Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
snd_soc_dai_ops Struct Reference

#include <soc-dai.h>

Data Fields

int(* set_sysclk )(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir)
 
int(* set_pll )(struct snd_soc_dai *dai, int pll_id, int source, unsigned int freq_in, unsigned int freq_out)
 
int(* set_clkdiv )(struct snd_soc_dai *dai, int div_id, int div)
 
int(* set_fmt )(struct snd_soc_dai *dai, unsigned int fmt)
 
int(* set_tdm_slot )(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width)
 
int(* set_channel_map )(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot)
 
int(* set_tristate )(struct snd_soc_dai *dai, int tristate)
 
int(* digital_mute )(struct snd_soc_dai *dai, int mute)
 
int(* startup )(struct snd_pcm_substream *, struct snd_soc_dai *)
 
void(* shutdown )(struct snd_pcm_substream *, struct snd_soc_dai *)
 
int(* hw_params )(struct snd_pcm_substream *, struct snd_pcm_hw_params *, struct snd_soc_dai *)
 
int(* hw_free )(struct snd_pcm_substream *, struct snd_soc_dai *)
 
int(* prepare )(struct snd_pcm_substream *, struct snd_soc_dai *)
 
int(* trigger )(struct snd_pcm_substream *, int, struct snd_soc_dai *)
 
int(* bespoke_trigger )(struct snd_pcm_substream *, int, struct snd_soc_dai *)
 
snd_pcm_sframes_t(* delay )(struct snd_pcm_substream *, struct snd_soc_dai *)
 

Detailed Description

Definition at line 131 of file soc-dai.h.

Field Documentation

int(* bespoke_trigger)(struct snd_pcm_substream *, int, struct snd_soc_dai *)

Definition at line 177 of file soc-dai.h.

Definition at line 183 of file soc-dai.h.

int(* digital_mute)(struct snd_soc_dai *dai, int mute)

Definition at line 159 of file soc-dai.h.

Definition at line 171 of file soc-dai.h.

Definition at line 169 of file soc-dai.h.

Definition at line 173 of file soc-dai.h.

int(* set_channel_map)(struct snd_soc_dai *dai, unsigned int tx_num, unsigned int *tx_slot, unsigned int rx_num, unsigned int *rx_slot)

Definition at line 150 of file soc-dai.h.

int(* set_clkdiv)(struct snd_soc_dai *dai, int div_id, int div)

Definition at line 140 of file soc-dai.h.

int(* set_fmt)(struct snd_soc_dai *dai, unsigned int fmt)

Definition at line 146 of file soc-dai.h.

int(* set_pll)(struct snd_soc_dai *dai, int pll_id, int source, unsigned int freq_in, unsigned int freq_out)

Definition at line 138 of file soc-dai.h.

int(* set_sysclk)(struct snd_soc_dai *dai, int clk_id, unsigned int freq, int dir)

Definition at line 136 of file soc-dai.h.

int(* set_tdm_slot)(struct snd_soc_dai *dai, unsigned int tx_mask, unsigned int rx_mask, int slots, int slot_width)

Definition at line 147 of file soc-dai.h.

int(* set_tristate)(struct snd_soc_dai *dai, int tristate)

Definition at line 153 of file soc-dai.h.

Definition at line 167 of file soc-dai.h.

Definition at line 165 of file soc-dai.h.

Definition at line 175 of file soc-dai.h.


The documentation for this struct was generated from the following file: