linux-4.4.1/snd_soc_component_read()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#b8462c59]
#backlinks
*説明 [#x07366f9]
-パス: [[linux-4.4.1/sound/soc/soc-io.c]]
-FIXME: これは何?
--説明
**引数 [#nc179f5c]
-struct snd_soc_component *component
--
--[[linux-4.4.1/snd_soc_component]]
-unsigned int reg
--
-unsigned int *val
--
**返り値 [#q9b7ca53]
-int
--
**参考 [#dc06f44b]
*実装 [#b0edcda7]
/**
* snd_soc_component_read() - Read register value
* @component: Component to read from
* @reg: Register to read
* @val: Pointer to where the read value is stored
*
* Return: 0 on success, a negative error code otherwise.
*/
int snd_soc_component_read(struct snd_soc_component *com...
unsigned int reg, unsigned int *val)
{
int ret;
if (component->regmap)
ret = regmap_read(component->regmap, reg...
-
--[[linux-4.4.1/regmap_read()]]
else if (component->read)
ret = component->read(component, reg, va...
else
ret = -EIO;
return ret;
}
EXPORT_SYMBOL_GPL(snd_soc_component_read);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#pd67cc26]
終了行:
*参照元 [#b8462c59]
#backlinks
*説明 [#x07366f9]
-パス: [[linux-4.4.1/sound/soc/soc-io.c]]
-FIXME: これは何?
--説明
**引数 [#nc179f5c]
-struct snd_soc_component *component
--
--[[linux-4.4.1/snd_soc_component]]
-unsigned int reg
--
-unsigned int *val
--
**返り値 [#q9b7ca53]
-int
--
**参考 [#dc06f44b]
*実装 [#b0edcda7]
/**
* snd_soc_component_read() - Read register value
* @component: Component to read from
* @reg: Register to read
* @val: Pointer to where the read value is stored
*
* Return: 0 on success, a negative error code otherwise.
*/
int snd_soc_component_read(struct snd_soc_component *com...
unsigned int reg, unsigned int *val)
{
int ret;
if (component->regmap)
ret = regmap_read(component->regmap, reg...
-
--[[linux-4.4.1/regmap_read()]]
else if (component->read)
ret = component->read(component, reg, va...
else
ret = -EIO;
return ret;
}
EXPORT_SYMBOL_GPL(snd_soc_component_read);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#pd67cc26]
ページ名: