- 追加された行はこの色です。
- 削除された行はこの色です。
*参照元 [#y1b2838c]
#backlinks
*説明 [#s5cc93eb]
-パス: [[linux-4.4.1/]]
-FIXME: これは何?
--説明
**引数 [#u4064157]
-const struct device_node *np
--
--[[linux-4.4.1/device_node]]
-const char *name
--
-int *lenp
--
**返り値 [#x8f1d976]
-struct property *
--
--[[linux-4.4.1/property]]
**参考 [#m6204bbe]
*実装 [#h3dd8406]
static struct property *__of_find_property(const struct device_node *np,
const char *name, int *lenp)
{
struct property *pp;
if (!np)
return NULL;
for (pp = np->properties; pp; pp = pp->next) {
if (of_prop_cmp(pp->name, name) == 0) {
if (lenp)
*lenp = pp->length;
break;
}
}
-
--[[linux-4.4.1/of_prop_cmp()]]
return pp;
}
*コメント [#z2c0bc67]