Lines Matching defs:prop
295 const struct fdt_property *prop;
303 prop = fdt_offset_ptr_(fdt, offset);
306 *lenp = fdt32_to_cpu(prop->len);
308 return prop;
337 const struct fdt_property *prop;
339 if (!(prop = fdt_get_property_by_offset_(fdt, offset, lenp))) {
343 if (fdt_string_eq_(fdt, fdt32_to_cpu(prop->nameoff),
347 return prop;
387 const struct fdt_property *prop;
389 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
391 if (!prop)
395 if (fdt_version(fdt) < 0x10 && (poffset + sizeof(*prop)) % 8 &&
396 fdt32_to_cpu(prop->len) >= 8)
397 return prop->data + 4;
398 return prop->data;
404 const struct fdt_property *prop;
406 prop = fdt_get_property_by_offset_(fdt, offset, lenp);
407 if (!prop)
410 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff));
413 if (fdt_version(fdt) < 0x10 && (offset + sizeof(*prop)) % 8 &&
414 fdt32_to_cpu(prop->len) >= 8)
415 return prop->data + 4;
416 return prop->data;
740 const void *prop;
743 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len);
744 if (!prop)
747 return !fdt_stringlist_contains(prop, len, compatible);