Home
last modified time | relevance | path

Searched refs:of_node_name_eq (Results 1 – 25 of 98) sorted by relevance

1234

/linux/drivers/input/serio/
H A Di8042-sparcio.h62 if (of_node_name_eq(dp, OBP_PS2KBD_NAME1) || in sparc_i8042_probe()
63 of_node_name_eq(dp, OBP_PS2KBD_NAME2)) { in sparc_i8042_probe()
72 } else if (of_node_name_eq(dp, OBP_PS2MS_NAME1) || in sparc_i8042_probe()
73 of_node_name_eq(dp, OBP_PS2MS_NAME2)) { in sparc_i8042_probe()
/linux/drivers/macintosh/
H A Dmacio_asic.c194 if (index == 0 && of_node_name_eq(np, "gc")) in macio_resource_quirks()
198 if (index >= 2 && of_node_name_eq(np, "radio")) in macio_resource_quirks()
211 if (of_node_name_eq(np, "escc")) in macio_resource_quirks()
215 if (index >= 3 && (of_node_name_eq(np, "ch-a") || in macio_resource_quirks()
216 of_node_name_eq(np, "ch-b"))) in macio_resource_quirks()
220 if (index > 0 && of_node_name_eq(np, "media-bay")) in macio_resource_quirks()
224 if (of_node_name_eq(np, "IDE") || of_node_name_eq(np, "ATA") || in macio_resource_quirks()
264 if (of_node_name_eq(np, "ch-a")) { in macio_add_missing_resources()
272 if (of_node_name_eq(np, "media-bay")) { in macio_add_missing_resources()
278 if (dev->media_bay != NULL && of_node_name_eq(np, "floppy")) { in macio_add_missing_resources()
[all …]
H A Dwindfarm_smu_controls.c270 if (of_node_name_eq(fans, "rpm-fans") || in smu_controls_init()
289 if (of_node_name_eq(fans, "pwm-fans")) in smu_controls_init()
H A Drack-meter.c378 if (of_node_name_eq(i2s, "i2s-a")) in rackmeter_probe()
387 if (of_node_name_eq(np, "lightshow")) in rackmeter_probe()
389 if (of_node_name_eq(np, "sound") && in rackmeter_probe()
H A Dans-lcd.c164 if (!node || !of_node_name_eq(node->parent, "gc")) { in anslcd_init()
/linux/drivers/tty/serial/
H A Dsuncore.c92 if (of_node_name_eq(uart_dp, "rsc") || in sunserial_console_termios()
93 of_node_name_eq(uart_dp, "rsc-console") || in sunserial_console_termios()
94 of_node_name_eq(uart_dp, "rsc-control")) { in sunserial_console_termios()
99 } else if (of_node_name_eq(uart_dp, "lom-console")) { in sunserial_console_termios()
/linux/arch/sparc/kernel/
H A Dprom_irqtrans.c729 if (of_node_name_eq(dp, "eeprom")) { in central_build_irq()
731 } else if (of_node_name_eq(dp, "zs")) { in central_build_irq()
733 } else if (of_node_name_eq(dp, "clock-board")) { in central_build_irq()
828 if (of_node_name_eq(dp, "sbus") || in irq_trans_init()
829 of_node_name_eq(dp, "sbi")) { in irq_trans_init()
834 if (of_node_name_eq(dp, "fhc") && in irq_trans_init()
835 of_node_name_eq(dp->parent, "central")) { in irq_trans_init()
839 if (of_node_name_eq(dp, "virtual-devices") || in irq_trans_init()
840 of_node_name_eq(dp, "niu")) { in irq_trans_init()
H A Dof_device_32.c235 if (of_node_name_eq(pp, "dma") || in use_1to1_mapping()
236 of_node_name_eq(pp, "espdma") || in use_1to1_mapping()
237 of_node_name_eq(pp, "ledma") || in use_1to1_mapping()
238 of_node_name_eq(pp, "lebuffer")) in use_1to1_mapping()
H A Dauxio_64.c111 if (of_node_name_eq(dp->parent, "ebus")) { in auxio_probe()
114 } else if (of_node_name_eq(dp->parent, "sbus")) { in auxio_probe()
H A Dof_device_common.c156 if (of_node_name_eq(dp, "sbus") || in of_bus_sbus_match()
157 of_node_name_eq(dp, "sbi")) in of_bus_sbus_match()
H A Dsun4d_irq.c338 if (of_node_name_eq(bus, "sbi")) { in sun4d_build_device_irq()
343 if (of_node_name_eq(bus, "bootbus")) { in sun4d_build_device_irq()
363 if (!of_node_name_eq(bus->parent, bus_connection)) { in sun4d_build_device_irq()
/linux/drivers/clk/ux500/
H A Du8500_of_clk.c595 if (of_node_name_eq(child, "prcmu-clock")) in u8500_clk_init()
599 if (of_node_name_eq(child, "clkout-clock")) in u8500_clk_init()
602 if (of_node_name_eq(child, "prcc-periph-clock")) in u8500_clk_init()
605 if (of_node_name_eq(child, "prcc-kernel-clock")) in u8500_clk_init()
608 if (of_node_name_eq(child, "rtc32k-clock")) in u8500_clk_init()
611 if (of_node_name_eq(child, "smp-twd-clock")) in u8500_clk_init()
614 if (of_node_name_eq(child, "prcc-reset-controller")) in u8500_clk_init()
/linux/arch/powerpc/platforms/powermac/
H A Dpci.c501 if (p2pbridge == NULL || !of_node_name_eq(p2pbridge->parent, "pci")) in init_p2pbridge()
826 } else if (of_node_name_eq(dev, "pci")) { in pmac_add_bridge()
830 } else if (of_node_name_eq(dev, "bandit")) { in pmac_add_bridge()
833 } else if (of_node_name_eq(dev, "chaos")) { in pmac_add_bridge()
917 if (of_node_name_eq(np, "bandit") in pmac_pci_init()
918 || of_node_name_eq(np, "chaos") in pmac_pci_init()
919 || of_node_name_eq(np, "pci")) { in pmac_pci_init()
923 if (of_node_name_eq(np, "ht")) { in pmac_pci_init()
983 if (uninorth_child && of_node_name_eq(node, "firewire") && in pmac_pci_enable_device_hook()
991 if (uninorth_child && of_node_name_eq(node, "ethernet") && in pmac_pci_enable_device_hook()
H A Dsetup.c532 if (of_node_name_eq(prom_stdout, "ch-a")) in check_pmac_serial_console()
534 else if (of_node_name_eq(prom_stdout, "ch-b")) in check_pmac_serial_console()
H A Dpfunc_base.c105 if (of_node_name_eq(gparent, "gpio")) in macio_gpio_init_one()
317 if (of_node_name_eq(np, "hw-clock")) { in uninorth_install_pfunc()
/linux/drivers/sbus/char/
H A Dflash.c166 if (!of_node_name_eq(parent, "sbus") && in flash_probe()
167 !of_node_name_eq(parent, "sbi") && in flash_probe()
168 !of_node_name_eq(parent, "ebus")) in flash_probe()
/linux/drivers/of/
H A Dproperty.c622 if (!of_node_name_eq(port, "port")) in of_graph_get_port_by_id()
664 } while (!of_node_name_eq(prev, "port")); in of_graph_get_next_port()
686 if (WARN(!of_node_name_eq(prev, "endpoint"), in of_graph_get_next_port_endpoint()
818 if (depth == 2 && !of_node_name_eq(node, "ports") && in of_graph_get_port_parent()
819 !of_node_name_eq(node, "in-ports") && in of_graph_get_port_parent()
820 !of_node_name_eq(node, "out-ports")) in of_graph_get_port_parent()
1045 if (of_node_name_eq(child, childname)) in of_fwnode_get_named_child_node()
1109 if (!of_node_name_eq(np, "ports")) in of_fwnode_graph_get_port_parent()
H A Dresolver.c277 if (of_node_name_eq(local_fixups, "__local_fixups__")) in of_resolve_phandles()
287 if (of_node_name_eq(child, "__fixups__")) in of_resolve_phandles()
H A Dbase.c59 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq() function
72 EXPORT_SYMBOL(of_node_name_eq);
368 if (!of_node_name_eq(device, name)) in __of_device_is_compatible()
767 if (!(of_node_name_eq(next, "cpu") || in of_get_next_cpu_node()
821 if (of_node_name_eq(child, name)) in of_get_child_by_name()
947 if (of_node_name_eq(np, name) && of_node_get(np)) in of_find_node_by_name()
/linux/arch/powerpc/kernel/
H A Dlegacy_serial.c431 if (of_node_name_eq(isa, "isa") || of_node_name_eq(isa, "lpc")) { in find_legacy_serial_ports()
445 if (of_node_name_eq(parent, "isa")) { in find_legacy_serial_ports()
449 if (!of_node_name_eq(np, "serial") && in find_legacy_serial_ports()
/linux/arch/sparc/include/asm/
H A Dfloppy_64.h537 if (of_node_name_eq(dp, "fdthree")) in ebus_fdthree_p()
539 if (of_node_name_eq(dp, "floppy")) { in ebus_fdthree_p()
564 if (!of_node_name_eq(dp->parent, "sbus")) in sun_floppy_init()
665 if (of_node_name_eq(dp, "ecpp")) { in sun_floppy_init()
/linux/drivers/net/mdio/
H A Dof_mdio.c150 if (of_node_name_eq(child, "ethernet-phy-package")) { in __of_mdiobus_parse_phys()
241 of_node_name_eq(child, "ethernet-phy-package")) in __of_mdiobus_register()
/linux/sound/soc/generic/
H A Daudio-graph-card2.c242 if (!of_node_name_eq(ports, "ports")) { in port_to_ports()
263 if (of_node_name_eq(np, "ports")) { in __graph_get_type()
269 if (of_node_name_eq(np, GRAPH_NODENAME_MULTI)) { in __graph_get_type()
275 if (of_node_name_eq(np, GRAPH_NODENAME_DPCM)) { in __graph_get_type()
281 if (of_node_name_eq(np, GRAPH_NODENAME_C2C)) { in __graph_get_type()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_encoder.c36 if (of_node_name_eq(port, "port")) in rcar_du_encoder_count_ports()
/linux/arch/powerpc/platforms/chrp/
H A Dsetup.c291 if (of_node_name_eq(node, "failsafe") || of_node_name_eq(node, "serial")) in chrp_init()

1234