Home
last modified time | relevance | path

Searched refs:of_node_is_type (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/linux/arch/sparc/kernel/
H A Dprom_32.c171 if (of_node_is_type(parent, "pci") || in __build_path_component()
172 of_node_is_type(parent, "pciex")) in __build_path_component()
174 if (of_node_is_type(parent, "sbus")) in __build_path_component()
176 if (of_node_is_type(parent, "ebus")) in __build_path_component()
178 if (of_node_is_type(parent, "ambapp")) in __build_path_component()
274 if (!of_node_is_type(dp, "display") && in of_console_init()
275 !of_node_is_type(dp, "serial")) { in of_console_init()
H A Dprom_64.c314 if (of_node_is_type(parent, "pci") || in __build_path_component()
315 of_node_is_type(parent, "pciex")) { in __build_path_component()
319 if (of_node_is_type(parent, "sbus")) { in __build_path_component()
323 if (of_node_is_type(parent, "upa")) { in __build_path_component()
327 if (of_node_is_type(parent, "ebus")) { in __build_path_component()
336 if (of_node_is_type(parent, "i2c")) { in __build_path_component()
340 if (of_node_is_type(parent, "firewire")) { in __build_path_component()
344 if (of_node_is_type(parent, "virtual-devices")) { in __build_path_component()
626 if (!of_node_is_type(dp, "display") && !of_node_is_type(dp, "serial")) { in of_console_init()
H A Dreboot.c29 if (!of_node_is_type(of_console_device, "serial") || scons_pwroff) in machine_power_off()
H A Dof_device_32.c25 if (of_node_is_type(np, "pci") || of_node_is_type(np, "pciex")) { in of_bus_pci_match()
110 return of_node_is_type(np, "ambapp"); in of_bus_ambapp_match()
H A Dprocess_32.c107 (!of_node_is_type(of_console_device, "serial") || scons_pwroff)) { in machine_power_off()
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dcbe_regs.c56 if (!of_node_is_type(np, "spe")) { in cbe_find_map()
73 } while (!of_node_is_type(tmp_np, "cpu") || in cbe_find_map()
74 !of_node_is_type(tmp_np, "be")); in cbe_find_map()
H A Dsetup.c166 if (!of_node_is_type(np, "pci") && !of_node_is_type(np, "pciex")) in cell_publish_devices()
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_smu_sensors.c217 if (of_node_is_type(node, "temp-sensor") && in smu_ads_create()
226 } else if (of_node_is_type(node, "current-sensor") && in smu_ads_create()
235 } else if (of_node_is_type(node, "voltage-sensor") && in smu_ads_create()
244 } else if (of_node_is_type(node, "power-sensor") && in smu_ads_create()
H A Dwindfarm_smu_sat.c249 if (of_node_is_type(child, "voltage-sensor")) { in wf_sat_probe()
253 } else if (of_node_is_type(child, "current-sensor")) { in wf_sat_probe()
257 } else if (of_node_is_type(child, "temp-sensor")) { in wf_sat_probe()
H A Dwindfarm_fcu_controls.c441 if (of_node_is_type(np, "fan-rpm-control") || in wf_fcu_lookup_fans()
442 of_node_is_type(np, "fan-rpm")) in wf_fcu_lookup_fans()
444 if (of_node_is_type(np, "fan-pwm-control") || in wf_fcu_lookup_fans()
445 of_node_is_type(np, "fan-pwm")) in wf_fcu_lookup_fans()
H A Dmacio_asic.c225 of_node_is_type(np, "ide") || of_node_is_type(np, "ata")) { in macio_resource_quirks()
/openbmc/linux/arch/powerpc/kernel/
H A Dpci_of_scan.c218 if (of_node_is_type(node, "pci") || of_node_is_type(node, "pciex")) { in of_create_pci_dev()
223 } else if (of_node_is_type(node, "cardbus")) { in of_create_pci_dev()
H A Disa-bridge.c249 if (!isa_bridge_devnode && of_node_is_type(devnode, "isa")) in isa_bridge_notify()
H A Dlegacy_serial.c197 if (of_node_is_type(tsi, "tsi-bridge")) in add_legacy_soc_port()
450 !of_node_is_type(np, "serial")) { in find_legacy_serial_ports()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dmobility.c97 is_platfac = of_node_is_type(dn, "ibm,platform-facilities") || in delete_dt_node()
98 of_node_is_type(pdn, "ibm,platform-facilities"); in delete_dt_node()
280 if (of_node_is_type(dn, "ibm,platform-facilities")) { in add_dt_node()
H A Dsetup.c505 if (!of_node_is_type(node, "pci") && in pSeries_discover_phbs()
506 !of_node_is_type(node, "pciex")) in pSeries_discover_phbs()
1094 if (!of_node_is_type(of_root, "chrp")) in pSeries_probe()
H A Dhotplug-memory.c271 if (!of_node_is_type(np, "memory")) in pseries_remove_mem_node()
874 if (!of_node_is_type(np, "memory")) in pseries_add_mem_node()
H A Dvio.c1364 if (of_node_is_type(parent_node, "ibm,platform-facilities")) in vio_register_device_node()
1366 else if (of_node_is_type(parent_node, "vdevice")) in vio_register_device_node()
1685 if (of_node_is_type(vnode_parent, "vdevice")) { in vio_find_node()
1693 } else if (of_node_is_type(vnode_parent, "ibm,platform-facilities")) in vio_find_node()
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dudbg_adb.c197 int found = of_node_is_type(parent, "adb"); in udbg_adb_init()
/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dsetup.c284 if (!of_node_is_type(node, "serial")) in chrp_init()
524 if (of_node_is_type(kbd->parent, "adb")) in chrp_init_IRQ()
H A Dpci.c233 if (!of_node_is_type(dev, "pci")) in chrp_find_bridges()
/openbmc/linux/drivers/of/
H A Daddress.c181 return of_node_is_type(np, "pci") || of_node_is_type(np, "pciex") || in of_bus_pci_match()
182 of_node_is_type(np, "vci") || of_node_is_type(np, "ht") || in of_bus_pci_match()
/openbmc/linux/arch/mips/pci/
H A Dpci-rt3883.c436 if (of_node_is_type(child, "pci")) { in rt3883_pci_probe()
453 if (!of_node_is_type(child, "pci")) in rt3883_pci_probe()
/openbmc/linux/arch/powerpc/platforms/maple/
H A Dpci.c607 if (!of_node_is_type(np, "pci") && !of_node_is_type(np, "ht")) in maple_pci_init()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfsl_pq_mdio.c472 if (of_node_is_type(tbi, "tbi-phy")) { in fsl_pq_mdio_probe()

12