/linux/include/linux/ |
A D | of.h | 51 struct device_node { struct 75 struct device_node *np; argument 121 extern struct device_node *of_node_get(struct device_node *node); 125 static inline struct device_node *of_node_get(struct device_node *node) in of_node_get() 226 extern struct device_node *__of_find_all_nodes(struct device_node *prev); 227 extern struct device_node *of_find_all_nodes(struct device_node *prev); 267 extern struct device_node *of_find_node_by_name(struct device_node *from, 287 extern struct device_node *of_get_next_parent(struct device_node *node); 291 const struct device_node *node, struct device_node *prev); 657 const struct device_node *node, struct device_node *prev) in of_get_next_child() [all …]
|
A D | of_graph.h | 26 const struct device_node *local_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); 51 const struct device_node *node); 52 struct device_node *of_graph_get_port_parent(struct device_node *node); 55 struct device_node *of_graph_get_remote_port(const struct device_node *node); 56 struct device_node *of_graph_get_remote_node(const struct device_node *node, 84 struct device_node *previous) in of_graph_get_next_endpoint() 96 const struct device_node *node) in of_graph_get_remote_endpoint() [all …]
|
A D | of_irq.h | 12 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, 45 extern int of_irq_count(struct device_node *dev); 46 extern int of_irq_get(struct device_node *dev, int index); 48 extern int of_irq_to_resource_table(struct device_node *dev, 50 extern struct device_node *of_irq_find_parent(struct device_node *child); 52 struct device_node *np, 65 static inline int of_irq_count(struct device_node *dev) in of_irq_count() 88 struct device_node *np, in of_msi_get_domain() [all …]
|
A D | of_mdio.h | 16 bool of_mdiobus_child_is_phy(struct device_node *child); 19 struct device_node *np); 31 int of_phy_register_fixed_link(struct device_node *np); 32 void of_phy_deregister_fixed_link(struct device_node *np); 33 bool of_phy_is_fixed_link(struct device_node *np); 35 struct device_node *child, u32 addr); 38 const struct device_node *np) in of_mdio_parse_addr() 77 struct device_node *np) in devm_of_mdiobus_register() 93 struct device_node *phy_np, in of_phy_connect() 113 const struct device_node *np) in of_mdio_parse_addr() [all …]
|
A D | of_address.h | 12 struct device_node *node; 39 extern u64 of_translate_dma_address(struct device_node *dev, 47 void __iomem *of_io_request_and_map(struct device_node *device, 58 struct device_node *node); 60 struct device_node *node); 67 struct device_node *np, 69 extern bool of_dma_is_coherent(struct device_node *np); 90 struct device_node *node) in of_pci_range_parser_init() 96 struct device_node *node) in of_pci_dma_range_parser_init() 115 struct device_node *np, in of_pci_range_to_resource() [all …]
|
A D | of_dma.h | 16 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 D | of_gpio.h | 18 struct device_node; 52 extern int of_get_named_gpio_flags(const struct device_node *np, 55 extern int of_mm_gpiochip_add_data(struct device_node *np, 58 static inline int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add() 70 static inline int of_get_named_gpio_flags(const struct device_node *np, in of_get_named_gpio_flags() 101 static inline int of_gpio_named_count(const struct device_node *np, in of_gpio_named_count() 113 static inline int of_gpio_count(const struct device_node *np) in of_gpio_count() 118 static inline int of_get_gpio_flags(const struct device_node *np, int index, in of_get_gpio_flags() 133 static inline int of_get_named_gpio(const struct device_node *np, in of_get_named_gpio() 147 static inline int of_get_gpio(const struct device_node *np, int index) in of_get_gpio()
|
A D | of_net.h | 15 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()
|
/linux/drivers/of/ |
A D | of_private.h | 27 struct device_node *np; 68 int __of_attach_node_sysfs(struct device_node *np); 69 void __of_detach_node_sysfs(struct device_node *np); 86 int of_resolve_phandles(struct device_node *tree); 106 struct device_node *dad, 107 struct device_node **mynodes, 119 struct device_node *__of_node_dup(const struct device_node *np, 122 struct device_node *__of_find_node_by_path(struct device_node *parent, 124 struct device_node *__of_find_node_by_full_path(struct device_node *node, 134 extern void __of_detach_node(struct device_node *np); [all …]
|
A D | base.c | 226 struct device_node *__of_find_all_nodes(struct device_node *prev) in __of_find_all_nodes() 251 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes() 456 struct device_node *of_get_cpu_state_node(struct device_node *cpu_node, in of_get_cpu_state_node() 683 struct device_node *of_get_parent(const struct device_node *node) in of_get_parent() 709 struct device_node *of_get_next_parent(struct device_node *node) in of_get_next_parent() 751 struct device_node *of_get_next_child(const struct device_node *node, in of_get_next_child() 803 struct device_node *of_get_next_cpu_node(struct device_node *prev) in of_get_next_cpu_node() 992 struct device_node *of_find_node_by_name(struct device_node *from, in of_find_node_by_name() 1020 struct device_node *of_find_node_by_type(struct device_node *from, in of_find_node_by_type() 1050 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node() [all …]
|
A D | property.c | 745 struct device_node *of_graph_get_port_parent(struct device_node *node) in of_graph_get_port_parent() 1059 static struct device_node *of_get_compat_node(struct device_node *np) in of_get_compat_node() 1164 static struct device_node *parse_prop_cells(struct device_node *np, in parse_prop_cells() 1182 static struct device_node *parse_##fname(struct device_node *np, \ 1218 static struct device_node *parse_suffix_prop_cells(struct device_node *np, in parse_suffix_prop_cells() 1236 static struct device_node *parse_##fname(struct device_node *np, \ 1261 struct device_node *(*parse_prop)(struct device_node *np, 1297 static struct device_node *parse_gpios(struct device_node *np, in parse_gpios() 1307 static struct device_node *parse_iommu_maps(struct device_node *np, in parse_iommu_maps() 1316 static struct device_node *parse_gpio_compat(struct device_node *np, in parse_gpio_compat() [all …]
|
A D | address.c | 474 struct device_node *(*get_parent)(const struct device_node *), in __of_translate_address() argument 568 struct device_node *host; in of_translate_address() 582 static struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent() 600 static struct device_node *of_get_next_dma_parent(struct device_node *np) in of_get_next_dma_parent() 602 struct device_node *parent; in of_get_next_dma_parent() 612 struct device_node *host; in of_translate_dma_address() 632 struct device_node *parent; in __of_get_address() 775 struct device_node *host; in of_translate_ioport() 1013 struct device_node *child; in of_dma_get_max_cpu_address() 1052 struct device_node *node; in of_dma_is_coherent() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | dss-of.c | 18 struct device_node * 20 struct device_node *prev) 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 * 84 struct device_node *dss_of_port_get_parent_device(struct device_node *port) in dss_of_port_get_parent_device() 86 struct device_node *np; in dss_of_port_get_parent_device() 120 static struct device_node *omapdss_of_get_remote_port(const struct device_node *node) in omapdss_of_get_remote_port() 122 struct device_node *np; in omapdss_of_get_remote_port() 133 struct device_node * [all …]
|
/linux/include/drm/ |
A D | drm_of.h | 17 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, 51 const struct device_node *port2); 54 struct device_node *port) in drm_of_crtc_port_mask() 60 struct device_node *port) in drm_of_find_possible_crtcs() 69 struct device_node *node) in drm_of_component_match_add() 97 const struct device_node *port2) in drm_of_lvds_get_dual_link_pixel_order() [all …]
|
/linux/sound/soc/generic/ |
A D | audio-graph-card2.c | 232 struct device_node *np; in __graph_get_type() 297 static struct device_node *graph_get_next_multi_ep(struct device_node **port) in graph_get_next_multi_ep() 300 struct device_node *ep = NULL; in graph_get_next_multi_ep() 343 struct device_node *node; in graph_get_dai_id() 344 struct device_node *endpoint; in graph_get_dai_id() 399 struct device_node *node; in asoc_simple_parse_dai() 586 struct device_node *ep; in graph_parse_node() 671 struct device_node *ep; in graph_link_init() 672 struct device_node *ports; in graph_link_init() 846 struct device_node *lnk, in audio_graph2_link_c2c() [all …]
|
A D | audio-graph-card.c | 60 struct device_node *node; in graph_get_dai_id() 61 struct device_node *endpoint; in graph_get_dai_id() 127 struct device_node *node; in asoc_simple_parse_dai() 173 struct device_node *ep, in graph_parse_convert() 193 struct device_node *ep, in graph_parse_mclk_fs() 210 struct device_node *ep, in graph_parse_node() 323 struct device_node *port; in graph_dai_link_of_dpcm() 324 struct device_node *ports; in graph_dai_link_of_dpcm() 438 struct device_node *cpu_port; in __graph_for_each_link() 439 struct device_node *cpu_ep; in __graph_for_each_link() [all …]
|
A D | simple-card.c | 81 struct device_node *np, in simple_parse_convert() 96 struct device_node *np, in simple_parse_mclk_fs() 114 struct device_node *np, in simple_parse_node() 174 struct device_node *np, in simple_dai_link_of_dpcm() 316 struct device_node *np, in __simple_for_each_link() 320 struct device_node *np, in __simple_for_each_link() 326 struct device_node *node; in __simple_for_each_link() 341 struct device_node *codec; in __simple_for_each_link() 342 struct device_node *plat; in __simple_for_each_link() 343 struct device_node *np; in __simple_for_each_link() [all …]
|
/linux/include/linux/usb/ |
A D | of.h | 18 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 …]
|
/linux/include/linux/mfd/ |
A D | syscon.h | 17 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 …]
|
/linux/drivers/memory/ |
A D | of_memory.h | 13 const struct lpddr2_min_tck *of_get_min_tck(struct device_node *np, 15 const struct lpddr2_timings *of_get_ddr_timings(struct device_node *np_ddr, 18 const struct lpddr3_min_tck *of_lpddr3_get_min_tck(struct device_node *np, 21 of_lpddr3_get_ddr_timings(struct device_node *np_ddr, 24 const struct lpddr2_info *of_lpddr2_get_info(struct device_node *np, 28 *of_get_min_tck(struct device_node *np, struct device *dev) in of_get_min_tck() 34 *of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, in of_get_ddr_timings() 41 *of_lpddr3_get_min_tck(struct device_node *np, struct device *dev) in of_lpddr3_get_min_tck() 47 *of_lpddr3_get_ddr_timings(struct device_node *np_ddr, in of_lpddr3_get_ddr_timings() 54 *of_lpddr2_get_info(struct device_node *np, struct device *dev) in of_lpddr2_get_info()
|
/linux/drivers/gpu/drm/ |
A D | drm_of.c | 35 struct device_node *port) in drm_of_crtc_port_mask() 63 struct device_node *port) in drm_of_find_possible_crtcs() 65 struct device_node *remote_port, *ep; in drm_of_find_possible_crtcs() 94 struct device_node *node) in drm_of_component_match_add() 119 struct device_node *ep, *port, *remote; in drm_of_component_probe() 200 struct device_node *ep; in drm_of_encoder_active_endpoint() 202 struct device_node *port; in drm_of_encoder_active_endpoint() 245 struct device_node *remote; in drm_of_find_panel_or_bridge() 307 const struct device_node *port_node) in drm_of_lvds_get_remote_pixels_type() 309 struct device_node *endpoint = NULL; in drm_of_lvds_get_remote_pixels_type() [all …]
|
/linux/include/linux/clk/ |
A D | samsung.h | 11 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()
|
/linux/drivers/clk/at91/ |
A D | dt-compat.c | 123 struct device_node *gcknp; in of_sama5d2_clk_generated_setup() 208 struct device_node *i2s_mux_np; in of_sama5d2_clk_i2s_mux_setup() 367 of_at91_clk_master_setup(struct device_node *np, in of_at91_clk_master_setup() 428 of_at91_clk_periph_setup(struct device_node *np, u8 type) in of_at91_clk_periph_setup() 435 struct device_node *periphclknp; in of_at91_clk_periph_setup() 501 of_at91_clk_pll_get_characteristics(struct device_node *np) in of_at91_clk_pll_get_characteristics() 597 of_at91_clk_pll_setup(struct device_node *np, in of_at91_clk_pll_setup() 663 of_at91sam9x5_clk_plldiv_setup(struct device_node *np) in of_at91sam9x5_clk_plldiv_setup() 688 of_at91_clk_prog_setup(struct device_node *np, in of_at91_clk_prog_setup() 698 struct device_node *progclknp; in of_at91_clk_prog_setup() [all …]
|
/linux/drivers/pci/hotplug/ |
A D | rpadlpar_core.c | 40 static struct device_node *find_vio_slot_node(char *drc_name) in find_vio_slot_node() 43 struct device_node *dn; in find_vio_slot_node() 60 static struct device_node *find_php_slot_pci_node(char *drc_name, in find_php_slot_pci_node() 63 struct device_node *np; in find_php_slot_pci_node() 78 struct device_node *dn; in find_dlpar_node() 110 static struct slot *find_php_slot(struct device_node *dn) in find_php_slot() 124 struct device_node *dev_dn) in dlpar_find_new_dev() 127 struct device_node *child_dn; in dlpar_find_new_dev() 137 static void dlpar_pci_add_bus(struct device_node *dn) in dlpar_pci_add_bus() 286 struct device_node *dn = NULL; in dlpar_add_slot() [all …]
|
/linux/drivers/net/mdio/ |
A D | of_mdio.c | 37 struct device_node *child, u32 addr) in of_mdiobus_phy_device_register() 46 struct device_node *child, u32 addr) in of_mdiobus_register_phy() 52 struct device_node *child, u32 addr) in of_mdiobus_register_device() 113 bool of_mdiobus_child_is_phy(struct device_node *child) in of_mdiobus_child_is_phy() 150 struct device_node *child; in of_mdiobus_register() 279 struct device_node *phy_np, in of_phy_connect() 312 struct device_node *np, in of_phy_get_and_connect() 316 struct device_node *phy_np; in of_phy_get_and_connect() 352 bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link() 354 struct device_node *dn; in of_phy_is_fixed_link() [all …]
|