Home
last modified time | relevance | path

Searched refs:device_node (Results 1 – 25 of 151) sorted by relevance

1234567

/include/linux/
Dof_graph.h26 const struct device_node *local_node;
41 bool of_graph_is_present(const struct device_node *node);
42 int of_graph_parse_endpoint(const struct device_node *node,
44 int of_graph_get_endpoint_count(const struct device_node *np);
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_endpoint_by_regs(
49 const struct device_node *parent, int port_reg, int reg);
50 struct device_node *of_graph_get_remote_endpoint(
[all …]
Dof.h51 struct device_node { struct
59 struct device_node *parent; argument
60 struct device_node *child; argument
61 struct device_node *sibling; argument
75 struct device_node *np; argument
84 const struct device_node *parent;
94 struct device_node *node;
98 struct device_node *dn;
106 static inline void of_node_init(struct device_node *node) in of_node_init()
121 extern struct device_node *of_node_get(struct device_node *node);
[all …]
Dof_irq.h12 typedef int (*of_irq_init_cb_t)(struct device_node *, struct device_node *);
22 extern struct device_node *of_irq_dflt_pic;
23 int of_irq_parse_oldworld(const struct device_node *device, int index,
28 static inline int of_irq_parse_oldworld(const struct device_node *device, int index, in of_irq_parse_oldworld()
37 extern int of_irq_to_resource(struct device_node *dev, int index,
42 extern int of_irq_parse_one(struct device_node *device, 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,
[all …]
Dof_mdio.h16 bool of_mdiobus_child_is_phy(struct device_node *child);
17 int __of_mdiobus_register(struct mii_bus *mdio, struct device_node *np,
21 struct device_node *np) in of_mdiobus_register()
27 struct device_node *np, struct module *owner);
31 struct device_node *np) in devm_of_mdiobus_register()
36 struct mdio_device *of_mdio_find_device(struct device_node *np);
37 struct phy_device *of_phy_find_device(struct device_node *phy_np);
39 of_phy_connect(struct net_device *dev, struct device_node *phy_np,
43 of_phy_get_and_connect(struct net_device *dev, struct device_node *np,
46 struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np);
[all …]
Dof_address.h12 struct device_node *node;
39 extern u64 of_translate_dma_address(struct device_node *dev,
41 extern const __be32 *of_translate_dma_region(struct device_node *dev, const __be32 *addr,
45 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
46 extern int of_address_to_resource(struct device_node *dev, int index,
48 extern void __iomem *of_iomap(struct device_node *device, int index);
49 void __iomem *of_io_request_and_map(struct device_node *device,
56 extern const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no,
60 struct device_node *node);
62 struct device_node *node);
[all …]
Dof_net.h15 extern int of_get_phy_mode(struct device_node *np, phy_interface_t *interface);
16 extern int of_get_mac_address(struct device_node *np, u8 *mac);
17 int of_get_ethdev_address(struct device_node *np, struct net_device *dev);
18 extern struct net_device *of_find_net_device_by_node(struct device_node *np);
20 static inline int of_get_phy_mode(struct device_node *np, in of_get_phy_mode()
26 static inline int of_get_mac_address(struct device_node *np, u8 *mac) in of_get_mac_address()
31 static inline int of_get_ethdev_address(struct device_node *np, struct net_device *dev) in of_get_ethdev_address()
36 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) in of_find_net_device_by_node()
Dof_pci.h9 struct device_node;
12 struct device_node *of_pci_find_child_device(struct device_node *parent,
14 int of_pci_get_devfn(struct device_node *np);
17 static inline struct device_node *of_pci_find_child_device(struct device_node *parent, in of_pci_find_child_device()
23 static inline int of_pci_get_devfn(struct device_node *np) in of_pci_get_devfn()
Dof_dma.h16 struct device_node;
20 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);
41 extern int of_dma_router_register(struct device_node *np,
47 extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
55 static inline int of_dma_controller_register(struct device_node *np, in of_dma_controller_register()
63 static inline void of_dma_controller_free(struct device_node *np) in of_dma_controller_free()
67 static inline int of_dma_router_register(struct device_node *np, in of_dma_router_register()
77 static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel()
Dof_gpio.h18 struct device_node;
53 extern int of_get_named_gpio_flags(const struct device_node *np,
56 extern int of_mm_gpiochip_add_data(struct device_node *np,
59 static inline int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add()
71 static inline int of_get_named_gpio_flags(const struct device_node *np, in of_get_named_gpio_flags()
102 static inline int of_gpio_named_count(const struct device_node *np, in of_gpio_named_count()
114 static inline int of_gpio_count(const struct device_node *np) in of_gpio_count()
119 static inline int of_get_gpio_flags(const struct device_node *np, int index, in of_get_gpio_flags()
134 static inline int of_get_named_gpio(const struct device_node *np, in of_get_named_gpio()
148 static inline int of_get_gpio(const struct device_node *np, int index) in of_get_gpio()
Dof_clk.h9 struct device_node;
14 unsigned int of_clk_get_parent_count(const struct device_node *np);
15 const char *of_clk_get_parent_name(const struct device_node *np, int index);
20 static inline unsigned int of_clk_get_parent_count(const struct device_node *np) in of_clk_get_parent_count()
24 static inline const char *of_clk_get_parent_name(const struct device_node *np, in of_clk_get_parent_name()
Dof_platform.h52 extern struct platform_device *of_device_alloc(struct device_node *np,
56 extern struct platform_device *of_find_device_by_node(struct device_node *np);
58 static inline struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node()
64 extern int of_platform_bus_probe(struct device_node *root,
70 extern struct platform_device *of_platform_device_create(struct device_node *np,
76 extern int of_platform_populate(struct device_node *root,
80 extern int of_platform_default_populate(struct device_node *root,
90 static inline struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create()
101 static inline int of_platform_populate(struct device_node *root, in of_platform_populate()
108 static inline int of_platform_default_populate(struct device_node *root, in of_platform_default_populate()
Darm-cci.h16 struct device_node;
25 extern int cci_ace_get_port(struct device_node *dn);
27 extern int __cci_control_port_by_device(struct device_node *dn, bool enable);
30 static inline int cci_ace_get_port(struct device_node *dn) in cci_ace_get_port()
35 static inline int __cci_control_port_by_device(struct device_node *dn, in __cci_control_port_by_device()
Dof_reserved_mem.h36 struct device_node *np, int idx);
38 struct device_node *np,
42 struct reserved_mem *of_reserved_mem_lookup(struct device_node *np);
49 struct device_node *np, int idx) in of_reserved_mem_device_init_by_idx()
55 struct device_node *np, in of_reserved_mem_device_init_by_name()
63 static inline struct reserved_mem *of_reserved_mem_lookup(struct device_node *np) in of_reserved_mem_lookup()
Dof_iommu.h6 struct device_node;
12 struct device_node *master_np,
21 struct device_node *master_np, in of_iommu_configure()
Dof_device.h41 static inline struct device_node *of_cpu_device_node_get(int cpu) in of_cpu_device_node_get()
51 struct device_node *np,
54 struct device_node *np, in of_dma_configure()
98 static inline struct device_node *of_cpu_device_node_get(int cpu) in of_cpu_device_node_get()
104 struct device_node *np, in of_dma_configure_id()
111 struct device_node *np, in of_dma_configure()
Ddevfreq_cooling.h45 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df,
48 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df);
58 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, in of_devfreq_cooling_register_power()
65 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df) in of_devfreq_cooling_register()
/include/drm/
Ddrm_of.h17 struct device_node;
33 struct device_node *port);
35 struct device_node *port);
39 struct device_node *node);
43 int drm_of_encoder_active_endpoint(struct device_node *node,
46 int drm_of_find_panel_or_bridge(const struct device_node *np,
50 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1,
51 const struct device_node *port2);
52 int drm_of_lvds_get_data_mapping(const struct device_node *port);
53 int drm_of_get_data_lanes_count(const struct device_node *endpoint,
[all …]
/include/linux/mfd/
Dsyscon.h17 struct device_node;
20 extern struct regmap *device_node_to_regmap(struct device_node *np);
21 extern struct regmap *syscon_node_to_regmap(struct device_node *np);
24 struct device_node *np,
27 struct device_node *np,
32 struct device_node *np,
35 static inline struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap()
40 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap()
51 struct device_node *np, in syscon_regmap_lookup_by_phandle()
58 struct device_node *np, in syscon_regmap_lookup_by_phandle_args()
[all …]
Daltera-sysmgr.h15 struct device_node;
18 struct regmap *altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np,
22 altr_sysmgr_regmap_lookup_by_phandle(struct device_node *np, in altr_sysmgr_regmap_lookup_by_phandle()
/include/linux/usb/
Dof.h16 enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0);
17 bool of_usb_host_tpl_support(struct device_node *np);
18 int of_usb_update_otg_caps(struct device_node *np,
20 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1);
22 struct device_node *usb_of_get_interface_node(struct usb_device *udev,
27 of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0) in of_usb_get_dr_mode_by_phy()
31 static inline bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support()
35 static inline int of_usb_update_otg_caps(struct device_node *np, in of_usb_update_otg_caps()
40 static inline struct device_node *
49 static inline struct device_node *
[all …]
/include/linux/clk/
Dsamsung.h11 struct device_node;
14 void s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f,
18 static inline void s3c64xx_clk_init(struct device_node *np, in s3c64xx_clk_init()
25 void s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f,
29 static inline void s3c2410_common_clk_init(struct device_node *np, in s3c2410_common_clk_init()
36 void s3c2412_common_clk_init(struct device_node *np, unsigned long xti_f,
39 static inline void s3c2412_common_clk_init(struct device_node *np, in s3c2412_common_clk_init()
46 void s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f,
50 static inline void s3c2443_common_clk_init(struct device_node *np, in s3c2443_common_clk_init()
Dclk-conf.h12 struct device_node;
15 int of_clk_set_defaults(struct device_node *node, bool clk_supplier);
17 static inline int of_clk_set_defaults(struct device_node *node, in of_clk_set_defaults()
/include/video/
Dof_display_timing.h13 struct device_node;
20 int of_get_display_timing(const struct device_node *np, const char *name,
22 struct display_timings *of_get_display_timings(const struct device_node *np);
24 static inline int of_get_display_timing(const struct device_node *np, in of_get_display_timing()
30 of_get_display_timings(const struct device_node *np) in of_get_display_timings()
/include/linux/regulator/
Dof_regulator.h16 struct device_node *of_node;
23 struct device_node *node,
25 extern int of_regulator_match(struct device *dev, struct device_node *node,
31 struct device_node *node, in of_get_regulator_init_data()
38 struct device_node *node, in of_regulator_match()
/include/sound/
Dgraph_card.h13 struct device_node *lnk,
29 struct device_node *lnk, struct link_info *li);
31 struct device_node *lnk, struct link_info *li);
33 struct device_node *lnk, struct link_info *li);

1234567