linux-4.4.1/snd_soc_dai_link
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#zea27b3c]
#backlinks
*説明 [#d5334195]
-パス: [[linux-4.4.1/include/sound/soc.h]]
-FIXME: これは何?
--説明
**参考 [#ne9b8ecc]
*実装 [#t76cadec]
struct snd_soc_dai_link {
/* config - must be set by machine driver */
const char *name; /* Codec...
const char *stream_name; /* Strea...
/*
* You MAY specify the link's CPU-side device, e...
* or by DT/OF node, but not both. If this infor...
* the CPU-side DAI is matched using .cpu_dai_na...
* must be globally unique. These fields are cur...
* only for codec to codec links, or systems usi...
*/
const char *cpu_name;
struct device_node *cpu_of_node;
-
--[[linux-4.4.1/device_node]]
/*
* You MAY specify the DAI name of the CPU DAI. ...
* omitted, the CPU-side DAI is matched using .c...
* only, which only works well when that device ...
*/
const char *cpu_dai_name;
/*
* You MUST specify the link's codec, either by ...
* DT/OF node, but not both.
*/
const char *codec_name;
struct device_node *codec_of_node;
/* You MUST specify the DAI name within the code...
const char *codec_dai_name;
struct snd_soc_dai_link_component *codecs;
unsigned int num_codecs;
-
--[[linux-4.4.1/snd_soc_dai_link_component]]
/*
* You MAY specify the link's platform/PCM/DMA d...
* device name, or by DT/OF node, but not both. ...
* do not need a platform.
*/
const char *platform_name;
struct device_node *platform_of_node;
int be_id; /* optional ID for machine drive...
const struct snd_soc_pcm_stream *params;
unsigned int num_params;
-
--[[linux-4.4.1/snd_soc_pcm_stream]]
unsigned int dai_fmt; /* format to set...
enum snd_soc_dpcm_trigger trigger[2]; /* trigger...
-
--[[linux-4.4.1/snd_soc_dpcm_trigger]]
/* codec/machine specific init - e.g. add machin...
int (*init)(struct snd_soc_pcm_runtime *rtd);
-
--[[linux-4.4.1/snd_soc_pcm_runtime]]
/* optional hw_params re-writing for BE and FE s...
int (*be_hw_params_fixup)(struct snd_soc_pcm_run...
struct snd_pcm_hw_params *params);
-
--[[linux-4.4.1/snd_pcm_hw_params]]
/* machine stream operations */
const struct snd_soc_ops *ops;
const struct snd_soc_compr_ops *compr_ops;
-
--[[linux-4.4.1/snd_soc_ops]]
--[[linux-4.4.1/snd_soc_compr_ops]]
/* For unidirectional dai links */
bool playback_only;
bool capture_only;
/* Mark this pcm with non atomic ops */
bool nonatomic;
/* Keep DAI active over suspend */
unsigned int ignore_suspend:1;
/* Symmetry requirements */
unsigned int symmetric_rates:1;
unsigned int symmetric_channels:1;
unsigned int symmetric_samplebits:1;
/* Do not create a PCM for this DAI link (Backen...
unsigned int no_pcm:1;
/* This DAI link can route to other DAI links at...
unsigned int dynamic:1;
/* DPCM capture and Playback support */
unsigned int dpcm_capture:1;
unsigned int dpcm_playback:1;
/* DPCM used FE & BE merged format */
unsigned int dpcm_merged_format:1;
/* pmdown_time is ignored at stop */
unsigned int ignore_pmdown_time:1;
};
*コメント [#afd5d06a]
終了行:
*参照元 [#zea27b3c]
#backlinks
*説明 [#d5334195]
-パス: [[linux-4.4.1/include/sound/soc.h]]
-FIXME: これは何?
--説明
**参考 [#ne9b8ecc]
*実装 [#t76cadec]
struct snd_soc_dai_link {
/* config - must be set by machine driver */
const char *name; /* Codec...
const char *stream_name; /* Strea...
/*
* You MAY specify the link's CPU-side device, e...
* or by DT/OF node, but not both. If this infor...
* the CPU-side DAI is matched using .cpu_dai_na...
* must be globally unique. These fields are cur...
* only for codec to codec links, or systems usi...
*/
const char *cpu_name;
struct device_node *cpu_of_node;
-
--[[linux-4.4.1/device_node]]
/*
* You MAY specify the DAI name of the CPU DAI. ...
* omitted, the CPU-side DAI is matched using .c...
* only, which only works well when that device ...
*/
const char *cpu_dai_name;
/*
* You MUST specify the link's codec, either by ...
* DT/OF node, but not both.
*/
const char *codec_name;
struct device_node *codec_of_node;
/* You MUST specify the DAI name within the code...
const char *codec_dai_name;
struct snd_soc_dai_link_component *codecs;
unsigned int num_codecs;
-
--[[linux-4.4.1/snd_soc_dai_link_component]]
/*
* You MAY specify the link's platform/PCM/DMA d...
* device name, or by DT/OF node, but not both. ...
* do not need a platform.
*/
const char *platform_name;
struct device_node *platform_of_node;
int be_id; /* optional ID for machine drive...
const struct snd_soc_pcm_stream *params;
unsigned int num_params;
-
--[[linux-4.4.1/snd_soc_pcm_stream]]
unsigned int dai_fmt; /* format to set...
enum snd_soc_dpcm_trigger trigger[2]; /* trigger...
-
--[[linux-4.4.1/snd_soc_dpcm_trigger]]
/* codec/machine specific init - e.g. add machin...
int (*init)(struct snd_soc_pcm_runtime *rtd);
-
--[[linux-4.4.1/snd_soc_pcm_runtime]]
/* optional hw_params re-writing for BE and FE s...
int (*be_hw_params_fixup)(struct snd_soc_pcm_run...
struct snd_pcm_hw_params *params);
-
--[[linux-4.4.1/snd_pcm_hw_params]]
/* machine stream operations */
const struct snd_soc_ops *ops;
const struct snd_soc_compr_ops *compr_ops;
-
--[[linux-4.4.1/snd_soc_ops]]
--[[linux-4.4.1/snd_soc_compr_ops]]
/* For unidirectional dai links */
bool playback_only;
bool capture_only;
/* Mark this pcm with non atomic ops */
bool nonatomic;
/* Keep DAI active over suspend */
unsigned int ignore_suspend:1;
/* Symmetry requirements */
unsigned int symmetric_rates:1;
unsigned int symmetric_channels:1;
unsigned int symmetric_samplebits:1;
/* Do not create a PCM for this DAI link (Backen...
unsigned int no_pcm:1;
/* This DAI link can route to other DAI links at...
unsigned int dynamic:1;
/* DPCM capture and Playback support */
unsigned int dpcm_capture:1;
unsigned int dpcm_playback:1;
/* DPCM used FE & BE merged format */
unsigned int dpcm_merged_format:1;
/* pmdown_time is ignored at stop */
unsigned int ignore_pmdown_time:1;
};
*コメント [#afd5d06a]
ページ名: