| /linux-6.15/include/linux/ |
| H A D | of_graph.h | 27 const struct device_node *local_node; 50 for (struct device_node *child __free(device_node) = of_graph_get_next_port(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 …]
|
| H A D | of.h | 48 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 …]
|
| H 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, 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, 67 static inline int of_irq_count(struct device_node *dev) in of_irq_count() 90 struct device_node *np, in of_msi_get_domain() [all …]
|
| H A D | of_mdio.h | 16 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 …]
|
| H A D | of_address.h | 12 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 …]
|
| H 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 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()
|
| H 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()
|
| H A D | of_platform.h | 12 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 …]
|
| /linux-6.15/drivers/of/ |
| H A D | of_private.h | 28 struct device_node *np; 79 int __of_attach_node_sysfs(struct device_node *np); 97 int of_resolve_phandles(struct device_node *tree); 117 struct device_node *dad, 118 struct device_node **mynodes, 133 struct device_node *__of_node_dup(const struct device_node *np, 136 struct device_node *__of_find_node_by_path(const struct device_node *parent, 138 struct device_node *__of_find_node_by_full_path(struct device_node *node, 173 int of_dma_get_range(struct device_node *np, 175 struct device_node *__of_get_dma_parent(const struct device_node *np); [all …]
|
| H A D | property.c | 643 struct device_node *port_node __free(device_node) = in of_graph_parse_endpoint() 710 struct device_node *node __free(device_node) = in of_graph_get_next_port() 897 struct device_node *np __free(device_node) = in of_graph_get_remote_port_parent() 1240 static struct device_node *parse_prop_cells(struct device_node *np, in parse_prop_cells() 1258 static struct device_node *parse_##fname(struct device_node *np, \ 1341 struct device_node *(*parse_prop)(struct device_node *np, 1343 struct device_node *(*get_con_dev)(struct device_node *np); 1383 static struct device_node *parse_gpios(struct device_node *np, in parse_gpios() 1393 static struct device_node *parse_iommu_maps(struct device_node *np, in parse_iommu_maps() 1424 static struct device_node *parse_interrupts(struct device_node *np, in parse_interrupts() [all …]
|
| H A D | base.c | 244 struct device_node *__of_find_all_nodes(struct device_node *prev) in __of_find_all_nodes() 269 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes() 567 struct device_node *of_get_parent(const struct device_node *node) in of_get_parent() 593 struct device_node *of_get_next_parent(struct device_node *node) in of_get_next_parent() 635 struct device_node *of_get_next_child(const struct device_node *node, in of_get_next_child() 748 struct device_node *of_get_next_cpu_node(struct device_node *prev) in of_get_next_cpu_node() 815 struct device_node *of_get_child_by_name(const struct device_node *node, in of_get_child_by_name() 966 struct device_node *of_find_node_by_name(struct device_node *from, in of_find_node_by_name() 994 struct device_node *of_find_node_by_type(struct device_node *from, in of_find_node_by_type() 1024 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node() [all …]
|
| H A D | address.c | 501 struct device_node *(*get_parent)(const struct device_node *), in __of_translate_address() argument 505 struct device_node *dev __free(device_node) = of_node_get(node); in __of_translate_address() 506 struct device_node *parent __free(device_node) = get_parent(dev); in __of_translate_address() 591 struct device_node *host; in of_translate_address() 606 struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent() 625 static struct device_node *of_get_next_dma_parent(struct device_node *np) in of_get_next_dma_parent() 664 struct device_node *parent __free(device_node) = __of_get_dma_parent(dev); in of_translate_dma_region() 695 struct device_node *parent __free(device_node) = of_get_parent(dev); in __of_get_address() 895 struct device_node *node __free(device_node) = of_node_get(np); in of_dma_get_range() 1013 struct device_node *node __free(device_node) = of_node_get(np); in of_dma_is_coherent() [all …]
|
| H A D | resolver.c | 25 struct device_node *node; in live_tree_max_phandle() 44 struct device_node *child; in adjust_overlay_phandles() 76 struct device_node *refnode; in update_usages_of_a_phandle_reference() 130 static int node_name_cmp(const struct device_node *dn1, in node_name_cmp() 131 const struct device_node *dn2) in node_name_cmp() 153 struct device_node *overlay_child; in adjust_local_phandle_references() 248 int of_resolve_phandles(struct device_node *overlay) in of_resolve_phandles() 250 struct device_node *child, *refnode; in of_resolve_phandles() 251 struct device_node *overlay_fixups; in of_resolve_phandles() 252 struct device_node __free(device_node) *local_fixups = NULL; in of_resolve_phandles() [all …]
|
| H A D | cpu.c | 14 u64 of_get_cpu_hwid(struct device_node *cpun, unsigned int thread) in of_get_cpu_hwid() 52 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property() 84 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id() 119 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread) in of_get_cpu_node() 121 struct device_node *cpun; in of_get_cpu_node() 140 struct device_node *of_cpu_device_node_get(int cpu) in of_cpu_device_node_get() 158 int of_cpu_node_to_id(struct device_node *cpu_node) in of_cpu_node_to_id() 162 struct device_node *np; in of_cpu_node_to_id() 191 struct device_node *of_get_cpu_state_node(const struct device_node *cpu_node, in of_get_cpu_state_node() 200 struct device_node *state_node = in of_get_cpu_state_node()
|
| /linux-6.15/sound/soc/generic/ |
| H A D | audio-graph-card2.c | 245 static struct device_node *port_to_ports(struct device_node *port) in port_to_ports() 343 struct device_node *ports __free(device_node) = port_to_ports(*port); in graph_get_next_multi_ep() 389 struct device_node *port __free(device_node) = ep_to_port(ep); in graph_parse_convert() 390 struct device_node *ports __free(device_node) = port_to_ports(port); in graph_parse_convert() 484 struct device_node *rport __free(device_node) = ep_to_port(ep); in __graph_parse_node() 485 struct device_node *rports __free(device_node) = port_to_ports(rport); in __graph_parse_node() 670 struct device_node *port __free(device_node) = ep_to_port(ep); in graph_parse_node() 725 struct device_node *port __free(device_node) = ep_to_port(ep); in graph_parse_bitframe() 726 struct device_node *ports __free(device_node) = port_to_ports(port); in graph_parse_bitframe() 971 struct device_node *ports __free(device_node) = port_to_ports(port0); in audio_graph2_link_c2c() [all …]
|
| H A D | audio-graph-card.c | 31 static struct device_node *port_to_ports(struct device_node *port) in port_to_ports() 91 struct device_node *port __free(device_node) = ep_to_port(ep); in graph_parse_convert() 92 struct device_node *ports __free(device_node) = port_to_ports(port); in graph_parse_convert() 93 struct device_node *node __free(device_node) = of_graph_get_port_parent(ep); in graph_parse_convert() 144 struct device_node *port_cpu __free(device_node) = ep_to_port(ep_cpu); in graph_link_init() 145 struct device_node *port_codec __free(device_node) = ep_to_port(ep_codec); in graph_link_init() 146 struct device_node *ports_cpu __free(device_node) = port_to_ports(port_cpu); in graph_link_init() 147 struct device_node *ports_codec __free(device_node) = port_to_ports(port_codec); in graph_link_init() 264 struct device_node *port __free(device_node) = ep_to_port(ep); in graph_dai_link_of_dpcm() 265 struct device_node *ports __free(device_node) = port_to_ports(port); in graph_dai_link_of_dpcm() [all …]
|
| H A D | simple-card.c | 40 struct device_node *node, in simple_parse_platform() 65 struct device_node *node, in simple_parse_dai() 131 struct device_node *np, in simple_parse_convert() 135 struct device_node *node __free(device_node) = of_get_parent(np); in simple_parse_convert() 187 struct device_node *node __free(device_node) = of_get_parent(cpu); in simple_link_init() 241 struct device_node *node __free(device_node) = of_get_parent(np); in simple_dai_link_of_dpcm() 326 struct device_node *node __free(device_node) = of_get_parent(np); in simple_dai_link_of() 335 struct device_node *plat __free(device_node) = of_get_child_by_name(node, prop); in simple_dai_link_of() 376 struct device_node *node; in __simple_for_each_link() 402 struct device_node *codec __free(device_node) = in __simple_for_each_link() [all …]
|
| /linux-6.15/include/drm/ |
| H A D | drm_of.h | 18 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 …]
|
| /linux-6.15/include/linux/mfd/ |
| H A D | syscon.h | 17 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 …]
|
| /linux-6.15/include/linux/usb/ |
| H A D | of.h | 17 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 …]
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_of.c | 33 struct device_node *port) in drm_of_crtc_port_mask() 61 struct device_node *port) in drm_of_find_possible_crtcs() 63 struct device_node *remote_port, *ep; in drm_of_find_possible_crtcs() 92 struct device_node *node) in drm_of_component_match_add() 117 struct device_node *ep, *port, *remote; in drm_of_component_probe() 198 struct device_node *ep; in drm_of_encoder_active_endpoint() 200 struct device_node *port; in drm_of_encoder_active_endpoint() 243 struct device_node *remote; in drm_of_find_panel_or_bridge() 307 struct device_node *endpoint = NULL; in drm_of_lvds_get_remote_pixels_type() 311 struct device_node *remote_port; in drm_of_lvds_get_remote_pixels_type() [all …]
|
| /linux-6.15/drivers/clk/at91/ |
| H A D | dt-compat.c | 36 struct device_node *parent_np; in of_sama5d2_clk_audio_pll_frac_setup() 62 struct device_node *parent_np; in of_sama5d2_clk_audio_pll_pad_setup() 88 struct device_node *parent_np; in of_sama5d2_clk_audio_pll_pmc_setup() 194 struct device_node *parent_np; in of_sama5d4_clk_h32mx_setup() 222 struct device_node *i2s_mux_np; in of_sama5d2_clk_i2s_mux_setup() 260 struct device_node *parent_np; in of_at91rm9200_clk_main_osc_setup() 288 struct device_node *parent_np; in of_at91sam9x5_clk_main_rc_osc_setup() 315 struct device_node *parent_np; in of_at91rm9200_clk_main_setup() 342 struct device_node *parent_np; in of_at91sam9x5_clk_main_setup() 402 struct device_node *parent_np; in of_at91_clk_master_setup() [all …]
|
| /linux-6.15/drivers/cpuidle/ |
| H A D | dt_idle_genpd.h | 5 struct device_node; 12 struct generic_pm_domain *dt_idle_pd_alloc(struct device_node *np, 13 int (*parse_state)(struct device_node *, u32 *)); 15 int dt_idle_pd_init_topology(struct device_node *np); 17 int dt_idle_pd_remove_topology(struct device_node *np); 30 struct device_node *np, in dt_idle_pd_alloc() 31 int (*parse_state)(struct device_node *, u32 *)) in dt_idle_pd_alloc() argument 36 static inline int dt_idle_pd_init_topology(struct device_node *np) in dt_idle_pd_init_topology() 41 static inline int dt_idle_pd_remove_topology(struct device_node *np) in dt_idle_pd_remove_topology()
|
| /linux-6.15/drivers/memory/ |
| H 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-6.15/drivers/pci/hotplug/ |
| H A D | rpadlpar_core.c | 41 static struct device_node *find_vio_slot_node(char *drc_name) in find_vio_slot_node() 44 struct device_node *dn; in find_vio_slot_node() 61 static struct device_node *find_php_slot_pci_node(char *drc_name, in find_php_slot_pci_node() 64 struct device_node *np; in find_php_slot_pci_node() 79 struct device_node *dn; in find_dlpar_node() 111 static struct slot *find_php_slot(struct device_node *dn) in find_php_slot() 125 struct device_node *dev_dn) in dlpar_find_new_dev() 128 struct device_node *child_dn; in dlpar_find_new_dev() 138 static void dlpar_pci_add_bus(struct device_node *dn) in dlpar_pci_add_bus() 287 struct device_node *dn = NULL; in dlpar_add_slot() [all …]
|