Lines Matching +full:int +full:- +full:property
1 /* SPDX-License-Identifier: GPL-2.0+ */
8 * Copyright (C) 1996-2005 Paul Mackerras.
14 * struct alias_prop - Alias property in 'aliases' node
16 * @alias: Alias property name
21 * The structure represents one alias property of 'aliases' node as
28 int id;
46 extern int of_property_notify(int action, struct device_node *np,
47 struct property *prop, struct property *old_prop);
49 extern int __of_changeset_apply_entries(struct of_changeset *ocs,
50 int *ret_revert);
51 extern int __of_changeset_apply_notify(struct of_changeset *ocs);
52 extern int __of_changeset_revert_entries(struct of_changeset *ocs,
53 int *ret_apply);
54 extern int __of_changeset_revert_notify(struct of_changeset *ocs);
56 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
57 struct property *prop, struct property *old_prop) in of_property_notify()
70 int of_node_is_attached(const struct device_node *node);
71 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
72 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
73 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
74 struct property *oldprop);
75 int __of_attach_node_sysfs(struct device_node *np);
78 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
82 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs()
84 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs()
85 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
93 int of_resolve_phandles(struct device_node *tree);
125 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags);
135 const char *name, int *lenp);
136 extern int __of_add_property(struct device_node *np, struct property *prop);
137 extern int __of_remove_property(struct device_node *np, struct property *prop);
138 extern int __of_update_property(struct device_node *np,
139 struct property *newprop, struct property **oldprop);
144 struct property *prop);
152 list_for_each_entry(_te, &(_oft)->te_list, node)
156 list_for_each_entry_reverse(_te, &(_oft)->te_list, node)
158 extern int of_bus_n_addr_cells(struct device_node *np);
159 extern int of_bus_n_size_cells(struct device_node *np);
163 int of_dma_get_range(struct device_node *np,
167 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range()
170 return -ENODEV; in of_dma_get_range()