Home
last modified time | relevance | path

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

12345678910>>...104

/drivers/of/
A Dof_private.h28 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 …]
A Dproperty.c643 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 …]
A Dbase.c244 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 …]
A Daddress.c501 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 …]
A Dresolver.c25 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 …]
A Dcpu.c14 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()
A Dirq.c61 struct device_node *of_irq_find_parent(struct device_node *child) in of_irq_find_parent()
63 struct device_node *p; in of_irq_find_parent()
111 struct device_node *np; in of_irq_parse_imap_parent()
244 struct device_node *newpar; in of_irq_parse_raw()
360 struct device_node __free(device_node) *p = NULL; in of_irq_parse_one()
510 int of_irq_count(struct device_node *dev) in of_irq_count()
547 struct device_node *dev;
548 struct device_node *interrupt_parent;
561 struct device_node *np, *parent = NULL; in of_irq_init()
732 struct device_node *np = NULL; in of_msi_map_get_device_domain()
[all …]
A Ddynamic.c34 struct device_node *of_node_get(struct device_node *node) in of_node_get()
257 struct device_node *parent; in __of_detach_node()
271 struct device_node *prevsib; in __of_detach_node()
452 struct device_node *__of_node_dup(const struct device_node *np, in __of_node_dup()
455 struct device_node *node; in __of_node_dup()
504 struct device_node *np; in of_changeset_create_node()
927 struct device_node *np, in of_changeset_add_prop_helper()
957 struct device_node *np, in of_changeset_add_prop_string()
1030 struct device_node *np, in of_changeset_add_prop_u32_array()
1077 struct device_node *np, in of_changeset_update_prop_helper()
[all …]
A Dpdt.c33 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name()
41 static inline void irq_trans_init(struct device_node *dp) { } in irq_trans_init()
43 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name()
146 static struct device_node * __init of_pdt_create_node(phandle node, in of_pdt_create_node()
147 struct device_node *parent) in of_pdt_create_node()
149 struct device_node *dp; in of_pdt_create_node()
171 static struct device_node * __init of_pdt_build_tree(struct device_node *parent, in of_pdt_build_tree()
174 struct device_node *ret = NULL, *prev_sibling = NULL; in of_pdt_build_tree()
175 struct device_node *dp; in of_pdt_build_tree()
/drivers/clk/at91/
A Ddt-compat.c36 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 …]
/drivers/gpu/drm/
A Ddrm_of.c33 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 …]
/drivers/opp/
A Dof.c48 struct device_node *np __free(device_node); in _managed_opp()
98 struct device_node *opp_table_np __free(device_node); in _find_table_of_opp_np()
149 struct device_node *np __free(device_node); in _opp_table_alloc_required_tables()
202 struct device_node *np __free(device_node), *opp_np; in _of_init_opp_table()
276 struct device_node *np __free(device_node); in _link_required_opps()
352 struct device_node *opp_np __free(device_node); in lazy_link_required_opp_table()
405 struct device_node *np __free(device_node) = NULL; in _bandwidth_supported()
409 struct device_node *np __free(device_node); in _bandwidth_supported()
1272 struct device_node *np __free(device_node); in dev_pm_opp_of_get_sharing_cpus()
1379 struct device_node *np __free(device_node) = NULL, *opp_np __free(device_node); in dev_pm_opp_of_has_required_opp()
[all …]
/drivers/memory/
A Dof_memory.h13 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()
/drivers/cpuidle/
A Ddt_idle_genpd.h5 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()
/drivers/net/mdio/
A Dof_mdio.c38 struct device_node *child, u32 addr) in of_mdiobus_phy_device_register()
47 struct device_node *child, u32 addr) in of_mdiobus_register_phy()
53 struct device_node *child, u32 addr) in of_mdiobus_register_device()
145 struct device_node *child; in __of_mdiobus_parse_phys()
201 struct device_node *child; in __of_mdiobus_register()
317 struct device_node *phy_np, in of_phy_connect()
350 struct device_node *np, in of_phy_get_and_connect()
354 struct device_node *phy_np; in of_phy_get_and_connect()
390 bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link()
392 struct device_node *dn; in of_phy_is_fixed_link()
[all …]
/drivers/pci/hotplug/
A Drpadlpar_core.c41 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 …]
/drivers/regulator/
A Dof_regulator.c81 struct device_node *np, in of_get_regulation_constraints()
87 struct device_node *suspend_np; in of_get_regulation_constraints()
350 struct device_node *node, in of_get_regulator_init_data()
408 struct device_node *child; in of_regulator_match()
531 struct device_node *child; in regulator_of_get_init_data()
582 static struct device_node *of_get_child_regulator(struct device_node *parent, in of_get_child_regulator()
586 struct device_node *child = NULL; in of_get_child_regulator()
615 static struct device_node *of_get_regulator(struct device *dev, struct device_node *node, in of_get_regulator()
667 struct device_node *node; in of_regulator_dev_lookup()
809 struct device_node *c_node; in of_check_coupling_data()
[all …]
/drivers/thermal/
A Dthermal_of.c44 static int thermal_of_get_trip_type(struct device_node *np, in thermal_of_get_trip_type()
63 static int thermal_of_populate_trip(struct device_node *np, in thermal_of_populate_trip()
102 struct device_node *trips __free(device_node) = of_get_child_by_name(np, "trips"); in thermal_of_trips_init()
126 static struct device_node *of_thermal_zone_find(struct device_node *sensor, int id) in of_thermal_zone_find()
130 struct device_node *np __free(device_node) = of_find_node_by_name(NULL, "thermal-zones"); in of_thermal_zone_find()
198 static void thermal_of_parameters_init(struct device_node *np, in thermal_of_parameters_init()
227 struct device_node *np, *tz_np; in thermal_of_zone_get_by_name()
277 static bool thermal_of_cm_lookup(struct device_node *cm_np, in thermal_of_cm_lookup()
283 struct device_node *tr_np; in thermal_of_cm_lookup()
310 struct device_node *tz_np, *cm_np; in thermal_of_should_bind()
[all …]
/drivers/clk/ti/
A Dgate.c88 static struct clk *_register_gate(struct device_node *node, const char *name, in _register_gate()
126 static void __init _of_ti_gate_clk_setup(struct device_node *node, in _of_ti_gate_clk_setup()
167 _of_ti_composite_gate_clk_setup(struct device_node *node, in _of_ti_composite_gate_clk_setup()
190 of_ti_composite_no_wait_gate_clk_setup(struct device_node *node) in of_ti_composite_no_wait_gate_clk_setup()
206 static void __init of_ti_composite_gate_clk_setup(struct device_node *node) in of_ti_composite_gate_clk_setup()
214 static void __init of_ti_clkdm_gate_clk_setup(struct device_node *node) in of_ti_clkdm_gate_clk_setup()
221 static void __init of_ti_hsdiv_gate_clk_setup(struct device_node *node) in of_ti_hsdiv_gate_clk_setup()
229 static void __init of_ti_gate_clk_setup(struct device_node *node) in of_ti_gate_clk_setup()
235 static void __init of_ti_wait_gate_clk_setup(struct device_node *node) in of_ti_wait_gate_clk_setup()
243 static void __init of_ti_am35xx_gate_clk_setup(struct device_node *node) in of_ti_am35xx_gate_clk_setup()
[all …]
A Dinterface.c27 static struct clk *_register_interface(struct device_node *node, in _register_interface()
61 static void __init _of_ti_interface_clk_setup(struct device_node *node, in _of_ti_interface_clk_setup()
89 static void __init of_ti_interface_clk_setup(struct device_node *node) in of_ti_interface_clk_setup()
96 static void __init of_ti_no_wait_interface_clk_setup(struct device_node *node) in of_ti_no_wait_interface_clk_setup()
104 static void __init of_ti_hsotgusb_interface_clk_setup(struct device_node *node) in of_ti_hsotgusb_interface_clk_setup()
112 static void __init of_ti_dss_interface_clk_setup(struct device_node *node) in of_ti_dss_interface_clk_setup()
120 static void __init of_ti_ssi_interface_clk_setup(struct device_node *node) in of_ti_ssi_interface_clk_setup()
127 static void __init of_ti_am35xx_interface_clk_setup(struct device_node *node) in of_ti_am35xx_interface_clk_setup()
136 static void __init of_ti_omap2430_interface_clk_setup(struct device_node *node) in of_ti_omap2430_interface_clk_setup()
A Ddpll.c152 struct device_node *node) in _register_dpll()
215 static void _register_dpll_x2(struct device_node *node, in _register_dpll_x2()
277 static void __init of_ti_dpll_setup(struct device_node *node, in of_ti_dpll_setup()
393 static void __init of_ti_omap4_dpll_x2_setup(struct device_node *node) in of_ti_omap4_dpll_x2_setup()
402 static void __init of_ti_am3_dpll_x2_setup(struct device_node *node) in of_ti_am3_dpll_x2_setup()
411 static void __init of_ti_omap3_dpll_setup(struct device_node *node) in of_ti_omap3_dpll_setup()
455 static void __init of_ti_omap3_per_dpll_setup(struct device_node *node) in of_ti_omap3_per_dpll_setup()
498 static void __init of_ti_omap4_dpll_setup(struct device_node *node) in of_ti_omap4_dpll_setup()
517 static void __init of_ti_omap5_mpu_dpll_setup(struct device_node *node) in of_ti_omap5_mpu_dpll_setup()
668 static void __init of_ti_am3_dpll_setup(struct device_node *node) in of_ti_am3_dpll_setup()
[all …]
/drivers/video/fbdev/omap2/omapfb/dss/
A Ddss-of.c19 struct device_node *dss_of_port_get_parent_device(struct device_node *port) in dss_of_port_get_parent_device()
21 struct device_node *np; in dss_of_port_get_parent_device()
44 u32 dss_of_port_get_port_number(struct device_node *port) in dss_of_port_get_port_number()
57 omapdss_of_find_source_for_first_ep(struct device_node *node) in omapdss_of_find_source_for_first_ep()
59 struct device_node *ep; in omapdss_of_find_source_for_first_ep()
60 struct device_node *src_port; in omapdss_of_find_source_for_first_ep()
/drivers/gpu/drm/sun4i/
A Dsun4i_drv.c154 static bool sun4i_drv_node_is_connector(struct device_node *node) in sun4i_drv_node_is_connector()
159 static bool sun4i_drv_node_is_frontend(struct device_node *node) in sun4i_drv_node_is_frontend()
170 static bool sun4i_drv_node_is_deu(struct device_node *node) in sun4i_drv_node_is_deu()
183 static bool sun4i_drv_node_is_tcon(struct device_node *node) in sun4i_drv_node_is_tcon()
204 static bool sun4i_drv_node_is_tcon_top(struct device_node *node) in sun4i_drv_node_is_tcon_top()
232 DECLARE_KFIFO(fifo, struct device_node *, 16);
236 struct device_node *node, in sun4i_drv_traverse_endpoints()
239 struct device_node *ep, *remote, *port; in sun4i_drv_traverse_endpoints()
296 struct device_node *node) in sun4i_drv_add_endpoints()
369 struct device_node *np = pdev->dev.of_node, *endpoint; in sun4i_drv_probe()
[all …]
/drivers/acpi/acpica/
A Dnsinit.c523 struct acpi_namespace_node *device_node; in acpi_ns_init_one_device() local
530 if ((device_node->type != ACPI_TYPE_DEVICE) && in acpi_ns_init_one_device()
531 (device_node->type != ACPI_TYPE_PROCESSOR) && in acpi_ns_init_one_device()
532 (device_node->type != ACPI_TYPE_THERMAL)) { in acpi_ns_init_one_device()
543 if (!(device_node->flags & ANOBJ_SUBTREE_HAS_INI)) { in acpi_ns_init_one_device()
559 (ACPI_TYPE_METHOD, device_node, METHOD_NAME__STA)); in acpi_ns_init_one_device()
561 status = acpi_ut_execute_STA(device_node, &flags); in acpi_ns_init_one_device()
634 device_node->parent != acpi_gbl_root_node) { in acpi_ns_init_one_device()
636 (ACPI_TYPE_METHOD, device_node, in acpi_ns_init_one_device()
640 info->prefix_node = device_node; in acpi_ns_init_one_device()
[all …]
/drivers/gpio/
A Dgpiolib-of.c66 static int of_gpio_named_count(const struct device_node *np, in of_gpio_named_count()
89 static int of_gpio_spi_cs_get_count(const struct device_node *np, in of_gpio_spi_cs_get_count()
105 const struct device_node *np = to_of_node(fwnode); in of_gpio_count()
260 const struct device_node *np_compat = np; in of_gpio_set_polarity_by_property()
261 const struct device_node *np_propname = np; in of_gpio_set_polarity_by_property()
335 static void of_gpio_flags_quirks(const struct device_node *np, in of_gpio_flags_quirks()
754 struct device_node *chip_np; in of_parse_own_gpio()
877 struct device_node *hog) in of_gpiochip_remove_hog()
1059 int of_mm_gpiochip_add_data(struct device_node *np, in of_mm_gpiochip_add_data()
1118 struct device_node *np; in of_gpiochip_add_pin_range()
[all …]

Completed in 54 milliseconds

12345678910>>...104