linux-4.4.1/snd_soc_dai_ops
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#ce2a1b65]
#backlinks
*説明 [#p010071d]
-パス: [[linux-4.4.1/include/sound/soc-dai.h]]
-FIXME: これは何?
--説明
**参考 [#d0aadc9b]
*実装 [#veb93e52]
struct snd_soc_dai_ops {
/*
* DAI clocking configuration, all optional.
* Called by soc_card drivers, normally in their...
*/
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_...
unsigned int freq_in, unsigned int freq_...
int (*set_clkdiv)(struct snd_soc_dai *dai, int d...
int (*set_bclk_ratio)(struct snd_soc_dai *dai, u...
-
--[[linux-4.4.1/snd_soc_dai]]
/*
* DAI format configuration
* Called by soc_card drivers, normally in their...
*/
int (*set_fmt)(struct snd_soc_dai *dai, unsigned...
int (*xlate_tdm_slot_mask)(unsigned int slots,
unsigned int *tx_mask, unsigned int *rx_...
int (*set_tdm_slot)(struct snd_soc_dai *dai,
unsigned int tx_mask, unsigned int rx_ma...
int slots, int slot_width);
int (*set_channel_map)(struct snd_soc_dai *dai,
unsigned int tx_num, unsigned int *tx_sl...
unsigned int rx_num, unsigned int *rx_sl...
int (*set_tristate)(struct snd_soc_dai *dai, int...
/*
* DAI digital mute - optional.
* Called by soc-core to minimise any pops.
*/
int (*digital_mute)(struct snd_soc_dai *dai, int...
int (*mute_stream)(struct snd_soc_dai *dai, int ...
/*
* 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_s...
int (*hw_free)(struct snd_pcm_substream *,
struct snd_soc_dai *);
int (*prepare)(struct snd_pcm_substream *,
struct snd_soc_dai *);
-
--[[linux-4.4.1/snd_pcm_substream]]
--[[linux-4.4.1/snd_pcm_hw_params]]
/*
* NOTE: Commands passed to the trigger function...
* compatible with the current state of the dai....
* sequence of commands is possible: START STOP ...
* So do not unconditionally use refcounting fun...
* function, e.g. clk_enable/disable.
*/
int (*trigger)(struct snd_pcm_substream *, int,
struct snd_soc_dai *);
int (*bespoke_trigger)(struct snd_pcm_substream ...
struct snd_soc_dai *);
/*
* For hardware based FIFO caused delay reporting.
* Optional.
*/
snd_pcm_sframes_t (*delay)(struct snd_pcm_substr...
struct snd_soc_dai *);
-
--[[linux-4.4.1/snd_pcm_sframes_t]]
};
*コメント [#eb6853da]
終了行:
*参照元 [#ce2a1b65]
#backlinks
*説明 [#p010071d]
-パス: [[linux-4.4.1/include/sound/soc-dai.h]]
-FIXME: これは何?
--説明
**参考 [#d0aadc9b]
*実装 [#veb93e52]
struct snd_soc_dai_ops {
/*
* DAI clocking configuration, all optional.
* Called by soc_card drivers, normally in their...
*/
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_...
unsigned int freq_in, unsigned int freq_...
int (*set_clkdiv)(struct snd_soc_dai *dai, int d...
int (*set_bclk_ratio)(struct snd_soc_dai *dai, u...
-
--[[linux-4.4.1/snd_soc_dai]]
/*
* DAI format configuration
* Called by soc_card drivers, normally in their...
*/
int (*set_fmt)(struct snd_soc_dai *dai, unsigned...
int (*xlate_tdm_slot_mask)(unsigned int slots,
unsigned int *tx_mask, unsigned int *rx_...
int (*set_tdm_slot)(struct snd_soc_dai *dai,
unsigned int tx_mask, unsigned int rx_ma...
int slots, int slot_width);
int (*set_channel_map)(struct snd_soc_dai *dai,
unsigned int tx_num, unsigned int *tx_sl...
unsigned int rx_num, unsigned int *rx_sl...
int (*set_tristate)(struct snd_soc_dai *dai, int...
/*
* DAI digital mute - optional.
* Called by soc-core to minimise any pops.
*/
int (*digital_mute)(struct snd_soc_dai *dai, int...
int (*mute_stream)(struct snd_soc_dai *dai, int ...
/*
* 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_s...
int (*hw_free)(struct snd_pcm_substream *,
struct snd_soc_dai *);
int (*prepare)(struct snd_pcm_substream *,
struct snd_soc_dai *);
-
--[[linux-4.4.1/snd_pcm_substream]]
--[[linux-4.4.1/snd_pcm_hw_params]]
/*
* NOTE: Commands passed to the trigger function...
* compatible with the current state of the dai....
* sequence of commands is possible: START STOP ...
* So do not unconditionally use refcounting fun...
* function, e.g. clk_enable/disable.
*/
int (*trigger)(struct snd_pcm_substream *, int,
struct snd_soc_dai *);
int (*bespoke_trigger)(struct snd_pcm_substream ...
struct snd_soc_dai *);
/*
* For hardware based FIFO caused delay reporting.
* Optional.
*/
snd_pcm_sframes_t (*delay)(struct snd_pcm_substr...
struct snd_soc_dai *);
-
--[[linux-4.4.1/snd_pcm_sframes_t]]
};
*コメント [#eb6853da]
ページ名: