Lines Matching refs:prop
80 struct property *prop; member
342 extern int of_add_property(struct device_node *np, struct property *prop);
343 extern int of_remove_property(struct device_node *np, struct property *prop);
366 const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur,
375 const char *of_prop_next_string(struct property *prop, const char *cur);
625 static inline const __be32 *of_prop_next_u32(struct property *prop, in of_prop_next_u32() argument
631 static inline const char *of_prop_next_string(struct property *prop, in of_prop_next_string() argument
832 struct property *prop = of_find_property(np, propname, NULL); in of_property_read_bool() local
834 return prop ? true : false; in of_property_read_bool()
865 #define of_property_for_each_u32(np, propname, prop, p, u) \ argument
866 for (prop = of_find_property(np, propname, NULL), \
867 p = of_prop_next_u32(prop, NULL, &u); \
869 p = of_prop_next_u32(prop, p, &u))
871 #define of_property_for_each_string(np, propname, prop, s) \ argument
872 for (prop = of_find_property(np, propname, NULL), \
873 s = of_prop_next_string(prop, NULL); \
875 s = of_prop_next_string(prop, s))
966 struct property *prop; member
1003 struct property *prop);
1018 struct device_node *np, struct property *prop) in of_changeset_add_property() argument
1020 return of_changeset_action(ocs, OF_RECONFIG_ADD_PROPERTY, np, prop); in of_changeset_add_property()
1024 struct device_node *np, struct property *prop) in of_changeset_remove_property() argument
1026 return of_changeset_action(ocs, OF_RECONFIG_REMOVE_PROPERTY, np, prop); in of_changeset_remove_property()
1030 struct device_node *np, struct property *prop) in of_changeset_update_property() argument
1032 return of_changeset_action(ocs, OF_RECONFIG_UPDATE_PROPERTY, np, prop); in of_changeset_update_property()