Lines Matching refs:prop
206 static const char *of_prop_next_string(struct property *prop, const char *cur) in of_prop_next_string() argument
210 if (!prop) in of_prop_next_string()
214 return prop->value; in of_prop_next_string()
217 if (curv >= prop->value + prop->length) in of_prop_next_string()
227 struct property *prop; in of_device_is_compatible() local
233 prop = of_find_property(device, "compatible", NULL); in of_device_is_compatible()
234 for (cp = of_prop_next_string(prop, NULL); cp; in of_device_is_compatible()
235 cp = of_prop_next_string(prop, cp), index++) { in of_device_is_compatible()
453 struct property *prop = of_find_property(np, propname, NULL); in of_find_property_value_of_size() local
455 if (!prop) in of_find_property_value_of_size()
457 if (!prop->value) in of_find_property_value_of_size()
459 if (len > prop->length) in of_find_property_value_of_size()
462 return prop->value; in of_find_property_value_of_size()
552 const struct property *prop = of_find_property(np, propname, NULL); in of_property_match_string() local
557 if (!prop) in of_property_match_string()
559 if (!prop->value) in of_property_match_string()
562 p = prop->value; in of_property_match_string()
563 end = p + prop->length; in of_property_match_string()
591 const struct property *prop = of_find_property(np, propname, NULL); in of_property_read_string_helper() local
595 if (!prop) in of_property_read_string_helper()
597 if (!prop->value) in of_property_read_string_helper()
599 p = prop->value; in of_property_read_string_helper()
600 end = p + prop->length; in of_property_read_string_helper()