linux-4.4.1/dapm_find_widget()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#g1f9c32a]
#backlinks
*説明 [#g7d35511]
-パス: [[linux-4.4.1/sound/soc/soc-dapm.c]]
-FIXME: これは何?
--説明
**引数 [#tbe7b32d]
-struct snd_soc_dapm_context *dapm
--
--[[linux-4.4.1/snd_soc_dapm_context]]
-const char *pin
--
-bool search_other_contexts
--
**返り値 [#ed35f161]
-struct snd_soc_dapm_widget *
--
--[[linux-4.4.1/snd_soc_dapm_widget]]
**参考 [#kd12ec24]
*実装 [#ka8f6a3b]
static struct snd_soc_dapm_widget *dapm_find_widget(
struct snd_soc_dapm_context *dap...
bool search_other_contexts)
{
struct snd_soc_dapm_widget *w;
struct snd_soc_dapm_widget *fallback = NULL;
-
--[[linux-4.4.1/snd_soc_dapm_widget]]
list_for_each_entry(w, &dapm->card->widgets, lis...
-
--[[linux-4.4.1/list_for_each_entry()]]
if (!strcmp(w->name, pin)) {
if (w->dapm == dapm)
return w;
else
fallback = w;
}
}
-
--[[linux-4.4.1/strcmp()]]
if (search_other_contexts)
return fallback;
return NULL;
}
*コメント [#o3b77f48]
終了行:
*参照元 [#g1f9c32a]
#backlinks
*説明 [#g7d35511]
-パス: [[linux-4.4.1/sound/soc/soc-dapm.c]]
-FIXME: これは何?
--説明
**引数 [#tbe7b32d]
-struct snd_soc_dapm_context *dapm
--
--[[linux-4.4.1/snd_soc_dapm_context]]
-const char *pin
--
-bool search_other_contexts
--
**返り値 [#ed35f161]
-struct snd_soc_dapm_widget *
--
--[[linux-4.4.1/snd_soc_dapm_widget]]
**参考 [#kd12ec24]
*実装 [#ka8f6a3b]
static struct snd_soc_dapm_widget *dapm_find_widget(
struct snd_soc_dapm_context *dap...
bool search_other_contexts)
{
struct snd_soc_dapm_widget *w;
struct snd_soc_dapm_widget *fallback = NULL;
-
--[[linux-4.4.1/snd_soc_dapm_widget]]
list_for_each_entry(w, &dapm->card->widgets, lis...
-
--[[linux-4.4.1/list_for_each_entry()]]
if (!strcmp(w->name, pin)) {
if (w->dapm == dapm)
return w;
else
fallback = w;
}
}
-
--[[linux-4.4.1/strcmp()]]
if (search_other_contexts)
return fallback;
return NULL;
}
*コメント [#o3b77f48]
ページ名: