*参照元 [#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 *component, unsigned int reg, unsigned int *val) { int ret; if (component->regmap) ret = regmap_read(component->regmap, reg, val); - --[[linux-4.4.1/regmap_read()]] else if (component->read) ret = component->read(component, reg, val); else ret = -EIO; return ret; } EXPORT_SYMBOL_GPL(snd_soc_component_read); - --[[linux-4.4.1/EXPORT_SYMBOL_GPL()]] *コメント [#pd67cc26]