Home
last modified time | relevance | path

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

12345678910>>...21

/arch/sparc/include/asm/
A Dprom.h31 unsigned int (*irq_build)(struct device_node *, unsigned int, void *);
35 struct device_node *of_find_node_by_cpuid(int cpuid);
36 int of_set_property(struct device_node *node, const char *name, void *val, int len);
38 int of_getintprop_default(struct device_node *np,
51 extern struct device_node *of_console_device;
55 void irq_trans_init(struct device_node *dp);
56 char *build_path_component(struct device_node *dp);
/arch/powerpc/include/asm/
A Dpmac_low_i2c.h55 extern struct pmac_i2c_bus *pmac_i2c_find_bus(struct device_node *node);
61 extern u8 pmac_i2c_get_dev_addr(struct device_node *device);
64 extern struct device_node *pmac_i2c_get_controller(struct pmac_i2c_bus *bus);
65 extern struct device_node *pmac_i2c_get_bus_node(struct pmac_i2c_bus *bus);
78 extern int pmac_i2c_match_adapter(struct device_node *dev,
83 extern int pmac_low_i2c_lock(struct device_node *np);
84 extern int pmac_low_i2c_unlock(struct device_node *np);
A Dpci-bridge.h13 struct device_node;
62 struct device_node *dn;
181 extern int pci_device_from_OF_node(struct device_node *node,
243 struct device_node *dn);
244 extern void pci_remove_device_node_info(struct device_node *dn);
261 extern struct pci_bus *pci_find_bus_by_node(struct device_node *dn);
282 struct device_node* node);
288 struct device_node *dev, int primary);
291 extern struct pci_controller *pcibios_alloc_controller(struct device_node *dev);
A Ddcr.h25 struct device_node;
26 extern unsigned int dcr_resource_start(const struct device_node *np,
28 extern unsigned int dcr_resource_len(const struct device_node *np,
A Dppc-pci.h25 struct device_node;
28 void *pci_traverse_device_nodes(struct device_node *start,
29 void *(*fn)(struct device_node *, void *),
45 extern unsigned long get_phb_buid (struct device_node *);
A Dpci.h95 extern struct pci_controller *init_phb_dynamic(struct device_node *dn);
98 extern struct pci_dev *of_create_pci_dev(struct device_node *node,
105 extern void of_scan_bus(struct device_node *node, struct pci_bus *bus);
106 extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus);
A Dpmac_pfunc.h129 struct device_node *node;
178 extern int pmf_register_driver(struct device_node *np,
182 extern void pmf_unregister_driver(struct device_node *np);
188 extern int pmf_register_irq_client(struct device_node *np,
217 extern int pmf_do_functions(struct device_node *np, const char *name,
231 extern int pmf_call_function(struct device_node *target, const char *name,
240 extern struct pmf_function *pmf_find_function(struct device_node *target,
/arch/powerpc/platforms/pseries/
A Dpseries.h12 struct device_node;
14 void __init request_event_sources_irqs(struct device_node *np,
48 extern void dlpar_free_cc_nodes(struct device_node *);
50 extern struct device_node *dlpar_configure_connector(__be32,
51 struct device_node *);
52 extern int dlpar_attach_node(struct device_node *, struct device_node *);
53 extern int dlpar_detach_node(struct device_node *);
A Ddlpar.c80 struct device_node *dn; in dlpar_parse_cc_node()
136 struct device_node *dn; in dlpar_configure_connector()
234 int dlpar_attach_node(struct device_node *dn, struct device_node *parent) in dlpar_attach_node()
251 struct device_node *child; in dlpar_detach_node()
266 struct device_node *dn) in dlpar_changeset_attach_cc_nodes()
345 static struct device_node *
369 static struct device_node *
407 static struct device_node *
506 struct device_node *node) in changeset_detach_node_recursive()
508 struct device_node *child; in changeset_detach_node_recursive()
[all …]
A Dhotplug-cpu.c214 static int pseries_add_processor(struct device_node *np) in pseries_add_processor()
296 static void pseries_remove_processor(struct device_node *np) in pseries_remove_processor()
328 static int dlpar_offline_cpu(struct device_node *dn) in dlpar_offline_cpu()
384 static int dlpar_online_cpu(struct device_node *dn) in dlpar_online_cpu()
436 struct device_node *child = NULL; in dlpar_cpu_exists()
554 struct device_node *dn, *parent; in dlpar_cpu_add()
634 struct device_node *dn, *tn; in pseries_cpuhp_cache_use_count()
657 struct device_node *dn; in pseries_cpuhp_detach_nodes()
725 struct device_node *dn; in cpu_drc_index_to_dn()
743 struct device_node *dn; in dlpar_cpu_remove_by_index()
[all …]
/arch/sparc/kernel/
A Dof_device_common.c16 unsigned int irq_of_parse_and_map(struct device_node *node, int index) in irq_of_parse_and_map()
27 int of_address_to_resource(struct device_node *node, int index, in of_address_to_resource()
40 void __iomem *of_iomap(struct device_node *node, int index) in of_iomap()
60 struct device_node *bus_dp = bus->dev.of_node; in of_propagate_archdata()
61 struct device_node *dp; in of_propagate_archdata()
77 static void get_cells(struct device_node *dp, int *addrc, int *sizec) in get_cells()
89 void of_bus_default_count_cells(struct device_node *dev, int *addrc, int *sizec) in of_bus_default_count_cells()
151 int of_bus_sbus_match(struct device_node *np) in of_bus_sbus_match()
153 struct device_node *dp = np; in of_bus_sbus_match()
174 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec) in of_bus_sbus_count_cells()
A Dprom_64.c66 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component()
311 struct device_node *parent = dp->parent; in __build_path_component()
360 char * __init build_path_component(struct device_node *dp) in build_path_component()
381 bool arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id()
436 struct device_node *dp; in of_iterate_over_cpus()
469 static void *check_cpu_node(struct device_node *dp, int cpuid, int id) in check_cpu_node()
476 struct device_node *of_find_node_by_cpuid(int cpuid) in of_find_node_by_cpuid()
481 static void *record_one_cpu(struct device_node *dp, int cpuid, int arg) in record_one_cpu()
502 static void *fill_in_one_cpu(struct device_node *dp, int cpuid, int arg) in fill_in_one_cpu()
504 struct device_node *portid_parent = NULL; in fill_in_one_cpu()
[all …]
A Dof_device_common.h13 void of_bus_default_count_cells(struct device_node *dev, int *addrc,
20 int of_bus_sbus_match(struct device_node *np);
21 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec);
29 int (*match)(struct device_node *parent);
30 void (*count_cells)(struct device_node *child,
A Dprom_32.c55 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component()
72 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component()
90 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component()
116 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component()
134 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component()
164 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) in __build_path_component()
166 struct device_node *parent = dp->parent; in __build_path_component()
186 char * __init build_path_component(struct device_node *dp) in build_path_component()
207 struct device_node *dp; in of_console_init()
319 void __init irq_trans_init(struct device_node *dp) in irq_trans_init()
A Dprom_irqtrans.c44 static unsigned int psycho_irq_build(struct device_node *dp, in psycho_irq_build()
74 static void __init psycho_irq_trans_init(struct device_node *dp) in psycho_irq_trans_init()
183 static int sabre_device_needs_wsync(struct device_node *dp) in sabre_device_needs_wsync()
185 struct device_node *parent = dp->parent; in sabre_device_needs_wsync()
222 static unsigned int sabre_irq_build(struct device_node *dp, in sabre_irq_build()
379 static unsigned int schizo_irq_build(struct device_node *dp, in schizo_irq_build()
511 static unsigned int fire_irq_build(struct device_node *dp, in fire_irq_build()
649 static unsigned int sbus_of_build_irq(struct device_node *dp, in sbus_of_build_irq()
723 struct device_node *central_dp = _data; in central_build_irq()
763 void (*init)(struct device_node *);
[all …]
A Dof_device_64.c47 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
70 static int of_bus_simba_match(struct device_node *np) in of_bus_simba_match()
356 struct device_node *dp = op->dev.of_node; in build_device_resources()
357 struct device_node *pp = p_op->dev.of_node; in build_device_resources()
420 static struct device_node * __init
421 apply_interrupt_map(struct device_node *dp, struct device_node *pp, in apply_interrupt_map()
425 struct device_node *cp; in apply_interrupt_map()
481 struct device_node *pp, in pci_irq_swizzle()
538 struct device_node *dp = op->dev.of_node; in build_one_device_irq()
539 struct device_node *pp, *ip; in build_one_device_irq()
[all …]
A Dof_device_32.c23 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
41 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
108 static int of_bus_ambapp_match(struct device_node *np) in of_bus_ambapp_match()
113 static void of_bus_ambapp_count_cells(struct device_node *child, in of_bus_ambapp_count_cells()
177 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
188 static int __init build_one_resource(struct device_node *parent, in build_one_resource()
223 static int __init use_1to1_mapping(struct device_node *pp) in use_1to1_mapping()
278 struct device_node *dp = op->dev.of_node; in build_device_resources()
279 struct device_node *pp = p_op->dev.of_node; in build_device_resources()
397 static void __init scan_tree(struct device_node *dp, struct device *parent) in scan_tree()
[all …]
/arch/mips/include/asm/
A Dirq_cpu.h15 struct device_node;
16 extern int mips_cpu_irq_of_init(struct device_node *of_node,
17 struct device_node *parent);
/arch/powerpc/kernel/
A Dlegacy_serial.c33 struct device_node *np;
165 struct device_node *soc_dev) in add_legacy_soc_port()
169 struct device_node *tsi = of_get_parent(np); in add_legacy_soc_port()
206 struct device_node *isa_brg) in add_legacy_isa_port()
255 struct device_node *pci_dev) in add_legacy_pci_port()
395 struct device_node *np, *stdout = NULL; in find_legacy_serial_ports()
430 struct device_node *isa = of_get_parent(np); in find_legacy_serial_ports()
491 struct device_node *np, in fixup_port_irq()
524 struct device_node *np, in fixup_port_pio()
548 struct device_node *np, in fixup_port_mmio()
[all …]
A Disa-bridge.c35 static struct device_node *isa_bridge_devnode;
58 static int process_ISA_OF_ranges(struct device_node *isa_node, in process_ISA_OF_ranges()
113 struct device_node *np, *parent = NULL, *tmp; in isa_bridge_find_early()
157 void __init isa_bridge_init_non_pci(struct device_node *np) in isa_bridge_init_non_pci()
185 struct device_node *devnode) in isa_bridge_find_late()
234 struct device_node *devnode = pci_device_to_OF_node(pdev); in isa_bridge_notify()
A Dpci_dn.c33 struct device_node *dn; in pci_bus_to_pdn()
61 struct device_node *dn = NULL; in pci_get_pdn_by_devfn()
97 struct device_node *dn; in pci_get_pdn()
283 struct device_node *dn) in pci_add_device_node_info()
287 struct device_node *parent; in pci_add_device_node_info()
341 void pci_remove_device_node_info(struct device_node *dn) in pci_remove_device_node_info()
344 struct device_node *parent; in pci_remove_device_node_info()
403 void *(*fn)(struct device_node *, void *), in pci_traverse_device_nodes() argument
406 struct device_node *dn, *nextdn; in pci_traverse_device_nodes()
447 static void *add_pdn(struct device_node *dn, void *data) in add_pdn()
[all …]
/arch/arm/mach-mvebu/
A Dcoherency.c117 static void __init armada_370_coherency_init(struct device_node *np) in armada_370_coherency_init()
120 struct device_node *cpu_config_np; in armada_370_coherency_init()
168 static void __init armada_375_380_coherency_init(struct device_node *np) in armada_375_380_coherency_init()
170 struct device_node *cache_dn; in armada_375_380_coherency_init()
201 struct device_node *np; in coherency_type()
267 struct device_node *np; in coherency_init()
/arch/powerpc/sysdev/
A Dfsl_soc.c41 struct device_node *soc; in get_immrbase()
64 struct device_node *soc; in fsl_get_sys_freq()
87 struct device_node *node; in get_brgfreq()
123 struct device_node *node; in get_baudrate()
155 struct device_node *np; in setup_rstcr()
/arch/x86/kernel/
A Ddevicetree.c61 struct device_node *pcibios_get_phb_of_node(struct pci_bus *bus) in pcibios_get_phb_of_node()
63 struct device_node *np; in pcibios_get_phb_of_node()
112 struct device_node *dn; in dtb_setup_hpet()
132 struct device_node *dn; in dtb_cpu_setup()
148 struct device_node *dn; in dtb_lapic_setup()
239 static void __init dtb_add_ioapic(struct device_node *dn) in dtb_add_ioapic()
259 struct device_node *dn; in dtb_ioapic_setup()
/arch/powerpc/platforms/powermac/
A Dfeature.c55 extern struct device_node *k2_skiplist[2];
104 struct device_node *uninorth_node;
1047 struct device_node *np; in core99_reset_cpu()
1406 struct device_node *phy; in g5_eth_phy_reset()
1497 struct device_node *np; in g5_reset_cpu()
2368 struct device_node *node; in pmac_do_feature_call()
2403 struct device_node *dt; in probe_motherboard()
2503 struct device_node *np; in probe_motherboard()
2612 struct device_node* node; in probe_one_macio()
2748 struct device_node *np; in set_initial_features()
[all …]

Completed in 45 milliseconds

12345678910>>...21