linux-4.4.1/snd_soc_dapm_enable_pin()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#wc9169b3]
#backlinks
*説明 [#ic015a87]
-パス: [[linux-4.4.1/sound/soc/soc-dapm.c]]
-FIXME: これは何?
--説明
**引数 [#i3b0420d]
-struct snd_soc_dapm_context *dapm
--
--[[linux-4.4.1/snd_soc_dapm_context]]
-const char *pin
--
**返り値 [#j4c48388]
-int
--
**参考 [#v40587b9]
*実装 [#kcb42549]
/**
* snd_soc_dapm_enable_pin - enable pin.
* @dapm: DAPM context
* @pin: pin name
*
* Enables input/output pin and its parents or children ...
* a valid audio route and active audio stream.
*
* NOTE: snd_soc_dapm_sync() needs to be called after th...
* do any widget power switching.
*/
int snd_soc_dapm_enable_pin(struct snd_soc_dapm_context ...
{
int ret;
mutex_lock_nested(&dapm->card->dapm_mutex, SND_S...
-
--[[linux-4.4.1/mutex_lock_nested()]]
ret = snd_soc_dapm_set_pin(dapm, pin, 1);
-
--[[linux-4.4.1/snd_soc_dapm_set_pin()]]
mutex_unlock(&dapm->card->dapm_mutex);
-
--[[linux-4.4.1/mutex_unlock()]]
return ret;
}
EXPORT_SYMBOL_GPL(snd_soc_dapm_enable_pin);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#pd32b2ae]
終了行:
*参照元 [#wc9169b3]
#backlinks
*説明 [#ic015a87]
-パス: [[linux-4.4.1/sound/soc/soc-dapm.c]]
-FIXME: これは何?
--説明
**引数 [#i3b0420d]
-struct snd_soc_dapm_context *dapm
--
--[[linux-4.4.1/snd_soc_dapm_context]]
-const char *pin
--
**返り値 [#j4c48388]
-int
--
**参考 [#v40587b9]
*実装 [#kcb42549]
/**
* snd_soc_dapm_enable_pin - enable pin.
* @dapm: DAPM context
* @pin: pin name
*
* Enables input/output pin and its parents or children ...
* a valid audio route and active audio stream.
*
* NOTE: snd_soc_dapm_sync() needs to be called after th...
* do any widget power switching.
*/
int snd_soc_dapm_enable_pin(struct snd_soc_dapm_context ...
{
int ret;
mutex_lock_nested(&dapm->card->dapm_mutex, SND_S...
-
--[[linux-4.4.1/mutex_lock_nested()]]
ret = snd_soc_dapm_set_pin(dapm, pin, 1);
-
--[[linux-4.4.1/snd_soc_dapm_set_pin()]]
mutex_unlock(&dapm->card->dapm_mutex);
-
--[[linux-4.4.1/mutex_unlock()]]
return ret;
}
EXPORT_SYMBOL_GPL(snd_soc_dapm_enable_pin);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#pd32b2ae]
ページ名: