Home
last modified time | relevance | path

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

1234567

/include/linux/
A Dof_graph.h50 for (struct device_node *child __free(device_node) = of_graph_get_next_port(parent, NULL);\
62 …for (struct device_node *child __free(device_node) = of_graph_get_next_port_endpoint(parent, NULL)…
71 struct device_node *of_graph_get_port_by_id(struct device_node *node, u32 id);
72 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent,
74 struct device_node *of_graph_get_next_port(const struct device_node *parent,
75 struct device_node *port);
76 struct device_node *of_graph_get_next_port_endpoint(const struct device_node *port,
82 struct device_node *of_graph_get_port_parent(struct device_node *node);
85 struct device_node *of_graph_get_remote_port(const struct device_node *node);
86 struct device_node *of_graph_get_remote_node(const struct device_node *node,
[all …]
A Dof.h48 struct device_node { struct
128 extern struct device_node *of_node_get(struct device_node *node);
132 static inline struct device_node *of_node_get(struct device_node *node) in of_node_get()
296 const struct device_node *node, struct device_node *prev);
298 const struct device_node *node, struct device_node *prev);
548 const struct device_node *node, struct device_node *prev) in of_get_next_child()
554 const struct device_node *node, struct device_node *prev) in of_get_next_available_child()
560 const struct device_node *node, struct device_node *prev) in of_get_next_reserved_child()
1471 for (struct device_node *child __free(device_node) = \
1477 for (struct device_node *child __free(device_node) = \
[all …]
A 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;
37 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);
47 extern int of_irq_to_resource_table(struct device_node *dev,
49 extern struct device_node *of_irq_find_parent(struct device_node *child);
51 const struct device_node *np,
68 static inline int of_irq_count(struct device_node *dev) in of_irq_count()
91 struct device_node *np, in of_msi_get_domain()
[all …]
A Dof_mdio.h16 bool of_mdiobus_child_is_phy(struct device_node *child);
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()
49 bool of_phy_is_fixed_link(struct device_node *np);
51 struct device_node *child, u32 addr);
54 const struct device_node *np) in of_mdio_parse_addr()
93 struct device_node *np) in devm_of_mdiobus_register()
109 struct device_node *phy_np, in of_phy_connect()
129 const struct device_node *np) in of_mdio_parse_addr()
[all …]
A Dof_address.h12 struct device_node *node;
56 extern u64 of_translate_dma_address(struct device_node *dev,
79 struct device_node *node);
81 struct device_node *node);
88 const struct device_node *np,
92 extern bool of_dma_is_coherent(struct device_node *np);
118 struct device_node *node) in of_pci_range_parser_init()
124 struct device_node *node) in of_pci_dma_range_parser_init()
143 struct device_node *np, in of_pci_range_to_resource()
164 void __iomem *of_iomap(struct device_node *node, int index);
[all …]
A 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()
A 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()
A 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);
43 int of_reserved_mem_region_to_resource(const struct device_node *np,
45 int of_reserved_mem_region_to_resource_byname(const struct device_node *np,
47 int of_reserved_mem_region_count(const struct device_node *np);
55 struct device_node *np, int idx) in of_reserved_mem_device_init_by_idx()
61 struct device_node *np, in of_reserved_mem_device_init_by_name()
69 static inline struct reserved_mem *of_reserved_mem_lookup(struct device_node *np) in of_reserved_mem_lookup()
74 static inline int of_reserved_mem_region_to_resource(const struct device_node *np, in of_reserved_mem_region_to_resource()
[all …]
A 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()
A Dof_platform.h12 struct device_node;
51 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);
62 static inline struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node()
68 extern int of_platform_bus_probe(struct device_node *root,
74 extern struct platform_device *of_platform_device_create(struct device_node *np,
80 extern int of_platform_populate(struct device_node *root,
84 extern int of_platform_default_populate(struct device_node *root,
94 static inline struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create()
105 static inline int of_platform_populate(struct device_node *root, in of_platform_populate()
[all …]
A 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()
A 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()
A 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/
A Ddrm_of.h18 struct device_node;
36 struct device_node *port);
38 struct device_node *port);
42 struct device_node *node);
54 const struct device_node *port2);
56 struct device_node *port2);
66 struct device_node *port) in drm_of_crtc_port_mask()
72 struct device_node *port) in drm_of_find_possible_crtcs()
81 struct device_node *node) in drm_of_component_match_add()
116 struct device_node *port2) in drm_of_lvds_get_dual_link_pixel_order_sink()
[all …]
/include/linux/mfd/
A 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,
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()
50 struct device_node *np, in syscon_regmap_lookup_by_phandle()
57 struct device_node *np, in syscon_regmap_lookup_by_phandle_args()
66 struct device_node *np, in syscon_regmap_lookup_by_phandle_optional()
[all …]
A 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/
A 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/
A 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/
A 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/soc/fsl/qe/
A 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/linux/clk/
A 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()
A 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/sound/
A 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/
A 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/pinctrl/
A Dpinconf-generic.h18 struct device_node;
198 struct device_node *np, struct pinctrl_map **map,
202 struct device_node *np_config, struct pinctrl_map **map,
208 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map_group()
216 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map_pin()
224 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map_all()
236 struct device_node *np,

Completed in 36 milliseconds

1234567