Home
last modified time | relevance | path

Searched refs:device_node (Results 1 – 25 of 161) 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 unsigned 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.h48 struct device_node { struct
56 struct device_node *parent; argument
57 struct device_node *child; argument
58 struct device_node *sibling; argument
72 struct device_node *np; argument
81 const struct device_node *parent;
91 struct device_node *node;
95 struct device_node *dn;
113 static inline void of_node_init(struct device_node *node) in of_node_init()
128 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;
55 extern u64 of_translate_dma_address(struct device_node *dev,
57 extern const __be32 *of_translate_dma_region(struct device_node *dev, const __be32 *addr,
61 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
62 extern int of_address_to_resource(struct device_node *dev, int index,
64 extern void __iomem *of_iomap(struct device_node *device, int index);
65 void __iomem *of_io_request_and_map(struct device_node *device,
72 extern const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no,
75 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size);
78 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 extern int of_get_mac_address_nvmem(struct device_node *np, u8 *mac);
18 int of_get_ethdev_address(struct device_node *np, struct net_device *dev);
19 extern struct net_device *of_find_net_device_by_node(struct device_node *np);
21 static inline int of_get_phy_mode(struct device_node *np, in of_get_phy_mode()
27 static inline int of_get_mac_address(struct device_node *np, u8 *mac) in of_get_mac_address()
32 static inline int of_get_mac_address_nvmem(struct device_node *np, u8 *mac) in of_get_mac_address_nvmem()
37 static inline int of_get_ethdev_address(struct device_node *np, struct net_device *dev) in of_get_ethdev_address()
42 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_platform.h12 struct device_node;
53 extern struct platform_device *of_device_alloc(struct device_node *np,
62 extern struct platform_device *of_find_device_by_node(struct device_node *np);
64 static inline struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node()
70 extern int of_platform_bus_probe(struct device_node *root,
76 extern struct platform_device *of_platform_device_create(struct device_node *np,
82 extern int of_platform_populate(struct device_node *root,
86 extern int of_platform_default_populate(struct device_node *root,
96 static inline struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create()
107 static inline int of_platform_populate(struct device_node *root, in of_platform_populate()
[all …]
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()
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.h35 struct device_node *np, int idx);
37 struct device_node *np,
41 struct reserved_mem *of_reserved_mem_lookup(struct device_node *np);
48 struct device_node *np, int idx) in of_reserved_mem_device_init_by_idx()
54 struct device_node *np, in of_reserved_mem_device_init_by_name()
62 static inline struct reserved_mem *of_reserved_mem_lookup(struct device_node *np) in of_reserved_mem_lookup()
Dof_gpio.h18 struct device_node;
22 extern int of_get_named_gpio(const struct device_node *np,
30 static inline int of_get_named_gpio(const struct device_node *np, in of_get_named_gpio()
/include/drm/
Ddrm_of.h18 struct device_node;
36 struct device_node *port);
38 struct device_node *port);
42 struct device_node *node);
46 int drm_of_encoder_active_endpoint(struct device_node *node,
49 int drm_of_find_panel_or_bridge(const struct device_node *np,
53 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1,
54 const struct device_node *port2);
55 int drm_of_lvds_get_data_mapping(const struct device_node *port);
56 int drm_of_get_data_lanes_count(const struct device_node *endpoint,
[all …]
/include/linux/mfd/
Dsyscon.h17 struct device_node;
20 struct regmap *device_node_to_regmap(struct device_node *np);
21 struct regmap *syscon_node_to_regmap(struct device_node *np);
23 struct regmap *syscon_regmap_lookup_by_phandle(struct device_node *np,
25 struct regmap *syscon_regmap_lookup_by_phandle_args(struct device_node *np,
29 struct regmap *syscon_regmap_lookup_by_phandle_optional(struct device_node *np,
31 int of_syscon_register_regmap(struct device_node *np,
34 static inline struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap()
39 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap()
50 struct device_node *np, in syscon_regmap_lookup_by_phandle()
[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.h17 enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0);
18 bool of_usb_host_tpl_support(struct device_node *np);
19 int of_usb_update_otg_caps(struct device_node *np,
22 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1);
24 struct device_node *usb_of_get_interface_node(struct usb_device *udev,
29 of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0) in of_usb_get_dr_mode_by_phy()
33 static inline bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support()
37 static inline int of_usb_update_otg_caps(struct device_node *np, in of_usb_update_otg_caps()
47 static inline struct device_node *
56 static inline struct device_node *
[all …]
/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/linux/clk/
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()
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()
/include/soc/fsl/qe/
Dqmc.h15 struct device_node;
19 int qmc_chan_count_phandles(struct device_node *np, const char *phandles_name);
21 struct qmc_chan *qmc_chan_get_byphandles_index(struct device_node *np,
25 struct device_node *np,
29 static inline struct qmc_chan *qmc_chan_get_byphandle(struct device_node *np, in qmc_chan_get_byphandle()
36 struct device_node *np, in devm_qmc_chan_get_byphandle()
42 struct qmc_chan *qmc_chan_get_bychild(struct device_node *np);
45 struct qmc_chan *devm_qmc_chan_get_bychild(struct device *dev, struct device_node *np);
/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);
/include/drm/bridge/
Daux-bridge.h24 struct auxiliary_device *devm_drm_dp_hpd_bridge_alloc(struct device *parent, struct device_node *np…
27 struct device_node *np);
31 struct device_node *np) in devm_drm_dp_hpd_bridge_alloc()
42 struct device_node *np) in drm_dp_hpd_bridge_register()
/include/linux/soc/samsung/
Dexynos-pmu.h13 struct device_node;
25 struct regmap *exynos_get_pmu_regmap_by_phandle(struct device_node *np,
33 static inline struct regmap *exynos_get_pmu_regmap_by_phandle(struct device_node *np, in exynos_get_pmu_regmap_by_phandle()

1234567