/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 *);
|
D | hotplug-cpu.c | 149 static int pseries_add_processor(struct device_node *np) in pseries_add_processor() 215 static void pseries_remove_processor(struct device_node *np) in pseries_remove_processor() 247 static int dlpar_offline_cpu(struct device_node *dn) in dlpar_offline_cpu() 289 static int dlpar_online_cpu(struct device_node *dn) in dlpar_online_cpu() 331 static bool dlpar_cpu_exists(struct device_node *parent, u32 drc_index) in dlpar_cpu_exists() 333 struct device_node *child = NULL; in dlpar_cpu_exists() 357 static bool drc_info_valid_index(struct device_node *parent, u32 drc_index) in drc_info_valid_index() 399 static bool valid_cpu_drc_index(struct device_node *parent, u32 drc_index) in valid_cpu_drc_index() 430 struct device_node *dn, *parent; in dlpar_cpu_add() 507 static ssize_t dlpar_cpu_remove(struct device_node *dn, u32 drc_index) in dlpar_cpu_remove() [all …]
|
/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);
|
/arch/powerpc/include/asm/ |
D | pmac_low_i2c.h | 55 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);
|
D | pci-bridge.h | 12 struct device_node; 58 struct device_node *dn; 171 extern int pci_device_from_OF_node(struct device_node *node, 226 struct device_node *dn); 227 extern void pci_remove_device_node_info(struct device_node *dn); 234 static inline int pci_device_from_OF_node(struct device_node *np, in pci_device_from_OF_node() 254 extern struct pci_bus *pci_find_bus_by_node(struct device_node *dn); 275 struct device_node* node); 281 struct device_node *dev, int primary); 284 extern struct pci_controller *pcibios_alloc_controller(struct device_node *dev);
|
D | ppc-pci.h | 29 struct device_node; 32 void *pci_traverse_device_nodes(struct device_node *start, 33 void *(*fn)(struct device_node *, void *), 42 extern unsigned long get_phb_buid (struct device_node *);
|
D | pnv-pci.h | 20 extern int pnv_pci_get_slot_id(struct device_node *np, uint64_t *id); 35 struct device_node *pnv_pci_get_phb_node(struct pci_dev *dev); 61 struct device_node *dn; 73 extern struct pnv_php_slot *pnv_php_find_slot(struct device_node *dn);
|
/arch/powerpc/platforms/cell/ |
D | cbe_regs.c | 31 struct device_node *cpu_node; 32 struct device_node *be_node; 42 struct device_node *cpu_node; 43 struct device_node *be_node; 52 static struct cbe_regs_map *cbe_find_map(struct device_node *np) in cbe_find_map() 55 struct device_node *tmp_np; in cbe_find_map() 82 struct cbe_pmd_regs __iomem *cbe_get_pmd_regs(struct device_node *np) in cbe_get_pmd_regs() 100 struct cbe_pmd_shadow_regs *cbe_get_pmd_shadow_regs(struct device_node *np) in cbe_get_pmd_shadow_regs() 116 struct cbe_iic_regs __iomem *cbe_get_iic_regs(struct device_node *np) in cbe_get_iic_regs() 132 struct cbe_mic_tm_regs __iomem *cbe_get_mic_tm_regs(struct device_node *np) in cbe_get_mic_tm_regs() [all …]
|
D | spu_manage.c | 28 struct device_node *spu_devnode(struct spu *spu) in spu_devnode() 35 static u64 __init find_spu_unit_number(struct device_node *spe) in find_spu_unit_number() 68 struct device_node *np) in spu_map_interrupts_old() 103 struct device_node *n, in spu_map_prop_old() 121 struct device_node *node = spu->devnode; in spu_map_device_old() 169 static int __init spu_map_interrupts(struct spu *spu, struct device_node *np) in spu_map_interrupts() 192 struct device_node *np = spu->devnode; in spu_map_resource() 211 struct device_node *np = spu->devnode; in spu_map_device() 266 struct device_node *node; in of_enumerate_spus() 286 struct device_node *spe = (struct device_node *)data; in of_create_spu() [all …]
|
/arch/sparc/kernel/ |
D | of_device_common.c | 16 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()
|
D | of_device_common.h | 13 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,
|
D | prom_64.c | 66 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component() 108 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) in sun4u_path_component() 144 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() 162 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() 188 static void __init upa_path_component(struct device_node *dp, char *tmp_buf) in upa_path_component() 211 static void __init vdev_path_component(struct device_node *dp, char *tmp_buf) in vdev_path_component() 227 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() 246 static void __init i2c_path_component(struct device_node *dp, char *tmp_buf) in i2c_path_component() 266 static void __init usb_path_component(struct device_node *dp, char *tmp_buf) in usb_path_component() 288 static void __init ieee1394_path_component(struct device_node *dp, char *tmp_buf) in ieee1394_path_component() [all …]
|
D | prom_32.c | 57 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() 74 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() 92 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() 118 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() 136 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component() 166 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) in __build_path_component() 168 struct device_node *parent = dp->parent; in __build_path_component() 188 char * __init build_path_component(struct device_node *dp) in build_path_component() 209 struct device_node *dp; in of_console_init() 321 void __init irq_trans_init(struct device_node *dp) in irq_trans_init()
|
D | prom_irqtrans.c | 43 static unsigned int psycho_irq_build(struct device_node *dp, in psycho_irq_build() 73 static void __init psycho_irq_trans_init(struct device_node *dp) in psycho_irq_trans_init() 182 static int sabre_device_needs_wsync(struct device_node *dp) in sabre_device_needs_wsync() 184 struct device_node *parent = dp->parent; in sabre_device_needs_wsync() 221 static unsigned int sabre_irq_build(struct device_node *dp, in sabre_irq_build() 269 static void __init sabre_irq_trans_init(struct device_node *dp) in sabre_irq_trans_init() 378 static unsigned int schizo_irq_build(struct device_node *dp, in schizo_irq_build() 426 static void __init __schizo_irq_trans_init(struct device_node *dp, in __schizo_irq_trans_init() 449 static void __init schizo_irq_trans_init(struct device_node *dp) in schizo_irq_trans_init() 454 static void __init tomatillo_irq_trans_init(struct device_node *dp) in tomatillo_irq_trans_init() [all …]
|
D | of_device_64.c | 47 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() 94 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells() 171 static int of_bus_fhc_match(struct device_node *np) in of_bus_fhc_match() 231 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus() 242 static int __init build_one_resource(struct device_node *parent, in build_one_resource() 283 static int __init use_1to1_mapping(struct device_node *pp) in use_1to1_mapping() 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 [all …]
|
D | of_device_32.c | 23 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() 340 static struct platform_device * __init scan_one_device(struct device_node *dp, in scan_one_device() [all …]
|
/arch/mips/include/asm/ |
D | irq_cpu.h | 17 struct device_node; 18 extern int mips_cpu_irq_of_init(struct device_node *of_node, 19 struct device_node *parent);
|
/arch/powerpc/sysdev/ |
D | dcr.c | 15 static struct device_node *find_dcr_parent(struct device_node *node) in find_dcr_parent() 17 struct device_node *par, *tmp; in find_dcr_parent() 48 dcr_host_t dcr_map_generic(struct device_node *dev, in dcr_map_generic() 53 struct device_node *dp; in dcr_map_generic() 115 unsigned int dcr_resource_start(const struct device_node *np, in dcr_resource_start() 128 unsigned int dcr_resource_len(const struct device_node *np, unsigned int index) in dcr_resource_len() 142 static u64 of_translate_dcr_address(struct device_node *dev, in of_translate_dcr_address() 146 struct device_node *dp; in of_translate_dcr_address() 178 dcr_host_mmio_t dcr_map_mmio(struct device_node *dev, in dcr_map_mmio()
|
D | fsl_soc.c | 48 struct device_node *soc; in get_immrbase() 79 struct device_node *soc; in fsl_get_sys_freq() 102 struct device_node *node; in get_brgfreq() 138 struct device_node *node; in get_baudrate() 170 struct device_node *np; in setup_rstcr()
|
/arch/microblaze/include/asm/ |
D | pci-bridge.h | 11 struct device_node; 29 struct device_node *dn; 130 struct device_node *node); 134 struct device_node *dev, int primary); 137 extern struct pci_controller *pcibios_alloc_controller(struct device_node *dev);
|
/arch/powerpc/kernel/ |
D | legacy_serial.c | 32 struct device_node *np; 73 static int __init add_legacy_port(struct device_node *np, int want_index, in add_legacy_port() 162 static int __init add_legacy_soc_port(struct device_node *np, in add_legacy_soc_port() 163 struct device_node *soc_dev) in add_legacy_soc_port() 167 struct device_node *tsi = of_get_parent(np); in add_legacy_soc_port() 203 static int __init add_legacy_isa_port(struct device_node *np, in add_legacy_isa_port() 204 struct device_node *isa_brg) in add_legacy_isa_port() 252 static int __init add_legacy_pci_port(struct device_node *np, in add_legacy_pci_port() 253 struct device_node *pci_dev) in add_legacy_pci_port() 367 struct device_node *np, *stdout = NULL; in find_legacy_serial_ports() [all …]
|
D | secure_boot.c | 10 static struct device_node *get_ppc_fw_sb_node(void) in get_ppc_fw_sb_node() 24 struct device_node *node; in is_ppc_secureboot_enabled() 46 struct device_node *node; in is_ppc_trustedboot_enabled()
|
/arch/arm/mach-mvebu/ |
D | coherency.c | 120 static void __init armada_370_coherency_init(struct device_node *np) in armada_370_coherency_init() 123 struct device_node *cpu_config_np; in armada_370_coherency_init() 171 static void __init armada_375_380_coherency_init(struct device_node *np) in armada_375_380_coherency_init() 173 struct device_node *cache_dn; in armada_375_380_coherency_init() 204 struct device_node *np; in coherency_type() 270 struct device_node *np; in coherency_init()
|
/arch/riscv/include/asm/ |
D | processor.h | 68 struct device_node; 69 int riscv_of_processor_hartid(struct device_node *node); 70 int riscv_of_parent_hartid(struct device_node *node);
|
/arch/arm/mach-bcm/ |
D | bcm63xx_smp.h | 5 struct device_node; 7 extern int bcm63xx_pmb_power_on_cpu(struct device_node *dn);
|