Home
last modified time | relevance | path

Searched refs:of_device_is_compatible (Results 1 – 200 of 221) sorted by relevance

12

/linux-4.4.14/drivers/usb/host/
Dfsl-mph-dr-of.c135 if (of_device_is_compatible(np, "fsl-usb2-dr")) { in usb_get_ver_info()
136 if (of_device_is_compatible(np, "fsl-usb2-dr-v1.6")) in usb_get_ver_info()
138 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2")) in usb_get_ver_info()
140 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4")) in usb_get_ver_info()
142 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.5")) in usb_get_ver_info()
151 if (of_device_is_compatible(np, "fsl,mpc5121-usb2-dr")) in usb_get_ver_info()
154 if (of_device_is_compatible(np, "fsl-usb2-mph")) { in usb_get_ver_info()
155 if (of_device_is_compatible(np, "fsl-usb2-mph-v1.6")) in usb_get_ver_info()
157 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.2")) in usb_get_ver_info()
159 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.4")) in usb_get_ver_info()
[all …]
Dxhci-plat.c55 if (of_device_is_compatible(of_node, "renesas,xhci-r8a7790") || in xhci_plat_setup()
56 of_device_is_compatible(of_node, "renesas,xhci-r8a7791")) { in xhci_plat_setup()
69 if (of_device_is_compatible(of_node, "renesas,xhci-r8a7790") || in xhci_plat_start()
70 of_device_is_compatible(of_node, "renesas,xhci-r8a7791")) in xhci_plat_start()
137 if (of_device_is_compatible(pdev->dev.of_node, in xhci_plat_probe()
139 of_device_is_compatible(pdev->dev.of_node, in xhci_plat_probe()
Dohci-ppc-of.c102 of_device_is_compatible(dn, "ohci-bigendian") || in ohci_hcd_ppc_of_probe()
103 of_device_is_compatible(dn, "ohci-be"); in ohci_hcd_ppc_of_probe()
135 if (of_device_is_compatible(dn, "fsl,mpc5200-ohci")) in ohci_hcd_ppc_of_probe()
137 if (of_device_is_compatible(dn, "mpc5200-ohci")) in ohci_hcd_ppc_of_probe()
Dehci-fsl.c364 if (of_device_is_compatible(dev->parent->of_node, in ehci_fsl_setup()
547 if (of_device_is_compatible(dev->parent->of_node, in ehci_fsl_drv_suspend()
568 if (of_device_is_compatible(dev->parent->of_node, in ehci_fsl_drv_resume()
Dehci-ppc-of.c163 if (of_device_is_compatible(dn, "ibm,usb-ehci-440epx")) { in ehci_hcd_ppc_of_probe()
Dohci-exynos.c136 if (of_device_is_compatible(pdev->dev.of_node, in exynos_ohci_probe()
Dehci-exynos.c167 if (of_device_is_compatible(pdev->dev.of_node, in exynos_ehci_probe()
/linux-4.4.14/arch/arm/mach-shmobile/
Dtimer.c56 if (of_device_is_compatible(np, "arm,cortex-a8") || in shmobile_init_delay()
57 of_device_is_compatible(np, "arm,cortex-a9")) { in shmobile_init_delay()
59 } else if (of_device_is_compatible(np, "arm,cortex-a7")) { in shmobile_init_delay()
62 } else if (of_device_is_compatible(np, "arm,cortex-a15")) { in shmobile_init_delay()
Dpm-rcar-gen2.c72 if (of_device_is_compatible(np, "arm,cortex-a15")) in rcar_gen2_pm_init()
74 else if (of_device_is_compatible(np, "arm,cortex-a7")) in rcar_gen2_pm_init()
/linux-4.4.14/arch/powerpc/platforms/83xx/
Dusb.c130 if (immr_node && (of_device_is_compatible(immr_node, "fsl,mpc8315-immr") || in mpc831x_usb_cfg()
131 of_device_is_compatible(immr_node, "fsl,mpc8308-immr"))) in mpc831x_usb_cfg()
142 if (of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) { in mpc831x_usb_cfg()
146 } else if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr")) { in mpc831x_usb_cfg()
180 if (of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) in mpc831x_usb_cfg()
183 if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr")) in mpc831x_usb_cfg()
196 if (!of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) { in mpc831x_usb_cfg()
/linux-4.4.14/arch/powerpc/platforms/85xx/
Dge_imp3a.c72 if (of_device_is_compatible(np, "gef,fpga-pic-1.00")) { in ge_imp3a_pic_init()
93 if (of_device_is_compatible(np, "fsl,mpc8540-pci") || in ge_imp3a_pci_assign_primary()
94 of_device_is_compatible(np, "fsl,mpc8548-pcie") || in ge_imp3a_pci_assign_primary()
95 of_device_is_compatible(np, "fsl,p2020-pcie")) { in ge_imp3a_pci_assign_primary()
Dxes_mpc85xx.c92 if (!of_device_is_compatible(np, in xes_mpc85xx_fixups()
94 !of_device_is_compatible(np, in xes_mpc85xx_fixups()
96 !of_device_is_compatible(np, in xes_mpc85xx_fixups()
Dmpc85xx_cds.c239 if (of_device_is_compatible(np, "chrp,iic")) { in mpc85xx_cds_8259_attach()
297 if ((of_device_is_compatible(np, "fsl,mpc8540-pci") || in mpc85xx_cds_pci_assign_primary()
298 of_device_is_compatible(np, "fsl,mpc8548-pcie")) && in mpc85xx_cds_pci_assign_primary()
Dmpc85xx_ds.c90 if (of_device_is_compatible(np, "chrp,iic")) { in mpc85xx_ds_pic_init()
/linux-4.4.14/arch/arm/mach-highbank/
Dhighbank.c90 if (of_device_is_compatible(dev->of_node, "calxeda,hb-ahci")) in highbank_platform_notifier()
92 else if (of_device_is_compatible(dev->of_node, "calxeda,hb-sdhci")) in highbank_platform_notifier()
94 else if (of_device_is_compatible(dev->of_node, "arm,pl330")) in highbank_platform_notifier()
96 else if (of_device_is_compatible(dev->of_node, "calxeda,hb-xgmac")) { in highbank_platform_notifier()
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpci.c809 if (of_device_is_compatible(dev, "u3-agp")) { in pmac_add_bridge()
813 } else if (of_device_is_compatible(dev, "u3-ht")) { in pmac_add_bridge()
817 } else if (of_device_is_compatible(dev, "u4-pcie")) { in pmac_add_bridge()
828 if (of_device_is_compatible(dev, "uni-north")) { in pmac_add_bridge()
971 of_device_is_compatible(node->parent, "uni-north"); in pmac_pci_enable_device_hook()
977 (of_device_is_compatible(node, "pci106b,18") || in pmac_pci_enable_device_hook()
978 of_device_is_compatible(node, "pci106b,30") || in pmac_pci_enable_device_hook()
979 of_device_is_compatible(node, "pci11c1,5811"))) { in pmac_pci_enable_device_hook()
985 of_device_is_compatible(node, "gmac")) { in pmac_pci_enable_device_hook()
1032 if (nd->parent && (of_device_is_compatible(nd, "pci106b,18") || in pmac_pcibios_after_init()
[all …]
Dfeature.c1426 need_reset = of_device_is_compatible(phy, "B5221"); in g5_eth_phy_reset()
2647 if (of_device_is_compatible(node, compat)) in probe_one_macio()
2751 else if (of_device_is_compatible(np, "cobalt")) in initial_serial_shutdown()
2809 if (of_device_is_compatible(np, "K2-GMAC")) in set_initial_features()
2818 if (of_device_is_compatible(np, "pci106b,5811")) { in set_initial_features()
2834 && of_device_is_compatible(np->parent, "uni-north") in set_initial_features()
2835 && of_device_is_compatible(np, "gmac")) in set_initial_features()
2846 && of_device_is_compatible(np->parent, "uni-north") in set_initial_features()
2847 && (of_device_is_compatible(np, "pci106b,18") || in set_initial_features()
2848 of_device_is_compatible(np, "pci106b,30") || in set_initial_features()
[all …]
Dsmp.c580 ok = p && of_device_is_compatible(p, "uni-n-i2c"); in smp_core99_setup_i2c_hwsync()
593 if (of_device_is_compatible(cc,"pulsar-legacy-slewing")) { in smp_core99_setup_i2c_hwsync()
597 } else if (of_device_is_compatible(cc, "cy28508")) { in smp_core99_setup_i2c_hwsync()
Dnvram.c546 if (of_device_is_compatible(dp, "amd-0137")) { in core99_nvram_setup()
581 is_core_99 = of_device_is_compatible(dp, "nvram,flash"); in pmac_nvram_init()
Dpic.c331 if (of_device_is_compatible(master, "gatwick")) { in pmac_pic_probe_oldstyle()
/linux-4.4.14/drivers/phy/
Dphy-ti-pipe3.c231 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-pcie")) { in ti_pipe3_init()
262 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata") && in ti_pipe3_exit()
267 if (!of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-pcie")) { in ti_pipe3_exit()
290 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata")) { in ti_pipe3_exit()
329 if (!of_device_is_compatible(node, "ti,phy-pipe3-pcie")) { in ti_pipe3_probe()
359 if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) in ti_pipe3_probe()
363 if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) { in ti_pipe3_probe()
388 if (of_device_is_compatible(node, "ti,phy-pipe3-pcie")) { in ti_pipe3_probe()
442 if (of_device_is_compatible(node, "ti,phy-pipe3-sata")) { in ti_pipe3_probe()
Dphy-sun4i-usb.c526 if (of_device_is_compatible(np, "allwinner,sun5i-a13-usb-phy") || in sun4i_usb_phy_probe()
527 of_device_is_compatible(np, "allwinner,sun8i-a23-usb-phy") || in sun4i_usb_phy_probe()
528 of_device_is_compatible(np, "allwinner,sun8i-a33-usb-phy")) in sun4i_usb_phy_probe()
533 if (of_device_is_compatible(np, "allwinner,sun5i-a13-usb-phy") || in sun4i_usb_phy_probe()
534 of_device_is_compatible(np, "allwinner,sun7i-a20-usb-phy")) in sun4i_usb_phy_probe()
539 if (of_device_is_compatible(np, "allwinner,sun6i-a31-usb-phy") || in sun4i_usb_phy_probe()
540 of_device_is_compatible(np, "allwinner,sun8i-a23-usb-phy") || in sun4i_usb_phy_probe()
541 of_device_is_compatible(np, "allwinner,sun8i-a33-usb-phy")) in sun4i_usb_phy_probe()
546 if (of_device_is_compatible(np, "allwinner,sun8i-a33-usb-phy")) in sun4i_usb_phy_probe()
Dphy-berlin-sata.c226 if (of_device_is_compatible(dev->of_node, "marvell,berlin2-sata-phy")) in phy_berlin_sata_probe()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c180 if (of_device_is_compatible(np, "st,spear600-gmac") || in stmmac_probe_config_dt()
181 of_device_is_compatible(np, "snps,dwmac-3.70a") || in stmmac_probe_config_dt()
182 of_device_is_compatible(np, "snps,dwmac")) { in stmmac_probe_config_dt()
203 if (of_device_is_compatible(np, "snps,dwmac-3.610") || in stmmac_probe_config_dt()
204 of_device_is_compatible(np, "snps,dwmac-3.710")) { in stmmac_probe_config_dt()
/linux-4.4.14/drivers/mmc/host/
Dsdhci-pltfm.c93 if (of_device_is_compatible(np, "fsl,p2020-rev1-esdhc")) in sdhci_get_of_property()
96 if (of_device_is_compatible(np, "fsl,p2020-esdhc") || in sdhci_get_of_property()
97 of_device_is_compatible(np, "fsl,p1010-esdhc") || in sdhci_get_of_property()
98 of_device_is_compatible(np, "fsl,t4240-esdhc") || in sdhci_get_of_property()
99 of_device_is_compatible(np, "fsl,mpc8536-esdhc")) in sdhci_get_of_property()
Dsdhci-of-esdhc.c603 if (of_device_is_compatible(np, "fsl,p5040-esdhc") || in sdhci_esdhc_probe()
604 of_device_is_compatible(np, "fsl,p5020-esdhc") || in sdhci_esdhc_probe()
605 of_device_is_compatible(np, "fsl,p4080-esdhc") || in sdhci_esdhc_probe()
606 of_device_is_compatible(np, "fsl,p1020-esdhc") || in sdhci_esdhc_probe()
607 of_device_is_compatible(np, "fsl,t1040-esdhc") || in sdhci_esdhc_probe()
608 of_device_is_compatible(np, "fsl,ls1021a-esdhc")) in sdhci_esdhc_probe()
611 if (of_device_is_compatible(np, "fsl,ls1021a-esdhc")) in sdhci_esdhc_probe()
614 if (of_device_is_compatible(np, "fsl,p2020-esdhc")) { in sdhci_esdhc_probe()
Dsdhci-of-arasan.c175 if (of_device_is_compatible(pdev->dev.of_node, "arasan,sdhci-4.9a")) { in sdhci_arasan_probe()
Dsdhci-st.c156 if (!of_device_is_compatible(np, "st,sdhci-stih407")) in st_mmcss_cconfig()
Ddw_mmc-exynos.c330 if (of_device_is_compatible(np, exynos_compat[idx].compatible)) in dw_mci_exynos_parse_dt()
Dsunxi-mmc.c921 if (of_device_is_compatible(np, "allwinner,sun4i-a10-mmc")) in sunxi_mmc_resource_request()
926 if (of_device_is_compatible(np, "allwinner,sun9i-a80-mmc")) in sunxi_mmc_resource_request()
Dsdhci-pxav3.c402 if (of_device_is_compatible(np, "marvell,armada-380-sdhci")) { in sdhci_pxav3_probe()
/linux-4.4.14/arch/powerpc/kernel/
Dlegacy_serial.c236 if (!of_device_is_compatible(isa_brg, "ibm,power8-lpc")) { in add_legacy_isa_port()
304 if (of_device_is_compatible(pci_dev, "pci13a8,152") || in add_legacy_pci_port()
305 of_device_is_compatible(pci_dev, "pci13a8,154") || in add_legacy_pci_port()
306 of_device_is_compatible(pci_dev, "pci13a8,158")) { in add_legacy_pci_port()
425 if (of_device_is_compatible(np, "pciclass,0700") || in find_legacy_serial_ports()
426 of_device_is_compatible(np, "pciclass,070002")) in find_legacy_serial_ports()
428 else if (of_device_is_compatible(parent, "pciclass,0700") || in find_legacy_serial_ports()
429 of_device_is_compatible(parent, "pciclass,070002")) in find_legacy_serial_ports()
478 if (of_device_is_compatible(np, "fsl,ns16550")) in fixup_port_irq()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dpci-p5ioc2.c68 if (of_device_is_compatible(phb->hose->dn, "ibm,p5ioc2-pcix")) in pnv_pci_init_p5ioc2_msis()
234 if (of_device_is_compatible(phbn, "ibm,p5ioc2-pcix") || in pnv_pci_init_p5ioc2_hub()
235 of_device_is_compatible(phbn, "ibm,p5ioc2-pciex")) in pnv_pci_init_p5ioc2_hub()
264 if (of_device_is_compatible(phbn, "ibm,p5ioc2-pcix") || in pnv_pci_init_p5ioc2_hub()
265 of_device_is_compatible(phbn, "ibm,p5ioc2-pciex")) { in pnv_pci_init_p5ioc2_hub()
Dopal-power.c155 supported = of_device_is_compatible(np, "ibm,opal-v3-epow"); in opal_power_control_init()
Dopal-sysparam.c174 if (!of_device_is_compatible(sysparam, "ibm,opal-sysparams")) { in opal_sys_param_init()
Dopal.c649 if (of_device_is_compatible(np, compatible)) in opal_pdev_init()
Dpci-ioda.c3101 if (of_device_is_compatible(np, "ibm,p7ioc-pciex")) in pnv_pci_init_ioda_phb()
3103 else if (of_device_is_compatible(np, "ibm,power8-pciex")) in pnv_pci_init_ioda_phb()
3259 if (of_device_is_compatible(phbn, "ibm,ioda-phb")) in pnv_pci_init_ioda_hub()
/linux-4.4.14/drivers/irqchip/
Dirq-omap-intc.c310 if (of_device_is_compatible(node, "ti,omap2-intc") || in omap_init_irq()
311 of_device_is_compatible(node, "ti,omap3-intc")) { in omap_init_irq()
385 if (of_device_is_compatible(node, "ti,dm814-intc") || in intc_of_init()
386 of_device_is_compatible(node, "ti,dm816-intc") || in intc_of_init()
387 of_device_is_compatible(node, "ti,am33xx-intc")) { in intc_of_init()
Dirq-vf610-mscm-ir.c224 if (of_device_is_compatible(irq_domain_get_of_node(domain->parent), in vf610_mscm_ir_of_init()
Dirq-versatile-fpga.c228 if (of_device_is_compatible(node, "arm,versatile-sic")) in fpga_irq_of_init()
/linux-4.4.14/arch/powerpc/sysdev/
Dppc4xx_pci.c68 if (!of_device_is_compatible(hose->dn, "ibm,plb-pciex") && in fixup_ppc4xx_pci_bridge()
69 !of_device_is_compatible(hose->dn, "ibm,plb-pcix") && in fixup_ppc4xx_pci_bridge()
70 !of_device_is_compatible(hose->dn, "ibm,plb-pci")) in fixup_ppc4xx_pci_bridge()
73 if (of_device_is_compatible(hose->dn, "ibm,plb440epx-pci") || in fixup_ppc4xx_pci_bridge()
74 of_device_is_compatible(hose->dn, "ibm,plb440grx-pci")) { in fixup_ppc4xx_pci_bridge()
182 !(of_device_is_compatible(hose->dn, "ibm,plb-pciex-460sx") in ppc4xx_parse_dma_ranges()
183 || of_device_is_compatible(hose->dn, "ibm,plb-pciex-476fpe"))) { in ppc4xx_parse_dma_ranges()
1428 if (of_device_is_compatible(np, "ibm,plb-pciex-440spe")) { in ppc4xx_pciex_check_core_init()
1434 if (of_device_is_compatible(np, "ibm,plb-pciex-460ex")) in ppc4xx_pciex_check_core_init()
1436 if (of_device_is_compatible(np, "ibm,plb-pciex-460sx")) in ppc4xx_pciex_check_core_init()
[all …]
Dfsl_msi.c211 if (of_device_is_compatible(np, "fsl,mpic-msi") || in fsl_setup_msi_irqs()
212 of_device_is_compatible(np, "fsl,vmpic-msi") || in fsl_setup_msi_irqs()
213 of_device_is_compatible(np, "fsl,vmpic-msi-v4.3")) in fsl_setup_msi_irqs()
488 if (of_device_is_compatible(dev->dev.of_node, "fsl,mpic-msi-v4.3") || in fsl_of_msi_probe()
489 of_device_is_compatible(dev->dev.of_node, "fsl,vmpic-msi-v4.3")) { in fsl_of_msi_probe()
Dmpic_u3msi.c100 if (of_device_is_compatible(hose->dn, "u4-pcie") || in find_u4_magic_addr()
101 of_device_is_compatible(hose->dn, "U4-pcie")) in find_u4_magic_addr()
Dppc4xx_soc.c178 if (of_device_is_compatible(np, "ibm,l2-cache-460ex") || in ppc4xx_l2c_probe()
179 of_device_is_compatible(np, "ibm,l2-cache-460gt")) in ppc4xx_l2c_probe()
Ddart_iommu.c336 if (of_device_is_compatible(np, "U4-pcie") || in dart_device_on_pcie()
337 of_device_is_compatible(np, "u4-pcie")) { in dart_device_on_pcie()
Dfsl_lbc.c51 if (of_device_is_compatible(np, "fsl,elbc")) in fsl_lbc_addr()
201 if (of_device_is_compatible(node, "fsl,elbc")) in fsl_lbc_ctrl_init()
Dmv64x60_dev.c471 if (!of_device_is_compatible(np2, in mv64x60_device_setup()
523 if (!of_device_is_compatible(np, "marvell,mv64360-mpsc")) in mv64x60_add_mpsc_console()
Duic.c237 BUG_ON(! of_device_is_compatible(node, "ibm,uic")); in uic_init_one()
Dfsl_gtm.c371 if (!of_device_is_compatible(np, "fsl,cpm2-gtm")) { in gtm_set_shortcuts()
Dmpic_timer.c516 if (of_device_is_compatible(np, "fsl,mpic-global-timer")) in timer_group_init()
Dfsl_pci.c826 if (of_device_is_compatible(dev, "fsl,mpc8314-pcie")) { in mpc83xx_add_bridge()
/linux-4.4.14/arch/powerpc/platforms/44x/
Diss4xx.c66 if (of_device_is_compatible(np, "ibm,uic")) { in iss4xx_init_irq()
70 } else if (of_device_is_compatible(np, "chrp,open-pic")) { in iss4xx_init_irq()
Dppc476.c136 if (of_device_is_compatible(np, "chrp,open-pic")) { in ppc47x_init_irq()
/linux-4.4.14/arch/arm/mach-imx/
Danatop.c123 if (of_device_is_compatible(np, "fsl,imx6sl-anatop")) in imx_init_revision_from_anatop()
125 if (of_device_is_compatible(np, "fsl,imx7d-anatop")) in imx_init_revision_from_anatop()
/linux-4.4.14/drivers/net/ethernet/ti/
Dcpsw-common.c87 if (of_device_is_compatible(dev->of_node, "ti,am3517-emac")) in ti_cm_get_macid()
90 if (of_device_is_compatible(dev->of_node, "ti,dm816-emac")) in ti_cm_get_macid()
Dnetcp_ethss.c3047 if (of_device_is_compatible(node, "ti,netcp-gbe-5") || in gbe_probe()
3048 of_device_is_compatible(node, "ti,netcp-gbe")) { in gbe_probe()
3050 } else if (of_device_is_compatible(node, "ti,netcp-gbe-9")) { in gbe_probe()
3052 } else if (of_device_is_compatible(node, "ti,netcp-gbe-2")) { in gbe_probe()
3054 } else if (of_device_is_compatible(node, "ti,netcp-xgbe")) { in gbe_probe()
/linux-4.4.14/arch/powerpc/platforms/maple/
Dpci.c516 if (of_device_is_compatible(dev, "u3-agp")) { in maple_add_bridge()
520 } else if (of_device_is_compatible(dev, "u3-ht")) { in maple_add_bridge()
524 } else if (of_device_is_compatible(dev, "u4-pcie")) { in maple_add_bridge()
591 if ((of_device_is_compatible(np, "u4-pcie") || in maple_pci_init()
592 of_device_is_compatible(np, "u3-agp")) && in maple_pci_init()
596 if (of_device_is_compatible(np, "u3-ht")) { in maple_pci_init()
Dsetup.c231 if (of_device_is_compatible(np, "open-pic")) { in maple_init_IRQ()
/linux-4.4.14/drivers/tty/hvc/
Dhvc_opal.c174 if (of_device_is_compatible(dev->dev.of_node, "ibm,opal-console-raw")) { in hvc_opal_probe()
177 } else if (of_device_is_compatible(dev->dev.of_node, in hvc_opal_probe()
371 if (of_device_is_compatible(stdout_node, "ibm,opal-console-raw")) { in hvc_opal_init_early()
376 else if (of_device_is_compatible(stdout_node,"ibm,opal-console-hvsi")) { in hvc_opal_init_early()
Dhvc_vio.c310 if (of_device_is_compatible(vdev->dev.of_node, "hvterm1")) { in hvc_vio_probe()
313 } else if (of_device_is_compatible(vdev->dev.of_node, "hvterm-protocol")) { in hvc_vio_probe()
431 if (of_device_is_compatible(of_stdout, "hvterm1")) { in hvc_vio_init_early()
435 else if (of_device_is_compatible(of_stdout, "hvterm-protocol")) { in hvc_vio_init_early()
/linux-4.4.14/sound/soc/sti/
Dsti_uniperif.c96 if (of_device_is_compatible(dai->dev->of_node, "st,sti-uni-player")) { in sti_uniperiph_dai_resume()
117 if (of_device_is_compatible(dai->dev->of_node, "st,sti-uni-player")) in sti_uniperiph_dai_probe()
185 if (of_device_is_compatible(node, "st,sti-uni-player")) { in sti_uniperiph_cpu_dai_of()
/linux-4.4.14/arch/mips/lantiq/xway/
Dreset.c135 if (of_device_is_compatible(ltq_rcu_np, "lantiq,rcu-xrx200")) in ltq_boot_select()
180 if (!of_device_is_compatible(ltq_rcu_np, "lantiq,rcu-xrx200")) { in xrx200_gphy_boot()
288 if (of_device_is_compatible(ltq_rcu_np, "lantiq,rcu-xrx200")) in ltq_machine_restart()
/linux-4.4.14/drivers/spi/
Dspi-fsl-lib.c155 else if (of_device_is_compatible(np, "fsl,cpm2-spi")) in of_mpc8xxx_spi_probe()
157 else if (of_device_is_compatible(np, "fsl,cpm1-spi")) in of_mpc8xxx_spi_probe()
Dspi-orion.c561 if (of_device_is_compatible(pdev->dev.of_node, in orion_spi_probe()
Dspi-qup.c846 if (of_device_is_compatible(dev->of_node, "qcom,spi-qup-v1.1.1")) in spi_qup_probe()
/linux-4.4.14/arch/powerpc/include/asm/
Dkvm_para.h36 if (!of_device_is_compatible(hyper_node, "linux,kvm")) in kvm_para_available()
/linux-4.4.14/drivers/memory/
Dof_memory.c124 if (of_device_is_compatible(np_tim, tim_compat)) in of_get_ddr_timings()
135 if (of_device_is_compatible(np_tim, tim_compat)) { in of_get_ddr_timings()
Dmvebu-devbus.c168 if (of_device_is_compatible(devbus->dev->of_node, "marvell,mvebu-devbus")) { in devbus_get_timing_params()
320 if (of_device_is_compatible(node, "marvell,orion-devbus")) in mvebu_devbus_probe()
Demif.c1323 if (of_device_is_compatible(np_ddr , "jedec,lpddr2-s4")) in of_get_ddr_info()
1325 else if (of_device_is_compatible(np_ddr , "jedec,lpddr2-s2")) in of_get_ddr_info()
1372 if (of_device_is_compatible(np_emif, "ti,emif-4d")) in of_get_memory_device_details()
1374 else if (of_device_is_compatible(np_emif, "ti,emif-4d5")) in of_get_memory_device_details()
Dti-aemif.c357 if (of_device_is_compatible(np, "ti,da850-aemif")) in aemif_probe()
/linux-4.4.14/drivers/thermal/samsung/
Dexynos_tmu.c1106 if (of_device_is_compatible(np, "samsung,exynos3250-tmu")) in exynos_of_get_soc_type()
1108 else if (of_device_is_compatible(np, "samsung,exynos4210-tmu")) in exynos_of_get_soc_type()
1110 else if (of_device_is_compatible(np, "samsung,exynos4412-tmu")) in exynos_of_get_soc_type()
1112 else if (of_device_is_compatible(np, "samsung,exynos5250-tmu")) in exynos_of_get_soc_type()
1114 else if (of_device_is_compatible(np, "samsung,exynos5260-tmu")) in exynos_of_get_soc_type()
1116 else if (of_device_is_compatible(np, "samsung,exynos5420-tmu")) in exynos_of_get_soc_type()
1118 else if (of_device_is_compatible(np, in exynos_of_get_soc_type()
1121 else if (of_device_is_compatible(np, "samsung,exynos5433-tmu")) in exynos_of_get_soc_type()
1123 else if (of_device_is_compatible(np, "samsung,exynos5440-tmu")) in exynos_of_get_soc_type()
1125 else if (of_device_is_compatible(np, "samsung,exynos7-tmu")) in exynos_of_get_soc_type()
/linux-4.4.14/arch/powerpc/platforms/cell/
Dsetup.c103 if (!of_device_is_compatible(hose->dn, "pciex")) in cell_fixup_pcie_rootcomplex()
197 if (!of_device_is_compatible(dn, "CBEA,platform-open-pic")) in mpic_init_IRQ()
Dinterrupt.c229 return of_device_is_compatible(node, in iic_host_match()
258 if (!of_device_is_compatible(ct, in iic_host_xlate()
326 if (!of_device_is_compatible(dn, in setup_iic()
Dspider-pic.c348 if (of_device_is_compatible(dn, "CBEA,platform-spider-pic")) { in spider_init_IRQ()
353 } else if (of_device_is_compatible(dn, "sti,platform-spider-pic") in spider_init_IRQ()
/linux-4.4.14/sound/soc/fsl/
Dfsl-asoc-card.c510 if (of_device_is_compatible(np, "fsl,imx-audio-cs42888")) { in fsl_asoc_card_probe()
519 } else if (of_device_is_compatible(np, "fsl,imx-audio-sgtl5000")) { in fsl_asoc_card_probe()
523 } else if (of_device_is_compatible(np, "fsl,imx-audio-wm8962")) { in fsl_asoc_card_probe()
530 } else if (of_device_is_compatible(np, "fsl,imx-audio-wm8960")) { in fsl_asoc_card_probe()
536 } else if (of_device_is_compatible(np, "fsl,imx-audio-ac97")) { in fsl_asoc_card_probe()
Dfsl_utils.c46 if (!of_device_is_compatible(dma_channel_np, "fsl,ssi-dma-channel")) { in fsl_asoc_get_dma_channel()
Dfsl_sai.c723 if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx6sx-sai")) in fsl_sai_probe()
Dfsl_asrc.c871 if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx35-asrc")) { in fsl_asrc_probe()
/linux-4.4.14/drivers/watchdog/
Dorion_wdt.c494 if (of_device_is_compatible(node, "marvell,orion-wdt")) { in orion_wdt_get_regs()
501 } else if (of_device_is_compatible(node, "marvell,armada-370-wdt") || in orion_wdt_get_regs()
502 of_device_is_compatible(node, "marvell,armada-xp-wdt")) { in orion_wdt_get_regs()
510 } else if (of_device_is_compatible(node, "marvell,armada-375-wdt") || in orion_wdt_get_regs()
511 of_device_is_compatible(node, "marvell,armada-380-wdt")) { in orion_wdt_get_regs()
/linux-4.4.14/drivers/macintosh/ams/
Dams-core.c202 if (np && of_device_is_compatible(np, "AAPL,accelerometer_1")) in ams_init()
209 if (np && of_device_is_compatible(np, "sms")) in ams_init()
/linux-4.4.14/drivers/crypto/caam/
Dctrl.c567 if (of_device_is_compatible(nprop, "fsl,sec-v5.0")) in caam_probe()
581 if (of_device_is_compatible(np, "fsl,sec-v4.0-job-ring") || in caam_probe()
582 of_device_is_compatible(np, "fsl,sec4.0-job-ring")) in caam_probe()
595 if (of_device_is_compatible(np, "fsl,sec-v4.0-job-ring") || in caam_probe()
596 of_device_is_compatible(np, "fsl,sec4.0-job-ring")) { in caam_probe()
Djr.c502 if (of_device_is_compatible(nprop, "fsl,sec-v5.0-job-ring")) in caam_jr_probe()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dof.c35 if (!np || !of_device_is_compatible(np, "brcm,bcm4329-fmac")) in brcmf_of_probe()
/linux-4.4.14/arch/powerpc/platforms/86xx/
Dpic.c50 if (of_device_is_compatible(np, "chrp,iic")) { in mpc86xx_init_irq()
/linux-4.4.14/drivers/input/touchscreen/
Dsun4i-ts.c263 if (of_device_is_compatible(np, "allwinner,sun6i-a31-ts")) { in sun4i_ts_probe()
267 } else if (of_device_is_compatible(np, "allwinner,sun4i-a10-ts")) { in sun4i_ts_probe()
354 if (of_device_is_compatible(np, "allwinner,sun6i-a31-ts")) in sun4i_ts_probe()
/linux-4.4.14/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c1187 if (of_device_is_compatible(np, "fsl,cpm1-scc-uart") || in cpm_uart_init_port()
1188 of_device_is_compatible(np, "fsl,cpm2-scc-uart")) { in cpm_uart_init_port()
1191 } else if (of_device_is_compatible(np, "fsl,cpm1-smc-uart") || in cpm_uart_init_port()
1192 of_device_is_compatible(np, "fsl,cpm2-smc-uart")) { in cpm_uart_init_port()
1319 if (!of_device_is_compatible(np, "fsl,cpm1-smc-uart") && in cpm_uart_console_setup()
1320 !of_device_is_compatible(np, "fsl,cpm1-scc-uart") && in cpm_uart_console_setup()
1321 !of_device_is_compatible(np, "fsl,cpm2-smc-uart") && in cpm_uart_console_setup()
1322 !of_device_is_compatible(np, "fsl,cpm2-scc-uart")) in cpm_uart_console_setup()
/linux-4.4.14/arch/powerpc/platforms/pasemi/
Dmisc.c40 if (!of_device_is_compatible(node, i2c_devices[i].of_device)) in find_i2c_driver()
Dsetup.c200 if (of_device_is_compatible(np, "open-pic")) { in pas_init_IRQ()
367 if (!of_device_is_compatible(parent->of_node, "electra-cf")) in pcmcia_notify()
Dmsi.c151 !of_device_is_compatible(of_node, in mpic_pasemi_msi_init()
/linux-4.4.14/drivers/ata/
Dpata_macio.c502 if (of_device_is_compatible(priv->node, "K2-UATA") || in pata_macio_cable_detect()
503 of_device_is_compatible(priv->node, "shasta-ata")) in pata_macio_cable_detect()
941 if (of_device_is_compatible(priv->node, "shasta-ata")) { in pata_macio_invariants()
944 } else if (of_device_is_compatible(priv->node, "kauai-ata")) { in pata_macio_invariants()
947 } else if (of_device_is_compatible(priv->node, "K2-UATA")) { in pata_macio_invariants()
950 } else if (of_device_is_compatible(priv->node, "keylargo-ata")) { in pata_macio_invariants()
958 } else if (of_device_is_compatible(priv->node, "heathrow-ata")) { in pata_macio_invariants()
Dahci_platform.c57 if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci")) in ahci_probe()
Dsata_fsl.c1475 if (!of_device_is_compatible(ofdev->dev.of_node, "fsl,mpc8315-sata")) { in sata_fsl_probe()
1500 if (of_device_is_compatible(ofdev->dev.of_node, "fsl,pq-sata-v2")) in sata_fsl_probe()
/linux-4.4.14/arch/powerpc/platforms/512x/
Dpdm360ng.c84 of_device_is_compatible(dev->of_node, "ti,ads7846")) { in pdm360ng_touchscreen_notifier_call()
/linux-4.4.14/sound/soc/codecs/
Dsirf-audio-codec.c402 if (of_device_is_compatible(codec->dev->of_node, "sirf,prima2-audio-codec")) { in sirf_audio_codec_probe()
412 if (of_device_is_compatible(codec->dev->of_node, "sirf,atlas6-audio-codec")) { in sirf_audio_codec_probe()
511 if (of_device_is_compatible(pdev->dev.of_node, "sirf,atlas6-audio-codec")) in sirf_audio_codec_driver_probe()
/linux-4.4.14/drivers/bus/
Domap-ocp2scp.c70 if (!of_device_is_compatible(np, "ti,am437x-ocp2scp")) { in omap_ocp2scp_probe()
/linux-4.4.14/drivers/ide/
Dpmac.c938 if (of_device_is_compatible(np, "K2-UATA") || in pmac_ide_cable_detect()
939 of_device_is_compatible(np, "shasta-ata")) in pmac_ide_cable_detect()
1032 if (of_device_is_compatible(np, "shasta-ata")) { in pmac_ide_setup_device()
1037 } else if (of_device_is_compatible(np, "kauai-ata")) { in pmac_ide_setup_device()
1042 } else if (of_device_is_compatible(np, "K2-UATA")) { in pmac_ide_setup_device()
1047 } else if (of_device_is_compatible(np, "keylargo-ata")) { in pmac_ide_setup_device()
1054 } else if (of_device_is_compatible(np, "heathrow-ata")) { in pmac_ide_setup_device()
Dpdc202xx_new.c292 if (np == NULL || !of_device_is_compatible(np, "kiwi-root")) in apple_kiwi_init()
/linux-4.4.14/sound/ppc/
Dpmac.c913 if (of_device_is_compatible(mio, "Keylargo")) in detect_byte_swap()
980 if (of_device_is_compatible(chip->node->parent->parent, in snd_pmac_detect()
1014 if (of_device_is_compatible(sound, "screamer")) { in snd_pmac_detect()
1018 if (of_device_is_compatible(sound, "burgundy")) { in snd_pmac_detect()
1022 if (of_device_is_compatible(sound, "daca")) { in snd_pmac_detect()
1029 if (of_device_is_compatible(sound, "tumbler")) { in snd_pmac_detect()
1043 if (of_device_is_compatible(sound, "snapper")) { in snd_pmac_detect()
/linux-4.4.14/drivers/i2c/busses/
Di2c-mv64xxx.c822 if (of_device_is_compatible(np, "allwinner,sun4i-a10-i2c") || in mv64xxx_of_config()
823 of_device_is_compatible(np, "allwinner,sun6i-a31-i2c")) in mv64xxx_of_config()
857 if (of_device_is_compatible(np, "marvell,mv78230-i2c")) { in mv64xxx_of_config()
862 if (of_device_is_compatible(np, "marvell,mv78230-a0-i2c")) { in mv64xxx_of_config()
867 if (of_device_is_compatible(np, "allwinner,sun6i-a31-i2c")) in mv64xxx_of_config()
Di2c-powermac.c269 if (of_device_is_compatible(busnode, "k2-i2c") && !found_onyx) { in i2c_powermac_add_missing()
360 if (of_device_is_compatible(node, "pcm3052")) in i2c_powermac_register_devices()
Di2c-cpm.c462 if (of_device_is_compatible(ofdev->dev.of_node, "fsl,cpm1-i2c")) { in cpm_i2c_setup()
479 } else if (of_device_is_compatible(ofdev->dev.of_node, "fsl,cpm2-i2c")) { in cpm_i2c_setup()
Di2c-davinci.c218 if (of_node && of_device_is_compatible(of_node, "ti,keystone-i2c")) in i2c_davinci_calc_clk_dividers()
Di2c-mpc.c392 if (of_device_is_compatible(node, "fsl,mpc8544-i2c")) in mpc_i2c_get_fdr_8xxx()
Di2c-tegra.c811 i2c_dev->is_dvc = of_device_is_compatible(pdev->dev.of_node, in tegra_i2c_probe()
/linux-4.4.14/drivers/tty/serial/
Dof_serial.c158 (of_device_is_compatible(np, "fsl,ns16550") || in of_platform_serial_setup()
159 of_device_is_compatible(np, "fsl,16550-FIFO64"))) in of_platform_serial_setup()
Dsirfsoc_uart.c1296 if (of_device_is_compatible(pdev->dev.of_node, "sirf,prima2-uart") || in sirfsoc_uart_probe()
1297 of_device_is_compatible(pdev->dev.of_node, "sirf,atlas7-uart")) in sirfsoc_uart_probe()
1299 if (of_device_is_compatible(pdev->dev.of_node, in sirfsoc_uart_probe()
1300 "sirf,prima2-usp-uart") || of_device_is_compatible( in sirfsoc_uart_probe()
1339 if (of_device_is_compatible(pdev->dev.of_node, "sirf,atlas7-uart") || in sirfsoc_uart_probe()
1340 of_device_is_compatible(pdev->dev.of_node, "sirf,atlas7-usp-uart")) in sirfsoc_uart_probe()
Dsunsu.c1574 if (of_device_is_compatible(dp, "su")) { in sunsu_init()
1580 if (of_device_is_compatible(dp, "su")) { in sunsu_init()
Dpmac_zilog.c1466 if (of_device_is_compatible(np, "cobalt")) in pmz_init_port()
1524 of_device_is_compatible(np->parent->parent, "gatwick")) { in pmz_init_port()
Dsunsab.c1122 if (of_device_is_compatible(dp, "sab82532")) in sunsab_init()
/linux-4.4.14/drivers/char/tpm/
Dtpm_atmel.h53 if (!of_device_is_compatible(dn, "AT97SC3201")) { in atmel_get_base_addr()
/linux-4.4.14/drivers/mmc/core/
Dpwrseq.c41 if (of_device_is_compatible(np, pwrseq_match[i].compatible)) { in mmc_pwrseq_find()
/linux-4.4.14/drivers/iommu/
Dfsl_pamu.c504 if (of_device_is_compatible(dev->of_node, "fsl,qman-portal")) in get_ome_index()
506 if (of_device_is_compatible(dev->of_node, "fsl,qman")) in get_ome_index()
749 if (of_device_is_compatible(node, "fsl,qman-portal")) in setup_liodns()
751 if (of_device_is_compatible(node, "fsl,qman")) in setup_liodns()
753 if (of_device_is_compatible(node, "fsl,bman")) in setup_liodns()
Domap-iommu.c890 if (!of_device_is_compatible(np, "ti,dra7-dsp-iommu")) in omap_iommu_dra7_get_dsp_system_cfg()
/linux-4.4.14/drivers/staging/iio/adc/
Dspear_adc.c118 if (of_device_is_compatible(st->np, "st,spear600-adc")) { in spear_adc_get_average()
129 if (of_device_is_compatible(st->np, "st,spear600-adc")) { in spear_adc_set_scanrate()
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_tvout.c318 if (of_device_is_compatible(node, "st,stih407-tvout")) { in tvout_dvo_start()
371 if (of_device_is_compatible(node, "st,stih407-tvout")) { in tvout_hdmi_start()
423 if (of_device_is_compatible(node, "st,stih407-tvout")) { in tvout_hda_start()
Dsti_mixer.c255 if (of_device_is_compatible(np, "st,stih416-compositor")) in sti_mixer_create()
Dsti_gdp.c347 if (of_device_is_compatible(np, "st,stih407-compositor")) { in sti_gdp_init()
Dsti_hdmi.c817 if (of_device_is_compatible(np, "st,stih416-hdmi")) { in sti_hdmi_probe()
/linux-4.4.14/drivers/pci/host/
Dpci-tegra.c1371 if (of_device_is_compatible(np, "nvidia,tegra124-pcie")) { in tegra_pcie_get_xbar_config()
1383 } else if (of_device_is_compatible(np, "nvidia,tegra30-pcie")) { in tegra_pcie_get_xbar_config()
1400 } else if (of_device_is_compatible(np, "nvidia,tegra20-pcie")) { in tegra_pcie_get_xbar_config()
1450 if (of_device_is_compatible(np, "nvidia,tegra30-pcie")) in tegra_pcie_get_legacy_regulators()
1452 else if (of_device_is_compatible(np, "nvidia,tegra20-pcie")) in tegra_pcie_get_legacy_regulators()
1491 if (of_device_is_compatible(np, "nvidia,tegra124-pcie")) { in tegra_pcie_get_regulators()
1507 } else if (of_device_is_compatible(np, "nvidia,tegra30-pcie")) { in tegra_pcie_get_regulators()
1541 } else if (of_device_is_compatible(np, "nvidia,tegra20-pcie")) { in tegra_pcie_get_regulators()
Dpci-xgene.c528 if (of_device_is_compatible(port->node, "apm,xgene-pcie")) in xgene_pcie_probe_bridge()
/linux-4.4.14/drivers/pinctrl/freescale/
Dpinctrl-mxs.c417 if (of_device_is_compatible(child, gpio_compat)) in mxs_pinctrl_probe_dt()
443 if (of_device_is_compatible(child, gpio_compat)) in mxs_pinctrl_probe_dt()
483 if (of_device_is_compatible(child, gpio_compat)) in mxs_pinctrl_probe_dt()
/linux-4.4.14/drivers/mfd/
Dtc3589x.c346 if (of_device_is_compatible(child, "toshiba,tc3589x-gpio")) in tc3589x_of_probe()
348 if (of_device_is_compatible(child, "toshiba,tc3589x-keypad")) in tc3589x_of_probe()
Dsyscon.c53 if (!of_device_is_compatible(np, "syscon")) in of_syscon_register()
Dmfd-core.c179 if (of_device_is_compatible(np, cell->of_compatible)) { in mfd_add_device()
/linux-4.4.14/drivers/hwmon/
Dibmpowernv.c245 if (of_device_is_compatible(np, sensor_groups[type].compatible)) in get_sensor_type()
252 if (!of_device_is_compatible(np, "ibm,opal-sensor")) in get_sensor_type()
/linux-4.4.14/drivers/clocksource/
Dmips-gic-timer.c183 !of_device_is_compatible(node->parent, "mti,gic"))) in gic_clocksource_of_init()
Dmxs_timer.c252 (of_device_is_compatible(np, "fsl,imx23-timrot") ? in mxs_timer_init()
/linux-4.4.14/drivers/power/reset/
Dat91-reset.c195 if (!of_device_is_compatible(pdev->dev.of_node, "atmel,sama5d3-rstc")) { in at91_reset_probe()
/linux-4.4.14/drivers/of/
Dplatform.c305 if (!of_device_is_compatible(np, lookup->compatible)) in of_dev_lookup()
353 if (of_device_is_compatible(bus, "arm,primecell")) { in of_platform_bus_create()
Dof_mdio.c52 is_c45 = of_device_is_compatible(child, in of_mdiobus_register_phy()
Dbase.c482 int of_device_is_compatible(const struct device_node *device, in of_device_is_compatible() function
493 EXPORT_SYMBOL(of_device_is_compatible);
509 rc = of_device_is_compatible(root, compat); in of_machine_is_compatible()
Daddress.c466 if (of_device_is_compatible(np, "1682m-sdc")) in of_empty_ranges_quirk()
/linux-4.4.14/drivers/net/ethernet/ibm/emac/
Dcore.c2579 if (of_device_is_compatible(np, "ibm,emac4sync")) { in emac_init_config()
2581 if (of_device_is_compatible(np, "ibm,emac-460ex") || in emac_init_config()
2582 of_device_is_compatible(np, "ibm,emac-460gt")) in emac_init_config()
2584 if (of_device_is_compatible(np, "ibm,emac-405ex") || in emac_init_config()
2585 of_device_is_compatible(np, "ibm,emac-405exr")) in emac_init_config()
2587 if (of_device_is_compatible(np, "ibm,emac-apm821xx")) { in emac_init_config()
2592 } else if (of_device_is_compatible(np, "ibm,emac4")) { in emac_init_config()
2594 if (of_device_is_compatible(np, "ibm,emac-440gx")) in emac_init_config()
2597 if (of_device_is_compatible(np, "ibm,emac-440ep") || in emac_init_config()
2598 of_device_is_compatible(np, "ibm,emac-440gr")) in emac_init_config()
[all …]
Dmal.c537 mal->version = of_device_is_compatible(ofdev->dev.of_node, "ibm,mcmal2") ? 2 : 1; in mal_probe()
576 if (of_device_is_compatible(ofdev->dev.of_node, "ibm,mcmal-405ez")) { in mal_probe()
628 if (of_device_is_compatible(ofdev->dev.of_node, "ibm,mcmal-axon")) in mal_probe()
Drgmii.c271 if (of_device_is_compatible(ofdev->dev.of_node, "ibm,rgmii-axon")) in rgmii_probe()
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
Dflipper-pic.c148 if (!of_device_is_compatible(pi, "nintendo,flipper-pi")) { in flipper_pic_init()
/linux-4.4.14/drivers/video/fbdev/
Doffb.c351 } else if (dp && (of_device_is_compatible(dp, "pci1014,b7") || in offb_init_palette_hacks()
352 of_device_is_compatible(dp, "pci1014,21c"))) { in offb_init_palette_hacks()
371 } else if (dp && of_device_is_compatible(dp, "qemu,std-vga")) { in offb_init_palette_hacks()
Dsimplefb.c408 if (of_device_is_compatible(np, "simple-framebuffer")) in simplefb_init()
Damba-clcd.c593 if (of_device_is_compatible(panel, "panel-dpi")) in clcdfb_of_get_mode()
/linux-4.4.14/drivers/usb/musb/
Dsunxi.c661 if (of_device_is_compatible(np, "allwinner,sun4i-a10-musb")) in sunxi_musb_probe()
664 if (of_device_is_compatible(np, "allwinner,sun6i-a31-musb")) in sunxi_musb_probe()
667 if (of_device_is_compatible(np, "allwinner,sun8i-a33-musb")) { in sunxi_musb_probe()
Dmusb_dsps.c798 if (of_device_is_compatible(pdev->dev.of_node, "ti,musb-dm816")) in dsps_probe()
/linux-4.4.14/arch/powerpc/sysdev/xics/
Dics-rtas.c210 return !of_device_is_compatible(node, "chrp,iic"); in ics_rtas_host_match()
/linux-4.4.14/sound/aoa/soundbus/i2sbus/
Dcore.c345 if (of_device_is_compatible(np, "i2sbus") || in i2sbus_probe()
346 of_device_is_compatible(np, "i2s-modem")) { in i2sbus_probe()
/linux-4.4.14/drivers/mtd/
Dofpart.c58 } else if (!of_device_is_compatible(ofpart_node, "fixed-partitions")) { in parse_ofpart_partitions()
/linux-4.4.14/arch/arm/kernel/
Dtopology.c114 if (of_device_is_compatible(cn, cpu_eff->compatible)) in parse_dt_topology()
/linux-4.4.14/drivers/edac/
Dxgene_edac.c1890 if (of_device_is_compatible(child, "apm,xgene-edac-mc")) in xgene_edac_probe()
1892 if (of_device_is_compatible(child, "apm,xgene-edac-pmd")) in xgene_edac_probe()
1894 if (of_device_is_compatible(child, "apm,xgene-edac-pmd-v2")) in xgene_edac_probe()
1896 if (of_device_is_compatible(child, "apm,xgene-edac-l3")) in xgene_edac_probe()
1898 if (of_device_is_compatible(child, "apm,xgene-edac-l3-v2")) in xgene_edac_probe()
1900 if (of_device_is_compatible(child, "apm,xgene-edac-soc")) in xgene_edac_probe()
1902 if (of_device_is_compatible(child, "apm,xgene-edac-soc-v1")) in xgene_edac_probe()
Dppc4xx_edac.c1245 if (!of_device_is_compatible(np, "ibm,sdram-405ex") && in ppc4xx_edac_probe()
1246 !of_device_is_compatible(np, "ibm,sdram-405exr")) { in ppc4xx_edac_probe()
/linux-4.4.14/drivers/gpio/
Dgpio-ath79.c163 oe_inverted = of_device_is_compatible(np, "qca,ar9340-gpio"); in ath79_gpio_probe()
/linux-4.4.14/arch/arm/mm/
Dcache-feroceon-l2.c377 if (node && of_device_is_compatible(node, "marvell,kirkwood-cache")) { in feroceon_of_init()
/linux-4.4.14/drivers/pwm/
Dpwm-spear.c205 if (of_device_is_compatible(np, "st,spear1340-pwm")) { in spear_pwm_probe()
/linux-4.4.14/drivers/clk/mvebu/
Dkirkwood.c330 if (of_device_is_compatible(np, "marvell,mv88f6180-core-clock")) in kirkwood_clk_init()
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-if.c209 if (of_device_is_compatible(dp, "nxp,usb-isp1761")) in isp1760_plat_probe()
/linux-4.4.14/drivers/usb/dwc3/
Ddwc3-exynos.c153 if (of_device_is_compatible(node, "samsung,exynos7-dwusb3")) { in dwc3_exynos_probe()
Ddwc3-omap.c374 if (of_device_is_compatible(node, "ti,am437x-dwc3")) { in dwc3_omap_map_offset()
/linux-4.4.14/drivers/virt/
Dfsl_hypervisor.c860 if (of_device_is_compatible(np, "fsl,hv-shutdown-doorbell")) { in fsl_hypervisor_init()
864 } else if (of_device_is_compatible(np, in fsl_hypervisor_init()
/linux-4.4.14/drivers/hsi/controllers/
Domap_ssi.c446 if (of_device_is_compatible(child, "ti,omap3-ssi-port")) in ssi_of_get_available_ports_count()
502 if (!of_device_is_compatible(child, "ti,omap3-ssi-port")) in ssi_probe()
/linux-4.4.14/drivers/gpu/drm/msm/adreno/
Dadreno_device.c189 if (of_device_is_compatible(child, "qcom,gpu-pwrlevels")) { in adreno_bind()
/linux-4.4.14/drivers/misc/
Dvexpress-syscfg.c175 if (num == 1 && of_device_is_compatible(dev->of_node, in vexpress_syscfg_regmap_init()
/linux-4.4.14/drivers/clk/shmobile/
Dclk-mstp.c258 if (of_device_is_compatible(clkspec.np, in cpg_mstp_attach_dev()
/linux-4.4.14/drivers/macintosh/
Dvia-pmu.c303 || of_device_is_compatible(vias->parent, "ohare"))) in find_via_pmu()
305 else if (of_device_is_compatible(vias->parent, "paddington")) in find_via_pmu()
307 else if (of_device_is_compatible(vias->parent, "heathrow")) in find_via_pmu()
309 else if (of_device_is_compatible(vias->parent, "Keylargo") in find_via_pmu()
310 || of_device_is_compatible(vias->parent, "K2-Keylargo")) { in find_via_pmu()
Dwindfarm_smu_controls.c271 of_device_is_compatible(fans, "smu-rpm-fans")) in smu_controls_init()
Dsmu.c635 if (of_device_is_compatible(np, "smu-sensors")) in smu_expose_childs()
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
Dgpio.c161 if (!of_device_is_compatible(gc->of_node, "fsl,mpc8323-qe-pario-bank")) { in qe_pin_request()
/linux-4.4.14/drivers/gpu/drm/tegra/
Dgr3d.c269 if (of_device_is_compatible(np, "nvidia,tegra30-gr3d")) { in gr3d_probe()
Dhdmi.c500 if (of_device_is_compatible(node, "nvidia,tegra30-hdmi")) { in tegra_hdmi_setup_audio()
539 if (of_device_is_compatible(node, "nvidia,tegra30-hdmi")) { in tegra_hdmi_setup_audio()
919 if (of_device_is_compatible(node, "nvidia,tegra20-hdmi")) { in tegra_hdmi_encoder_enable()
/linux-4.4.14/drivers/media/rc/
Dsunxi-cir.c158 if (of_device_is_compatible(dn, "allwinner,sun5i-a13-ir")) in sunxi_ir_probe()
/linux-4.4.14/arch/arm/mach-mxs/
Dmach-mxs.c442 if (of_device_is_compatible(np, "fsl,imx23-clkctrl")) in mxs_restart_init()
/linux-4.4.14/drivers/rtc/
Drtc-sa1100.c320 of_device_is_compatible(pdev->dev.of_node, "mrvl,sa1100-rtc")) { in sa1100_rtc_probe()
Drtc-mpc5121.c349 if (of_device_is_compatible(op->dev.of_node, "fsl,mpc5121-rtc")) { in mpc5121_rtc_probe()
Drtc-da9063.c414 if (of_device_is_compatible(pdev->dev.of_node, "dlg,da9063-rtc")) { in da9063_rtc_probe()
/linux-4.4.14/include/linux/
Dof.h308 extern int of_device_is_compatible(const struct device_node *device,
472 static inline int of_device_is_compatible(const struct device_node *device, in of_device_is_compatible() function
/linux-4.4.14/arch/powerpc/platforms/chrp/
Dsetup.c476 if (of_device_is_compatible(np, "chrp,iic")) { in chrp_find_8259()
/linux-4.4.14/drivers/char/hw_random/
Domap-rng.c330 if (of_device_is_compatible(dev->of_node, "ti,omap4-rng")) { in of_get_omap_rng_device_details()
/linux-4.4.14/drivers/clk/imx/
Dclk-imx27.c261 if (!of_device_is_compatible(refnp, "fsl,imx-osc26m")) in mx27_clocks_init_dt()
Dclk-imx31.c233 if (!of_device_is_compatible(np, "fsl,imx-osc26m")) in mx31_clocks_init_dt()
Dclk-imx25.c263 if (of_device_is_compatible(refnp, "fsl,imx-osc")) in mx25_clocks_init_dt()
/linux-4.4.14/drivers/dma/xilinx/
Dxilinx_vdma.c1154 if (of_device_is_compatible(node, "xlnx,axi-vdma-mm2s-channel")) { in xilinx_vdma_chan_probe()
1164 } else if (of_device_is_compatible(node, in xilinx_vdma_chan_probe()
/linux-4.4.14/drivers/crypto/
Dtalitos.c2910 if (of_device_is_compatible(np, "fsl,sec3.0")) in talitos_probe()
2913 if (of_device_is_compatible(np, "fsl,sec2.1")) in talitos_probe()
2918 if (of_device_is_compatible(np, "fsl,sec1.0")) in talitos_probe()
2921 if (of_device_is_compatible(np, "fsl,sec1.2")) { in talitos_probe()
2926 } else if (of_device_is_compatible(np, "fsl,sec1.0")) { in talitos_probe()
2950 if (of_device_is_compatible(np, "fsl,sec1.0")) { in talitos_probe()
Dsahara.c1521 if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx27-sahara")) { in sahara_probe()
1524 } else if (of_device_is_compatible(pdev->dev.of_node, in sahara_probe()
/linux-4.4.14/arch/arm/mach-omap2/
Dtimer.c186 if (!of_device_is_compatible(np, "ti,omap-counter32k")) in omap_get_timer_dt()
Dprm44xx.c727 if (of_device_is_compatible(data->np, "ti,am4-prcm")) { in omap44xx_prm_init()
/linux-4.4.14/arch/arm/mach-mvebu/
Dpmsu.c180 if (of_device_is_compatible(np, "marvell,armada-370-xp-pmsu")) { in mvebu_v7_pmsu_init()
/linux-4.4.14/drivers/tty/
Dehv_bytechan.c121 if (!np || !of_device_is_compatible(np, "epapr,hv-byte-channel")) in find_console_handle()
/linux-4.4.14/drivers/clk/
Dclk-qoriq.c1204 of_device_is_compatible(of_root, "fsl,ls1021a")) { in clockgen_init()
1215 if (of_device_is_compatible(np, chipinfo[i].compat)) in clockgen_init()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dsetup.c135 if (of_device_is_compatible(np, "chrp,iic")) { in pseries_setup_i8259_cascade()
/linux-4.4.14/drivers/dma/
Dfsldma.c1389 if (of_device_is_compatible(child, "fsl,eloplus-dma-channel")) { in fsldma_of_probe()
1395 if (of_device_is_compatible(child, "fsl,elo-dma-channel")) { in fsldma_of_probe()
Dfsl_raid.c843 rc = of_device_is_compatible(child, in fsl_re_probe()
Dmpc512x_dma.c890 if (of_device_is_compatible(dn, "fsl,mpc8308-dma")) { in mpc_dma_probe()
Dsun6i-dma.c1053 if (of_device_is_compatible(pdev->dev.of_node, in sun6i_dma_probe()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_dw.c275 if (of_device_is_compatible(np, "cavium,octeon-3860-uart")) { in dw8250_quirks()
/linux-4.4.14/drivers/input/keyboard/
Dsamsung-keypad.c391 keypad->type = of_device_is_compatible(pdev->dev.of_node, in samsung_keypad_probe()
/linux-4.4.14/drivers/clk/berlin/
Dbg2.c544 if (of_device_is_compatible(np, "marvell,berlin2-global-register")) in berlin2_clock_setup()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c621 if (of_device_is_compatible(encoder, in rcar_du_encoders_init_one()
/linux-4.4.14/drivers/mtd/nand/
Dmpc5121_nfc.c719 if (of_device_is_compatible(rootnode, "fsl,mpc5121ads")) { in mpc5121_nfc_probe()
Ddavinci_nand.c612 if (of_device_is_compatible(pdev->dev.of_node, in nand_davinci_get_pdata()
Dvf610_nfc.c708 if (of_device_is_compatible(child, "fsl,vf610-nfc-nandcs")) { in vf610_nfc_probe()
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-at91.c1004 if (of_device_is_compatible(child, gpio_compat)) { in at91_pinctrl_child_count()
1196 if (of_device_is_compatible(child, gpio_compat)) in at91_pinctrl_probe_dt()
/linux-4.4.14/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.c786 if (of_device_is_compatible(child_np, in xgene_mdiobus_register()
/linux-4.4.14/drivers/net/can/
Dxilinx_can.c1097 if (of_device_is_compatible(pdev->dev.of_node, in xcan_probe()
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c983 if (of_device_is_compatible(ofdev->dev.of_node, "fsl,mpc5125-fec")) { in fs_enet_probe()

12