Lines Matching refs:prop

95 	struct property		*prop;
407 extern int of_add_property(struct device_node *np, struct property *prop);
408 extern int of_remove_property(struct device_node *np, struct property *prop);
424 * struct property *prop;
428 * of_property_for_each_u32(np, "propname", prop, p, u)
431 const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur,
434 * struct property *prop;
437 * of_property_for_each_string(np, "propname", prop, s)
440 const char *of_prop_next_string(struct property *prop, const char *cur);
801 static inline int of_add_property(struct device_node *np, struct property *prop)
806 static inline int of_remove_property(struct device_node *np, struct property *prop)
816 static inline const __be32 *of_prop_next_u32(struct property *prop,
822 static inline const char *of_prop_next_string(struct property *prop,
1223 struct property *prop = of_find_property(np, propname, NULL);
1225 return prop ? true : false;
1400 #define of_property_for_each_u32(np, propname, prop, p, u) \
1401 for (prop = of_find_property(np, propname, NULL), \
1402 p = of_prop_next_u32(prop, NULL, &u); \
1404 p = of_prop_next_u32(prop, p, &u))
1406 #define of_property_for_each_string(np, propname, prop, s) \
1407 for (prop = of_find_property(np, propname, NULL), \
1408 s = of_prop_next_string(prop, NULL); \
1410 s = of_prop_next_string(prop, s))
1500 * @prop: pointer to the property affected
1512 struct property *prop;
1551 struct property *prop);
1566 struct device_node *np, struct property *prop)
1568 return of_changeset_action(ocs, OF_RECONFIG_ADD_PROPERTY, np, prop);
1572 struct device_node *np, struct property *prop)
1574 return of_changeset_action(ocs, OF_RECONFIG_REMOVE_PROPERTY, np, prop);
1578 struct device_node *np, struct property *prop)
1580 return of_changeset_action(ocs, OF_RECONFIG_UPDATE_PROPERTY, np, prop);