linux-4.4.1/snd_jack_report()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#fd0bf098]
#backlinks
*説明 [#m7ec3781]
-パス: 複数あり
--CONFIG_SND_JACK 有効: [[linux-4.4.1/sound/core/jack.c]]
--CONFIG_SND_JACK 無効: [[linux-4.4.1/include/sound/jack....
-FIXME: これは何?
--説明
**引数 [#i4f79a29]
-struct snd_jack *jack
--
--[[linux-4.4.1/snd_jack]]
-int status
--
**返り値 [#mef014f3]
-なし
**参考 [#t1290cc0]
*実装 [#z26828cd]
**CONFIG_SND_JACK 有効: sound/core/jack.c [#o6c34b5a]
/**
* snd_jack_report - Report the current status of a jack
*
* @jack: The jack to report status for
* @status: The current status of the jack
*/
void snd_jack_report(struct snd_jack *jack, int status)
{
struct snd_jack_kctl *jack_kctl;
int i;
-
--[[linux-4.4.1/snd_jack_kctl]]
if (!jack)
return;
list_for_each_entry(jack_kctl, &jack->kctl_list,...
snd_kctl_jack_report(jack->card, jack_kc...
status & jac...
-
--[[linux-4.4.1/list_for_each_entry()]]
--[[linux-4.4.1/snd_kctl_jack_report()]]
if (!jack->input_dev)
return;
for (i = 0; i < ARRAY_SIZE(jack->key); i++) {
int testbit = SND_JACK_BTN_0 >> i;
if (jack->type & testbit)
input_report_key(jack->input_dev...
status & testbi...
-
--[[linux-4.4.1/input_report_key()]]
}
for (i = 0; i < ARRAY_SIZE(jack_switch_types); i...
int testbit = 1 << i;
if (jack->type & testbit)
input_report_switch(jack->input_...
jack_switch_...
status & tes...
-
--[[linux-4.4.1/input_report_switch()]]
}
input_sync(jack->input_dev);
-
--[[linux-4.4.1/input_sync()]]
}
EXPORT_SYMBOL(snd_jack_report);
-
--[[linux-4.4.1/EXPORT_SYMBOL()]]
**CONFIG_SND_JACK 無効: include/sound/jack.h [#r951fae4]
static inline void snd_jack_report(struct snd_jack *jack...
{
}
*コメント [#h5be6c17]
終了行:
*参照元 [#fd0bf098]
#backlinks
*説明 [#m7ec3781]
-パス: 複数あり
--CONFIG_SND_JACK 有効: [[linux-4.4.1/sound/core/jack.c]]
--CONFIG_SND_JACK 無効: [[linux-4.4.1/include/sound/jack....
-FIXME: これは何?
--説明
**引数 [#i4f79a29]
-struct snd_jack *jack
--
--[[linux-4.4.1/snd_jack]]
-int status
--
**返り値 [#mef014f3]
-なし
**参考 [#t1290cc0]
*実装 [#z26828cd]
**CONFIG_SND_JACK 有効: sound/core/jack.c [#o6c34b5a]
/**
* snd_jack_report - Report the current status of a jack
*
* @jack: The jack to report status for
* @status: The current status of the jack
*/
void snd_jack_report(struct snd_jack *jack, int status)
{
struct snd_jack_kctl *jack_kctl;
int i;
-
--[[linux-4.4.1/snd_jack_kctl]]
if (!jack)
return;
list_for_each_entry(jack_kctl, &jack->kctl_list,...
snd_kctl_jack_report(jack->card, jack_kc...
status & jac...
-
--[[linux-4.4.1/list_for_each_entry()]]
--[[linux-4.4.1/snd_kctl_jack_report()]]
if (!jack->input_dev)
return;
for (i = 0; i < ARRAY_SIZE(jack->key); i++) {
int testbit = SND_JACK_BTN_0 >> i;
if (jack->type & testbit)
input_report_key(jack->input_dev...
status & testbi...
-
--[[linux-4.4.1/input_report_key()]]
}
for (i = 0; i < ARRAY_SIZE(jack_switch_types); i...
int testbit = 1 << i;
if (jack->type & testbit)
input_report_switch(jack->input_...
jack_switch_...
status & tes...
-
--[[linux-4.4.1/input_report_switch()]]
}
input_sync(jack->input_dev);
-
--[[linux-4.4.1/input_sync()]]
}
EXPORT_SYMBOL(snd_jack_report);
-
--[[linux-4.4.1/EXPORT_SYMBOL()]]
**CONFIG_SND_JACK 無効: include/sound/jack.h [#r951fae4]
static inline void snd_jack_report(struct snd_jack *jack...
{
}
*コメント [#h5be6c17]
ページ名: