Home
last modified time | relevance | path

Searched refs:device_node (Results 1 - 25 of 7073) sorted by relevance

12345678910>>...283

/kernel/linux/linux-5.10/include/linux/
H A Dof_graph.h21 * @local_node: pointer to device_node of this endpoint
26 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 *previou
[all...]
H A Dof.h51 struct device_node { struct
59 struct device_node *parent;
60 struct device_node *child;
61 struct device_node *sibling;
75 struct device_node *np;
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_ge
[all...]
H A 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 of_phy_attach(struct net_device *dev, struct device_node *phy_n
[all...]
H A Dof_address.h12 struct device_node *node;
39 extern u64 of_translate_dma_address(struct device_node *dev,
43 extern u64 of_translate_address(struct device_node *np, const __be32 *addr);
44 extern int of_address_to_resource(struct device_node *dev, int index,
46 extern void __iomem *of_iomap(struct device_node *device, int index);
47 void __iomem *of_io_request_and_map(struct device_node *device,
54 extern const __be32 *of_get_address(struct device_node *dev, int index,
58 struct device_node *node);
60 struct device_node *node);
64 extern bool of_dma_is_coherent(struct device_node *n
[all...]
H 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;
23 extern int of_irq_parse_oldworld(struct device_node *device, int index,
28 static inline int of_irq_parse_oldworld(struct device_node *device, int index, in of_irq_parse_oldworld()
36 extern int of_irq_parse_one(struct device_node *device, int index,
39 extern int of_irq_to_resource(struct device_node *dev, int index,
45 extern int of_irq_count(struct device_node *dev);
46 extern int of_irq_get(struct device_node *dev, int index);
47 extern int of_irq_get_byname(struct device_node *de
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dof_graph.h21 * @local_node: pointer to device_node of this endpoint
26 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 *previou
[all...]
H A Dof.h47 struct device_node { struct
55 struct device_node *parent;
56 struct device_node *child;
57 struct device_node *sibling;
71 struct device_node *np;
80 const struct device_node *parent;
90 struct device_node *node;
94 struct device_node *dn;
106 * On return the device_node refcount is set to one. Use of_node_put()
112 static inline void of_node_init(struct device_node *nod
[all...]
H A 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_n
[all...]
H A 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 *nod
[all...]
H 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;
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 *de
[all...]
H 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 *n
[all...]
/kernel/linux/linux-5.10/drivers/of/
H A Dof_private.h15 * @np: Pointer to device_node that the alias stands for
25 struct device_node *np;
43 extern int of_property_notify(int action, struct device_node *np,
53 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
61 int of_node_is_attached(struct device_node *node);
62 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
63 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
64 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
66 int __of_attach_node_sysfs(struct device_node *np);
67 void __of_detach_node_sysfs(struct device_node *n
[all...]
H A Dbase.c36 struct device_node *of_root;
38 struct device_node *of_chosen;
39 struct device_node *of_aliases;
40 struct device_node *of_stdout;
54 * or parent members of struct device_node.
58 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
73 bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
82 static bool __of_node_is_type(const struct device_node *np, const char *type) in __of_node_is_type()
89 int of_bus_n_addr_cells(struct device_node *np) in of_bus_n_addr_cells()
101 int of_n_addr_cells(struct device_node *n
[all...]
H A Dproperty.c34 * @node: pointer to device_node containing graph port
39 bool of_graph_is_present(const struct device_node *node) in of_graph_is_present()
41 struct device_node *ports, *port; in of_graph_is_present()
69 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
105 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size()
142 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
176 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index()
216 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array()
266 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array()
313 int of_property_read_variable_u32_array(const struct device_node *n
[all...]
/kernel/linux/linux-6.6/drivers/of/
H A Dof_private.h17 * @np: Pointer to device_node that the alias stands for
27 struct device_node *np;
46 extern int of_property_notify(int action, struct device_node *np,
56 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
70 int of_node_is_attached(const struct device_node *node);
71 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
72 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
73 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
75 int __of_attach_node_sysfs(struct device_node *np);
76 void __of_detach_node_sysfs(struct device_node *n
[all...]
H A Dbase.c35 struct device_node *of_root;
37 struct device_node *of_chosen;
39 struct device_node *of_aliases;
40 struct device_node *of_stdout;
54 * or parent members of struct device_node.
58 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
73 bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
82 static bool __of_node_is_type(const struct device_node *np, const char *type) in __of_node_is_type()
89 int of_bus_n_addr_cells(struct device_node *np) in of_bus_n_addr_cells()
101 int of_n_addr_cells(struct device_node *n
[all...]
H A Dproperty.c36 * @node: pointer to device_node containing graph port
41 bool of_graph_is_present(const struct device_node *node) in of_graph_is_present()
43 struct device_node *ports, *port; in of_graph_is_present()
71 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
107 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size()
144 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
178 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index()
218 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array()
268 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array()
315 int of_property_read_variable_u32_array(const struct device_node *n
[all...]
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_of.h17 struct device_node;
35 struct device_node *port);
37 struct device_node *port);
41 struct device_node *node);
45 int drm_of_encoder_active_endpoint(struct device_node *node,
48 int drm_of_find_panel_or_bridge(const struct device_node *np,
52 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1,
53 const struct device_node *port2);
54 int drm_of_lvds_get_data_mapping(const struct device_node *port);
55 int drm_of_get_data_lanes_count(const struct device_node *endpoin
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddss-of.c18 struct device_node *
19 omapdss_of_get_next_port(const struct device_node *parent, in omapdss_of_get_next_port()
20 struct device_node *prev) in omapdss_of_get_next_port()
22 struct device_node *port = NULL; in omapdss_of_get_next_port()
28 struct device_node *ports; in omapdss_of_get_next_port()
42 struct device_node *ports; in omapdss_of_get_next_port()
64 struct device_node *
65 omapdss_of_get_next_endpoint(const struct device_node *parent, in omapdss_of_get_next_endpoint()
66 struct device_node *prev) in omapdss_of_get_next_endpoint()
68 struct device_node *e in omapdss_of_get_next_endpoint()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddss-of.c18 struct device_node *
19 omapdss_of_get_next_port(const struct device_node *parent, in omapdss_of_get_next_port()
20 struct device_node *prev) in omapdss_of_get_next_port()
22 struct device_node *port = NULL; in omapdss_of_get_next_port()
28 struct device_node *ports; in omapdss_of_get_next_port()
42 struct device_node *ports; in omapdss_of_get_next_port()
64 struct device_node *
65 omapdss_of_get_next_endpoint(const struct device_node *parent, in omapdss_of_get_next_endpoint()
66 struct device_node *prev) in omapdss_of_get_next_endpoint()
68 struct device_node *e in omapdss_of_get_next_endpoint()
[all...]
/kernel/linux/linux-5.10/include/drm/
H A 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);
54 struct device_node *port) in drm_of_crtc_port_mask()
60 struct device_node *por in drm_of_find_possible_crtcs()
[all...]
/kernel/linux/linux-5.10/include/linux/usb/
H A Dof.h18 enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0);
19 bool of_usb_host_tpl_support(struct device_node *np);
20 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()
42 static inline struct device_node *
51 static inline struct device_node *
[all...]
/kernel/linux/linux-6.6/include/linux/usb/
H A 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...]
/kernel/linux/linux-6.6/include/linux/mfd/
H A 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 *n in syscon_regmap_lookup_by_phandle_args()
[all...]
/kernel/linux/linux-6.6/sound/soc/generic/
H A Daudio-graph-card.c70 struct device_node *ep, in graph_parse_convert()
73 struct device_node *top = dev->of_node; in graph_parse_convert()
74 struct device_node *port = of_get_parent(ep); in graph_parse_convert()
75 struct device_node *ports = of_get_parent(port); in graph_parse_convert()
76 struct device_node *node = of_graph_get_port_parent(ep); in graph_parse_convert()
89 static void graph_parse_mclk_fs(struct device_node *top, in graph_parse_mclk_fs()
90 struct device_node *ep, in graph_parse_mclk_fs()
93 struct device_node *port = of_get_parent(ep); in graph_parse_mclk_fs()
94 struct device_node *ports = of_get_parent(port); in graph_parse_mclk_fs()
107 struct device_node *e in graph_parse_node()
[all...]

Completed in 15 milliseconds

12345678910>>...283