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

1 /* SPDX-License-Identifier: GPL-2.0+ */
8 * Copyright (C) 1996-2005 Paul Mackerras.
15 * struct alias_prop - Alias property in 'aliases' node
17 * @alias: Alias property name
22 * The structure represents one alias property of 'aliases' node as
29 int id;
50 extern int of_property_notify(int action, struct device_node *np,
51 struct property *prop, struct property *old_prop);
53 extern int __of_changeset_apply_entries(struct of_changeset *ocs,
54 int *ret_revert);
55 extern int __of_changeset_apply_notify(struct of_changeset *ocs);
56 extern int __of_changeset_revert_entries(struct of_changeset *ocs,
57 int *ret_apply);
58 extern int __of_changeset_revert_notify(struct of_changeset *ocs);
60 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
61 struct property *prop, struct property *old_prop) in of_property_notify()
74 int of_node_is_attached(const struct device_node *node);
75 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
76 void __of_remove_property_sysfs(struct device_node *np, const struct property *prop);
77 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
78 const struct property *oldprop);
79 int __of_attach_node_sysfs(struct device_node *np);
82 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
86 static inline void __of_remove_property_sysfs(struct device_node *np, const struct property *prop) … in __of_remove_property_sysfs()
88 struct property *newprop, const struct property *oldprop) {} in __of_update_property_sysfs()
89 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
97 int of_resolve_phandles(struct device_node *tree);
131 struct property *__of_prop_dup(const struct property *prop, gfp_t allocflags);
132 void __of_prop_free(struct property *prop);
142 const char *name, int *lenp);
143 extern int __of_add_property(struct device_node *np, struct property *prop);
144 extern int __of_remove_property(struct device_node *np, struct property *prop);
145 extern int __of_update_property(struct device_node *np,
146 struct property *newprop, struct property **oldprop);
151 const struct property *prop);
159 list_for_each_entry(_te, &(_oft)->te_list, node)
163 list_for_each_entry_reverse(_te, &(_oft)->te_list, node)
165 extern int of_bus_n_addr_cells(struct device_node *np);
166 extern int of_bus_n_size_cells(struct device_node *np);
168 const __be32 *of_irq_parse_imap_parent(const __be32 *imap, int len,
173 int of_dma_get_range(struct device_node *np,
177 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range()
180 return -ENODEV; in of_dma_get_range()
188 int fdt_scan_reserved_mem(void);
200 static void __maybe_unused of_dump_addr(const char *s, const __be32 *addr, int na) in of_dump_addr()
203 while (na--) in of_dump_addr()
208 static void __maybe_unused of_dump_addr(const char *s, const __be32 *addr, int na) { } in of_dump_addr()
212 int __of_address_resource_bounds(struct resource *r, u64 start, u64 size);