Searched refs:device_node (Results 1 - 200 of 2087) sorted by relevance

1234567891011

/linux-4.1.27/include/linux/irqchip/
H A Dversatile-fpga.h4 struct device_node;
9 struct device_node *node);
10 int fpga_irq_of_init(struct device_node *node,
11 struct device_node *parent);
H A Dxtensa-mx.h14 struct device_node;
15 int xtensa_mx_init_legacy(struct device_node *interrupt_parent);
H A Dxtensa-pic.h15 struct device_node;
16 int xtensa_pic_init_legacy(struct device_node *interrupt_parent);
H A Darm-gic.h96 struct device_node;
100 u32 offset, struct device_node *);
110 int gicv2m_of_init(struct device_node *node, struct irq_domain *parent);
H A Darm-vic.h29 struct device_node;
33 u32 vic_sources, u32 resume_sources, struct device_node *node);
/linux-4.1.27/include/linux/
H A Dof_mtd.h15 int of_get_nand_ecc_mode(struct device_node *np);
16 int of_get_nand_ecc_step_size(struct device_node *np);
17 int of_get_nand_ecc_strength(struct device_node *np);
18 int of_get_nand_bus_width(struct device_node *np);
19 bool of_get_nand_on_flash_bbt(struct device_node *np);
23 static inline int of_get_nand_ecc_mode(struct device_node *np) of_get_nand_ecc_mode()
28 static inline int of_get_nand_ecc_step_size(struct device_node *np) of_get_nand_ecc_step_size()
33 static inline int of_get_nand_ecc_strength(struct device_node *np) of_get_nand_ecc_strength()
38 static inline int of_get_nand_bus_width(struct device_node *np) of_get_nand_bus_width()
43 static inline bool of_get_nand_on_flash_bbt(struct device_node *np) of_get_nand_on_flash_bbt()
H A Dof_net.h14 extern int of_get_phy_mode(struct device_node *np);
15 extern const void *of_get_mac_address(struct device_node *np);
16 extern struct net_device *of_find_net_device_by_node(struct device_node *np);
18 static inline int of_get_phy_mode(struct device_node *np) of_get_phy_mode()
23 static inline const void *of_get_mac_address(struct device_node *np) of_get_mac_address()
28 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) of_find_net_device_by_node()
H A Dof_graph.h23 * @local_node: pointer to device_node of this endpoint
28 const struct device_node *local_node;
43 int of_graph_parse_endpoint(const struct device_node *node,
45 struct device_node *of_graph_get_port_by_id(struct device_node *node, u32 id);
46 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent,
47 struct device_node *previous);
48 struct device_node *of_graph_get_remote_port_parent(
49 const struct device_node *node);
50 struct device_node *of_graph_get_remote_port(const struct device_node *node);
53 static inline int of_graph_parse_endpoint(const struct device_node *node, of_graph_parse_endpoint()
59 static inline struct device_node *of_graph_get_port_by_id( of_graph_get_port_by_id()
60 struct device_node *node, u32 id) of_graph_get_port_by_id()
65 static inline struct device_node *of_graph_get_next_endpoint( of_graph_get_next_endpoint()
66 const struct device_node *parent, of_graph_get_next_endpoint()
67 struct device_node *previous) of_graph_get_next_endpoint()
72 static inline struct device_node *of_graph_get_remote_port_parent( of_graph_get_remote_port_parent()
73 const struct device_node *node) of_graph_get_remote_port_parent()
78 static inline struct device_node *of_graph_get_remote_port( of_graph_get_remote_port()
79 const struct device_node *node) of_graph_get_remote_port()
H A Dof_mdio.h16 extern int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np);
17 extern struct phy_device *of_phy_find_device(struct device_node *phy_np);
19 struct device_node *phy_np,
23 struct device_node *phy_np, u32 flags,
26 extern struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np);
27 extern int of_mdio_parse_addr(struct device *dev, const struct device_node *np);
30 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) of_mdiobus_register()
40 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) of_phy_find_device()
46 struct device_node *phy_np, of_phy_connect()
54 struct device_node *phy_np, of_phy_attach()
60 static inline struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np) of_mdio_find_bus()
66 const struct device_node *np) of_mdio_parse_addr()
73 extern int of_phy_register_fixed_link(struct device_node *np);
74 extern bool of_phy_is_fixed_link(struct device_node *np);
76 static inline int of_phy_register_fixed_link(struct device_node *np) of_phy_register_fixed_link()
80 static inline bool of_phy_is_fixed_link(struct device_node *np) of_phy_is_fixed_link()
H A Dof_irq.h11 typedef int (*of_irq_init_cb_t)(struct device_node *, struct device_node *);
21 extern struct device_node *of_irq_dflt_pic;
22 extern int of_irq_parse_oldworld(struct device_node *device, int index,
27 static inline int of_irq_parse_oldworld(struct device_node *device, int index, of_irq_parse_oldworld()
35 extern int of_irq_parse_one(struct device_node *device, int index,
38 extern int of_irq_to_resource(struct device_node *dev, int index,
44 extern int of_irq_count(struct device_node *dev);
45 extern int of_irq_get(struct device_node *dev, int index);
46 extern int of_irq_get_byname(struct device_node *dev, const char *name);
47 extern int of_irq_to_resource_table(struct device_node *dev,
50 static inline int of_irq_count(struct device_node *dev) of_irq_count()
54 static inline int of_irq_get(struct device_node *dev, int index) of_irq_get()
58 static inline int of_irq_get_byname(struct device_node *dev, const char *name) of_irq_get_byname()
62 static inline int of_irq_to_resource_table(struct device_node *dev, of_irq_to_resource_table()
75 extern unsigned int irq_of_parse_and_map(struct device_node *node, int index);
76 extern struct device_node *of_irq_find_parent(struct device_node *child);
79 static inline unsigned int irq_of_parse_and_map(struct device_node *dev, irq_of_parse_and_map()
85 static inline void *of_irq_find_parent(struct device_node *child) of_irq_find_parent()
H A Dof_pci.h9 struct device_node;
13 struct device_node *of_pci_find_child_device(struct device_node *parent,
15 int of_pci_get_devfn(struct device_node *np);
17 int of_pci_parse_bus_range(struct device_node *node, struct resource *res);
18 int of_get_pci_domain_nr(struct device_node *node);
26 static inline struct device_node *of_pci_find_child_device(struct device_node *parent, of_pci_find_child_device()
32 static inline int of_pci_get_devfn(struct device_node *np) of_pci_get_devfn()
44 of_pci_parse_bus_range(struct device_node *node, struct resource *res) of_pci_parse_bus_range()
50 of_get_pci_domain_nr(struct device_node *node) of_get_pci_domain_nr()
59 int of_pci_get_host_bridge_resources(struct device_node *dev, of_pci_dma_configure()
67 struct msi_controller *of_pci_find_msi_chip_by_node(struct device_node *of_node); of_pci_dma_configure()
72 of_pci_find_msi_chip_by_node(struct device_node *of_node) { return NULL; }
H A Dof_address.h8 struct device_node *node;
27 extern u64 of_translate_dma_address(struct device_node *dev,
31 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
32 extern int of_address_to_resource(struct device_node *dev, int index,
34 extern struct device_node *of_find_matching_node_by_address(
35 struct device_node *from,
38 extern void __iomem *of_iomap(struct device_node *device, int index);
44 extern const __be32 *of_get_address(struct device_node *dev, int index,
52 struct device_node *node);
56 extern int of_dma_get_range(struct device_node *np, u64 *dma_addr,
58 extern bool of_dma_is_coherent(struct device_node *np);
60 static inline struct device_node *of_find_matching_node_by_address( of_find_matching_node_by_address()
61 struct device_node *from, of_find_matching_node_by_address()
68 static inline const __be32 *of_get_address(struct device_node *dev, int index, of_get_address()
80 struct device_node *node) of_pci_range_parser_init()
92 static inline int of_dma_get_range(struct device_node *np, u64 *dma_addr, of_dma_get_range()
98 static inline bool of_dma_is_coherent(struct device_node *np) of_dma_is_coherent()
105 extern int of_address_to_resource(struct device_node *dev, int index,
107 void __iomem *of_iomap(struct device_node *node, int index);
108 void __iomem *of_io_request_and_map(struct device_node *device,
114 static inline int of_address_to_resource(struct device_node *dev, int index, of_address_to_resource()
120 static inline void __iomem *of_iomap(struct device_node *device, int index) of_iomap()
125 static inline void __iomem *of_io_request_and_map(struct device_node *device, of_io_request_and_map()
133 extern const __be32 *of_get_pci_address(struct device_node *dev, int bar_no,
135 extern int of_pci_address_to_resource(struct device_node *dev, int bar,
138 struct device_node *np,
141 static inline int of_pci_address_to_resource(struct device_node *dev, int bar, of_pci_address_to_resource()
147 static inline const __be32 *of_get_pci_address(struct device_node *dev, of_get_pci_address()
153 struct device_node *np, of_pci_range_to_resource()
H A Dof.h49 struct device_node { struct
58 struct device_node *parent;
59 struct device_node *child;
60 struct device_node *sibling;
73 struct device_node *np;
79 struct device_node *dn;
86 static inline void of_node_init(struct device_node *node) of_node_init()
93 static inline int of_node_is_initialized(struct device_node *node) of_node_is_initialized()
99 static inline int of_node_is_attached(struct device_node *node) of_node_is_attached()
105 extern struct device_node *of_node_get(struct device_node *node);
106 extern void of_node_put(struct device_node *node);
109 static inline struct device_node *of_node_get(struct device_node *node) of_node_get()
113 static inline void of_node_put(struct device_node *node) { } of_node_put()
117 extern struct device_node *of_root; of_node_put()
118 extern struct device_node *of_chosen; of_node_put()
119 extern struct device_node *of_aliases; of_node_put()
120 extern struct device_node *of_stdout; of_node_put()
131 static inline struct device_node *of_node(struct fwnode_handle *fwnode) of_node()
133 return fwnode ? container_of(fwnode, struct device_node, fwnode) : NULL; of_node()
141 static inline bool of_node_is_root(const struct device_node *node) of_node_is_root()
146 static inline int of_node_check_flag(struct device_node *n, unsigned long flag) of_node_check_flag()
151 static inline int of_node_test_and_set_flag(struct device_node *n, of_node_test_and_set_flag()
157 static inline void of_node_set_flag(struct device_node *n, unsigned long flag) of_node_set_flag()
162 static inline void of_node_clear_flag(struct device_node *n, unsigned long flag) of_node_clear_flag()
182 extern struct device_node *__of_find_all_nodes(struct device_node *prev);
183 extern struct device_node *of_find_all_nodes(struct device_node *prev);
233 static inline const char *of_node_full_name(const struct device_node *np) of_node_full_name()
241 extern struct device_node *of_find_node_by_name(struct device_node *from,
243 extern struct device_node *of_find_node_by_type(struct device_node *from,
245 extern struct device_node *of_find_compatible_node(struct device_node *from,
247 extern struct device_node *of_find_matching_node_and_match(
248 struct device_node *from,
252 extern struct device_node *of_find_node_opts_by_path(const char *path,
254 static inline struct device_node *of_find_node_by_path(const char *path) of_find_node_by_path()
259 extern struct device_node *of_find_node_by_phandle(phandle handle);
260 extern struct device_node *of_get_parent(const struct device_node *node);
261 extern struct device_node *of_get_next_parent(struct device_node *node);
262 extern struct device_node *of_get_next_child(const struct device_node *node,
263 struct device_node *prev);
264 extern struct device_node *of_get_next_available_child(
265 const struct device_node *node, struct device_node *prev);
267 extern struct device_node *of_get_child_by_name(const struct device_node *node,
271 extern struct device_node *of_find_next_cache_node(const struct device_node *);
272 extern struct device_node *of_find_node_with_property(
273 struct device_node *from, const char *prop_name);
275 extern struct property *of_find_property(const struct device_node *np,
278 extern int of_property_count_elems_of_size(const struct device_node *np,
280 extern int of_property_read_u32_index(const struct device_node *np,
283 extern int of_property_read_u8_array(const struct device_node *np,
285 extern int of_property_read_u16_array(const struct device_node *np,
287 extern int of_property_read_u32_array(const struct device_node *np,
291 extern int of_property_read_u64(const struct device_node *np,
293 extern int of_property_read_u64_array(const struct device_node *np,
298 extern int of_property_read_string(struct device_node *np,
301 extern int of_property_match_string(struct device_node *np,
304 extern int of_property_read_string_helper(struct device_node *np,
307 extern int of_device_is_compatible(const struct device_node *device,
309 extern bool of_device_is_available(const struct device_node *device);
310 extern bool of_device_is_big_endian(const struct device_node *device);
311 extern const void *of_get_property(const struct device_node *node,
314 extern struct device_node *of_get_cpu_node(int cpu, unsigned int *thread);
318 extern int of_n_addr_cells(struct device_node *np);
319 extern int of_n_size_cells(struct device_node *np);
321 const struct of_device_id *matches, const struct device_node *node);
322 extern int of_modalias_node(struct device_node *node, char *modalias, int len);
324 extern struct device_node *of_parse_phandle(const struct device_node *np,
327 extern int of_parse_phandle_with_args(const struct device_node *np,
330 extern int of_parse_phandle_with_fixed_args(const struct device_node *np,
333 extern int of_count_phandle_with_args(const struct device_node *np,
337 extern int of_alias_get_id(struct device_node *np, const char *stem);
342 extern int of_add_property(struct device_node *np, struct property *prop);
343 extern int of_remove_property(struct device_node *np, struct property *prop);
344 extern int of_update_property(struct device_node *np, struct property *newprop);
353 extern int of_attach_node(struct device_node *);
354 extern int of_detach_node(struct device_node *);
377 bool of_console_check(struct device_node *dn, char *name, int index);
390 static inline struct device_node *of_node(struct fwnode_handle *fwnode) of_node()
395 static inline const char* of_node_full_name(const struct device_node *np) of_node_full_name()
400 static inline struct device_node *of_find_node_by_name(struct device_node *from, of_find_node_by_name()
406 static inline struct device_node *of_find_node_by_type(struct device_node *from, of_find_node_by_type()
412 static inline struct device_node *of_find_matching_node_and_match( of_find_matching_node_and_match()
413 struct device_node *from, of_find_matching_node_and_match()
420 static inline struct device_node *of_find_node_by_path(const char *path) of_find_node_by_path()
425 static inline struct device_node *of_find_node_opts_by_path(const char *path, of_find_node_opts_by_path()
431 static inline struct device_node *of_get_parent(const struct device_node *node) of_get_parent()
436 static inline struct device_node *of_get_next_child( of_get_next_child()
437 const struct device_node *node, struct device_node *prev) of_get_next_child()
442 static inline struct device_node *of_get_next_available_child( of_get_next_available_child()
443 const struct device_node *node, struct device_node *prev) of_get_next_available_child()
448 static inline struct device_node *of_find_node_with_property( of_find_node_with_property()
449 struct device_node *from, const char *prop_name) of_find_node_with_property()
459 static inline struct device_node *of_get_child_by_name( of_get_child_by_name()
460 const struct device_node *node, of_get_child_by_name()
466 static inline int of_device_is_compatible(const struct device_node *device, of_device_is_compatible()
472 static inline bool of_device_is_available(const struct device_node *device) of_device_is_available()
477 static inline bool of_device_is_big_endian(const struct device_node *device) of_device_is_big_endian()
482 static inline struct property *of_find_property(const struct device_node *np, of_find_property()
489 static inline struct device_node *of_find_compatible_node( of_find_compatible_node()
490 struct device_node *from, of_find_compatible_node()
497 static inline int of_property_count_elems_of_size(const struct device_node *np, of_property_count_elems_of_size()
503 static inline int of_property_read_u32_index(const struct device_node *np, of_property_read_u32_index()
509 static inline int of_property_read_u8_array(const struct device_node *np, of_property_read_u8_array()
515 static inline int of_property_read_u16_array(const struct device_node *np, of_property_read_u16_array()
521 static inline int of_property_read_u32_array(const struct device_node *np, of_property_read_u32_array()
528 static inline int of_property_read_u64_array(const struct device_node *np, of_property_read_u64_array()
535 static inline int of_property_read_string(struct device_node *np, of_property_read_string()
542 static inline int of_property_read_string_helper(struct device_node *np, of_property_read_string_helper()
549 static inline const void *of_get_property(const struct device_node *node, of_get_property()
556 static inline struct device_node *of_get_cpu_node(int cpu, of_get_cpu_node()
562 static inline int of_property_read_u64(const struct device_node *np, of_property_read_u64()
568 static inline int of_property_match_string(struct device_node *np, of_property_match_string()
575 static inline struct device_node *of_parse_phandle(const struct device_node *np, of_parse_phandle()
582 static inline int of_parse_phandle_with_args(struct device_node *np, of_parse_phandle_with_args()
591 static inline int of_parse_phandle_with_fixed_args(const struct device_node *np, of_parse_phandle_with_fixed_args()
598 static inline int of_count_phandle_with_args(struct device_node *np, of_count_phandle_with_args()
605 static inline int of_alias_get_id(struct device_node *np, const char *stem) of_alias_get_id()
620 static inline bool of_console_check(const struct device_node *dn, const char *name, int index) of_console_check()
637 static inline int of_node_check_flag(struct device_node *n, unsigned long flag) of_node_check_flag()
642 static inline int of_node_test_and_set_flag(struct device_node *n, of_node_test_and_set_flag()
648 static inline void of_node_set_flag(struct device_node *n, unsigned long flag) of_node_set_flag()
652 static inline void of_node_clear_flag(struct device_node *n, unsigned long flag) of_node_clear_flag()
674 extern int of_node_to_nid(struct device_node *np);
676 static inline int of_node_to_nid(struct device_node *device) of_node_to_nid()
682 static inline struct device_node *of_find_matching_node( of_find_matching_node()
683 struct device_node *from, of_find_matching_node()
700 static inline int of_property_count_u8_elems(const struct device_node *np, of_property_count_u8_elems()
717 static inline int of_property_count_u16_elems(const struct device_node *np, of_property_count_u16_elems()
734 static inline int of_property_count_u32_elems(const struct device_node *np, of_property_count_u32_elems()
751 static inline int of_property_count_u64_elems(const struct device_node *np, of_property_count_u64_elems()
770 static inline int of_property_read_string_array(struct device_node *np, of_property_read_string_array()
789 static inline int of_property_count_strings(struct device_node *np, of_property_count_strings()
813 static inline int of_property_read_string_index(struct device_node *np, of_property_read_string_index()
829 static inline bool of_property_read_bool(const struct device_node *np, of_property_read_bool()
837 static inline int of_property_read_u8(const struct device_node *np, of_property_read_u8()
844 static inline int of_property_read_u16(const struct device_node *np, of_property_read_u16()
851 static inline int of_property_read_u32(const struct device_node *np, of_property_read_u32()
858 static inline int of_property_read_s32(const struct device_node *np, of_property_read_s32()
904 static inline int of_get_child_count(const struct device_node *np) of_get_child_count()
906 struct device_node *child; of_get_child_count()
915 static inline int of_get_available_child_count(const struct device_node *np) of_get_available_child_count()
917 struct device_node *child; of_get_available_child_count()
940 typedef int (*of_init_fn_2)(struct device_node *, struct device_node *);
941 typedef void (*of_init_fn_1)(struct device_node *);
965 struct device_node *np;
1002 unsigned long action, struct device_node *np,
1006 struct device_node *np) of_changeset_attach_node()
1012 struct device_node *np) of_changeset_detach_node()
1018 struct device_node *np, struct property *prop) of_changeset_add_property()
1024 struct device_node *np, struct property *prop) of_changeset_remove_property()
1030 struct device_node *np, struct property *prop) of_changeset_update_property()
1056 extern int of_resolve_phandles(struct device_node *tree);
1059 * of_device_is_system_power_controller - Tells if system-power-controller is found for device_node
1060 * @np: Pointer to the given device_node
1064 static inline bool of_device_is_system_power_controller(const struct device_node *np) of_device_is_system_power_controller()
1076 int of_overlay_create(struct device_node *tree);
1082 static inline int of_overlay_create(struct device_node *tree) of_overlay_create()
H A Dof_iommu.h10 extern int of_get_dma_window(struct device_node *dn, const char *prefix,
16 struct device_node *master_np);
20 static inline int of_get_dma_window(struct device_node *dn, const char *prefix, of_get_dma_window()
29 struct device_node *master_np) of_iommu_configure()
36 void of_iommu_set_ops(struct device_node *np, struct iommu_ops *ops);
37 struct iommu_ops *of_iommu_get_ops(struct device_node *np);
41 typedef int (*of_iommu_init_fn)(struct device_node *);
H A Dof_dma.h19 struct device_node;
23 struct device_node *of_node;
35 extern int of_dma_controller_register(struct device_node *np,
39 extern void of_dma_controller_free(struct device_node *np);
40 extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
47 static inline int of_dma_controller_register(struct device_node *np, of_dma_controller_register()
55 static inline void of_dma_controller_free(struct device_node *np) of_dma_controller_free()
59 static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np, of_dma_request_slave_channel()
H A Darm-cci.h29 struct device_node;
38 extern int cci_ace_get_port(struct device_node *dn); cci_probed()
40 extern int __cci_control_port_by_device(struct device_node *dn, bool enable); cci_probed()
43 static inline int cci_ace_get_port(struct device_node *dn) cci_ace_get_port()
48 static inline int __cci_control_port_by_device(struct device_node *dn, __cci_control_port_by_device()
H A Dphy_fixed.h12 struct device_node;
19 struct device_node *np);
35 struct device_node *np) fixed_phy_register()
H A Dsunserialcore.h32 extern int sunserial_console_match(struct console *, struct device_node *,
35 struct device_node *);
H A Dof_gpio.h23 struct device_node;
50 extern int of_get_named_gpio_flags(struct device_node *np,
53 extern int of_mm_gpiochip_add(struct device_node *np,
66 static inline int of_get_named_gpio_flags(struct device_node *np, of_get_named_gpio_flags()
104 static inline int of_gpio_named_count(struct device_node *np, const char* propname) of_gpio_named_count()
115 static inline int of_gpio_count(struct device_node *np) of_gpio_count()
120 static inline int of_get_gpio_flags(struct device_node *np, int index, of_get_gpio_flags()
135 static inline int of_get_named_gpio(struct device_node *np, of_get_named_gpio()
149 static inline int of_get_gpio(struct device_node *np, int index) of_get_gpio()
H A Dof_platform.h57 extern struct platform_device *of_device_alloc(struct device_node *np,
60 extern struct platform_device *of_find_device_by_node(struct device_node *np);
63 extern struct platform_device *of_platform_device_create(struct device_node *np,
67 extern int of_platform_bus_probe(struct device_node *root,
71 extern int of_platform_populate(struct device_node *root,
77 static inline int of_platform_populate(struct device_node *root, of_platform_populate()
H A Dof_device.h47 static inline struct device_node *of_cpu_device_node_get(int cpu) of_cpu_device_node_get()
56 void of_dma_configure(struct device *dev, struct device_node *np);
90 static inline struct device_node *of_cpu_device_node_get(int cpu) of_cpu_device_node_get()
94 static inline void of_dma_configure(struct device *dev, struct device_node *np) of_dma_configure()
H A Dcpu_cooling.h41 * @np: a valid struct device_node to the cooling device device tree node.
46 of_cpufreq_cooling_register(struct device_node *np,
50 of_cpufreq_cooling_register(struct device_node *np, of_cpufreq_cooling_register()
71 of_cpufreq_cooling_register(struct device_node *np, of_cpufreq_cooling_register()
H A Dreset.h5 struct device_node;
38 struct reset_control *of_reset_control_get(struct device_node *node,
90 struct device_node *node, const char *id) of_reset_control_get()
H A Dirqdomain.h22 * device_node in two places: in irq_find_host() to find the host matching
39 struct device_node;
64 int (*match)(struct irq_domain *d, struct device_node *node);
67 int (*xlate)(struct irq_domain *d, struct device_node *node,
118 struct device_node *of_node;
149 struct irq_domain *__irq_domain_add(struct device_node *of_node, int size,
153 struct irq_domain *irq_domain_add_simple(struct device_node *of_node,
158 struct irq_domain *irq_domain_add_legacy(struct device_node *of_node,
164 extern struct irq_domain *irq_find_host(struct device_node *node);
174 static inline struct irq_domain *irq_domain_add_linear(struct device_node *of_node, irq_domain_add_linear()
181 static inline struct irq_domain *irq_domain_add_nomap(struct device_node *of_node, irq_domain_add_nomap()
189 struct device_node *of_node, irq_domain_add_legacy_isa()
196 static inline struct irq_domain *irq_domain_add_tree(struct device_node *of_node, irq_domain_add_tree()
248 int irq_domain_xlate_onecell(struct irq_domain *d, struct device_node *ctrlr,
251 int irq_domain_xlate_twocell(struct irq_domain *d, struct device_node *ctrlr,
254 int irq_domain_xlate_onetwocell(struct irq_domain *d, struct device_node *ctrlr,
264 struct device_node *node,
H A Dmv643xx_eth.h34 struct device_node;
46 struct device_node *phy_node;
H A Dreset-controller.h25 struct device_node;
44 struct device_node *of_node;
/linux-4.1.27/include/drm/
H A Ddrm_of.h5 struct device_node;
9 struct device_node *port);
12 struct device_node *port) drm_of_find_possible_crtcs()
/linux-4.1.27/include/linux/usb/
H A Dof.h15 enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np);
16 enum usb_device_speed of_usb_get_maximum_speed(struct device_node *np);
17 bool of_usb_host_tpl_support(struct device_node *np);
19 static inline enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np) of_usb_get_dr_mode()
25 of_usb_get_maximum_speed(struct device_node *np) of_usb_get_maximum_speed()
29 static inline bool of_usb_host_tpl_support(struct device_node *np) of_usb_host_tpl_support()
36 enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np);
38 static inline enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) of_usb_get_phy_mode()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dcpm2_pic.h6 extern void cpm2_pic_init(struct device_node *);
H A Dmpc5xxx_clocks.c14 unsigned long mpc5xxx_get_bus_frequency(struct device_node *node) mpc5xxx_get_bus_frequency()
16 struct device_node *np; mpc5xxx_get_bus_frequency()
H A Dscom.c33 struct device_node *scom_find_parent(struct device_node *node) scom_find_parent()
35 struct device_node *par, *tmp; scom_find_parent()
53 scom_map_t scom_map_device(struct device_node *dev, int index) scom_map_device()
55 struct device_node *parent; scom_map_device()
101 struct device_node *dn;
186 static int scom_debug_init_one(struct dentry *root, struct device_node *dn, scom_debug_init_one()
216 struct device_node *dn; scom_debug_init()
H A Ddcr.c28 static struct device_node *find_dcr_parent(struct device_node *node) find_dcr_parent()
30 struct device_node *par, *tmp; find_dcr_parent()
61 dcr_host_t dcr_map_generic(struct device_node *dev, dcr_map_generic()
66 struct device_node *dp; dcr_map_generic()
128 unsigned int dcr_resource_start(const struct device_node *np, dcr_resource_start()
141 unsigned int dcr_resource_len(const struct device_node *np, unsigned int index) dcr_resource_len()
155 static u64 of_translate_dcr_address(struct device_node *dev, of_translate_dcr_address()
159 struct device_node *dp; of_translate_dcr_address()
191 dcr_host_mmio_t dcr_map_mmio(struct device_node *dev, dcr_map_mmio()
H A Dmv64x60_dev.c34 static int __init mv64x60_mpsc_register_shared_pdev(struct device_node *np) mv64x60_mpsc_register_shared_pdev()
40 struct device_node *mpscrouting, *mpscintr; mv64x60_mpsc_register_shared_pdev()
89 static int __init mv64x60_mpsc_device_setup(struct device_node *np, int id) mv64x60_mpsc_device_setup()
96 struct device_node *sdma, *brg; mv64x60_mpsc_device_setup()
214 struct device_node *np, int id) mv64x60_eth_register_shared_pdev()
241 static int __init mv64x60_eth_device_setup(struct device_node *np, int id, mv64x60_eth_device_setup()
247 struct device_node *phy; mv64x60_eth_device_setup()
338 static int __init mv64x60_i2c_device_setup(struct device_node *np, int id) mv64x60_i2c_device_setup()
394 static int __init mv64x60_wdt_device_setup(struct device_node *np, int id) mv64x60_wdt_device_setup()
445 struct device_node *np, *np2; mv64x60_device_setup()
512 struct device_node *np = NULL; mv64x60_add_mpsc_console()
H A Dfsl_soc.c51 struct device_node *soc; get_immrbase()
83 struct device_node *soc; fsl_get_sys_freq()
112 struct device_node *node; get_brgfreq()
158 struct device_node *node; get_baudrate()
185 struct device_node *np; setup_rstcr()
H A Dmv64x60_pci.c85 struct device_node *np; mv64x60_sysfs_init()
120 static int __init mv64x60_add_bridge(struct device_node *dev) mv64x60_add_bridge()
167 struct device_node *np; mv64x60_pci_init()
H A Dtsi108_dev.c43 struct device_node *tsi; get_csrbase()
68 struct device_node *np; tsi108_eth_of_init()
76 struct device_node *phy, *mdio; tsi108_eth_of_init()
/linux-4.1.27/include/video/
H A Dof_display_timing.h12 struct device_node;
19 int of_get_display_timing(struct device_node *np, const char *name,
21 struct display_timings *of_get_display_timings(struct device_node *np);
22 int of_display_timings_exist(struct device_node *np);
24 static inline int of_get_display_timing(struct device_node *np, const char *name, of_get_display_timing()
29 static inline struct display_timings *of_get_display_timings(struct device_node *np) of_get_display_timings()
33 static inline int of_display_timings_exist(struct device_node *np) of_display_timings_exist()
H A Dof_videomode.h12 struct device_node;
15 int of_get_videomode(struct device_node *np, struct videomode *vm,
/linux-4.1.27/drivers/clk/at91/
H A Dpmc.h59 int of_at91_get_clk_range(struct device_node *np, const char *propname,
62 extern void __init of_at91sam9260_clk_slow_setup(struct device_node *np,
65 extern void __init of_at91rm9200_clk_main_osc_setup(struct device_node *np,
67 extern void __init of_at91sam9x5_clk_main_rc_osc_setup(struct device_node *np,
69 extern void __init of_at91rm9200_clk_main_setup(struct device_node *np,
71 extern void __init of_at91sam9x5_clk_main_setup(struct device_node *np,
74 extern void __init of_at91rm9200_clk_pll_setup(struct device_node *np,
76 extern void __init of_at91sam9g45_clk_pll_setup(struct device_node *np,
78 extern void __init of_at91sam9g20_clk_pllb_setup(struct device_node *np,
80 extern void __init of_sama5d3_clk_pll_setup(struct device_node *np,
82 extern void __init of_at91sam9x5_clk_plldiv_setup(struct device_node *np,
85 extern void __init of_at91rm9200_clk_master_setup(struct device_node *np,
87 extern void __init of_at91sam9x5_clk_master_setup(struct device_node *np,
90 extern void __init of_at91rm9200_clk_sys_setup(struct device_node *np,
93 extern void __init of_at91rm9200_clk_periph_setup(struct device_node *np,
95 extern void __init of_at91sam9x5_clk_periph_setup(struct device_node *np,
98 extern void __init of_at91rm9200_clk_prog_setup(struct device_node *np,
100 extern void __init of_at91sam9g45_clk_prog_setup(struct device_node *np,
102 extern void __init of_at91sam9x5_clk_prog_setup(struct device_node *np,
106 extern void __init of_at91sam9x5_clk_utmi_setup(struct device_node *np,
111 extern void __init of_at91rm9200_clk_usb_setup(struct device_node *np,
113 extern void __init of_at91sam9x5_clk_usb_setup(struct device_node *np,
115 extern void __init of_at91sam9n12_clk_usb_setup(struct device_node *np,
120 extern void __init of_at91sam9x5_clk_smd_setup(struct device_node *np,
125 extern void __init of_sama5d4_clk_h32mx_setup(struct device_node *np,
H A Dsckc.h15 extern void __init of_at91sam9x5_clk_slow_osc_setup(struct device_node *np,
17 extern void __init of_at91sam9x5_clk_slow_rc_osc_setup(struct device_node *np,
19 extern void __init of_at91sam9x5_clk_slow_setup(struct device_node *np,
H A Dsckc.c38 static void __init of_at91sam9x5_sckc_setup(struct device_node *np) of_at91sam9x5_sckc_setup()
40 struct device_node *childnp; of_at91sam9x5_sckc_setup()
41 void (*clk_setup)(struct device_node *, void __iomem *); of_at91sam9x5_sckc_setup()
H A Dpmc.c45 int of_at91_get_clk_range(struct device_node *np, const char *propname, of_at91_get_clk_range()
135 struct device_node *ctrlr, pmc_irq_domain_xlate()
218 static struct at91_pmc *__init at91_pmc_init(struct device_node *np, at91_pmc_init()
376 static void __init of_at91_pmc_setup(struct device_node *np, of_at91_pmc_setup()
380 struct device_node *childnp; of_at91_pmc_setup()
381 void (*clk_setup)(struct device_node *, struct at91_pmc *); of_at91_pmc_setup()
405 static void __init of_at91rm9200_pmc_setup(struct device_node *np) of_at91rm9200_pmc_setup()
412 static void __init of_at91sam9260_pmc_setup(struct device_node *np) of_at91sam9260_pmc_setup()
419 static void __init of_at91sam9g45_pmc_setup(struct device_node *np) of_at91sam9g45_pmc_setup()
426 static void __init of_at91sam9n12_pmc_setup(struct device_node *np) of_at91sam9n12_pmc_setup()
433 static void __init of_at91sam9x5_pmc_setup(struct device_node *np) of_at91sam9x5_pmc_setup()
440 static void __init of_sama5d3_pmc_setup(struct device_node *np) of_sama5d3_pmc_setup()
H A Dclk-system.c145 of_at91_clk_sys_setup(struct device_node *np, struct at91_pmc *pmc) of_at91_clk_sys_setup()
152 struct device_node *sysclknp; of_at91_clk_sys_setup()
179 void __init of_at91rm9200_clk_sys_setup(struct device_node *np, of_at91rm9200_clk_sys_setup()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Ddss-of.c25 struct device_node * omapdss_of_get_next_port()
26 omapdss_of_get_next_port(const struct device_node *parent, omapdss_of_get_next_port()
27 struct device_node *prev) omapdss_of_get_next_port()
29 struct device_node *port = NULL; omapdss_of_get_next_port()
35 struct device_node *ports; omapdss_of_get_next_port()
49 struct device_node *ports; omapdss_of_get_next_port()
69 struct device_node * omapdss_of_get_next_endpoint()
70 omapdss_of_get_next_endpoint(const struct device_node *parent, omapdss_of_get_next_endpoint()
71 struct device_node *prev) omapdss_of_get_next_endpoint()
73 struct device_node *ep = NULL; omapdss_of_get_next_endpoint()
89 struct device_node *dss_of_port_get_parent_device(struct device_node *port) dss_of_port_get_parent_device()
91 struct device_node *np; dss_of_port_get_parent_device()
113 u32 dss_of_port_get_port_number(struct device_node *port) dss_of_port_get_port_number()
125 static struct device_node *omapdss_of_get_remote_port(const struct device_node *node) omapdss_of_get_remote_port()
127 struct device_node *np; omapdss_of_get_remote_port()
138 struct device_node * omapdss_of_get_first_endpoint()
139 omapdss_of_get_first_endpoint(const struct device_node *parent) omapdss_of_get_first_endpoint()
141 struct device_node *port, *ep; omapdss_of_get_first_endpoint()
157 omapdss_of_find_source_for_first_ep(struct device_node *node) omapdss_of_find_source_for_first_ep()
159 struct device_node *ep; omapdss_of_find_source_for_first_ep()
160 struct device_node *src_port; omapdss_of_find_source_for_first_ep()
H A Domapdss-boot-init.c39 struct device_node *node;
55 static void __init omapdss_update_prop(struct device_node *node, char *compat, omapdss_update_prop()
91 static void __init omapdss_omapify_node(struct device_node *node) omapdss_omapify_node()
120 static void __init omapdss_add_to_list(struct device_node *node, bool root) omapdss_add_to_list()
131 static bool __init omapdss_list_contains(const struct device_node *node) omapdss_list_contains()
143 static void __init omapdss_walk_device(struct device_node *node, bool root) omapdss_walk_device()
145 struct device_node *n; omapdss_walk_device()
163 struct device_node *pn; omapdss_walk_device()
190 struct device_node *dss, *child; omapdss_boot_init()
/linux-4.1.27/arch/powerpc/sysdev/ge/
H A Dge_pic.h7 void gef_pic_init(struct device_node *);
/linux-4.1.27/include/linux/regulator/
H A Dof_regulator.h15 struct device_node *of_node;
22 struct device_node *node,
24 extern int of_regulator_match(struct device *dev, struct device_node *node,
30 struct device_node *node, of_get_regulator_init_data()
37 struct device_node *node, of_regulator_match()
/linux-4.1.27/drivers/of/
H A Dof_private.h19 * @np: Pointer to device_node that the alias stands for
29 struct device_node *np;
39 static inline struct device_node *kobj_to_device_node(struct kobject *kobj) kobj_to_device_node()
41 return container_of(kobj, struct device_node, kobj); kobj_to_device_node()
45 extern int of_property_notify(int action, struct device_node *np,
49 static inline int of_property_notify(int action, struct device_node *np, of_property_notify()
64 __printf(2, 3) struct device_node *__of_node_dup(const struct device_node *np, const char *fmt, ...);
66 extern const void *__of_get_property(const struct device_node *np,
68 extern int __of_add_property(struct device_node *np, struct property *prop);
69 extern int __of_add_property_sysfs(struct device_node *np,
71 extern int __of_remove_property(struct device_node *np, struct property *prop);
72 extern void __of_remove_property_sysfs(struct device_node *np,
74 extern int __of_update_property(struct device_node *np,
76 extern void __of_update_property_sysfs(struct device_node *np,
79 extern void __of_attach_node(struct device_node *np);
80 extern int __of_attach_node_sysfs(struct device_node *np);
81 extern void __of_detach_node(struct device_node *np);
82 extern void __of_detach_node_sysfs(struct device_node *np);
H A Dof_mtd.c29 * of_get_nand_ecc_mode - Get nand ecc mode for given device_node
30 * @np: Pointer to the given device_node
35 int of_get_nand_ecc_mode(struct device_node *np) of_get_nand_ecc_mode()
55 * @np: Pointer to the given device_node
59 int of_get_nand_ecc_step_size(struct device_node *np) of_get_nand_ecc_step_size()
72 * @np: Pointer to the given device_node
76 int of_get_nand_ecc_strength(struct device_node *np) of_get_nand_ecc_strength()
87 * of_get_nand_bus_width - Get nand bus witdh for given device_node
88 * @np: Pointer to the given device_node
92 int of_get_nand_bus_width(struct device_node *np) of_get_nand_bus_width()
110 * of_get_nand_on_flash_bbt - Get nand on flash bbt for given device_node
111 * @np: Pointer to the given device_node
115 bool of_get_nand_on_flash_bbt(struct device_node *np) of_get_nand_on_flash_bbt()
H A Dpdt.c28 void __initdata (*of_pdt_build_more)(struct device_node *dp);
37 static char * __init of_pdt_build_full_name(struct device_node *dp) of_pdt_build_full_name()
62 static inline void irq_trans_init(struct device_node *dp) { } irq_trans_init()
64 static char * __init of_pdt_build_full_name(struct device_node *dp) of_pdt_build_full_name()
169 static struct device_node * __init of_pdt_create_node(phandle node, of_pdt_create_node()
170 struct device_node *parent) of_pdt_create_node()
172 struct device_node *dp; of_pdt_create_node()
193 static struct device_node * __init of_pdt_build_tree(struct device_node *parent, of_pdt_build_tree()
196 struct device_node *ret = NULL, *prev_sibling = NULL; of_pdt_build_tree()
197 struct device_node *dp; of_pdt_build_tree()
H A Dbase.c35 struct device_node *of_root;
37 struct device_node *of_chosen;
38 struct device_node *of_aliases;
39 struct device_node *of_stdout;
53 * or parent members of struct device_node.
57 int of_n_addr_cells(struct device_node *np) of_n_addr_cells()
73 int of_n_size_cells(struct device_node *np) of_n_size_cells()
90 int __weak of_node_to_nid(struct device_node *np) of_node_to_nid()
135 int __of_add_property_sysfs(struct device_node *np, struct property *pp) __of_add_property_sysfs()
159 int __of_attach_node_sysfs(struct device_node *np) __of_attach_node_sysfs()
194 struct device_node *np; of_core_init()
213 static struct property *__of_find_property(const struct device_node *np, __of_find_property()
232 struct property *of_find_property(const struct device_node *np, of_find_property()
247 struct device_node *__of_find_all_nodes(struct device_node *prev) __of_find_all_nodes()
249 struct device_node *np; __of_find_all_nodes()
272 struct device_node *of_find_all_nodes(struct device_node *prev) of_find_all_nodes()
274 struct device_node *np; of_find_all_nodes()
290 const void *__of_get_property(const struct device_node *np, __of_get_property()
302 const void *of_get_property(const struct device_node *np, const char *name, of_get_property()
335 static bool __of_find_n_match_cpu_property(struct device_node *cpun, __of_find_n_match_cpu_property()
365 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, arch_find_n_match_cpu_physical_id()
402 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread) of_get_cpu_node()
404 struct device_node *cpun; of_get_cpu_node()
444 static int __of_device_is_compatible(const struct device_node *device, __of_device_is_compatible()
485 int of_device_is_compatible(const struct device_node *device, of_device_is_compatible()
507 struct device_node *root; of_machine_is_compatible()
527 static bool __of_device_is_available(const struct device_node *device) __of_device_is_available()
555 bool of_device_is_available(const struct device_node *device) of_device_is_available()
580 bool of_device_is_big_endian(const struct device_node *device) of_device_is_big_endian()
598 struct device_node *of_get_parent(const struct device_node *node) of_get_parent()
600 struct device_node *np; of_get_parent()
624 struct device_node *of_get_next_parent(struct device_node *node) of_get_next_parent()
626 struct device_node *parent; of_get_next_parent()
640 static struct device_node *__of_get_next_child(const struct device_node *node, __of_get_next_child()
641 struct device_node *prev) __of_get_next_child()
643 struct device_node *next; __of_get_next_child()
668 struct device_node *of_get_next_child(const struct device_node *node, of_get_next_child()
669 struct device_node *prev) of_get_next_child()
671 struct device_node *next; of_get_next_child()
689 struct device_node *of_get_next_available_child(const struct device_node *node, of_get_next_available_child()
690 struct device_node *prev) of_get_next_available_child()
692 struct device_node *next; of_get_next_available_child()
723 struct device_node *of_get_child_by_name(const struct device_node *node, of_get_child_by_name()
726 struct device_node *child; of_get_child_by_name()
735 static struct device_node *__of_find_node_by_path(struct device_node *parent, __of_find_node_by_path()
738 struct device_node *child; __of_find_node_by_path()
747 if (WARN(!name, "malformed device_node %s\n", child->full_name)) __for_each_child_of_node()
774 struct device_node *of_find_node_opts_by_path(const char *path, const char **opts) of_find_node_opts_by_path()
776 struct device_node *np = NULL; of_find_node_opts_by_path()
838 struct device_node *of_find_node_by_name(struct device_node *from, of_find_node_by_name()
841 struct device_node *np; of_find_node_by_name()
867 struct device_node *of_find_node_by_type(struct device_node *from, of_find_node_by_type()
870 struct device_node *np; of_find_node_by_type()
898 struct device_node *of_find_compatible_node(struct device_node *from, of_find_compatible_node()
901 struct device_node *np; of_find_compatible_node()
927 struct device_node *of_find_node_with_property(struct device_node *from, of_find_node_with_property()
930 struct device_node *np; of_find_node_with_property()
952 const struct device_node *node) __of_match_node()
973 * of_match_node - Tell if a device_node has a matching of_match structure
980 const struct device_node *node) of_match_node()
1005 struct device_node *of_find_matching_node_and_match(struct device_node *from, of_find_matching_node_and_match()
1009 struct device_node *np; of_find_matching_node_and_match()
1044 int of_modalias_node(struct device_node *node, char *modalias, int len) of_modalias_node()
1065 struct device_node *of_find_node_by_phandle(phandle handle) of_find_node_by_phandle()
1067 struct device_node *np; of_find_node_by_phandle()
1095 int of_property_count_elems_of_size(const struct device_node *np, of_property_count_elems_of_size()
1128 static void *of_find_property_value_of_size(const struct device_node *np, of_find_property_value_of_size()
1158 int of_property_read_u32_index(const struct device_node *np, of_property_read_u32_index()
1191 int of_property_read_u8_array(const struct device_node *np, of_property_read_u8_array()
1224 int of_property_read_u16_array(const struct device_node *np, of_property_read_u16_array()
1255 int of_property_read_u32_array(const struct device_node *np, of_property_read_u32_array()
1284 int of_property_read_u64(const struct device_node *np, const char *propname, of_property_read_u64()
1314 int of_property_read_u64_array(const struct device_node *np, of_property_read_u64_array()
1347 int of_property_read_string(struct device_node *np, const char *propname, of_property_read_string()
1371 int of_property_match_string(struct device_node *np, const char *propname, of_property_match_string()
1410 int of_property_read_string_helper(struct device_node *np, const char *propname, of_property_read_string_helper()
1445 static int __of_parse_phandle_with_args(const struct device_node *np, __of_parse_phandle_with_args()
1454 struct device_node *node = NULL; __of_parse_phandle_with_args()
1562 * of_parse_phandle - Resolve a phandle property to a device_node pointer
1568 * Returns the device_node pointer with refcount incremented. Use
1571 struct device_node *of_parse_phandle(const struct device_node *np, of_parse_phandle()
1616 * To get a device_node of the `node2' node you may call this:
1619 int of_parse_phandle_with_args(const struct device_node *np, const char *list_name, of_parse_phandle_with_args()
1657 * To get a device_node of the `node2' node you may call this:
1660 int of_parse_phandle_with_fixed_args(const struct device_node *np, of_parse_phandle_with_fixed_args()
1686 int of_count_phandle_with_args(const struct device_node *np, const char *list_name, of_count_phandle_with_args()
1697 int __of_add_property(struct device_node *np, struct property *prop) __of_add_property()
1718 int of_add_property(struct device_node *np, struct property *prop) of_add_property()
1740 int __of_remove_property(struct device_node *np, struct property *prop) __of_remove_property()
1759 void __of_remove_property_sysfs(struct device_node *np, struct property *prop) __of_remove_property_sysfs()
1777 int of_remove_property(struct device_node *np, struct property *prop) of_remove_property()
1799 int __of_update_property(struct device_node *np, struct property *newprop, __of_update_property()
1825 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, __of_update_property_sysfs()
1849 int of_update_property(struct device_node *np, struct property *newprop) of_update_property()
1875 static void of_alias_add(struct alias_prop *ap, struct device_node *np, of_alias_add()
1923 struct device_node *np; for_each_property_of_node()
1957 * of_alias_get_id - Get alias id for the given device_node
1958 * @np: Pointer to the given device_node
1959 * @stem: Alias stem of the given device_node
1962 * device_node and alias stem. It returns the alias id if found.
1964 int of_alias_get_id(struct device_node *np, const char *stem) of_alias_get_id()
2062 bool of_console_check(struct device_node *dn, char *name, int index) of_console_check()
2079 struct device_node *of_find_next_cache_node(const struct device_node *np) of_find_next_cache_node()
2081 struct device_node *child; of_find_next_cache_node()
2104 * @node: pointer to endpoint device_node
2109 int of_graph_parse_endpoint(const struct device_node *node, of_graph_parse_endpoint()
2112 struct device_node *port_node = of_get_parent(node); of_graph_parse_endpoint()
2141 struct device_node *of_graph_get_port_by_id(struct device_node *parent, u32 id) of_graph_get_port_by_id()
2143 struct device_node *node, *port; of_graph_get_port_by_id()
2173 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, of_graph_get_next_endpoint()
2174 struct device_node *prev) of_graph_get_next_endpoint()
2176 struct device_node *endpoint; of_graph_get_next_endpoint()
2177 struct device_node *port; of_graph_get_next_endpoint()
2188 struct device_node *node; of_graph_get_next_endpoint()
2235 * @node: pointer to a local endpoint device_node
2240 struct device_node *of_graph_get_remote_port_parent( of_graph_get_remote_port_parent()
2241 const struct device_node *node) of_graph_get_remote_port_parent()
2243 struct device_node *np; of_graph_get_remote_port_parent()
2261 * @node: pointer to a local endpoint device_node
2266 struct device_node *of_graph_get_remote_port(const struct device_node *node) of_graph_get_remote_port()
2268 struct device_node *np; of_graph_get_remote_port()
H A Dof_mdio.c28 static int of_get_phy_id(struct device_node *device, u32 *phy_id) of_get_phy_id()
43 static int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, of_mdiobus_register_phy()
91 int of_mdio_parse_addr(struct device *dev, const struct device_node *np) of_mdio_parse_addr()
116 * @np: pointer to device_node of MDIO bus.
121 int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) of_mdiobus_register()
123 struct device_node *child; of_mdiobus_register()
198 struct phy_device *of_phy_find_device(struct device_node *phy_np) of_phy_find_device()
219 struct device_node *phy_np, of_phy_connect()
242 struct device_node *phy_np, u32 flags, of_phy_attach()
263 bool of_phy_is_fixed_link(struct device_node *np) of_phy_is_fixed_link()
265 struct device_node *dn; of_phy_is_fixed_link()
289 int of_phy_register_fixed_link(struct device_node *np) of_phy_register_fixed_link()
292 struct device_node *fixed_link_node; of_phy_register_fixed_link()
H A Dresolver.c29 static struct device_node *__of_find_node_by_full_name(struct device_node *node, __of_find_node_by_full_name()
32 struct device_node *child, *found; __of_find_node_by_full_name()
55 struct device_node *node; of_get_tree_max_phandle()
77 static void __of_adjust_tree_phandles(struct device_node *node, __of_adjust_tree_phandles()
80 struct device_node *child; __of_adjust_tree_phandles()
114 static int __of_adjust_phandle_ref(struct device_node *node, __of_adjust_phandle_ref()
118 struct device_node *refnode; __of_adjust_phandle_ref()
195 static int __of_node_name_cmp(const struct device_node *dn1, __of_node_name_cmp()
196 const struct device_node *dn2) __of_node_name_cmp()
211 static int __of_adjust_tree_phandle_references(struct device_node *node, __of_adjust_tree_phandle_references()
212 struct device_node *target, int phandle_delta) __of_adjust_tree_phandle_references()
214 struct device_node *child, *childtarget; __of_adjust_tree_phandle_references()
304 int of_resolve_phandles(struct device_node *resolve) of_resolve_phandles()
306 struct device_node *child, *childroot, *refnode; of_resolve_phandles()
307 struct device_node *root_sym, *resolve_sym, *resolve_fix; of_resolve_phandles()
H A Doverlay.c35 struct device_node *target;
36 struct device_node *overlay;
57 struct device_node *target, const struct device_node *overlay);
60 struct device_node *target, struct property *prop) of_overlay_apply_single_property()
86 struct device_node *target, struct device_node *child) of_overlay_apply_single_device_node()
89 struct device_node *tchild; of_overlay_apply_single_device_node()
131 struct device_node *target, const struct device_node *overlay) of_overlay_apply_one()
133 struct device_node *child; of_overlay_apply_one()
194 static struct device_node *find_target_node(struct device_node *info_node) find_target_node()
231 struct device_node *info_node, struct of_overlay_info *ovinfo) of_fill_overlay_info()
264 struct device_node *tree) of_build_overlay_info()
266 struct device_node *node; of_build_overlay_info()
338 int of_overlay_create(struct device_node *tree) of_overlay_create()
410 static int overlay_subtree_check(struct device_node *tree, overlay_subtree_check()
411 struct device_node *dn) overlay_subtree_check()
413 struct device_node *child; overlay_subtree_check()
428 static int overlay_is_topmost(struct of_overlay *ov, struct device_node *dn) overlay_is_topmost()
H A Dof_net.c15 * of_get_phy_mode - Get phy mode for given device_node
16 * @np: Pointer to the given device_node
22 int of_get_phy_mode(struct device_node *np) of_get_phy_mode()
41 static const void *of_get_mac_addr(struct device_node *np, const char *name) of_get_mac_addr()
68 const void *of_get_mac_address(struct device_node *np) of_get_mac_address()
H A Daddress.c17 static struct of_bus *of_match_bus(struct device_node *np);
18 static int __of_address_to_resource(struct device_node *dev,
39 int (*match)(struct device_node *parent); of_dump_addr()
40 void (*count_cells)(struct device_node *child, of_dump_addr()
52 static void of_bus_default_count_cells(struct device_node *dev, of_bus_default_count_cells()
101 static int of_bus_pci_match(struct device_node *np) of_bus_pci_match()
112 static void of_bus_pci_count_cells(struct device_node *np, of_bus_pci_count_cells()
174 const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, u64 *size, of_get_pci_address()
179 struct device_node *parent; of_get_pci_address()
218 int of_pci_address_to_resource(struct device_node *dev, int bar, of_pci_address_to_resource()
233 struct device_node *node) of_pci_range_parser_init()
314 struct device_node *np, struct resource *res) of_pci_range_to_resource()
349 static int of_bus_isa_match(struct device_node *np) of_bus_isa_match()
354 static void of_bus_isa_count_cells(struct device_node *child, of_bus_isa_count_cells()
442 static struct of_bus *of_match_bus(struct device_node *np) of_match_bus()
453 static int of_empty_ranges_quirk(struct device_node *np) of_empty_ranges_quirk()
473 static int of_translate_one(struct device_node *parent, struct of_bus *bus, of_translate_one()
543 static u64 __of_translate_address(struct device_node *dev, __of_translate_address()
546 struct device_node *parent = NULL; __of_translate_address()
619 u64 of_translate_address(struct device_node *dev, const __be32 *in_addr) of_translate_address()
625 u64 of_translate_dma_address(struct device_node *dev, const __be32 *in_addr) of_translate_dma_address()
631 const __be32 *of_get_address(struct device_node *dev, int index, u64 *size, of_get_address()
636 struct device_node *parent; of_get_address()
784 static int __of_address_to_resource(struct device_node *dev, __of_address_to_resource()
821 int of_address_to_resource(struct device_node *dev, int index, of_address_to_resource()
840 struct device_node *of_find_matching_node_by_address(struct device_node *from, of_find_matching_node_by_address()
844 struct device_node *dn = of_find_matching_node(from, matches); of_find_matching_node_by_address()
860 * of_iomap - Maps the memory mapped IO for a given device_node
866 void __iomem *of_iomap(struct device_node *np, int index) of_iomap()
879 * for a given device_node
891 void __iomem *of_io_request_and_map(struct device_node *np, int index, of_io_request_and_map()
930 int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64 *size) of_dma_get_range()
932 struct device_node *node = of_node_get(np); of_dma_get_range()
1007 bool of_dma_is_coherent(struct device_node *np) of_dma_is_coherent()
1009 struct device_node *node = of_node_get(np); of_dma_is_coherent()
H A Dof_pci.c9 static inline int __of_pci_pci_compare(struct device_node *node, __of_pci_pci_compare()
21 struct device_node *of_pci_find_child_device(struct device_node *parent, of_pci_find_child_device()
24 struct device_node *node, *node2; of_pci_find_child_device()
56 int of_pci_get_devfn(struct device_node *np) of_pci_get_devfn()
77 int of_pci_parse_bus_range(struct device_node *node, struct resource *res) of_pci_parse_bus_range()
104 int of_get_pci_domain_nr(struct device_node *node) of_get_pci_domain_nr()
160 int of_pci_get_host_bridge_resources(struct device_node *dev, of_pci_get_host_bridge_resources()
284 struct msi_controller *of_pci_find_msi_chip_by_node(struct device_node *of_node) of_pci_find_msi_chip_by_node()
H A Dplatform.c46 struct platform_device *of_find_device_by_node(struct device_node *np) of_find_device_by_node()
74 struct device_node *node = dev->of_node; of_device_make_bus_id()
105 struct platform_device *of_device_alloc(struct device_node *np, of_device_alloc()
169 struct device_node *np, of_platform_device_create_pdata()
210 struct platform_device *of_platform_device_create(struct device_node *np, of_platform_device_create()
219 static struct amba_device *of_amba_device_create(struct device_node *node, of_amba_device_create()
283 static struct amba_device *of_amba_device_create(struct device_node *node, of_amba_device_create()
296 struct device_node *np) of_dev_lookup()
324 * Creates a platform_device for the provided device_node, and optionally
327 static int of_platform_bus_create(struct device_node *bus, of_platform_bus_create()
333 struct device_node *child; of_platform_bus_create()
386 int of_platform_bus_probe(struct device_node *root, of_platform_bus_probe()
390 struct device_node *child; of_platform_bus_probe()
435 int of_platform_populate(struct device_node *root, of_platform_populate()
440 struct device_node *child; of_platform_populate()
H A Dunittest.c49 struct device_node *np; of_unittest_find_node_by_name()
140 struct device_node *np; of_unittest_dynamic()
199 static int __init of_unittest_check_node_linkage(struct device_node *np) of_unittest_check_node_linkage()
201 struct device_node *child; of_unittest_check_node_linkage()
222 struct device_node *np; of_unittest_check_tree_linkage()
241 struct device_node *np;
247 struct device_node *np; of_unittest_check_phandles()
285 struct device_node *np; of_unittest_parse_phandle_with_args()
389 struct device_node *np; of_unittest_property_string()
498 struct device_node *n1, *n2, *n21, *nremove, *parent, *np; of_unittest_changeset()
548 struct device_node *np; of_unittest_parse_interrupts()
622 struct device_node *np; of_unittest_parse_interrupts_extended()
727 struct device_node *np; of_unittest_match_node()
762 struct device_node *np, *child, *grandchild; of_unittest_platform_populate()
827 static void update_node_properties(struct device_node *np, update_node_properties()
828 struct device_node *dup) update_node_properties()
831 struct device_node *child; update_node_properties()
846 static int attach_node_and_children(struct device_node *np) attach_node_and_children()
848 struct device_node *next, *dup, *child; attach_node_and_children()
886 struct device_node *unittest_data_node, *np; unittest_data_add()
934 struct device_node *next = np->sibling; unittest_data_add()
948 struct device_node *np = dev->of_node; unittest_probe()
966 struct device_node *np = dev->of_node; unittest_remove()
990 struct device_node *np; of_path_to_platform_device()
1018 struct device_node *np; of_path_to_i2c_client()
1170 struct device_node *np = NULL; of_unittest_apply_overlay()
1367 struct device_node *np; of_unittest_overlay_6()
1449 struct device_node *np; of_unittest_overlay_8()
1567 struct device_node *np = dev->of_node; unittest_i2c_bus_probe()
1613 struct device_node *np = dev->of_node; unittest_i2c_bus_remove()
1640 struct device_node *np = client->dev.of_node; unittest_i2c_dev_probe()
1655 struct device_node *np = client->dev.of_node; unittest_i2c_dev_remove()
1695 struct device_node *np = client->dev.of_node, *child; unittest_i2c_mux_probe()
1746 struct device_node *np = client->dev.of_node; unittest_i2c_mux_remove()
1857 struct device_node *bus_np = NULL; of_unittest_overlay()
1930 struct device_node *np; of_unittest()
/linux-4.1.27/include/linux/clk/
H A Dclk-conf.h10 struct device_node;
13 int of_clk_set_defaults(struct device_node *node, bool clk_supplier);
15 static inline int of_clk_set_defaults(struct device_node *node, of_clk_set_defaults()
/linux-4.1.27/drivers/clk/mmp/
H A Dreset.h22 void mmp_clk_reset_register(struct device_node *np,
25 static inline void mmp_clk_reset_register(struct device_node *np, mmp_clk_reset_register()
/linux-4.1.27/arch/sparc/kernel/
H A Dof_device_common.h12 void of_bus_default_count_cells(struct device_node *dev, int *addrc,
19 int of_bus_sbus_match(struct device_node *np);
20 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec);
28 int (*match)(struct device_node *parent);
29 void (*count_cells)(struct device_node *child,
H A Dof_device_common.c15 unsigned int irq_of_parse_and_map(struct device_node *node, int index) irq_of_parse_and_map()
26 int of_address_to_resource(struct device_node *node, int index, of_address_to_resource()
39 void __iomem *of_iomap(struct device_node *node, int index) of_iomap()
59 struct device_node *bus_dp = bus->dev.of_node; of_propagate_archdata()
60 struct device_node *dp; of_propagate_archdata()
75 static void get_cells(struct device_node *dp, int *addrc, int *sizec) get_cells()
87 void of_bus_default_count_cells(struct device_node *dev, int *addrc, int *sizec) of_bus_default_count_cells()
149 int of_bus_sbus_match(struct device_node *np) of_bus_sbus_match()
151 struct device_node *dp = np; of_bus_sbus_match()
172 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec) of_bus_sbus_count_cells()
H A Dprom_64.c73 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) sun4v_path_component()
114 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) sun4u_path_component()
149 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) sbus_path_component()
166 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) pci_path_component()
191 static void __init upa_path_component(struct device_node *dp, char *tmp_buf) upa_path_component()
213 static void __init vdev_path_component(struct device_node *dp, char *tmp_buf) vdev_path_component()
228 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) ebus_path_component()
246 static void __init i2c_path_component(struct device_node *dp, char *tmp_buf) i2c_path_component()
265 static void __init usb_path_component(struct device_node *dp, char *tmp_buf) usb_path_component()
286 static void __init ieee1394_path_component(struct device_node *dp, char *tmp_buf) ieee1394_path_component()
306 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) __build_path_component()
308 struct device_node *parent = dp->parent; __build_path_component()
357 char * __init build_path_component(struct device_node *dp) build_path_component()
377 bool arch_find_n_match_cpu_physical_id(struct device_node *cpun, arch_find_n_match_cpu_physical_id()
430 static void *of_iterate_over_cpus(void *(*func)(struct device_node *, int, int), int arg) of_iterate_over_cpus()
432 struct device_node *dp; of_iterate_over_cpus()
465 static void *check_cpu_node(struct device_node *dp, int cpuid, int id) check_cpu_node()
472 struct device_node *of_find_node_by_cpuid(int cpuid) of_find_node_by_cpuid()
477 static void *record_one_cpu(struct device_node *dp, int cpuid, int arg) record_one_cpu()
496 static void *fill_in_one_cpu(struct device_node *dp, int cpuid, int arg) fill_in_one_cpu()
498 struct device_node *portid_parent = NULL; fill_in_one_cpu()
596 struct device_node *dp; of_console_init()
H A Dof_device_32.c21 static int of_bus_pci_match(struct device_node *np) of_bus_pci_match()
39 static void of_bus_pci_count_cells(struct device_node *np, of_bus_pci_count_cells()
106 static int of_bus_ambapp_match(struct device_node *np) of_bus_ambapp_match()
111 static void of_bus_ambapp_count_cells(struct device_node *child, of_bus_ambapp_count_cells()
175 static struct of_bus *of_match_bus(struct device_node *np) of_match_bus()
186 static int __init build_one_resource(struct device_node *parent, build_one_resource()
221 static int __init use_1to1_mapping(struct device_node *pp) use_1to1_mapping()
276 struct device_node *dp = op->dev.of_node; build_device_resources()
277 struct device_node *pp = p_op->dev.of_node; build_device_resources()
338 static struct platform_device * __init scan_one_device(struct device_node *dp, scan_one_device()
393 static void __init scan_tree(struct device_node *dp, struct device *parent) scan_tree()
407 struct device_node *root = of_find_node_by_path("/"); scan_of_devices()
H A Dprom_32.c61 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) sparc32_path_component()
77 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) sbus_path_component()
94 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) pci_path_component()
119 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) ebus_path_component()
136 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) ambapp_path_component()
175 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) __build_path_component()
177 struct device_node *parent = dp->parent; __build_path_component()
197 char * __init build_path_component(struct device_node *dp) build_path_component()
217 struct device_node *dp; of_console_init()
335 void __init irq_trans_init(struct device_node *dp) irq_trans_init()
H A Dprom_irqtrans.c42 static unsigned int psycho_irq_build(struct device_node *dp, psycho_irq_build()
72 static void __init psycho_irq_trans_init(struct device_node *dp) psycho_irq_trans_init()
181 static int sabre_device_needs_wsync(struct device_node *dp) sabre_device_needs_wsync()
183 struct device_node *parent = dp->parent; sabre_device_needs_wsync()
220 static unsigned int sabre_irq_build(struct device_node *dp, sabre_irq_build()
268 static void __init sabre_irq_trans_init(struct device_node *dp) sabre_irq_trans_init()
377 static unsigned int schizo_irq_build(struct device_node *dp, schizo_irq_build()
425 static void __init __schizo_irq_trans_init(struct device_node *dp, __schizo_irq_trans_init()
448 static void __init schizo_irq_trans_init(struct device_node *dp) schizo_irq_trans_init()
453 static void __init tomatillo_irq_trans_init(struct device_node *dp) tomatillo_irq_trans_init()
458 static unsigned int pci_sun4v_irq_build(struct device_node *dp, pci_sun4v_irq_build()
467 static void __init pci_sun4v_irq_trans_init(struct device_node *dp) pci_sun4v_irq_trans_init()
509 static unsigned int fire_irq_build(struct device_node *dp, fire_irq_build()
541 static void __init fire_irq_trans_init(struct device_node *dp) fire_irq_trans_init()
647 static unsigned int sbus_of_build_irq(struct device_node *dp, sbus_of_build_irq()
704 static void __init sbus_irq_trans_init(struct device_node *dp) sbus_irq_trans_init()
717 static unsigned int central_build_irq(struct device_node *dp, central_build_irq()
721 struct device_node *central_dp = _data; central_build_irq()
751 static void __init central_irq_trans_init(struct device_node *dp) central_irq_trans_init()
761 void (*init)(struct device_node *);
782 static unsigned int sun4v_vdev_irq_build(struct device_node *dp, sun4v_vdev_irq_build()
791 static void __init sun4v_vdev_irq_trans_init(struct device_node *dp) sun4v_vdev_irq_trans_init()
803 void __init irq_trans_init(struct device_node *dp) irq_trans_init()
H A Dof_device_64.c45 static int of_bus_pci_match(struct device_node *np) of_bus_pci_match()
68 static int of_bus_simba_match(struct device_node *np) of_bus_simba_match()
92 static void of_bus_pci_count_cells(struct device_node *np, of_bus_pci_count_cells()
169 static int of_bus_fhc_match(struct device_node *np) of_bus_fhc_match()
229 static struct of_bus *of_match_bus(struct device_node *np) of_match_bus()
240 static int __init build_one_resource(struct device_node *parent, build_one_resource()
281 static int __init use_1to1_mapping(struct device_node *pp) use_1to1_mapping()
354 struct device_node *dp = op->dev.of_node; build_device_resources()
355 struct device_node *pp = p_op->dev.of_node; build_device_resources()
418 static struct device_node * __init apply_interrupt_map()
419 apply_interrupt_map(struct device_node *dp, struct device_node *pp, apply_interrupt_map()
423 struct device_node *cp; apply_interrupt_map()
478 static unsigned int __init pci_irq_swizzle(struct device_node *dp, pci_irq_swizzle()
479 struct device_node *pp, pci_irq_swizzle()
536 struct device_node *dp = op->dev.of_node; build_one_device_irq()
537 struct device_node *pp, *ip; build_one_device_irq()
572 struct device_node *iret; build_one_device_irq()
635 static struct platform_device * __init scan_one_device(struct device_node *dp, scan_one_device()
688 static void __init scan_tree(struct device_node *dp, struct device *parent) scan_tree()
702 struct device_node *root = of_find_node_by_path("/"); scan_of_devices()
H A Dprom_common.c29 struct device_node *of_console_device;
38 int of_getintprop_default(struct device_node *np, const char *name, int def) of_getintprop_default()
54 int of_set_property(struct device_node *dp, const char *name, void *val, int len) of_set_property()
/linux-4.1.27/include/linux/mfd/
H A Dsyscon.h20 struct device_node;
23 extern struct regmap *syscon_node_to_regmap(struct device_node *np);
27 struct device_node *np,
30 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) syscon_node_to_regmap()
46 struct device_node *np, syscon_regmap_lookup_by_phandle()
/linux-4.1.27/arch/sparc/include/asm/
H A Dprom.h35 unsigned int (*irq_build)(struct device_node *, unsigned int, void *);
39 struct device_node *of_find_node_by_cpuid(int cpuid);
40 int of_set_property(struct device_node *node, const char *name, void *val, int len);
42 int of_getintprop_default(struct device_node *np,
55 extern struct device_node *of_console_device;
59 void irq_trans_init(struct device_node *dp);
60 char *build_path_component(struct device_node *dp);
H A Ddevice.h11 struct device_node;
H A Dfb.h20 struct device_node *node; fb_is_primary_device()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dpseries.h16 struct device_node;
18 extern void request_event_sources_irqs(struct device_node *np,
58 extern void dlpar_free_cc_nodes(struct device_node *); setup_kexec_cpu_down_mpic()
60 extern struct device_node *dlpar_configure_connector(__be32, setup_kexec_cpu_down_mpic()
61 struct device_node *); setup_kexec_cpu_down_mpic()
62 extern int dlpar_attach_node(struct device_node *); setup_kexec_cpu_down_mpic()
63 extern int dlpar_detach_node(struct device_node *); setup_kexec_cpu_down_mpic()
H A Ddlpar.c68 static struct device_node *dlpar_parse_cc_node(struct cc_workarea *ccwa, dlpar_parse_cc_node()
71 struct device_node *dn; dlpar_parse_cc_node()
97 static void dlpar_free_one_cc_node(struct device_node *dn) dlpar_free_one_cc_node()
111 void dlpar_free_cc_nodes(struct device_node *dn) dlpar_free_cc_nodes()
131 struct device_node *dlpar_configure_connector(__be32 drc_index, dlpar_configure_connector()
132 struct device_node *parent) dlpar_configure_connector()
134 struct device_node *dn; dlpar_configure_connector()
135 struct device_node *first_dn = NULL; dlpar_configure_connector()
136 struct device_node *last_dn = NULL; dlpar_configure_connector()
247 static struct device_node *derive_parent(const char *path) derive_parent()
249 struct device_node *parent; derive_parent()
270 int dlpar_attach_node(struct device_node *dn) dlpar_attach_node()
289 int dlpar_detach_node(struct device_node *dn) dlpar_detach_node()
291 struct device_node *child; dlpar_detach_node()
364 static int dlpar_online_cpu(struct device_node *dn) dlpar_online_cpu()
407 struct device_node *dn, *parent; dlpar_cpu_probe()
443 static int dlpar_offline_cpu(struct device_node *dn) dlpar_offline_cpu()
501 struct device_node *dn; dlpar_cpu_release()
H A Dpci_dlpar.c39 struct device_node *dn) find_bus_among_children()
43 struct device_node *busdn; find_bus_among_children()
58 pcibios_find_pci_bus(struct device_node *dn) pcibios_find_pci_bus()
69 struct pci_controller *init_phb_dynamic(struct device_node *dn) init_phb_dynamic()
H A Dreconfig.c33 static struct device_node *derive_parent(const char *path) derive_parent()
35 struct device_node *parent = NULL; derive_parent()
59 struct device_node *np; pSeries_reconfig_add_node()
99 static int pSeries_reconfig_remove_node(struct device_node *np) pSeries_reconfig_remove_node()
101 struct device_node *parent, *child; pSeries_reconfig_remove_node()
232 struct device_node *np; do_add_node()
277 struct device_node *node; do_remove_node()
287 static char *parse_node(char *buf, size_t bufsize, struct device_node **npp) parse_node()
310 struct device_node *np; do_add_property()
334 struct device_node *np; do_remove_property()
356 struct device_node *np; do_update_property()
/linux-4.1.27/arch/mips/include/asm/
H A Dirq_cpu.h21 struct device_node;
22 extern int mips_cpu_irq_of_init(struct device_node *of_node,
23 struct device_node *parent);
/linux-4.1.27/drivers/gpu/drm/rcar-du/
H A Drcar_du_hdmienc.h19 struct device_node;
25 struct rcar_du_encoder *renc, struct device_node *np);
29 struct device_node *np) rcar_du_hdmienc_init()
H A Drcar_du_encoder.h58 struct device_node *enc_node,
59 struct device_node *con_node);
H A Drcar_du_lvdscon.h22 struct device_node *np);
/linux-4.1.27/drivers/irqchip/
H A Dirq-atmel-aic-common.h25 struct device_node *ctrlr,
31 struct irq_domain *__init aic_common_of_init(struct device_node *node,
35 void __init aic_common_rtc_irq_fixup(struct device_node *root);
37 void __init aic_common_rtt_irq_fixup(struct device_node *root);
H A Dirq-xtensa-pic.c31 struct device_node *ctrlr, xtensa_pic_irq_domain_xlate()
90 int __init xtensa_pic_init_legacy(struct device_node *interrupt_parent) xtensa_pic_init_legacy()
99 static int __init xtensa_pic_init(struct device_node *np, xtensa_pic_init()
100 struct device_node *interrupt_parent) xtensa_pic_init()
H A Dirq-atmel-aic-common.c96 struct device_node *ctrlr, aic_common_irq_domain_xlate()
117 struct device_node *node = domain->of_node; aic_common_ext_irq_of_init()
146 void __init aic_common_rtc_irq_fixup(struct device_node *root) aic_common_rtc_irq_fixup()
148 struct device_node *np; aic_common_rtc_irq_fixup()
174 void __init aic_common_rtt_irq_fixup(struct device_node *root) aic_common_rtt_irq_fixup()
176 struct device_node *np; aic_common_rtt_irq_fixup()
198 struct device_node *root = of_find_node_by_path("/"); aic_common_irq_fixup()
208 void (*fixup)(struct device_node *) = match->data; aic_common_irq_fixup()
215 struct irq_domain *__init aic_common_of_init(struct device_node *node, aic_common_of_init()
H A Dirq-or1k-pic.c147 static int __init or1k_pic_init(struct device_node *node, or1k_pic_init()
161 static int __init or1k_pic_or1200_init(struct device_node *node, or1k_pic_or1200_init()
162 struct device_node *parent) or1k_pic_or1200_init()
169 static int __init or1k_pic_level_init(struct device_node *node, or1k_pic_level_init()
170 struct device_node *parent) or1k_pic_level_init()
177 static int __init or1k_pic_edge_init(struct device_node *node, or1k_pic_edge_init()
178 struct device_node *parent) or1k_pic_edge_init()
H A Dirq-bcm7120-l2.c108 static int bcm7120_l2_intc_init_one(struct device_node *dn, bcm7120_l2_intc_init_one()
140 static int __init bcm7120_l2_intc_iomap_7120(struct device_node *dn, bcm7120_l2_intc_iomap_7120()
174 static int __init bcm7120_l2_intc_iomap_3380(struct device_node *dn, bcm7120_l2_intc_iomap_3380()
205 int __init bcm7120_l2_intc_probe(struct device_node *dn, bcm7120_l2_intc_probe()
206 struct device_node *parent, bcm7120_l2_intc_probe()
207 int (*iomap_regs_fn)(struct device_node *, bcm7120_l2_intc_probe()
312 int __init bcm7120_l2_intc_probe_7120(struct device_node *dn, bcm7120_l2_intc_probe_7120()
313 struct device_node *parent) bcm7120_l2_intc_probe_7120()
319 int __init bcm7120_l2_intc_probe_3380(struct device_node *dn, bcm7120_l2_intc_probe_3380()
320 struct device_node *parent) bcm7120_l2_intc_probe_3380()
H A Dirq-xtensa-mx.c46 struct device_node *ctrlr, xtensa_mx_irq_domain_xlate()
143 int __init xtensa_mx_init_legacy(struct device_node *interrupt_parent) xtensa_mx_init_legacy()
154 static int __init xtensa_mx_init(struct device_node *np, xtensa_mx_init()
155 struct device_node *interrupt_parent) xtensa_mx_init()
H A Dirq-atmel-aic5.c260 struct device_node *ctrlr, aic5_irq_domain_xlate()
296 static void __init sama5d3_aic_irq_fixup(struct device_node *root) sama5d3_aic_irq_fixup()
307 static int __init aic5_of_init(struct device_node *node, aic5_of_init()
308 struct device_node *parent, aic5_of_init()
352 static int __init sama5d3_aic5_of_init(struct device_node *node, sama5d3_aic5_of_init()
353 struct device_node *parent) sama5d3_aic5_of_init()
361 static int __init sama5d4_aic5_of_init(struct device_node *node, sama5d4_aic5_of_init()
362 struct device_node *parent) sama5d4_aic5_of_init()
H A Dirq-sunxi-nmi.c121 static int __init sunxi_sc_nmi_irq_init(struct device_node *node, sunxi_sc_nmi_irq_init()
196 static int __init sun6i_sc_nmi_irq_init(struct device_node *node, sun6i_sc_nmi_irq_init()
197 struct device_node *parent) sun6i_sc_nmi_irq_init()
203 static int __init sun7i_sc_nmi_irq_init(struct device_node *node, sun7i_sc_nmi_irq_init()
204 struct device_node *parent) sun7i_sc_nmi_irq_init()
H A Dspear-shirq.c222 struct device_node *np) shirq_init()
269 static int __init spear300_shirq_of_init(struct device_node *np, spear300_shirq_of_init()
270 struct device_node *parent) spear300_shirq_of_init()
277 static int __init spear310_shirq_of_init(struct device_node *np, spear310_shirq_of_init()
278 struct device_node *parent) spear310_shirq_of_init()
285 static int __init spear320_shirq_of_init(struct device_node *np, spear320_shirq_of_init()
286 struct device_node *parent) spear320_shirq_of_init()
H A Dirq-mtk-sysirq.c72 struct device_node *controller, mtk_sysirq_domain_xlate()
120 static int __init mtk_sysirq_of_init(struct device_node *node, mtk_sysirq_of_init()
121 struct device_node *parent) mtk_sysirq_of_init()
H A Dexynos-combiner.c138 struct device_node *controller, combiner_irq_domain_xlate()
173 struct device_node *np, combiner_init()
204 static int __init combiner_of_init(struct device_node *np, combiner_of_init()
205 struct device_node *parent) combiner_of_init()
H A Dirq-orion.c53 static int __init orion_irq_init(struct device_node *np, orion_irq_init()
54 struct device_node *parent) orion_irq_init()
139 static int __init orion_bridge_irq_init(struct device_node *np, orion_bridge_irq_init()
140 struct device_node *parent) orion_bridge_irq_init()
/linux-4.1.27/drivers/memory/
H A Dof_memory.h16 extern const struct lpddr2_min_tck *of_get_min_tck(struct device_node *np,
19 *of_get_ddr_timings(struct device_node *np_ddr, struct device *dev,
23 *of_get_min_tck(struct device_node *np, struct device *dev) of_get_min_tck()
29 *of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, of_get_ddr_timings()
/linux-4.1.27/arch/powerpc/include/asm/
H A Di8259.h7 extern void i8259_init(struct device_node *node, unsigned long intack_addr);
H A Dmsi_bitmap.h18 struct device_node *of_node;
32 struct device_node *of_node);
H A Dsetup.h14 struct device_node;
15 extern void note_scsi_host(struct device_node *, void *);
H A Dpmac_low_i2c.h60 extern struct pmac_i2c_bus *pmac_i2c_find_bus(struct device_node *node);
66 extern u8 pmac_i2c_get_dev_addr(struct device_node *device);
69 extern struct device_node *pmac_i2c_get_controller(struct pmac_i2c_bus *bus);
70 extern struct device_node *pmac_i2c_get_bus_node(struct pmac_i2c_bus *bus);
83 extern int pmac_i2c_match_adapter(struct device_node *dev,
88 extern int pmac_low_i2c_lock(struct device_node *np);
89 extern int pmac_low_i2c_unlock(struct device_node *np);
H A Dppc-pci.h32 /* PCI device_node operations */
33 struct device_node;
36 typedef void *(*traverse_func)(struct device_node *me, void *data);
37 void *traverse_pci_devices(struct device_node *start, traverse_func pre,
48 extern unsigned long get_phb_buid (struct device_node *);
H A Dmpc5xxx.h19 extern unsigned long mpc5xxx_get_bus_frequency(struct device_node *node);
H A Dpmac_feature.h26 * the prototype parameters (struct device_node* node, int value).
144 struct device_node;
146 static inline long pmac_call_feature(int selector, struct device_node* node, pmac_call_feature()
154 /* PMAC_FTR_SERIAL_ENABLE (struct device_node* node, int param, int value)
167 /* PMAC_FTR_MODEM_ENABLE (struct device_node* node, 0, int value)
172 /* PMAC_FTR_SWIM3_ENABLE (struct device_node* node, 0,int value)
177 /* PMAC_FTR_MESH_ENABLE (struct device_node* node, 0, int value)
182 /* PMAC_FTR_IDE_ENABLE (struct device_node* node, int busID, int value)
188 /* PMAC_FTR_IDE_RESET (struct device_node* node, int busID, int value)
193 /* PMAC_FTR_BMAC_ENABLE (struct device_node* node, 0, int value)
199 /* PMAC_FTR_GMAC_ENABLE (struct device_node* node, 0, int value)
205 /* PMAC_FTR_GMAC_PHY_RESET (struct device_node* node, 0, 0)
211 /* PMAC_FTR_SOUND_CHIP_ENABLE (struct device_node* node, 0, int value)
219 /* PMAC_FTR_AIRPORT_ENABLE (struct device_node* node, 0, int value)
229 /* PMAC_FTR_USB_ENABLE (struct device_node* node, 0, int value)
235 /* PMAC_FTR_1394_ENABLE (struct device_node* node, 0, int value)
240 /* PMAC_FTR_1394_CABLE_POWER (struct device_node* node, 0, int value)
246 /* PMAC_FTR_SLEEP_STATE (struct device_node* node, 0, int value)
346 struct device_node *of_node;
365 extern struct macio_chip* macio_find(struct device_node* child, int type);
382 extern struct device_node *uninorth_node;
H A Dpci-bridge.h15 struct device_node;
44 struct device_node *dn;
156 extern int pci_device_from_OF_node(struct device_node *node,
172 * by device_node->data.
189 struct device_node *node; /* back-pointer to the device_node */
213 /* Get the pointer to a device_node's pci_dn */
221 extern void *update_dn_pci_info(struct device_node *dn, void *data);
223 static inline int pci_device_from_OF_node(struct device_node *np, pci_device_from_OF_node()
243 extern struct pci_bus *pcibios_find_pci_bus(struct device_node *dn);
274 struct device_node* node);
278 struct device_node *dev, int primary);
281 extern struct pci_controller *pcibios_alloc_controller(struct device_node *dev);
H A Ddcr.h70 struct device_node;
71 extern unsigned int dcr_resource_start(const struct device_node *np,
73 extern unsigned int dcr_resource_len(const struct device_node *np,
H A Dparport.h17 struct device_node *np; parport_pc_find_nonpci_ports()
H A Dtsi108_pci.h40 extern int tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary);
41 extern void tsi108_pci_int_init(struct device_node *node);
/linux-4.1.27/sound/soc/fsl/
H A Dfsl_utils.h19 struct device_node;
21 int fsl_asoc_get_dma_channel(struct device_node *ssi_np, const char *name,
H A Dfsl_utils.c31 int fsl_asoc_get_dma_channel(struct device_node *ssi_np, fsl_asoc_get_dma_channel()
38 struct device_node *dma_channel_np, *dma_np; fsl_asoc_get_dma_channel()
51 /* Determine the dev_name for the device_node. This code mimics the fsl_asoc_get_dma_channel()
/linux-4.1.27/include/media/
H A Dv4l2-of.h24 struct device_node;
74 * @local_node: pointer to device_node of this endpoint
76 * @remote_node: pointer to device_node of the remote endpoint
80 struct device_node *local_node;
82 struct device_node *remote_node;
87 int v4l2_of_parse_endpoint(const struct device_node *node,
89 int v4l2_of_parse_link(const struct device_node *node,
94 static inline int v4l2_of_parse_endpoint(const struct device_node *node, v4l2_of_parse_endpoint()
100 static inline int v4l2_of_parse_link(const struct device_node *node, v4l2_of_parse_link()
/linux-4.1.27/drivers/video/
H A Dof_display_timing.c17 * parse_timing_property - parse timing_entry from device_node
18 * @np: device_node with the property
26 static int parse_timing_property(const struct device_node *np, const char *name, parse_timing_property()
56 * of_parse_display_timing - parse display_timing entry from device_node
57 * @np: device_node with the properties
59 static int of_parse_display_timing(const struct device_node *np, of_parse_display_timing()
109 * @np: device_node with the timing subnode
113 int of_get_display_timing(struct device_node *np, const char *name, of_get_display_timing()
116 struct device_node *timing_np; of_get_display_timing()
133 * of_get_display_timings - parse all display_timing entries from a device_node
134 * @np: device_node with the subnodes
136 struct display_timings *of_get_display_timings(struct device_node *np) of_get_display_timings()
138 struct device_node *timings_np; of_get_display_timings()
139 struct device_node *entry; of_get_display_timings()
140 struct device_node *native_mode; of_get_display_timings()
224 * native_mode points to the device_node returned by of_parse_phandle
249 * @np: device_node with the timing
251 int of_display_timings_exist(struct device_node *np) of_display_timings_exist()
253 struct device_node *timings_np; of_display_timings_exist()
/linux-4.1.27/drivers/macintosh/ams/
H A Dams.h25 struct device_node *of_node;
66 extern int ams_pmu_init(struct device_node *np);
67 extern int ams_i2c_init(struct device_node *np);
/linux-4.1.27/drivers/usb/phy/
H A Dof.c26 * of_usb_get_phy_mode - Get phy mode for given device_node
27 * @np: Pointer to the given device_node
32 enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) of_usb_get_phy_mode()
H A Dphy-am335x-control.c114 struct device_node *node = (struct device_node *)data; match()
121 struct device_node *node; am335x_get_phy_control()
H A Dphy-isp1301.c142 struct device_node *node = (struct device_node *)data; match()
147 struct i2c_client *isp1301_get_client(struct device_node *node) isp1301_get_client()
/linux-4.1.27/include/drm/bridge/
H A Dptn3460.h21 struct device_node;
26 struct i2c_client *client, struct device_node *node);
34 struct device_node *node) ptn3460_init()
/linux-4.1.27/drivers/pci/hotplug/
H A Drpadlpar_core.c43 static struct device_node *find_vio_slot_node(char *drc_name) find_vio_slot_node()
45 struct device_node *parent = of_find_node_by_name(NULL, "vdevice"); find_vio_slot_node()
46 struct device_node *dn = NULL; find_vio_slot_node()
63 static struct device_node *find_php_slot_pci_node(char *drc_name, find_php_slot_pci_node()
66 struct device_node *np = NULL; find_php_slot_pci_node()
81 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) find_dlpar_node()
83 struct device_node *dn; find_dlpar_node()
108 * @dn: target &device_node
115 static struct slot *find_php_slot(struct device_node *dn) find_php_slot()
130 struct device_node *dev_dn) dlpar_find_new_dev()
133 struct device_node *child_dn; dlpar_find_new_dev()
143 static void dlpar_pci_add_bus(struct device_node *dn) dlpar_pci_add_bus()
174 static int dlpar_add_pci_slot(char *drc_name, struct device_node *dn) dlpar_add_pci_slot()
210 static int dlpar_remove_phb(char *drc_name, struct device_node *dn) dlpar_remove_phb()
238 static int dlpar_add_phb(char *drc_name, struct device_node *dn) dlpar_add_phb()
259 static int dlpar_add_vio_slot(char *drc_name, struct device_node *dn) dlpar_add_vio_slot()
287 struct device_node *dn = NULL; dlpar_add_slot()
322 * @dn: &device_node
329 static int dlpar_remove_vio_slot(char *drc_name, struct device_node *dn) dlpar_remove_vio_slot()
344 * @dn: &device_node
352 int dlpar_remove_pci_slot(char *drc_name, struct device_node *dn) dlpar_remove_pci_slot()
418 struct device_node *dn; dlpar_remove_slot()
H A Drpaphp.h77 struct device_node *dn;
93 int rpaphp_add_slot(struct device_node *dn);
94 int rpaphp_get_drc_props(struct device_node *dn, int *drc_index,
99 struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain);
/linux-4.1.27/drivers/gpu/drm/exynos/
H A Dexynos_drm_dpi.c27 struct device_node *panel_node;
175 static struct device_node * of_get_child_by_name_reg()
176 of_get_child_by_name_reg(struct device_node *parent, const char *name, u32 reg) of_get_child_by_name_reg()
178 struct device_node *np; of_get_child_by_name_reg()
196 static struct device_node *of_graph_get_port_by_reg(struct device_node *parent, of_graph_get_port_by_reg()
199 struct device_node *ports, *port; of_graph_get_port_by_reg()
212 static struct device_node * of_graph_get_endpoint_by_reg()
213 of_graph_get_endpoint_by_reg(struct device_node *port, u32 reg) of_graph_get_endpoint_by_reg()
218 static struct device_node * of_graph_get_remote_port_parent()
219 of_graph_get_remote_port_parent(const struct device_node *node) of_graph_get_remote_port_parent()
221 struct device_node *np; of_graph_get_remote_port_parent()
243 static struct device_node *exynos_dpi_of_find_panel_node(struct device *dev) exynos_dpi_of_find_panel_node()
245 struct device_node *np, *ep; exynos_dpi_of_find_panel_node()
265 struct device_node *dn = dev->of_node; exynos_dpi_parse_dt()
266 struct device_node *np; exynos_dpi_parse_dt()
/linux-4.1.27/drivers/gpu/drm/imx/
H A Dimx-drm.h4 struct device_node;
29 struct device_node *port);
48 int imx_drm_encoder_get_mux_id(struct device_node *node,
51 struct drm_encoder *encoder, struct device_node *np);
/linux-4.1.27/arch/powerpc/platforms/85xx/
H A Dsocrates_fpga_pic.h14 void socrates_fpga_pic_init(struct device_node *pic);
H A Dcommon.c66 struct device_node *np; mpc85xx_cpm2_pic_init()
91 struct device_node *np; mpc85xx_qe_init()
115 struct device_node *np; mpc85xx_qe_par_io_init()
119 struct device_node *ucc; mpc85xx_qe_par_io_init()
/linux-4.1.27/drivers/usb/common/
H A Dcommon.c93 * of_usb_get_dr_mode - Get dual role mode for given device_node
94 * @np: Pointer to the given device_node
99 enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np) of_usb_get_dr_mode()
119 * @np: Pointer to the given device_node
124 enum usb_device_speed of_usb_get_maximum_speed(struct device_node *np) of_usb_get_maximum_speed()
145 * @np: Pointer to the given device_node
149 bool of_usb_host_tpl_support(struct device_node *np) of_usb_host_tpl_support()
/linux-4.1.27/drivers/cpufreq/
H A Darm_big_little_dt.c34 static struct device_node *get_cpu_node_with_valid_op(int cpu) get_cpu_node_with_valid_op()
36 struct device_node *np = of_cpu_device_node_get(cpu); get_cpu_node_with_valid_op()
48 struct device_node *np; dt_init_opp_table()
65 struct device_node *np; dt_get_transition_latency()
90 struct device_node *np; generic_bL_probe()
H A Dqoriq-cpufreq.c34 struct device_node *parent;
87 struct device_node *soc; get_bus_freq()
102 static struct device_node *cpu_to_clk_node(int cpu) cpu_to_clk_node()
104 struct device_node *np, *clk_np; cpu_to_clk_node()
125 struct device_node *np, *clk_np; set_affected_cpus()
199 struct device_node *np; qoriq_cpufreq_cpu_init()
338 struct device_node *np; qoriq_cpufreq_init()
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Dcbe_regs.c30 struct device_node *cpu_node;
31 struct device_node *be_node;
41 struct device_node *cpu_node;
42 struct device_node *be_node;
51 static struct cbe_regs_map *cbe_find_map(struct device_node *np) cbe_find_map()
54 struct device_node *tmp_np; cbe_find_map()
81 struct cbe_pmd_regs __iomem *cbe_get_pmd_regs(struct device_node *np) cbe_get_pmd_regs()
99 struct cbe_pmd_shadow_regs *cbe_get_pmd_shadow_regs(struct device_node *np) cbe_get_pmd_shadow_regs()
115 struct cbe_iic_regs __iomem *cbe_get_iic_regs(struct device_node *np) cbe_get_iic_regs()
131 struct cbe_mic_tm_regs __iomem *cbe_get_mic_tm_regs(struct device_node *np) cbe_get_mic_tm_regs()
167 static struct device_node *cbe_get_be_node(int cpu_id) cbe_get_be_node()
169 struct device_node *np; cbe_get_be_node()
195 struct device_node *be, *np; cbe_fill_regs_map()
211 struct device_node *cpu; cbe_fill_regs_map()
239 struct device_node *cpu; cbe_regs_init()
H A Dspu_manage.c40 struct device_node *spu_devnode(struct spu *spu) spu_devnode()
47 static u64 __init find_spu_unit_number(struct device_node *spe) find_spu_unit_number()
80 struct device_node *np) spu_map_interrupts_old()
112 struct device_node *n, spu_map_prop_old()
130 struct device_node *node = spu->devnode; spu_map_device_old()
178 static int __init spu_map_interrupts(struct spu *spu, struct device_node *np) spu_map_interrupts()
214 struct device_node *np = spu->devnode; spu_map_resource()
233 struct device_node *np = spu->devnode; spu_map_device()
288 struct device_node *node; of_enumerate_spus()
308 struct device_node *spe = (struct device_node *)data; of_create_spu()
423 struct device_node *dn; of_has_vicinity()
434 static struct spu *devnode_spu(int cbe, struct device_node *dn) devnode_spu()
445 neighbour_spu(int cbe, struct device_node *target, struct device_node *avoid) neighbour_spu()
448 struct device_node *spu_dn; neighbour_spu()
468 struct device_node *vic_dn, *last_spu_dn; init_affinity_node()
/linux-4.1.27/drivers/clk/
H A Dclk-nspire.c67 static void __init nspire_ahbdiv_setup(struct device_node *node, nspire_ahbdiv_setup()
94 static void __init nspire_ahbdiv_setup_cx(struct device_node *node) nspire_ahbdiv_setup_cx()
99 static void __init nspire_ahbdiv_setup_classic(struct device_node *node) nspire_ahbdiv_setup_classic()
109 static void __init nspire_clk_setup(struct device_node *node, nspire_clk_setup()
141 static void __init nspire_clk_setup_cx(struct device_node *node) nspire_clk_setup_cx()
146 static void __init nspire_clk_setup_classic(struct device_node *node) nspire_clk_setup_classic()
H A Dclk-conf.c17 static int __set_clk_parents(struct device_node *node, bool clk_supplier) __set_clk_parents()
77 static int __set_clk_rates(struct device_node *node, bool clk_supplier) __set_clk_rates()
130 int of_clk_set_defaults(struct device_node *node, bool clk_supplier) of_clk_set_defaults()
/linux-4.1.27/drivers/hwtracing/coresight/
H A Dof_coresight.c35 of_coresight_get_endpoint_device(struct device_node *endpoint) of_coresight_get_endpoint_device()
56 static void of_coresight_get_ports(struct device_node *node, of_coresight_get_ports()
59 struct device_node *ep = NULL; of_coresight_get_ports()
106 struct device *dev, struct device_node *node) of_get_coresight_platform_data()
112 struct device_node *dn; of_get_coresight_platform_data()
113 struct device_node *ep = NULL; of_get_coresight_platform_data()
114 struct device_node *rparent = NULL; of_get_coresight_platform_data()
115 struct device_node *rport = NULL; of_get_coresight_platform_data()
/linux-4.1.27/drivers/mmc/host/
H A Dmmci_qcom_dml.h19 int dml_hw_init(struct mmci_host *host, struct device_node *np);
22 static inline int dml_hw_init(struct mmci_host *host, struct device_node *np) dml_hw_init()
/linux-4.1.27/drivers/media/platform/xilinx/
H A Dxilinx-vtc.h18 struct device_node;
35 struct xvtc_device *xvtc_of_get(struct device_node *np);
H A Dxilinx-vipp.c43 struct device_node *node;
56 const struct device_node *node) xvip_graph_find_entity()
78 struct device_node *ep = NULL; xvip_graph_build_one()
79 struct device_node *next; xvip_graph_build_one()
191 struct device_node *node = xdev->dev->of_node; xvip_graph_build_dma()
198 struct device_node *ep = NULL; xvip_graph_build_dma()
199 struct device_node *next; xvip_graph_build_dma()
349 struct device_node *node) xvip_graph_parse_one()
352 struct device_node *remote; xvip_graph_parse_one()
353 struct device_node *ep = NULL; xvip_graph_parse_one()
354 struct device_node *next; xvip_graph_parse_one()
425 struct device_node *node) xvip_graph_dma_init_one()
467 struct device_node *ports; xvip_graph_dma_init()
468 struct device_node *port; xvip_graph_dma_init()
/linux-4.1.27/drivers/regulator/
H A Dinternal.h42 struct device_node **node);
48 struct device_node **node) regulator_of_get_init_data()
H A Dof_regulator.c27 static void of_get_regulation_constraints(struct device_node *np, of_get_regulation_constraints()
34 struct device_node *suspend_np; of_get_regulation_constraints()
160 struct device_node *node, of_get_regulator_init_data()
209 int of_regulator_match(struct device *dev, struct device_node *node, of_regulator_match()
216 struct device_node *child; of_regulator_match()
274 struct device_node **node) regulator_of_get_init_data()
276 struct device_node *search, *child; regulator_of_get_init_data()
/linux-4.1.27/drivers/clk/ti/
H A Dinterface.c104 static void __init _of_ti_interface_clk_setup(struct device_node *node, _of_ti_interface_clk_setup()
133 static void __init of_ti_interface_clk_setup(struct device_node *node) of_ti_interface_clk_setup()
140 static void __init of_ti_no_wait_interface_clk_setup(struct device_node *node) of_ti_no_wait_interface_clk_setup()
148 static void __init of_ti_hsotgusb_interface_clk_setup(struct device_node *node) of_ti_hsotgusb_interface_clk_setup()
156 static void __init of_ti_dss_interface_clk_setup(struct device_node *node) of_ti_dss_interface_clk_setup()
164 static void __init of_ti_ssi_interface_clk_setup(struct device_node *node) of_ti_ssi_interface_clk_setup()
171 static void __init of_ti_am35xx_interface_clk_setup(struct device_node *node) of_ti_am35xx_interface_clk_setup()
180 static void __init of_ti_omap2430_interface_clk_setup(struct device_node *node) of_ti_omap2430_interface_clk_setup()
H A Ddpll.c143 struct device_node *node) _register_dpll()
288 static void _register_dpll_x2(struct device_node *node, _register_dpll_x2()
336 static void __init of_ti_dpll_setup(struct device_node *node, of_ti_dpll_setup()
432 static void __init of_ti_omap4_dpll_x2_setup(struct device_node *node) of_ti_omap4_dpll_x2_setup()
441 static void __init of_ti_am3_dpll_x2_setup(struct device_node *node) of_ti_am3_dpll_x2_setup()
450 static void __init of_ti_omap3_dpll_setup(struct device_node *node) of_ti_omap3_dpll_setup()
470 static void __init of_ti_omap3_core_dpll_setup(struct device_node *node) of_ti_omap3_core_dpll_setup()
489 static void __init of_ti_omap3_per_dpll_setup(struct device_node *node) of_ti_omap3_per_dpll_setup()
509 static void __init of_ti_omap3_per_jtype_dpll_setup(struct device_node *node) of_ti_omap3_per_jtype_dpll_setup()
532 static void __init of_ti_omap4_dpll_setup(struct device_node *node) of_ti_omap4_dpll_setup()
551 static void __init of_ti_omap5_mpu_dpll_setup(struct device_node *node) of_ti_omap5_mpu_dpll_setup()
572 static void __init of_ti_omap4_core_dpll_setup(struct device_node *node) of_ti_omap4_core_dpll_setup()
593 static void __init of_ti_omap4_m4xen_dpll_setup(struct device_node *node) of_ti_omap4_m4xen_dpll_setup()
614 static void __init of_ti_omap4_jtype_dpll_setup(struct device_node *node) of_ti_omap4_jtype_dpll_setup()
636 static void __init of_ti_am3_no_gate_dpll_setup(struct device_node *node) of_ti_am3_no_gate_dpll_setup()
654 static void __init of_ti_am3_jtype_dpll_setup(struct device_node *node) of_ti_am3_jtype_dpll_setup()
673 static void __init of_ti_am3_no_gate_jtype_dpll_setup(struct device_node *node) of_ti_am3_no_gate_jtype_dpll_setup()
693 static void __init of_ti_am3_dpll_setup(struct device_node *node) of_ti_am3_dpll_setup()
710 static void __init of_ti_am3_core_dpll_setup(struct device_node *node) of_ti_am3_core_dpll_setup()
728 static void __init of_ti_omap2_core_dpll_setup(struct device_node *node) of_ti_omap2_core_dpll_setup()
H A Dgate.c214 static void __init _of_ti_gate_clk_setup(struct device_node *node, _of_ti_gate_clk_setup()
256 _of_ti_composite_gate_clk_setup(struct device_node *node, _of_ti_composite_gate_clk_setup()
284 of_ti_composite_no_wait_gate_clk_setup(struct device_node *node) of_ti_composite_no_wait_gate_clk_setup()
292 static void __init of_ti_composite_interface_clk_setup(struct device_node *node) of_ti_composite_interface_clk_setup()
300 static void __init of_ti_composite_gate_clk_setup(struct device_node *node) of_ti_composite_gate_clk_setup()
308 static void __init of_ti_clkdm_gate_clk_setup(struct device_node *node) of_ti_clkdm_gate_clk_setup()
315 static void __init of_ti_hsdiv_gate_clk_setup(struct device_node *node) of_ti_hsdiv_gate_clk_setup()
323 static void __init of_ti_gate_clk_setup(struct device_node *node) of_ti_gate_clk_setup()
329 static void __init of_ti_wait_gate_clk_setup(struct device_node *node) of_ti_wait_gate_clk_setup()
337 static void __init of_ti_am35xx_gate_clk_setup(struct device_node *node) of_ti_am35xx_gate_clk_setup()
345 static void __init of_ti_dss_gate_clk_setup(struct device_node *node) of_ti_dss_gate_clk_setup()
H A Dclockdomain.c27 static void __init of_ti_clockdomain_setup(struct device_node *node) of_ti_clockdomain_setup()
71 struct device_node *np; for_each_matching_node()
H A Dcomposite.c66 struct device_node *node;
78 static struct device_node *_get_component_node(struct device_node *node, int i) _get_component_node()
91 static struct component_clk *_lookup_component(struct device_node *node) _lookup_component()
104 struct device_node *comp_nodes[CLK_COMPONENT_TYPE_MAX];
160 struct device_node *node) _register_composite()
237 static void __init of_ti_composite_clk_setup(struct device_node *node) of_ti_composite_clk_setup()
273 int __init ti_clk_add_component(struct device_node *node, struct clk_hw *hw, ti_clk_add_component()
H A Dclk.c31 static struct device_node *clocks_node_ptr[CLK_MAX_MEMMAPS];
45 struct device_node *node; ti_dt_clocks_register()
65 struct device_node *node;
82 int __init ti_clk_retry_init(struct device_node *node, struct clk_hw *hw, ti_clk_retry_init()
109 void __iomem *ti_clk_get_reg_addr(struct device_node *node, int index) ti_clk_get_reg_addr()
150 void ti_dt_clk_init_provider(struct device_node *parent, int index) ti_dt_clk_init_provider()
152 struct device_node *clocks; ti_dt_clk_init_provider()
/linux-4.1.27/arch/arm/include/asm/
H A Dcpuidle.h30 struct device_node;
34 int (*init)(struct device_node *, int cpu);
/linux-4.1.27/drivers/soc/tegra/
H A Dcommon.c23 struct device_node *root; soc_is_tegra()
/linux-4.1.27/drivers/staging/board/
H A Dboard.c10 struct device_node *dn = of_find_all_nodes(NULL); find_by_address()
/linux-4.1.27/drivers/clk/versatile/
H A Dclk-versatile.c60 static void __init cm_osc_setup(struct device_node *np, cm_osc_setup()
69 struct device_node *parent; cm_osc_setup()
89 static void __init of_integrator_cm_osc_setup(struct device_node *np) of_integrator_cm_osc_setup()
96 static void __init of_versatile_cm_osc_setup(struct device_node *np) of_versatile_cm_osc_setup()
/linux-4.1.27/drivers/gpu/drm/sti/
H A Dsti_vtg.h17 struct sti_vtg *of_vtg_find(struct device_node *np);
/linux-4.1.27/arch/arm/mach-integrator/
H A Dcm.h7 struct device_node;
/linux-4.1.27/drivers/pci/host/
H A Dpci-keystone.h26 struct device_node *legacy_intc_np;
30 struct device_node *msi_intc_np;
46 struct device_node *msi_intc_np);
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_of.c17 struct device_node *port) drm_crtc_port_mask()
44 struct device_node *port) drm_of_find_possible_crtcs()
46 struct device_node *remote_port, *ep; drm_of_find_possible_crtcs()
/linux-4.1.27/drivers/clk/socfpga/
H A Dclk.h34 void __init socfpga_pll_init(struct device_node *node);
35 void __init socfpga_periph_init(struct device_node *node);
36 void __init socfpga_gate_init(struct device_node *node);
H A Dclk-pll.c84 static __init struct clk *__socfpga_pll_init(struct device_node *node, __socfpga_pll_init()
93 struct device_node *clkmgr_np; __socfpga_pll_init()
135 void __init socfpga_pll_init(struct device_node *node) socfpga_pll_init()
/linux-4.1.27/drivers/clk/mvebu/
H A Dcommon.h22 struct device_node;
47 void __init mvebu_coreclk_setup(struct device_node *np,
50 void __init mvebu_clk_gating_setup(struct device_node *np,
H A Dorion.c84 static void __init mv88f5182_clk_init(struct device_node *np) mv88f5182_clk_init()
141 static void __init mv88f5281_clk_init(struct device_node *np) mv88f5281_clk_init()
205 static void __init mv88f6183_clk_init(struct device_node *np) mv88f6183_clk_init()
/linux-4.1.27/arch/microblaze/include/asm/
H A Dcpuinfo.h96 void set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu);
97 void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu);
99 static inline unsigned int fcpu(struct device_node *cpu, char *n) fcpu()
H A Dpci-bridge.h14 struct device_node;
32 struct device_node *dn;
133 struct device_node *node);
137 struct device_node *dev, int primary);
140 extern struct pci_controller *pcibios_alloc_controller(struct device_node *dev);
H A Dpci.h105 extern struct pci_controller *init_phb_dynamic(struct device_node *dn);
108 extern struct pci_dev *of_create_pci_dev(struct device_node *node,
111 extern void of_scan_pci_bridge(struct device_node *node,
114 extern void of_scan_bus(struct device_node *node, struct pci_bus *bus);
115 extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus);
/linux-4.1.27/arch/powerpc/platforms/pasemi/
H A Dmisc.c34 static int __init find_i2c_driver(struct device_node *node, find_i2c_driver()
53 struct device_node *adap_node; pasemi_register_i2c_devices()
54 struct device_node *node; pasemi_register_i2c_devices()
/linux-4.1.27/drivers/clocksource/
H A Ddw_apb_timer_of.c26 static void __init timer_get_base_and_rate(struct device_node *np, timer_get_base_and_rate()
62 static void __init add_clockevent(struct device_node *event_timer) add_clockevent()
85 static void __init add_clocksource(struct device_node *source_timer) add_clocksource()
121 struct device_node *sched_timer; init_sched_clock()
134 static void __init dw_apb_timer_init(struct device_node *timer) dw_apb_timer_init()
/linux-4.1.27/drivers/acpi/acpica/
H A Duteval.c194 * device_node - Node for the device
208 struct acpi_namespace_node *device_node, acpi_ut_evaluate_numeric_object()
216 status = acpi_ut_evaluate_object(device_node, object_name, acpi_ut_evaluate_numeric_object()
236 * PARAMETERS: device_node - Node for the device
250 acpi_ut_execute_STA(struct acpi_namespace_node *device_node, u32 * flags) acpi_ut_execute_STA() argument
257 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__STA, acpi_ut_execute_STA()
268 acpi_ut_get_node_name(device_node))); acpi_ut_execute_STA()
291 * PARAMETERS: device_node - Node for the device
306 acpi_ut_execute_power_methods(struct acpi_namespace_node *device_node, acpi_ut_execute_power_methods() argument
322 status = acpi_ut_evaluate_object(device_node, acpi_ut_execute_power_methods()
344 acpi_ut_get_node_name(device_node), acpi_ut_execute_power_methods()
207 acpi_ut_evaluate_numeric_object(char *object_name, struct acpi_namespace_node *device_node, u64 *value) acpi_ut_evaluate_numeric_object() argument
H A Dutids.c55 * PARAMETERS: device_node - Node for the device
69 acpi_ut_execute_HID(struct acpi_namespace_node *device_node, acpi_ut_execute_HID() argument
79 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__HID, acpi_ut_execute_HID()
132 * PARAMETERS: device_node - Node for the device
146 acpi_ut_execute_SUB(struct acpi_namespace_node *device_node, acpi_ut_execute_SUB() argument
156 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__SUB, acpi_ut_execute_SUB()
199 * PARAMETERS: device_node - Node for the device
214 acpi_ut_execute_UID(struct acpi_namespace_node *device_node, acpi_ut_execute_UID() argument
224 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__UID, acpi_ut_execute_UID()
277 * PARAMETERS: device_node - Node for the device
297 acpi_ut_execute_CID(struct acpi_namespace_node *device_node, acpi_ut_execute_CID() argument
315 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__CID, acpi_ut_execute_CID()
/linux-4.1.27/drivers/iommu/
H A Dof_iommu.c44 int of_get_dma_window(struct device_node *dn, const char *prefix, int index, of_get_dma_window()
100 struct device_node *np;
106 void of_iommu_set_ops(struct device_node *np, struct iommu_ops *ops) of_iommu_set_ops()
121 struct iommu_ops *of_iommu_get_ops(struct device_node *np) of_iommu_get_ops()
137 struct device_node *master_np) of_iommu_configure()
140 struct device_node *np; of_iommu_configure()
176 struct device_node *np; of_iommu_init()
/linux-4.1.27/arch/x86/kernel/
H A Ddevicetree.c71 struct device_node *pcibios_get_phb_of_node(struct pci_bus *bus) pcibios_get_phb_of_node()
73 struct device_node *np; pcibios_get_phb_of_node()
122 struct device_node *dn; dtb_setup_hpet()
141 struct device_node *dn; dtb_lapic_setup()
200 struct device_node *controller, ioapic_xlate()
233 static void __init dtb_add_ioapic(struct device_node *dn) dtb_add_ioapic()
254 struct device_node *dn; dtb_ioapic_setup()
/linux-4.1.27/drivers/mfd/
H A Dsyscon.c34 struct device_node *np;
45 static struct syscon *of_syscon_register(struct device_node *np) of_syscon_register()
95 struct regmap *syscon_node_to_regmap(struct device_node *np) syscon_node_to_regmap()
121 struct device_node *syscon_np; syscon_regmap_lookup_by_compatible()
156 struct regmap *syscon_regmap_lookup_by_phandle(struct device_node *np, syscon_regmap_lookup_by_phandle()
159 struct device_node *syscon_np; syscon_regmap_lookup_by_phandle()
/linux-4.1.27/drivers/clk/sunxi/
H A Dclk-usb.c95 static void __init sunxi_usb_clk_setup(struct device_node *node, sunxi_usb_clk_setup()
179 static void __init sun4i_a10_usb_setup(struct device_node *node) sun4i_a10_usb_setup()
190 static void __init sun5i_a13_usb_setup(struct device_node *node) sun5i_a13_usb_setup()
201 static void __init sun6i_a31_usb_setup(struct device_node *node) sun6i_a31_usb_setup()
215 static void __init sun9i_a80_usb_mod_setup(struct device_node *node) sun9i_a80_usb_mod_setup()
229 static void __init sun9i_a80_usb_phy_setup(struct device_node *node) sun9i_a80_usb_phy_setup()
H A Dclk-factors.h39 struct clk *sunxi_factors_register(struct device_node *node,
/linux-4.1.27/drivers/bus/
H A Dvexpress-config.c53 static void vexpress_config_find_prop(struct device_node *node, vexpress_config_find_prop()
69 int vexpress_config_get_topo(struct device_node *node, u32 *site, vexpress_config_get_topo()
162 const struct device_node *node = data; vexpress_config_node_match()
170 static int vexpress_config_populate(struct device_node *node) vexpress_config_populate()
172 struct device_node *bridge; vexpress_config_populate()
190 struct device_node *node; vexpress_config_init()
/linux-4.1.27/drivers/input/serio/
H A Di8042-sparcio.h55 struct device_node *dp = op->dev.of_node; sparc_i8042_probe()
110 struct device_node *root = of_find_node_by_path("/"); i8042_platform_init()
140 struct device_node *root = of_find_node_by_path("/"); i8042_platform_exit()
/linux-4.1.27/arch/powerpc/platforms/83xx/
H A Dmisc.c76 struct device_node *np; mpc83xx_ipic_init_IRQ()
98 struct device_node *np; mpc83xx_qe_init_IRQ()
137 struct device_node *np; mpc83xx_setup_pci()
/linux-4.1.27/drivers/media/platform/exynos4-is/
H A Dfimc-is-sensor.c28 struct device_node *node) fimc_is_sensor_get_drvdata()
H A Dfimc-is-sensor.h54 struct device_node *node);
/linux-4.1.27/arch/mips/bmips/
H A Dirq.c25 struct device_node *dn; arch_init_irq()
/linux-4.1.27/drivers/video/fbdev/
H A Dsbuslib.h15 struct device_node *dp, int bpp);
/linux-4.1.27/include/soc/tegra/
H A Dahb.h17 extern int tegra_ahb_enable_smmu(struct device_node *ahb);
/linux-4.1.27/include/linux/platform_data/
H A Dgpio-dwapb.h18 struct device_node *node;
H A Dmtd-onenand-omap2.h32 struct device_node *of_node;
H A Dmtd-nand-omap2.h81 struct device_node *of_node;
82 struct device_node *elm_of_node;
/linux-4.1.27/arch/powerpc/kernel/
H A Dprom_parse.c10 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window, of_parse_dma_window()
H A Dlegacy_serial.c31 struct device_node *np;
72 static int __init add_legacy_port(struct device_node *np, int want_index, add_legacy_port()
161 static int __init add_legacy_soc_port(struct device_node *np, add_legacy_soc_port()
162 struct device_node *soc_dev) add_legacy_soc_port()
166 struct device_node *tsi = of_get_parent(np); add_legacy_soc_port()
202 static int __init add_legacy_isa_port(struct device_node *np, add_legacy_isa_port()
203 struct device_node *isa_brg) add_legacy_isa_port()
250 static int __init add_legacy_pci_port(struct device_node *np, add_legacy_pci_port()
251 struct device_node *pci_dev) add_legacy_pci_port()
365 struct device_node *np, *stdout = NULL; find_legacy_serial_ports()
383 struct device_node *parent = of_get_parent(np); find_legacy_serial_ports()
398 struct device_node *isa = of_get_parent(np); find_legacy_serial_ports()
413 struct device_node *pci, *parent = of_get_parent(np); find_legacy_serial_ports()
457 struct device_node *np, fixup_port_irq()
484 struct device_node *np, fixup_port_pio()
508 struct device_node *np, fixup_port_mmio()
544 struct device_node *np = legacy_serial_infos[i].np; serial_dev_init()
571 struct device_node *prom_stdout = NULL; check_legacy_serial_console()
H A Drtas_pci.c94 struct device_node *busdn, *dn; rtas_pci_read_config()
156 struct device_node *busdn, *dn; rtas_pci_write_config()
182 static int is_python(struct device_node *dev) is_python()
192 static void python_countermeasures(struct device_node *dev) python_countermeasures()
237 unsigned long get_phb_buid(struct device_node *phb) get_phb_buid()
248 static int phb_set_bus_ranges(struct device_node *dev, phb_set_bus_ranges()
267 struct device_node *dev = phb->dn; rtas_setup_phb()
H A Dpci_of_scan.c25 static u32 get_int_prop(struct device_node *np, const char *name, u32 def) get_int_prop()
74 static void of_pci_parse_addrs(struct device_node *node, struct pci_dev *dev) of_pci_parse_addrs()
124 struct pci_dev *of_create_pci_dev(struct device_node *node, of_create_pci_dev()
208 struct device_node *node = dev->dev.of_node; of_scan_pci_bridge()
305 struct device_node *dn) of_scan_pci_dev()
351 static void __of_scan_bus(struct device_node *node, struct pci_bus *bus, __of_scan_bus()
354 struct device_node *child; __of_scan_bus()
388 void of_scan_bus(struct device_node *node, struct pci_bus *bus) of_scan_bus()
402 void of_rescan_bus(struct device_node *node, struct pci_bus *bus) of_rescan_bus()
/linux-4.1.27/arch/arm64/include/asm/
H A Dcpu_ops.h22 struct device_node;
51 int (*cpu_init)(struct device_node *, unsigned int);
61 int (*cpu_init_idle)(struct device_node *, unsigned int);
67 int __init cpu_read_ops(struct device_node *dn, int cpu);
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dpm-rmobile.c231 struct device_node *pd;
245 static void __init add_special_pd(struct device_node *np, enum pd_types type) add_special_pd()
248 struct device_node *pd; add_special_pd()
276 struct device_node *np; get_special_pds()
300 static enum pd_types __init pd_type(const struct device_node *pd) pd_type()
311 static void __init rmobile_setup_pm_domain(struct device_node *np, rmobile_setup_pm_domain()
362 struct device_node *parent, rmobile_add_pm_domains()
365 struct device_node *np; rmobile_add_pm_domains()
395 struct device_node *np, *pmd; rmobile_init_pm_domains()
/linux-4.1.27/arch/arm/mach-ux500/
H A Dtimer.c28 struct device_node *np; ux500_timer_init()
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dfeature.c59 extern struct device_node *k2_skiplist[2];
76 struct macio_chip *macio_find(struct device_node *child, int type) macio_find()
108 struct device_node *uninorth_node;
120 typedef long (*feature_call)(struct device_node *node, long param, long value);
141 static inline int simple_feature_tweak(struct device_node *node, int type, simple_feature_tweak()
163 static long ohare_htw_scc_enable(struct device_node *node, long param, ohare_htw_scc_enable()
256 static long ohare_floppy_enable(struct device_node *node, long param, ohare_floppy_enable()
263 static long ohare_mesh_enable(struct device_node *node, long param, long value) ohare_mesh_enable()
269 static long ohare_ide_enable(struct device_node *node, long param, long value) ohare_ide_enable()
289 static long ohare_ide_reset(struct device_node *node, long param, long value) ohare_ide_reset()
303 static long ohare_sleep_state(struct device_node *node, long param, long value) ohare_sleep_state()
318 static long heathrow_modem_enable(struct device_node *node, long param, heathrow_modem_enable()
362 static long heathrow_floppy_enable(struct device_node *node, long param, heathrow_floppy_enable()
371 static long heathrow_mesh_enable(struct device_node *node, long param, heathrow_mesh_enable()
400 static long heathrow_ide_enable(struct device_node *node, long param, heathrow_ide_enable()
415 static long heathrow_ide_reset(struct device_node *node, long param, heathrow_ide_reset()
430 static long heathrow_bmac_enable(struct device_node *node, long param, heathrow_bmac_enable()
459 static long heathrow_sound_enable(struct device_node *node, long param, heathrow_sound_enable()
586 static long heathrow_sleep_state(struct device_node *node, long param, heathrow_sleep_state()
603 static long core99_scc_enable(struct device_node *node, long param, long value) core99_scc_enable()
704 core99_modem_enable(struct device_node *node, long param, long value) core99_modem_enable()
756 pangea_modem_enable(struct device_node *node, long param, long value) pangea_modem_enable()
811 core99_ata100_enable(struct device_node *node, long value) core99_ata100_enable()
846 core99_ide_enable(struct device_node *node, long param, long value) core99_ide_enable()
869 core99_ide_reset(struct device_node *node, long param, long value) core99_ide_reset()
887 core99_gmac_enable(struct device_node *node, long param, long value) core99_gmac_enable()
904 core99_gmac_phy_reset(struct device_node *node, long param, long value) core99_gmac_phy_reset()
929 core99_sound_chip_enable(struct device_node *node, long param, long value) core99_sound_chip_enable()
959 core99_airport_enable(struct device_node *node, long param, long value) core99_airport_enable()
1046 core99_reset_cpu(struct device_node *node, long param, long value) core99_reset_cpu()
1051 struct device_node *np; core99_reset_cpu()
1052 struct device_node *cpus; core99_reset_cpu()
1092 core99_usb_enable(struct device_node *node, long param, long value) core99_usb_enable()
1245 core99_firewire_enable(struct device_node *node, long param, long value) core99_firewire_enable()
1272 core99_firewire_cable_power(struct device_node *node, long param, long value) core99_firewire_cable_power()
1303 intrepid_aack_delay_enable(struct device_node *node, long param, long value) intrepid_aack_delay_enable()
1324 core99_read_gpio(struct device_node *node, long param, long value) core99_read_gpio()
1333 core99_write_gpio(struct device_node *node, long param, long value) core99_write_gpio()
1342 static long g5_gmac_enable(struct device_node *node, long param, long value) g5_gmac_enable()
1367 static long g5_fw_enable(struct device_node *node, long param, long value) g5_fw_enable()
1392 static long g5_mpic_enable(struct device_node *node, long param, long value) g5_mpic_enable()
1395 struct device_node *parent = of_get_parent(node); g5_mpic_enable()
1413 static long g5_eth_phy_reset(struct device_node *node, long param, long value) g5_eth_phy_reset()
1416 struct device_node *phy; g5_eth_phy_reset()
1443 static long g5_i2s_enable(struct device_node *node, long param, long value) g5_i2s_enable()
1501 static long g5_reset_cpu(struct device_node *node, long param, long value) g5_reset_cpu()
1506 struct device_node *np; g5_reset_cpu()
1507 struct device_node *cpus; g5_reset_cpu()
1837 core99_sleep_state(struct device_node *node, long param, long value) core99_sleep_state()
1870 generic_dev_can_wake(struct device_node *node, long param, long value) generic_dev_can_wake()
1881 static long generic_get_mb_info(struct device_node *node, long param, long value) generic_get_mb_info()
2384 struct device_node *node; pmac_do_feature_call()
2406 node = (struct device_node*)va_arg(args, void*); pmac_do_feature_call()
2419 struct device_node *dt; probe_motherboard()
2519 struct device_node *cpus = of_find_node_by_path("/cpus"); probe_motherboard()
2520 struct device_node *np; probe_motherboard()
2637 struct device_node* node; probe_one_macio()
2736 initial_serial_shutdown(struct device_node *np) initial_serial_shutdown()
2767 struct device_node *np; set_initial_features()
2939 struct device_node *pcix_node;
/linux-4.1.27/sound/soc/sh/rcar/
H A Drsrc-card.c175 struct device_node *np, rsrc_card_sub_parse_of()
183 struct device_node **p_node; rsrc_card_sub_parse_of()
267 static int rsrc_card_parse_daifmt(struct device_node *node, rsrc_card_parse_daifmt()
269 struct device_node *codec, rsrc_card_parse_daifmt()
272 struct device_node *bitclkmaster = NULL; rsrc_card_parse_daifmt()
273 struct device_node *framemaster = NULL; rsrc_card_parse_daifmt()
302 static int rsrc_card_dai_link_of(struct device_node *node, rsrc_card_dai_link_of()
309 struct device_node *cpu = NULL; rsrc_card_dai_link_of()
310 struct device_node *codec = NULL; rsrc_card_dai_link_of()
398 static int rsrc_card_parse_of(struct device_node *node, rsrc_card_parse_of()
455 struct device_node *np = pdev->dev.of_node; rsrc_card_probe()
/linux-4.1.27/drivers/gpu/drm/armada/
H A Darmada_crtc.h78 struct device_node;
81 struct device_node *);
/linux-4.1.27/arch/powerpc/platforms/82xx/
H A Dpq2.c47 static void __init pq2_pci_add_bridge(struct device_node *np) pq2_pci_add_bridge()
74 struct device_node *np; pq2_init_pci()
/linux-4.1.27/arch/powerpc/platforms/86xx/
H A Dpic.c35 struct device_node *np; mpc86xx_init_irq()
36 struct device_node *cascade_node = NULL; mpc86xx_init_irq()
/linux-4.1.27/arch/arm/mach-vexpress/
H A Dplatsmp.c34 struct device_node *node; vexpress_smp_init_ops()
52 struct device_node *scu = of_find_matching_node(NULL, vexpress_smp_dt_prepare_cpus()
/linux-4.1.27/arch/arm/mach-axxia/
H A Dplatsmp.c36 struct device_node *syscon_np; axxia_boot_secondary()
66 struct device_node *np; for_each_possible_cpu()
/linux-4.1.27/arch/arm/mach-davinci/include/mach/
H A Dcp_intc.h55 int cp_intc_of_init(struct device_node *, struct device_node *);
/linux-4.1.27/arch/arm/mach-mvebu/
H A Dcpu-reset.c42 static int mvebu_cpu_reset_map(struct device_node *np, int res_idx) mvebu_cpu_reset_map()
71 struct device_node *np; mvebu_cpu_reset_init()
/linux-4.1.27/drivers/sbus/char/
H A Dopenprom.c58 struct device_node *current_node; /* Current node for SunOS ioctls. */
59 struct device_node *lastnode; /* Last valid node used by BSD ioctls. */
64 static struct device_node *options_node;
143 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize) opromgetprop()
160 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize) opromnxtprop()
190 static int opromsetopt(struct device_node *dp, struct openpromio *op, int bufsize) opromsetopt()
198 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) opromnext()
245 static int oprompci2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) oprompci2node()
252 struct device_node *dp; oprompci2node()
270 static int oprompath2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) oprompath2node()
303 struct device_node *dp) openprom_sunos_ioctl()
375 static struct device_node *get_node(phandle n, DATA *data) get_node()
377 struct device_node *dp = of_find_node_by_phandle(n); get_node()
415 struct device_node *dp; opiocget()
447 struct device_node *dp; opiocnextprop()
493 struct device_node *dp; opiocset()
524 struct device_node *dp; opiocgetnext()
732 struct device_node *dp; openprom_init()
/linux-4.1.27/arch/arm64/kernel/
H A Dtopology.c26 static int __init get_cpu_for_node(struct device_node *node) get_cpu_for_node()
28 struct device_node *cpu_node; get_cpu_for_node()
48 static int __init parse_core(struct device_node *core, int cluster_id, parse_core()
55 struct device_node *t; parse_core()
96 static int __init parse_cluster(struct device_node *cluster, int depth) parse_cluster()
101 struct device_node *c; parse_cluster()
166 struct device_node *cn, *map; parse_dt_topology()
/linux-4.1.27/drivers/clk/shmobile/
H A Dclk-emev2.c52 struct device_node *np; emev2_smu_init()
71 static void __init emev2_smu_clkdiv_init(struct device_node *np) emev2_smu_clkdiv_init()
89 static void __init emev2_smu_gclk_init(struct device_node *np) emev2_smu_gclk_init()
/linux-4.1.27/drivers/clk/samsung/
H A Dclk-exynos-clkout.c57 static void __init exynos_clkout_init(struct device_node *node, u32 mux_mask) exynos_clkout_init()
135 static void __init exynos4_clkout_init(struct device_node *node) exynos4_clkout_init()
148 static void __init exynos5_clkout_init(struct device_node *node) exynos5_clkout_init()
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Drng.c85 struct device_node *dn) rng_init_per_cpu()
101 static __init int rng_create(struct device_node *dn) rng_create()
138 struct device_node *dn; rng_init()
/linux-4.1.27/arch/mips/kernel/
H A Dirq_cpu.c145 static void __init __mips_cpu_irq_init(struct device_node *of_node) __mips_cpu_irq_init()
164 int __init mips_cpu_irq_of_init(struct device_node *of_node, mips_cpu_irq_of_init()
165 struct device_node *parent) mips_cpu_irq_of_init()
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dcommon.h115 void __init s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f,
120 void __init s3c2412_common_clk_init(struct device_node *np, unsigned long xti_f,
124 void __init s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f,
/linux-4.1.27/sound/soc/ux500/
H A Dmop500.c72 struct device_node *np) mop500_of_probe()
74 struct device_node *codec_np, *msp_np[2]; mop500_of_probe()
103 struct device_node *np = pdev->dev.of_node; mop500_probe()
/linux-4.1.27/sound/soc/generic/
H A Dsimple-card.c198 asoc_simple_card_sub_parse_of(struct device_node *np, asoc_simple_card_sub_parse_of()
200 struct device_node **p_node, asoc_simple_card_sub_parse_of()
259 static int asoc_simple_card_parse_daifmt(struct device_node *node, asoc_simple_card_parse_daifmt()
261 struct device_node *codec, asoc_simple_card_parse_daifmt()
266 struct device_node *bitclkmaster = NULL; asoc_simple_card_parse_daifmt()
267 struct device_node *framemaster = NULL; asoc_simple_card_parse_daifmt()
301 static int asoc_simple_card_dai_link_of(struct device_node *node, asoc_simple_card_dai_link_of()
309 struct device_node *cpu = NULL; asoc_simple_card_dai_link_of()
310 struct device_node *codec = NULL; asoc_simple_card_dai_link_of()
402 static int asoc_simple_card_parse_of(struct device_node *node, asoc_simple_card_parse_of()
442 struct device_node *np = NULL; asoc_simple_card_parse_of()
499 struct device_node *np = pdev->dev.of_node; asoc_simple_card_probe()
/linux-4.1.27/drivers/mtd/
H A Dofpart.c23 static bool node_has_compatible(struct device_node *pp) node_has_compatible()
32 struct device_node *node; parse_ofpart_partitions()
34 struct device_node *pp; parse_ofpart_partitions()
116 struct device_node *dp; parse_ofoldpart_partitions()

Completed in 4833 milliseconds

1234567891011