Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/of/
Dresolver.c38 if (of_node_cmp(node->full_name, full_name) == 0) in __of_find_node_by_full_name()
201 return of_node_cmp(n1, n2); in __of_node_name_cmp()
324 if (of_node_cmp(childroot->name, "__local_fixups__") == 0) in of_resolve_phandles()
349 of_node_cmp(child->name, "__symbols__") == 0) in of_resolve_phandles()
353 of_node_cmp(child->name, "__fixups__") == 0) in of_resolve_phandles()
Dbase.c467 if (!device->type || of_node_cmp(type, device->type)) in __of_device_is_compatible()
474 if (!device->name || of_node_cmp(name, device->name)) in __of_device_is_compatible()
729 if (child->name && (of_node_cmp(child->name, name) == 0)) in of_get_child_by_name()
846 if (np->name && (of_node_cmp(np->name, name) == 0) in of_find_node_by_name()
875 if (np->type && (of_node_cmp(np->type, type) == 0) in of_find_node_by_type()
2152 if (of_node_cmp(port->name, "port") != 0) in of_graph_get_port_by_id()
2228 } while (of_node_cmp(port->name, "port")); in of_graph_get_next_endpoint()
2252 if (depth == 2 && of_node_cmp(np->name, "ports")) in of_graph_get_remote_port_parent()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddss-of.c62 } while (of_node_cmp(port->name, "port") != 0); in omapdss_of_get_next_port()
83 } while (of_node_cmp(ep->name, "endpoint") != 0); in omapdss_of_get_next_endpoint()
/linux-4.1.27/drivers/clk/ux500/
Du8500_of_clk.c543 if (!of_node_cmp(child->name, "prcmu-clock")) { in u8500_of_clk_init()
548 if (!of_node_cmp(child->name, "prcc-periph-clock")) in u8500_of_clk_init()
551 if (!of_node_cmp(child->name, "prcc-kernel-clock")) in u8500_of_clk_init()
554 if (!of_node_cmp(child->name, "rtc32k-clock")) in u8500_of_clk_init()
557 if (!of_node_cmp(child->name, "smp-twd-clock")) in u8500_of_clk_init()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-of.c195 if (of_node_cmp(np->name, "ports") == 0) in v4l2_of_parse_link()
208 if (of_node_cmp(np->name, "ports") == 0) in v4l2_of_parse_link()
/linux-4.1.27/arch/sparc/include/asm/
Dprom.h32 #define of_node_cmp(s1, s2) strcmp((s1), (s2)) macro
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_dpi.c183 if (!np->name || of_node_cmp(np->name, name)) in of_get_child_by_name_reg()
229 if (depth == 2 && of_node_cmp(np->name, "ports")) in of_graph_get_remote_port_parent()
Dexynos_drm_dsi.c1546 if (!np->name || of_node_cmp(np->name, name)) in of_get_child_by_name_reg()
/linux-4.1.27/arch/arm/kernel/
Ddevtree.c92 if (of_node_cmp(cpu->type, "cpu")) in arm_dt_init_cpu_maps()
/linux-4.1.27/arch/mips/pci/
Dpci-rt3883.c453 of_node_cmp(child->type, "pci") == 0 && in rt3883_pci_probe()
473 of_node_cmp(child->type, "pci") != 0) in rt3883_pci_probe()
/linux-4.1.27/drivers/regulator/
Dmc13xxx-regulator-core.c193 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.c437 if (!of_node_cmp(np->name, in da9052_regulator_probe()
Ds5m8767.c569 if (!of_node_cmp(reg_np->name, regulators[i].name)) in s5m8767_pmic_dt_parse_pdata()
Dmax8997.c945 if (!of_node_cmp(reg_np->name, regulators[i].name)) in max8997_pmic_dt_parse_pdata()
/linux-4.1.27/drivers/leds/
Dleds-88pm860x.c141 if (!of_node_cmp(np->name, data->name)) { in pm860x_led_dt_init()
/linux-4.1.27/drivers/memory/
Domap-gpmc.c1944 if (name && child->name && of_node_cmp(child->name, name) == 0) in gpmc_probe_generic_child()
2073 if (of_node_cmp(child->name, "nand") == 0) in gpmc_probe_dt()
2075 else if (of_node_cmp(child->name, "onenand") == 0) in gpmc_probe_dt()
2077 else if (of_node_cmp(child->name, "ethernet") == 0 || in gpmc_probe_dt()
2078 of_node_cmp(child->name, "nor") == 0 || in gpmc_probe_dt()
2079 of_node_cmp(child->name, "uart") == 0) in gpmc_probe_dt()
/linux-4.1.27/drivers/video/backlight/
D88pm860x_bl.c177 if (!of_node_cmp(np->name, name)) { in pm860x_backlight_dt_init()
/linux-4.1.27/drivers/devfreq/event/
Dexynos-ppmu.c230 if (!of_node_cmp(node->name, ppmu_events[i].name)) in of_get_devfreq_events()
/linux-4.1.27/drivers/gpu/drm/imx/
Dimx-drm-core.c509 if (of_node_cmp(np->name, "lvds-channel") == 0) { in compare_of()
Dipuv3-crtc.c426 } while (of_node_cmp(port->name, "port")); in ipu_drm_get_port_by_id()
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dmedia-dev.c382 if (np && !of_node_cmp(np->name, "i2c-isp")) in fimc_md_parse_port_node()
425 if (of_node_cmp(node->name, "csis")) in fimc_md_register_sensor_entities()
/linux-4.1.27/drivers/media/platform/xilinx/
Dxilinx-tpg.c728 if (!port->name || of_node_cmp(port->name, "port")) in xtpg_parse_of()
/linux-4.1.27/include/linux/
Dof.h219 #define of_node_cmp(s1, s2) strcasecmp((s1), (s2)) macro
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar.c766 if (!of_node_cmp(child->name, "queue-group")) in gfar_of_group_count()
885 if (of_node_cmp(child->name, "queue-group")) in gfar_of_init()