Home
last modified time | relevance | path

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

12345678910>>...63

/drivers/clk/at91/
Dpmc.h59 int of_at91_get_clk_range(struct device_node *np, const char *propname,
62 void of_at91sam9260_clk_slow_setup(struct device_node *np,
65 void of_at91rm9200_clk_main_osc_setup(struct device_node *np,
67 void of_at91sam9x5_clk_main_rc_osc_setup(struct device_node *np,
69 void of_at91rm9200_clk_main_setup(struct device_node *np,
71 void of_at91sam9x5_clk_main_setup(struct device_node *np,
74 void of_at91rm9200_clk_pll_setup(struct device_node *np,
76 void of_at91sam9g45_clk_pll_setup(struct device_node *np,
78 void of_at91sam9g20_clk_pllb_setup(struct device_node *np,
80 void of_sama5d3_clk_pll_setup(struct device_node *np,
[all …]
Dpmc.c45 int of_at91_get_clk_range(struct device_node *np, const char *propname, in of_at91_get_clk_range()
134 struct device_node *ctrlr, in pmc_irq_domain_xlate()
225 static struct at91_pmc *__init at91_pmc_init(struct device_node *np, in at91_pmc_init()
389 static void __init of_at91_pmc_setup(struct device_node *np, in of_at91_pmc_setup()
393 struct device_node *childnp; in of_at91_pmc_setup()
394 void (*clk_setup)(struct device_node *, struct at91_pmc *); in of_at91_pmc_setup()
418 static void __init of_at91rm9200_pmc_setup(struct device_node *np) in of_at91rm9200_pmc_setup()
425 static void __init of_at91sam9260_pmc_setup(struct device_node *np) in of_at91sam9260_pmc_setup()
432 static void __init of_at91sam9g45_pmc_setup(struct device_node *np) in of_at91sam9g45_pmc_setup()
439 static void __init of_at91sam9n12_pmc_setup(struct device_node *np) in of_at91sam9n12_pmc_setup()
[all …]
/drivers/of/
Dbase.c35 struct device_node *of_root;
37 struct device_node *of_chosen;
38 struct device_node *of_aliases;
39 struct device_node *of_stdout;
57 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
73 int of_n_size_cells(struct device_node *np) in of_n_size_cells()
90 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid()
139 int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
163 int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
197 struct device_node *np; in of_core_init()
[all …]
Dof_private.h29 struct device_node *np;
39 static inline struct device_node *kobj_to_device_node(struct kobject *kobj) in kobj_to_device_node()
41 return container_of(kobj, struct device_node, kobj); in kobj_to_device_node()
45 extern int of_property_notify(int action, struct device_node *np,
49 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
64 __printf(2, 3) struct device_node *__of_node_dup(const struct device_node *np, const char *fmt, ...…
66 extern const void *__of_get_property(const struct device_node *np,
68 extern int __of_add_property(struct device_node *np, struct property *prop);
69 extern int __of_add_property_sysfs(struct device_node *np,
71 extern int __of_remove_property(struct device_node *np, struct property *prop);
[all …]
Doverlay.c35 struct device_node *target;
36 struct device_node *overlay;
57 struct device_node *target, const struct device_node *overlay);
60 struct device_node *target, struct property *prop) in of_overlay_apply_single_property()
86 struct device_node *target, struct device_node *child) in of_overlay_apply_single_device_node()
89 struct device_node *tchild; in of_overlay_apply_single_device_node()
131 struct device_node *target, const struct device_node *overlay) in of_overlay_apply_one()
133 struct device_node *child; in of_overlay_apply_one()
195 static struct device_node *find_target_node(struct device_node *info_node) in find_target_node()
232 struct device_node *info_node, struct of_overlay_info *ovinfo) in of_fill_overlay_info()
[all …]
Dresolver.c29 static struct device_node *__of_find_node_by_full_name(struct device_node *node, in __of_find_node_by_full_name()
32 struct device_node *child, *found; in __of_find_node_by_full_name()
55 struct device_node *node; in of_get_tree_max_phandle()
77 static void __of_adjust_tree_phandles(struct device_node *node, in __of_adjust_tree_phandles()
80 struct device_node *child; in __of_adjust_tree_phandles()
114 static int __of_adjust_phandle_ref(struct device_node *node, in __of_adjust_phandle_ref()
118 struct device_node *refnode; in __of_adjust_phandle_ref()
195 static int __of_node_name_cmp(const struct device_node *dn1, in __of_node_name_cmp()
196 const struct device_node *dn2) in __of_node_name_cmp()
211 static int __of_adjust_tree_phandle_references(struct device_node *node, in __of_adjust_tree_phandle_references()
[all …]
Dirq.c38 unsigned int irq_of_parse_and_map(struct device_node *dev, int index) in irq_of_parse_and_map()
56 struct device_node *of_irq_find_parent(struct device_node *child) in of_irq_find_parent()
58 struct device_node *p; in of_irq_find_parent()
99 struct device_node *ipar, *tnode, *old = NULL, *newpar = NULL; in of_irq_parse_raw()
289 int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq) in of_irq_parse_one()
291 struct device_node *p; in of_irq_parse_one()
362 int of_irq_to_resource(struct device_node *dev, int index, struct resource *r) in of_irq_to_resource()
397 int of_irq_get(struct device_node *dev, int index) in of_irq_get()
424 int of_irq_get_byname(struct device_node *dev, const char *name) in of_irq_get_byname()
443 int of_irq_count(struct device_node *dev) in of_irq_count()
[all …]
Daddress.c17 static struct of_bus *of_match_bus(struct device_node *np);
18 static int __of_address_to_resource(struct device_node *dev,
39 int (*match)(struct device_node *parent);
40 void (*count_cells)(struct device_node *child,
52 static void of_bus_default_count_cells(struct device_node *dev, in of_bus_default_count_cells()
101 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
112 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
174 const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, u64 *size, in of_get_pci_address()
179 struct device_node *parent; in of_get_pci_address()
218 int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
[all …]
Dpdt.c28 void __initdata (*of_pdt_build_more)(struct device_node *dp);
37 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name()
62 static inline void irq_trans_init(struct device_node *dp) { } in irq_trans_init()
64 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name()
169 static struct device_node * __init of_pdt_create_node(phandle node, in of_pdt_create_node()
170 struct device_node *parent) in of_pdt_create_node()
172 struct device_node *dp; in of_pdt_create_node()
193 static struct device_node * __init of_pdt_build_tree(struct device_node *parent, in of_pdt_build_tree()
196 struct device_node *ret = NULL, *prev_sibling = NULL; in of_pdt_build_tree()
197 struct device_node *dp; in of_pdt_build_tree()
Dof_mdio.c29 static int of_get_phy_id(struct device_node *device, u32 *phy_id) in of_get_phy_id()
44 static int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, in of_mdiobus_register_phy()
95 int of_mdio_parse_addr(struct device *dev, const struct device_node *np) in of_mdio_parse_addr()
125 int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register()
127 struct device_node *child; in of_mdiobus_register()
203 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device()
226 struct device_node *phy_np, in of_phy_connect()
259 struct device_node *phy_np, u32 flags, in of_phy_attach()
286 bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link()
288 struct device_node *dn; in of_phy_is_fixed_link()
[all …]
Dplatform.c46 struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node()
74 struct device_node *node = dev->of_node; in of_device_make_bus_id()
105 struct platform_device *of_device_alloc(struct device_node *np, in of_device_alloc()
169 struct device_node *np, in of_platform_device_create_pdata()
211 struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create()
220 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
284 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create()
297 struct device_node *np) in of_dev_lookup()
328 static int of_platform_bus_create(struct device_node *bus, in of_platform_bus_create()
334 struct device_node *child; in of_platform_bus_create()
[all …]
Dof_pci.c10 static inline int __of_pci_pci_compare(struct device_node *node, in __of_pci_pci_compare()
22 struct device_node *of_pci_find_child_device(struct device_node *parent, in of_pci_find_child_device()
25 struct device_node *node, *node2; in of_pci_find_child_device()
57 int of_pci_get_devfn(struct device_node *np) in of_pci_get_devfn()
78 int of_pci_parse_bus_range(struct device_node *node, struct resource *res) in of_pci_parse_bus_range()
105 int of_get_pci_domain_nr(struct device_node *node) in of_get_pci_domain_nr()
166 int of_pci_get_host_bridge_resources(struct device_node *dev, in of_pci_get_host_bridge_resources()
292 struct msi_controller *of_pci_find_msi_chip_by_node(struct device_node *of_node) in of_pci_find_msi_chip_by_node()
/drivers/video/fbdev/omap2/dss/
Ddss-of.c25 struct device_node *
26 omapdss_of_get_next_port(const struct device_node *parent, in omapdss_of_get_next_port()
27 struct device_node *prev) in omapdss_of_get_next_port()
29 struct device_node *port = NULL; in omapdss_of_get_next_port()
35 struct device_node *ports; in omapdss_of_get_next_port()
49 struct device_node *ports; in omapdss_of_get_next_port()
71 struct device_node *
72 omapdss_of_get_next_endpoint(const struct device_node *parent, in omapdss_of_get_next_endpoint()
73 struct device_node *prev) in omapdss_of_get_next_endpoint()
75 struct device_node *ep = NULL; in omapdss_of_get_next_endpoint()
[all …]
Domapdss-boot-init.c39 struct device_node *node;
55 static void __init omapdss_update_prop(struct device_node *node, char *compat, in omapdss_update_prop()
91 static void __init omapdss_omapify_node(struct device_node *node) in omapdss_omapify_node()
120 static void __init omapdss_add_to_list(struct device_node *node, bool root) in omapdss_add_to_list()
131 static bool __init omapdss_list_contains(const struct device_node *node) in omapdss_list_contains()
143 static void __init omapdss_walk_device(struct device_node *node, bool root) in omapdss_walk_device()
145 struct device_node *n; in omapdss_walk_device()
163 struct device_node *pn; in omapdss_walk_device()
190 struct device_node *dss, *child; in omapdss_boot_init()
/drivers/pci/hotplug/
Drpadlpar_core.c43 static struct device_node *find_vio_slot_node(char *drc_name) in find_vio_slot_node()
45 struct device_node *parent = of_find_node_by_name(NULL, "vdevice"); in find_vio_slot_node()
46 struct device_node *dn = NULL; in find_vio_slot_node()
64 static struct device_node *find_php_slot_pci_node(char *drc_name, in find_php_slot_pci_node()
67 struct device_node *np = NULL; in find_php_slot_pci_node()
83 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node()
85 struct device_node *dn; in find_dlpar_node()
117 static struct slot *find_php_slot(struct device_node *dn) in find_php_slot()
132 struct device_node *dev_dn) in dlpar_find_new_dev()
135 struct device_node *child_dn; in dlpar_find_new_dev()
[all …]
/drivers/gpu/drm/exynos/
Dexynos_drm_dpi.c28 struct device_node *panel_node;
176 static struct device_node *
177 of_get_child_by_name_reg(struct device_node *parent, const char *name, u32 reg) in of_get_child_by_name_reg()
179 struct device_node *np; in of_get_child_by_name_reg()
197 static struct device_node *of_graph_get_port_by_reg(struct device_node *parent, in of_graph_get_port_by_reg()
200 struct device_node *ports, *port; in of_graph_get_port_by_reg()
213 static struct device_node *
214 of_graph_get_endpoint_by_reg(struct device_node *port, u32 reg) in of_graph_get_endpoint_by_reg()
219 static struct device_node *
220 of_graph_get_remote_port_parent(const struct device_node *node) in of_graph_get_remote_port_parent()
[all …]
/drivers/clk/socfpga/
Dclk.h38 void __init socfpga_pll_init(struct device_node *node);
39 void __init socfpga_periph_init(struct device_node *node);
40 void __init socfpga_gate_init(struct device_node *node);
41 void socfpga_a10_pll_init(struct device_node *node);
42 void socfpga_a10_periph_init(struct device_node *node);
43 void socfpga_a10_gate_init(struct device_node *node);
/drivers/hwtracing/coresight/
Dof_coresight.c35 of_coresight_get_endpoint_device(struct device_node *endpoint) in of_coresight_get_endpoint_device()
56 static void of_coresight_get_ports(struct device_node *node, in of_coresight_get_ports()
59 struct device_node *ep = NULL; in of_coresight_get_ports()
106 struct device *dev, struct device_node *node) in of_get_coresight_platform_data()
112 struct device_node *dn; in of_get_coresight_platform_data()
113 struct device_node *ep = NULL; in of_get_coresight_platform_data()
114 struct device_node *rparent = NULL; in of_get_coresight_platform_data()
115 struct device_node *rport = NULL; in of_get_coresight_platform_data()
/drivers/video/
Dof_display_timing.c26 static int parse_timing_property(const struct device_node *np, const char *name, in parse_timing_property()
59 static int of_parse_display_timing(const struct device_node *np, in of_parse_display_timing()
113 int of_get_display_timing(struct device_node *np, const char *name, in of_get_display_timing()
116 struct device_node *timing_np; in of_get_display_timing()
136 struct display_timings *of_get_display_timings(struct device_node *np) in of_get_display_timings()
138 struct device_node *timings_np; in of_get_display_timings()
139 struct device_node *entry; in of_get_display_timings()
140 struct device_node *native_mode; in of_get_display_timings()
252 int of_display_timings_exist(struct device_node *np) in of_display_timings_exist()
254 struct device_node *timings_np; in of_display_timings_exist()
/drivers/acpi/acpica/
Duteval.c208 struct acpi_namespace_node *device_node, in acpi_ut_evaluate_numeric_object() argument
216 status = acpi_ut_evaluate_object(device_node, object_name, in acpi_ut_evaluate_numeric_object()
250 acpi_ut_execute_STA(struct acpi_namespace_node *device_node, u32 * flags) in acpi_ut_execute_STA() argument
257 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__STA, in acpi_ut_execute_STA()
268 acpi_ut_get_node_name(device_node))); in acpi_ut_execute_STA()
306 acpi_ut_execute_power_methods(struct acpi_namespace_node *device_node, in acpi_ut_execute_power_methods() argument
322 status = acpi_ut_evaluate_object(device_node, in acpi_ut_execute_power_methods()
344 acpi_ut_get_node_name(device_node), in acpi_ut_execute_power_methods()
Dnsinit.c456 struct acpi_namespace_node *device_node; in acpi_ns_init_one_device() local
462 device_node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle); in acpi_ns_init_one_device()
463 if ((device_node->type != ACPI_TYPE_DEVICE) && in acpi_ns_init_one_device()
464 (device_node->type != ACPI_TYPE_PROCESSOR) && in acpi_ns_init_one_device()
465 (device_node->type != ACPI_TYPE_THERMAL)) { in acpi_ns_init_one_device()
476 if (!(device_node->flags & ANOBJ_SUBTREE_HAS_INI)) { in acpi_ns_init_one_device()
492 (ACPI_TYPE_METHOD, device_node, METHOD_NAME__STA)); in acpi_ns_init_one_device()
494 status = acpi_ut_execute_STA(device_node, &flags); in acpi_ns_init_one_device()
567 (ACPI_TYPE_METHOD, device_node, METHOD_NAME__INI)); in acpi_ns_init_one_device()
570 info->prefix_node = device_node; in acpi_ns_init_one_device()
[all …]
/drivers/clk/ti/
Ddpll.c156 struct device_node *node) in _register_dpll()
301 static void _register_dpll_x2(struct device_node *node, in _register_dpll_x2()
349 static void __init of_ti_dpll_setup(struct device_node *node, in of_ti_dpll_setup()
443 static void __init of_ti_omap4_dpll_x2_setup(struct device_node *node) in of_ti_omap4_dpll_x2_setup()
452 static void __init of_ti_am3_dpll_x2_setup(struct device_node *node) in of_ti_am3_dpll_x2_setup()
461 static void __init of_ti_omap3_dpll_setup(struct device_node *node) in of_ti_omap3_dpll_setup()
486 static void __init of_ti_omap3_core_dpll_setup(struct device_node *node) in of_ti_omap3_core_dpll_setup()
505 static void __init of_ti_omap3_per_dpll_setup(struct device_node *node) in of_ti_omap3_per_dpll_setup()
525 static void __init of_ti_omap3_per_jtype_dpll_setup(struct device_node *node) in of_ti_omap3_per_jtype_dpll_setup()
548 static void __init of_ti_omap4_dpll_setup(struct device_node *node) in of_ti_omap4_dpll_setup()
[all …]
Dinterface.c104 static void __init _of_ti_interface_clk_setup(struct device_node *node, in _of_ti_interface_clk_setup()
133 static void __init of_ti_interface_clk_setup(struct device_node *node) in of_ti_interface_clk_setup()
140 static void __init of_ti_no_wait_interface_clk_setup(struct device_node *node) in of_ti_no_wait_interface_clk_setup()
148 static void __init of_ti_hsotgusb_interface_clk_setup(struct device_node *node) in of_ti_hsotgusb_interface_clk_setup()
156 static void __init of_ti_dss_interface_clk_setup(struct device_node *node) in of_ti_dss_interface_clk_setup()
164 static void __init of_ti_ssi_interface_clk_setup(struct device_node *node) in of_ti_ssi_interface_clk_setup()
171 static void __init of_ti_am35xx_interface_clk_setup(struct device_node *node) in of_ti_am35xx_interface_clk_setup()
180 static void __init of_ti_omap2430_interface_clk_setup(struct device_node *node) in of_ti_omap2430_interface_clk_setup()
/drivers/irqchip/
Dirq-atmel-aic-common.c96 struct device_node *ctrlr, in aic_common_irq_domain_xlate()
117 struct device_node *node = irq_domain_get_of_node(domain); in aic_common_ext_irq_of_init()
146 void __init aic_common_rtc_irq_fixup(struct device_node *root) in aic_common_rtc_irq_fixup()
148 struct device_node *np; in aic_common_rtc_irq_fixup()
174 void __init aic_common_rtt_irq_fixup(struct device_node *root) in aic_common_rtt_irq_fixup()
176 struct device_node *np; in aic_common_rtt_irq_fixup()
198 struct device_node *root = of_find_node_by_path("/"); in aic_common_irq_fixup()
207 void (*fixup)(struct device_node *) = match->data; in aic_common_irq_fixup()
214 struct irq_domain *__init aic_common_of_init(struct device_node *node, in aic_common_of_init()
/drivers/sbus/char/
Dopenprom.c58 struct device_node *current_node; /* Current node for SunOS ioctls. */
59 struct device_node *lastnode; /* Last valid node used by BSD ioctls. */
64 static struct device_node *options_node;
143 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromgetprop()
160 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromnxtprop()
190 static int opromsetopt(struct device_node *dp, struct openpromio *op, int bufsize) in opromsetopt()
198 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio… in opromnext()
245 static int oprompci2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufs… in oprompci2node()
252 struct device_node *dp; in oprompci2node()
270 static int oprompath2node(void __user *argp, struct device_node *dp, struct openpromio *op, int buf… in oprompath2node()
[all …]

12345678910>>...63