/Linux-v5.4/include/linux/ |
D | of_graph.h | 26 const struct device_node *local_node; 41 int of_graph_parse_endpoint(const struct device_node *node, 43 int of_graph_get_endpoint_count(const struct device_node *np); 44 struct device_node *of_graph_get_port_by_id(struct device_node *node, u32 id); 45 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, 46 struct device_node *previous); 47 struct device_node *of_graph_get_endpoint_by_regs( 48 const struct device_node *parent, int port_reg, int reg); 49 struct device_node *of_graph_get_remote_endpoint( 50 const struct device_node *node); [all …]
|
D | of.h | 51 struct device_node { struct 59 struct device_node *parent; argument 60 struct device_node *child; argument 61 struct device_node *sibling; argument 75 struct device_node *np; argument 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_get(struct device_node *node); [all …]
|
D | of_address.h | 10 struct device_node *node; 29 extern u64 of_translate_dma_address(struct device_node *dev, 33 extern u64 of_translate_address(struct device_node *np, const __be32 *addr); 34 extern int of_address_to_resource(struct device_node *dev, int index, 36 extern struct device_node *of_find_matching_node_by_address( 37 struct device_node *from, 40 extern void __iomem *of_iomap(struct device_node *device, int index); 41 void __iomem *of_io_request_and_map(struct device_node *device, 48 extern const __be32 *of_get_address(struct device_node *dev, int index, 52 struct device_node *node); [all …]
|
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; 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 *dev, const char *name); 48 extern int of_irq_to_resource_table(struct device_node *dev, [all …]
|
D | of_mdio.h | 15 extern int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np); 16 extern struct phy_device *of_phy_find_device(struct device_node *phy_np); 18 struct device_node *phy_np, 22 of_phy_get_and_connect(struct net_device *dev, struct device_node *np, 25 struct device_node *phy_np, u32 flags, 28 extern struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np); 29 extern int of_phy_register_fixed_link(struct device_node *np); 30 extern void of_phy_deregister_fixed_link(struct device_node *np); 31 extern bool of_phy_is_fixed_link(struct device_node *np); 35 const struct device_node *np) in of_mdio_parse_addr() [all …]
|
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()
|
D | of_gpio.h | 19 struct device_node; 51 extern int of_get_named_gpio_flags(struct device_node *np, 54 extern int of_mm_gpiochip_add_data(struct device_node *np, 57 static inline int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add() 67 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags() 98 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count() 109 static inline int of_gpio_count(struct device_node *np) in of_gpio_count() 114 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags() 129 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio() 143 static inline int of_get_gpio(struct device_node *np, int index) in of_get_gpio()
|
D | of_platform.h | 52 extern struct platform_device *of_device_alloc(struct device_node *np, 56 extern struct platform_device *of_find_device_by_node(struct device_node *np); 58 static inline struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node() 65 extern struct platform_device *of_platform_device_create(struct device_node *np, 70 extern int of_platform_bus_probe(struct device_node *root, 74 extern int of_platform_populate(struct device_node *root, 78 extern int of_platform_default_populate(struct device_node *root, 87 static inline int of_platform_populate(struct device_node *root, in of_platform_populate() 94 static inline int of_platform_default_populate(struct device_node *root, in of_platform_default_populate()
|
D | of_pci.h | 10 struct device_node; 13 struct device_node *of_pci_find_child_device(struct device_node *parent, 15 int of_pci_get_devfn(struct device_node *np); 18 static inline struct device_node *of_pci_find_child_device(struct device_node *parent, in of_pci_find_child_device() 24 static inline int of_pci_get_devfn(struct device_node *np) in of_pci_get_devfn()
|
D | reset.h | 10 struct device_node; 22 struct reset_control *__of_reset_control_get(struct device_node *node, 36 struct reset_control *of_reset_control_array_get(struct device_node *np, 83 struct device_node *node, in __of_reset_control_get() 113 of_reset_control_array_get(struct device_node *np, bool shared, bool optional, in of_reset_control_array_get() 229 struct device_node *node, const char *id) in of_reset_control_get_exclusive() 254 struct device_node *node, const char *id) in of_reset_control_get_shared() 271 struct device_node *node, int index) in of_reset_control_get_exclusive_by_index() 299 struct device_node *node, int index) in of_reset_control_get_shared_by_index() 412 struct device_node *node, const char *id) in of_reset_control_get() [all …]
|
D | of_net.h | 13 extern int of_get_phy_mode(struct device_node *np); 14 extern const void *of_get_mac_address(struct device_node *np); 15 extern struct net_device *of_find_net_device_by_node(struct device_node *np); 17 static inline int of_get_phy_mode(struct device_node *np) in of_get_phy_mode() 22 static inline const void *of_get_mac_address(struct device_node *np) in of_get_mac_address() 27 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) in of_find_net_device_by_node()
|
/Linux-v5.4/drivers/of/ |
D | of_private.h | 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 *np); 69 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() [all …]
|
D | base.c | 36 struct device_node *of_root; 38 struct device_node *of_chosen; 39 struct device_node *of_aliases; 40 struct device_node *of_stdout; 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_n_addr_cells(struct device_node *np) in of_n_addr_cells() 104 int of_n_size_cells(struct device_node *np) in of_n_size_cells() 120 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid() [all …]
|
D | property.c | 43 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() 78 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size() 113 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index() 145 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index() 183 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array() 231 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array() 276 int of_property_read_variable_u32_array(const struct device_node *np, in of_property_read_variable_u32_array() 315 int of_property_read_u64(const struct device_node *np, const char *propname, in of_property_read_u64() 350 int of_property_read_variable_u64_array(const struct device_node *np, in of_property_read_variable_u64_array() 393 int of_property_read_string(const struct device_node *np, const char *propname, in of_property_read_string() [all …]
|
D | address.c | 22 static struct of_bus *of_match_bus(struct device_node *np); 23 static int __of_address_to_resource(struct device_node *dev, 44 int (*match)(struct device_node *parent); 45 void (*count_cells)(struct device_node *child, 57 static void of_bus_default_count_cells(struct device_node *dev, in of_bus_default_count_cells() 106 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match() 117 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells() 177 const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, u64 *size, in of_get_pci_address() 182 struct device_node *parent; in of_get_pci_address() 221 int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource() [all …]
|
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dss-of.c | 18 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 *ep = NULL; in omapdss_of_get_next_endpoint() [all …]
|
/Linux-v5.4/include/drm/ |
D | drm_of.h | 17 struct device_node; 21 struct device_node *port); 23 struct device_node *port); 27 struct device_node *node); 31 int drm_of_encoder_active_endpoint(struct device_node *node, 34 int drm_of_find_panel_or_bridge(const struct device_node *np, 40 struct device_node *port) in drm_of_crtc_port_mask() 46 struct device_node *port) in drm_of_find_possible_crtcs() 55 struct device_node *node) in drm_of_component_match_add() 67 static inline int drm_of_encoder_active_endpoint(struct device_node *node, in drm_of_encoder_active_endpoint() [all …]
|
/Linux-v5.4/include/linux/usb/ |
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-v5.4/sound/soc/generic/ |
D | audio-graph-card.c | 60 static int graph_get_dai_id(struct device_node *ep) in graph_get_dai_id() 62 struct device_node *node; in graph_get_dai_id() 63 struct device_node *endpoint; in graph_get_dai_id() 114 static int asoc_simple_parse_dai(struct device_node *ep, in asoc_simple_parse_dai() 118 struct device_node *node; in asoc_simple_parse_dai() 164 struct device_node *ep, in graph_parse_convert() 167 struct device_node *top = dev->of_node; in graph_parse_convert() 168 struct device_node *port = of_get_parent(ep); in graph_parse_convert() 169 struct device_node *ports = of_get_parent(port); in graph_parse_convert() 170 struct device_node *node = of_graph_get_port_parent(ep); in graph_parse_convert() [all …]
|
D | simple-card.c | 31 static int asoc_simple_parse_dai(struct device_node *node, in asoc_simple_parse_dai() 81 struct device_node *np, in simple_parse_convert() 84 struct device_node *top = dev->of_node; in simple_parse_convert() 85 struct device_node *node = of_get_parent(np); in simple_parse_convert() 95 static void simple_parse_mclk_fs(struct device_node *top, in simple_parse_mclk_fs() 96 struct device_node *cpu, in simple_parse_mclk_fs() 97 struct device_node *codec, in simple_parse_mclk_fs() 101 struct device_node *node = of_get_parent(cpu); in simple_parse_mclk_fs() 116 struct device_node *np, in simple_dai_link_of_dpcm() 117 struct device_node *codec, in simple_dai_link_of_dpcm() [all …]
|
/Linux-v5.4/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 40 static struct device_node *find_vio_slot_node(char *drc_name) in find_vio_slot_node() 42 struct device_node *parent = of_find_node_by_name(NULL, "vdevice"); in find_vio_slot_node() 43 struct device_node *dn = NULL; 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 = NULL; in find_php_slot_pci_node() 76 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_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() [all …]
|
/Linux-v5.4/include/linux/mfd/ |
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 static inline struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap() 32 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap() 43 struct device_node *np, in syscon_regmap_lookup_by_phandle()
|
/Linux-v5.4/drivers/clk/at91/ |
D | dt-compat.c | 26 static void __init of_sama5d2_clk_audio_pll_frac_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_frac_setup() 49 static void __init of_sama5d2_clk_audio_pll_pad_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_pad_setup() 72 static void __init of_sama5d2_clk_audio_pll_pmc_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_pmc_setup() 111 static void __init of_sama5d2_clk_generated_setup(struct device_node *np) in of_sama5d2_clk_generated_setup() 119 struct device_node *gcknp; in of_sama5d2_clk_generated_setup() 172 static void __init of_sama5d4_clk_h32mx_setup(struct device_node *np) in of_sama5d4_clk_h32mx_setup() 198 static void __init of_sama5d2_clk_i2s_mux_setup(struct device_node *np) in of_sama5d2_clk_i2s_mux_setup() 203 struct device_node *i2s_mux_np; in of_sama5d2_clk_i2s_mux_setup() 234 static void __init of_at91rm9200_clk_main_osc_setup(struct device_node *np) in of_at91rm9200_clk_main_osc_setup() 259 static void __init of_at91sam9x5_clk_main_rc_osc_setup(struct device_node *np) in of_at91sam9x5_clk_main_rc_osc_setup() [all …]
|
/Linux-v5.4/arch/powerpc/platforms/pseries/ |
D | pseries.h | 12 struct device_node; 14 extern void request_event_sources_irqs(struct device_node *np, 50 extern void dlpar_free_cc_nodes(struct device_node *); 52 extern struct device_node *dlpar_configure_connector(__be32, 53 struct device_node *); 54 extern int dlpar_attach_node(struct device_node *, struct device_node *); 55 extern int dlpar_detach_node(struct device_node *);
|
/Linux-v5.4/arch/sparc/include/asm/ |
D | prom.h | 28 unsigned int (*irq_build)(struct device_node *, unsigned int, void *); 32 struct device_node *of_find_node_by_cpuid(int cpuid); 33 int of_set_property(struct device_node *node, const char *name, void *val, int len); 35 int of_getintprop_default(struct device_node *np, 48 extern struct device_node *of_console_device; 52 void irq_trans_init(struct device_node *dp); 53 char *build_path_component(struct device_node *dp);
|