• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/of/

Lines Matching refs:device_node

26 struct device_node *allnodes;
27 struct device_node *of_chosen;
30 * or parent members of struct device_node.
34 int of_n_addr_cells(struct device_node *np)
50 int of_n_size_cells(struct device_node *np)
74 struct device_node *of_node_get(struct device_node *node)
82 static inline struct device_node *kref_to_device_node(struct kref *kref)
84 return container_of(kref, struct device_node, kref);
96 struct device_node *node = kref_to_device_node(kref);
133 void of_node_put(struct device_node *node)
141 struct property *of_find_property(const struct device_node *np,
172 struct device_node *of_find_all_nodes(struct device_node *prev)
174 struct device_node *np;
191 const void *of_get_property(const struct device_node *np, const char *name,
203 int of_device_is_compatible(const struct device_node *device,
233 struct device_node *root;
253 int of_device_is_available(const struct device_node *device)
278 struct device_node *of_get_parent(const struct device_node *node)
280 struct device_node *np;
303 struct device_node *of_get_next_parent(struct device_node *node)
305 struct device_node *parent;
325 struct device_node *of_get_next_child(const struct device_node *node,
326 struct device_node *prev)
328 struct device_node *next;
348 struct device_node *of_find_node_by_path(const char *path)
350 struct device_node *np = allnodes;
374 struct device_node *of_find_node_by_name(struct device_node *from,
377 struct device_node *np;
403 struct device_node *of_find_node_by_type(struct device_node *from,
406 struct device_node *np;
434 struct device_node *of_find_compatible_node(struct device_node *from,
437 struct device_node *np;
466 struct device_node *of_find_node_with_property(struct device_node *from,
469 struct device_node *np;
490 * of_match_node - Tell if an device_node has a matching of_match structure
497 const struct device_node *node)
530 struct device_node *of_find_matching_node(struct device_node *from,
533 struct device_node *np;
560 int of_modalias_node(struct device_node *node, char *modalias, int len)
581 struct device_node *of_find_node_by_phandle(phandle handle)
583 struct device_node *np;
596 * of_parse_phandle - Resolve a phandle property to a device_node pointer
602 * Returns the device_node pointer with refcount incremented. Use
605 struct device_node *
606 of_parse_phandle(struct device_node *np, const char *phandle_name, int index)
625 * @out_node: optional pointer to device_node struct pointer (will be filled)
646 * To get a device_node of the `node2' node you may call this:
649 int of_parse_phandles_with_args(struct device_node *np, const char *list_name,
651 struct device_node **out_node,
659 struct device_node *node = NULL;
739 int prom_add_property(struct device_node *np, struct property *prop)
775 int prom_remove_property(struct device_node *np, struct property *prop)
816 int prom_update_property(struct device_node *np,
864 void of_attach_node(struct device_node *np)
882 void of_detach_node(struct device_node *np)
884 struct device_node *parent;
896 struct device_node *prev;
907 struct device_node *prevsib;