Lines Matching +full:int +full:- +full:property

1 /* SPDX-License-Identifier: GPL-2.0+ */
8 * Copyright (C) 1996-2005 Paul Mackerras.
12 * struct alias_prop - Alias property in 'aliases' node
14 * @alias: Alias property name
19 * The structure represents one alias property of 'aliases' node as
26 int id;
43 extern int of_property_notify(int action, struct device_node *np,
44 struct property *prop, struct property *old_prop);
46 extern int __of_changeset_apply_entries(struct of_changeset *ocs,
47 int *ret_revert);
48 extern int __of_changeset_apply_notify(struct of_changeset *ocs);
49 extern int __of_changeset_revert_entries(struct of_changeset *ocs,
50 int *ret_apply);
51 extern int __of_changeset_revert_notify(struct of_changeset *ocs);
53 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
54 struct property *prop, struct property *old_prop) in of_property_notify()
61 int of_node_is_attached(struct device_node *node);
62 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
63 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
64 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
65 struct property *oldprop);
66 int __of_attach_node_sysfs(struct device_node *np);
69 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
73 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs()
75 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs()
76 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
84 int of_resolve_phandles(struct device_node *tree);
116 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags);
126 const char *name, int *lenp);
127 extern int __of_add_property(struct device_node *np, struct property *prop);
128 extern int __of_add_property_sysfs(struct device_node *np,
129 struct property *prop);
130 extern int __of_remove_property(struct device_node *np, struct property *prop);
132 struct property *prop);
133 extern int __of_update_property(struct device_node *np,
134 struct property *newprop, struct property **oldprop);
136 struct property *newprop, struct property *oldprop);
138 extern int __of_attach_node_sysfs(struct device_node *np);
143 struct property *prop);
151 list_for_each_entry(_te, &(_oft)->te_list, node)
155 list_for_each_entry_reverse(_te, &(_oft)->te_list, node)
157 extern int of_bus_n_addr_cells(struct device_node *np);
158 extern int of_bus_n_size_cells(struct device_node *np);
162 int of_dma_get_range(struct device_node *np,
165 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range()
168 return -ENODEV; in of_dma_get_range()