linux-2.6.33/snd_soc_dai_ops
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#j55ed597]
#backlinks
*説明 [#sa4e836f]
-パス: [[linux-2.6.33/include/sound/soc-dai.h]]
-FIXME: これは何?
--説明
**参考 [#s3add3e4]
*実装 [#hb70fdb8]
/*
* Digital Audio Interface.
*
* Describes the Digital Audio Interface in terms of its...
* operations and capabilities. Codec and platform drive...
* structure for every DAI they have.
*
* This structure covers the clocking, formating and ALS...
* interface.
*/
struct snd_soc_dai_ops {
/*
* DAI clocking configuration, all optional.
* Called by soc_card drivers, normally in their hw_par...
*/
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...
unsigned int freq_in, unsigned int freq_out);
int (*set_clkdiv)(struct snd_soc_dai *dai, int div_id, ...
-
--[[linux-2.6.33/snd_soc_dai]]
/*
* DAI format configuration
* Called by soc_card drivers, normally in their hw_par...
*/
int (*set_fmt)(struct snd_soc_dai *dai, unsigned int fm...
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 trista...
/*
* DAI digital mute - optional.
* Called by soc-core to minimise any pops.
*/
int (*digital_mute)(struct snd_soc_dai *dai, int mute);
/*
* ALSA PCM audio operations - all optional.
* Called by soc-core during audio PCM operations.
*/
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 *);
-
--[[linux-2.6.33/snd_pcm_substream]]
};
*コメント [#z75d4508]
終了行:
*参照元 [#j55ed597]
#backlinks
*説明 [#sa4e836f]
-パス: [[linux-2.6.33/include/sound/soc-dai.h]]
-FIXME: これは何?
--説明
**参考 [#s3add3e4]
*実装 [#hb70fdb8]
/*
* Digital Audio Interface.
*
* Describes the Digital Audio Interface in terms of its...
* operations and capabilities. Codec and platform drive...
* structure for every DAI they have.
*
* This structure covers the clocking, formating and ALS...
* interface.
*/
struct snd_soc_dai_ops {
/*
* DAI clocking configuration, all optional.
* Called by soc_card drivers, normally in their hw_par...
*/
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...
unsigned int freq_in, unsigned int freq_out);
int (*set_clkdiv)(struct snd_soc_dai *dai, int div_id, ...
-
--[[linux-2.6.33/snd_soc_dai]]
/*
* DAI format configuration
* Called by soc_card drivers, normally in their hw_par...
*/
int (*set_fmt)(struct snd_soc_dai *dai, unsigned int fm...
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 trista...
/*
* DAI digital mute - optional.
* Called by soc-core to minimise any pops.
*/
int (*digital_mute)(struct snd_soc_dai *dai, int mute);
/*
* ALSA PCM audio operations - all optional.
* Called by soc-core during audio PCM operations.
*/
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 *);
-
--[[linux-2.6.33/snd_pcm_substream]]
};
*コメント [#z75d4508]
ページ名: