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;
45 extern int of_property_notify(int action, struct device_node *np,
46 struct property *prop, struct property *old_prop);
48 extern int __of_changeset_apply_entries(struct of_changeset *ocs,
49 int *ret_revert);
50 extern int __of_changeset_apply_notify(struct of_changeset *ocs);
51 extern int __of_changeset_revert_entries(struct of_changeset *ocs,
52 int *ret_apply);
53 extern int __of_changeset_revert_notify(struct of_changeset *ocs);
55 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
56 struct property *prop, struct property *old_prop) in of_property_notify()
63 int of_node_is_attached(const struct device_node *node);
64 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
65 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
66 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
67 struct property *oldprop);
68 int __of_attach_node_sysfs(struct device_node *np);
71 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
75 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs()
77 struct property *newprop, struct property *oldprop) {} in __of_update_property_sysfs()
78 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
86 int of_resolve_phandles(struct device_node *tree);
118 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags);
128 const char *name, int *lenp);
129 extern int __of_add_property(struct device_node *np, struct property *prop);
130 extern int __of_remove_property(struct device_node *np, struct property *prop);
131 extern int __of_update_property(struct device_node *np,
132 struct property *newprop, struct property **oldprop);
137 struct property *prop);
145 list_for_each_entry(_te, &(_oft)->te_list, node)
149 list_for_each_entry_reverse(_te, &(_oft)->te_list, node)
151 extern int of_bus_n_addr_cells(struct device_node *np);
152 extern int of_bus_n_size_cells(struct device_node *np);
156 int of_dma_get_range(struct device_node *np,
160 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range()
163 return -ENODEV; in of_dma_get_range()