Home
last modified time | relevance | path

Searched refs:of_node_cmp (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v4.19/drivers/of/
Dresolver.c145 return of_node_cmp(n1, n2); in node_name_cmp()
284 if (!of_node_cmp(local_fixups->name, "__local_fixups__")) in of_resolve_phandles()
294 if (!of_node_cmp(child->name, "__fixups__")) in of_resolve_phandles()
Dproperty.c574 if (of_node_cmp(port->name, "port") != 0) in of_graph_get_port_by_id()
649 } while (of_node_cmp(port->name, "port")); in of_graph_get_next_endpoint()
718 if (depth == 2 && of_node_cmp(node->name, "ports")) in of_graph_get_port_parent()
896 if (!of_node_cmp(child->name, childname)) in of_fwnode_get_named_child_node()
958 if (of_node_cmp(np->name, "ports")) in of_fwnode_graph_get_port_parent()
Dof_numa.c36 if (of_node_cmp(np->type, "cpu") != 0) in of_numa_parse_cpu_nodes()
Dbase.c480 if (!device->type || of_node_cmp(type, device->type)) in __of_device_is_compatible()
487 if (!device->name || of_node_cmp(name, device->name)) in __of_device_is_compatible()
789 if (child->name && (of_node_cmp(child->name, name) == 0)) in of_get_child_by_name()
915 if (np->name && (of_node_cmp(np->name, name) == 0) in of_find_node_by_name()
944 if (np->type && (of_node_cmp(np->type, type) == 0) in of_find_node_by_type()
Doverlay.c367 if (!of_node_cmp(node_kbasename, kbasename(tchild->full_name))) in add_changeset_node()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddss-of.c63 } while (of_node_cmp(port->name, "port") != 0); in omapdss_of_get_next_port()
86 } while (of_node_cmp(ep->name, "endpoint") != 0); in omapdss_of_get_next_endpoint()
/Linux-v4.19/drivers/clk/ux500/
Du8500_of_clk.c548 if (!of_node_cmp(child->name, "prcmu-clock")) { in u8500_clk_init()
553 if (!of_node_cmp(child->name, "prcc-periph-clock")) in u8500_clk_init()
556 if (!of_node_cmp(child->name, "prcc-kernel-clock")) in u8500_clk_init()
559 if (!of_node_cmp(child->name, "rtc32k-clock")) in u8500_clk_init()
562 if (!of_node_cmp(child->name, "smp-twd-clock")) in u8500_clk_init()
/Linux-v4.19/drivers/staging/media/imx/
Dimx-media-of.c34 if (of_node_cmp(child->name, "port") == 0) in of_get_port_count()
255 of_node_cmp(to_of_node(fwnode)->name, "ports") == 0) in imx_media_create_csi_of_links()
/Linux-v4.19/arch/sparc/include/asm/
Dprom.h32 #define of_node_cmp(s1, s2) strcmp((s1), (s2)) macro
/Linux-v4.19/arch/arm/kernel/
Ddevtree.c95 if (of_node_cmp(cpu->type, "cpu")) in arm_dt_init_cpu_maps()
/Linux-v4.19/arch/mips/pci/
Dpci-rt3883.c449 of_node_cmp(child->type, "pci") == 0) { in rt3883_pci_probe()
468 of_node_cmp(child->type, "pci") != 0) in rt3883_pci_probe()
/Linux-v4.19/drivers/regulator/
Dmc13xxx-regulator-core.c189 if (!of_node_cmp(child->name, in mc13xxx_parse_regulators_dt()
D88pm8607.c331 if (!of_node_cmp(np->name, info->desc.name)) { in pm8607_regulator_dt_init()
Dda9052-regulator.c438 if (!of_node_cmp(np->name, in da9052_regulator_probe()
Ds5m8767.c564 if (!of_node_cmp(reg_np->name, regulators[i].name)) in s5m8767_pmic_dt_parse_pdata()
/Linux-v4.19/drivers/leds/
Dleds-88pm860x.c133 if (!of_node_cmp(np->name, data->name)) { in pm860x_led_dt_init()
/Linux-v4.19/drivers/video/backlight/
D88pm860x_bl.c177 if (!of_node_cmp(np->name, name)) { in pm860x_backlight_dt_init()
/Linux-v4.19/drivers/gpu/drm/imx/
Dimx-drm-core.c205 if (of_node_cmp(np->name, "lvds-channel") == 0) { in compare_of()
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-fwnode.c294 of_node_cmp(to_of_node(fwnode)->name, "ports") == 0) in v4l2_fwnode_parse_link()
308 of_node_cmp(to_of_node(fwnode)->name, "ports") == 0) in v4l2_fwnode_parse_link()
/Linux-v4.19/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c1171 if (of_node_cmp(child_np->name, "host-port") && in rockchip_usb2phy_probe()
1172 of_node_cmp(child_np->name, "otg-port")) in rockchip_usb2phy_probe()
1186 if (!of_node_cmp(child_np->name, "host-port")) { in rockchip_usb2phy_probe()
Dphy-rockchip-typec.c1179 if (!of_node_cmp(child_np->name, "dp-port")) in rockchip_typec_phy_probe()
1182 else if (!of_node_cmp(child_np->name, "usb3-port")) in rockchip_typec_phy_probe()
/Linux-v4.19/drivers/devfreq/event/
Dexynos-ppmu.c532 if (!of_node_cmp(node->name, ppmu_events[i].name)) in of_get_devfreq_events()
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dmedia-dev.c448 if (np && !of_node_cmp(np->name, "i2c-isp")) in fimc_md_parse_port_node()
493 if (of_node_cmp(node->name, "csis")) in fimc_md_register_sensor_entities()
/Linux-v4.19/drivers/memory/
Domap-gpmc.c2063 if (name && of_node_cmp(child->name, name) == 0) in gpmc_probe_generic_child()
2116 if (of_node_cmp(child->name, "nand") == 0) { in gpmc_probe_generic_child()
2126 if (of_node_cmp(child->name, "onenand") == 0) { in gpmc_probe_generic_child()
/Linux-v4.19/drivers/media/platform/xilinx/
Dxilinx-tpg.c728 if (!port->name || of_node_cmp(port->name, "port")) in xtpg_parse_of()

12