Lines Matching defs:prop

47 	struct property *prop = of_find_property(np, propname, NULL);
54 if (prop && prop->length)
57 return prop ? true : false;
98 const struct property *prop = of_find_property(np, propname, NULL);
100 if (!prop)
102 if (!prop->value)
105 if (prop->length % elem_size != 0) {
111 return prop->length / elem_size;
134 const struct property *prop = of_find_property(np, propname, NULL);
136 if (!prop)
138 if (!prop->value)
140 if (prop->length < min)
142 if (max && prop->length > max)
146 *len = prop->length;
148 return prop->value;
533 const struct property *prop = of_find_property(np, propname, NULL);
535 if (!prop)
537 if (!prop->length)
539 if (strnlen(prop->value, prop->length) >= prop->length)
541 *out_string = prop->value;
563 const struct property *prop = of_find_property(np, propname, NULL);
568 if (!prop)
570 if (!prop->value)
573 p = prop->value;
574 end = p + prop->length;
603 const struct property *prop = of_find_property(np, propname, NULL);
607 if (!prop)
609 if (!prop->value)
611 p = prop->value;
612 end = p + prop->length;
626 const __be32 *of_prop_next_u32(const struct property *prop, const __be32 *cur,
631 if (!prop)
635 curv = prop->value;
640 if (curv >= prop->value + prop->length)
649 const char *of_prop_next_string(const struct property *prop, const char *cur)
655 if (!prop || !prop->value || !prop->length)
658 curv = cur ? cur : prop->value;
659 end = prop->value + prop->length;
661 if (curv < (const char *)prop->value || curv >= end)
1167 const char *prop, const char *nargs_prop,
1184 ret = of_parse_phandle_with_args(to_of_node(fwnode), prop,
1187 ret = of_parse_phandle_with_fixed_args(to_of_node(fwnode), prop,