/linux-4.4.14/drivers/usb/host/ |
D | fsl-mph-dr-of.c | 135 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 …]
|
D | xhci-plat.c | 55 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()
|
D | ohci-ppc-of.c | 102 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()
|
D | ehci-fsl.c | 364 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()
|
D | ehci-ppc-of.c | 163 if (of_device_is_compatible(dn, "ibm,usb-ehci-440epx")) { in ehci_hcd_ppc_of_probe()
|
D | ohci-exynos.c | 136 if (of_device_is_compatible(pdev->dev.of_node, in exynos_ohci_probe()
|
D | ehci-exynos.c | 167 if (of_device_is_compatible(pdev->dev.of_node, in exynos_ehci_probe()
|
/linux-4.4.14/arch/arm/mach-shmobile/ |
D | timer.c | 56 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()
|
D | pm-rcar-gen2.c | 72 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/ |
D | usb.c | 130 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/ |
D | ge_imp3a.c | 72 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()
|
D | xes_mpc85xx.c | 92 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()
|
D | mpc85xx_cds.c | 239 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()
|
D | mpc85xx_ds.c | 90 if (of_device_is_compatible(np, "chrp,iic")) { in mpc85xx_ds_pic_init()
|
/linux-4.4.14/arch/arm/mach-highbank/ |
D | highbank.c | 90 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/ |
D | pci.c | 809 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 …]
|
D | feature.c | 1426 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 …]
|
D | smp.c | 580 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()
|
D | nvram.c | 546 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()
|
D | pic.c | 331 if (of_device_is_compatible(master, "gatwick")) { in pmac_pic_probe_oldstyle()
|
/linux-4.4.14/drivers/phy/ |
D | phy-ti-pipe3.c | 231 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()
|
D | phy-sun4i-usb.c | 526 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()
|
D | phy-berlin-sata.c | 226 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/ |
D | stmmac_platform.c | 180 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/ |
D | sdhci-pltfm.c | 93 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()
|
D | sdhci-of-esdhc.c | 603 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()
|
D | sdhci-of-arasan.c | 175 if (of_device_is_compatible(pdev->dev.of_node, "arasan,sdhci-4.9a")) { in sdhci_arasan_probe()
|
D | sdhci-st.c | 156 if (!of_device_is_compatible(np, "st,sdhci-stih407")) in st_mmcss_cconfig()
|
D | dw_mmc-exynos.c | 330 if (of_device_is_compatible(np, exynos_compat[idx].compatible)) in dw_mci_exynos_parse_dt()
|
D | sunxi-mmc.c | 921 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()
|
D | sdhci-pxav3.c | 402 if (of_device_is_compatible(np, "marvell,armada-380-sdhci")) { in sdhci_pxav3_probe()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | legacy_serial.c | 236 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/ |
D | pci-p5ioc2.c | 68 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()
|
D | opal-power.c | 155 supported = of_device_is_compatible(np, "ibm,opal-v3-epow"); in opal_power_control_init()
|
D | opal-sysparam.c | 174 if (!of_device_is_compatible(sysparam, "ibm,opal-sysparams")) { in opal_sys_param_init()
|
D | opal.c | 649 if (of_device_is_compatible(np, compatible)) in opal_pdev_init()
|
D | pci-ioda.c | 3101 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/ |
D | irq-omap-intc.c | 310 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()
|
D | irq-vf610-mscm-ir.c | 224 if (of_device_is_compatible(irq_domain_get_of_node(domain->parent), in vf610_mscm_ir_of_init()
|
D | irq-versatile-fpga.c | 228 if (of_device_is_compatible(node, "arm,versatile-sic")) in fpga_irq_of_init()
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | ppc4xx_pci.c | 68 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 …]
|
D | fsl_msi.c | 211 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()
|
D | mpic_u3msi.c | 100 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()
|
D | ppc4xx_soc.c | 178 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()
|
D | dart_iommu.c | 336 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()
|
D | fsl_lbc.c | 51 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()
|
D | mv64x60_dev.c | 471 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()
|
D | uic.c | 237 BUG_ON(! of_device_is_compatible(node, "ibm,uic")); in uic_init_one()
|
D | fsl_gtm.c | 371 if (!of_device_is_compatible(np, "fsl,cpm2-gtm")) { in gtm_set_shortcuts()
|
D | mpic_timer.c | 516 if (of_device_is_compatible(np, "fsl,mpic-global-timer")) in timer_group_init()
|
D | fsl_pci.c | 826 if (of_device_is_compatible(dev, "fsl,mpc8314-pcie")) { in mpc83xx_add_bridge()
|
/linux-4.4.14/arch/powerpc/platforms/44x/ |
D | iss4xx.c | 66 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()
|
D | ppc476.c | 136 if (of_device_is_compatible(np, "chrp,open-pic")) { in ppc47x_init_irq()
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | anatop.c | 123 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/ |
D | cpsw-common.c | 87 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()
|
D | netcp_ethss.c | 3047 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/ |
D | pci.c | 516 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()
|
D | setup.c | 231 if (of_device_is_compatible(np, "open-pic")) { in maple_init_IRQ()
|
/linux-4.4.14/drivers/tty/hvc/ |
D | hvc_opal.c | 174 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()
|
D | hvc_vio.c | 310 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/ |
D | sti_uniperif.c | 96 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/ |
D | reset.c | 135 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/ |
D | spi-fsl-lib.c | 155 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()
|
D | spi-orion.c | 561 if (of_device_is_compatible(pdev->dev.of_node, in orion_spi_probe()
|
D | spi-qup.c | 846 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/ |
D | kvm_para.h | 36 if (!of_device_is_compatible(hyper_node, "linux,kvm")) in kvm_para_available()
|
/linux-4.4.14/drivers/memory/ |
D | of_memory.c | 124 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()
|
D | mvebu-devbus.c | 168 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()
|
D | emif.c | 1323 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()
|
D | ti-aemif.c | 357 if (of_device_is_compatible(np, "ti,da850-aemif")) in aemif_probe()
|
/linux-4.4.14/drivers/thermal/samsung/ |
D | exynos_tmu.c | 1106 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/ |
D | setup.c | 103 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()
|
D | interrupt.c | 229 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()
|
D | spider-pic.c | 348 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/ |
D | fsl-asoc-card.c | 510 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()
|
D | fsl_utils.c | 46 if (!of_device_is_compatible(dma_channel_np, "fsl,ssi-dma-channel")) { in fsl_asoc_get_dma_channel()
|
D | fsl_sai.c | 723 if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx6sx-sai")) in fsl_sai_probe()
|
D | fsl_asrc.c | 871 if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx35-asrc")) { in fsl_asrc_probe()
|
/linux-4.4.14/drivers/watchdog/ |
D | orion_wdt.c | 494 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/ |
D | ams-core.c | 202 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/ |
D | ctrl.c | 567 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()
|
D | jr.c | 502 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/ |
D | of.c | 35 if (!np || !of_device_is_compatible(np, "brcm,bcm4329-fmac")) in brcmf_of_probe()
|
/linux-4.4.14/arch/powerpc/platforms/86xx/ |
D | pic.c | 50 if (of_device_is_compatible(np, "chrp,iic")) { in mpc86xx_init_irq()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | sun4i-ts.c | 263 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/ |
D | cpm_uart_core.c | 1187 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/ |
D | misc.c | 40 if (!of_device_is_compatible(node, i2c_devices[i].of_device)) in find_i2c_driver()
|
D | setup.c | 200 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()
|
D | msi.c | 151 !of_device_is_compatible(of_node, in mpic_pasemi_msi_init()
|
/linux-4.4.14/drivers/ata/ |
D | pata_macio.c | 502 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()
|
D | ahci_platform.c | 57 if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci")) in ahci_probe()
|
D | sata_fsl.c | 1475 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/ |
D | pdm360ng.c | 84 of_device_is_compatible(dev->of_node, "ti,ads7846")) { in pdm360ng_touchscreen_notifier_call()
|
/linux-4.4.14/sound/soc/codecs/ |
D | sirf-audio-codec.c | 402 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/ |
D | omap-ocp2scp.c | 70 if (!of_device_is_compatible(np, "ti,am437x-ocp2scp")) { in omap_ocp2scp_probe()
|
/linux-4.4.14/drivers/ide/ |
D | pmac.c | 938 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()
|
D | pdc202xx_new.c | 292 if (np == NULL || !of_device_is_compatible(np, "kiwi-root")) in apple_kiwi_init()
|
/linux-4.4.14/sound/ppc/ |
D | pmac.c | 913 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/ |
D | i2c-mv64xxx.c | 822 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()
|
D | i2c-powermac.c | 269 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()
|
D | i2c-cpm.c | 462 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()
|
D | i2c-davinci.c | 218 if (of_node && of_device_is_compatible(of_node, "ti,keystone-i2c")) in i2c_davinci_calc_clk_dividers()
|
D | i2c-mpc.c | 392 if (of_device_is_compatible(node, "fsl,mpc8544-i2c")) in mpc_i2c_get_fdr_8xxx()
|
D | i2c-tegra.c | 811 i2c_dev->is_dvc = of_device_is_compatible(pdev->dev.of_node, in tegra_i2c_probe()
|
/linux-4.4.14/drivers/tty/serial/ |
D | of_serial.c | 158 (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()
|
D | sirfsoc_uart.c | 1296 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()
|
D | sunsu.c | 1574 if (of_device_is_compatible(dp, "su")) { in sunsu_init() 1580 if (of_device_is_compatible(dp, "su")) { in sunsu_init()
|
D | pmac_zilog.c | 1466 if (of_device_is_compatible(np, "cobalt")) in pmz_init_port() 1524 of_device_is_compatible(np->parent->parent, "gatwick")) { in pmz_init_port()
|
D | sunsab.c | 1122 if (of_device_is_compatible(dp, "sab82532")) in sunsab_init()
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm_atmel.h | 53 if (!of_device_is_compatible(dn, "AT97SC3201")) { in atmel_get_base_addr()
|
/linux-4.4.14/drivers/mmc/core/ |
D | pwrseq.c | 41 if (of_device_is_compatible(np, pwrseq_match[i].compatible)) { in mmc_pwrseq_find()
|
/linux-4.4.14/drivers/iommu/ |
D | fsl_pamu.c | 504 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()
|
D | omap-iommu.c | 890 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/ |
D | spear_adc.c | 118 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/ |
D | sti_tvout.c | 318 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()
|
D | sti_mixer.c | 255 if (of_device_is_compatible(np, "st,stih416-compositor")) in sti_mixer_create()
|
D | sti_gdp.c | 347 if (of_device_is_compatible(np, "st,stih407-compositor")) { in sti_gdp_init()
|
D | sti_hdmi.c | 817 if (of_device_is_compatible(np, "st,stih416-hdmi")) { in sti_hdmi_probe()
|
/linux-4.4.14/drivers/pci/host/ |
D | pci-tegra.c | 1371 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()
|
D | pci-xgene.c | 528 if (of_device_is_compatible(port->node, "apm,xgene-pcie")) in xgene_pcie_probe_bridge()
|
/linux-4.4.14/drivers/pinctrl/freescale/ |
D | pinctrl-mxs.c | 417 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/ |
D | tc3589x.c | 346 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()
|
D | syscon.c | 53 if (!of_device_is_compatible(np, "syscon")) in of_syscon_register()
|
D | mfd-core.c | 179 if (of_device_is_compatible(np, cell->of_compatible)) { in mfd_add_device()
|
/linux-4.4.14/drivers/hwmon/ |
D | ibmpowernv.c | 245 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/ |
D | mips-gic-timer.c | 183 !of_device_is_compatible(node->parent, "mti,gic"))) in gic_clocksource_of_init()
|
D | mxs_timer.c | 252 (of_device_is_compatible(np, "fsl,imx23-timrot") ? in mxs_timer_init()
|
/linux-4.4.14/drivers/power/reset/ |
D | at91-reset.c | 195 if (!of_device_is_compatible(pdev->dev.of_node, "atmel,sama5d3-rstc")) { in at91_reset_probe()
|
/linux-4.4.14/drivers/of/ |
D | platform.c | 305 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()
|
D | of_mdio.c | 52 is_c45 = of_device_is_compatible(child, in of_mdiobus_register_phy()
|
D | base.c | 482 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()
|
D | address.c | 466 if (of_device_is_compatible(np, "1682m-sdc")) in of_empty_ranges_quirk()
|
/linux-4.4.14/drivers/net/ethernet/ibm/emac/ |
D | core.c | 2579 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 …]
|
D | mal.c | 537 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()
|
D | rgmii.c | 271 if (of_device_is_compatible(ofdev->dev.of_node, "ibm,rgmii-axon")) in rgmii_probe()
|
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/ |
D | flipper-pic.c | 148 if (!of_device_is_compatible(pi, "nintendo,flipper-pi")) { in flipper_pic_init()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | offb.c | 351 } 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()
|
D | simplefb.c | 408 if (of_device_is_compatible(np, "simple-framebuffer")) in simplefb_init()
|
D | amba-clcd.c | 593 if (of_device_is_compatible(panel, "panel-dpi")) in clcdfb_of_get_mode()
|
/linux-4.4.14/drivers/usb/musb/ |
D | sunxi.c | 661 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()
|
D | musb_dsps.c | 798 if (of_device_is_compatible(pdev->dev.of_node, "ti,musb-dm816")) in dsps_probe()
|
/linux-4.4.14/arch/powerpc/sysdev/xics/ |
D | ics-rtas.c | 210 return !of_device_is_compatible(node, "chrp,iic"); in ics_rtas_host_match()
|
/linux-4.4.14/sound/aoa/soundbus/i2sbus/ |
D | core.c | 345 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/ |
D | ofpart.c | 58 } else if (!of_device_is_compatible(ofpart_node, "fixed-partitions")) { in parse_ofpart_partitions()
|
/linux-4.4.14/arch/arm/kernel/ |
D | topology.c | 114 if (of_device_is_compatible(cn, cpu_eff->compatible)) in parse_dt_topology()
|
/linux-4.4.14/drivers/edac/ |
D | xgene_edac.c | 1890 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()
|
D | ppc4xx_edac.c | 1245 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/ |
D | gpio-ath79.c | 163 oe_inverted = of_device_is_compatible(np, "qca,ar9340-gpio"); in ath79_gpio_probe()
|
/linux-4.4.14/arch/arm/mm/ |
D | cache-feroceon-l2.c | 377 if (node && of_device_is_compatible(node, "marvell,kirkwood-cache")) { in feroceon_of_init()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-spear.c | 205 if (of_device_is_compatible(np, "st,spear1340-pwm")) { in spear_pwm_probe()
|
/linux-4.4.14/drivers/clk/mvebu/ |
D | kirkwood.c | 330 if (of_device_is_compatible(np, "marvell,mv88f6180-core-clock")) in kirkwood_clk_init()
|
/linux-4.4.14/drivers/usb/isp1760/ |
D | isp1760-if.c | 209 if (of_device_is_compatible(dp, "nxp,usb-isp1761")) in isp1760_plat_probe()
|
/linux-4.4.14/drivers/usb/dwc3/ |
D | dwc3-exynos.c | 153 if (of_device_is_compatible(node, "samsung,exynos7-dwusb3")) { in dwc3_exynos_probe()
|
D | dwc3-omap.c | 374 if (of_device_is_compatible(node, "ti,am437x-dwc3")) { in dwc3_omap_map_offset()
|
/linux-4.4.14/drivers/virt/ |
D | fsl_hypervisor.c | 860 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/ |
D | omap_ssi.c | 446 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/ |
D | adreno_device.c | 189 if (of_device_is_compatible(child, "qcom,gpu-pwrlevels")) { in adreno_bind()
|
/linux-4.4.14/drivers/misc/ |
D | vexpress-syscfg.c | 175 if (num == 1 && of_device_is_compatible(dev->of_node, in vexpress_syscfg_regmap_init()
|
/linux-4.4.14/drivers/clk/shmobile/ |
D | clk-mstp.c | 258 if (of_device_is_compatible(clkspec.np, in cpg_mstp_attach_dev()
|
/linux-4.4.14/drivers/macintosh/ |
D | via-pmu.c | 303 || 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()
|
D | windfarm_smu_controls.c | 271 of_device_is_compatible(fans, "smu-rpm-fans")) in smu_controls_init()
|
D | smu.c | 635 if (of_device_is_compatible(np, "smu-sensors")) in smu_expose_childs()
|
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/ |
D | gpio.c | 161 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/ |
D | gr3d.c | 269 if (of_device_is_compatible(np, "nvidia,tegra30-gr3d")) { in gr3d_probe()
|
D | hdmi.c | 500 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/ |
D | sunxi-cir.c | 158 if (of_device_is_compatible(dn, "allwinner,sun5i-a13-ir")) in sunxi_ir_probe()
|
/linux-4.4.14/arch/arm/mach-mxs/ |
D | mach-mxs.c | 442 if (of_device_is_compatible(np, "fsl,imx23-clkctrl")) in mxs_restart_init()
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-sa1100.c | 320 of_device_is_compatible(pdev->dev.of_node, "mrvl,sa1100-rtc")) { in sa1100_rtc_probe()
|
D | rtc-mpc5121.c | 349 if (of_device_is_compatible(op->dev.of_node, "fsl,mpc5121-rtc")) { in mpc5121_rtc_probe()
|
D | rtc-da9063.c | 414 if (of_device_is_compatible(pdev->dev.of_node, "dlg,da9063-rtc")) { in da9063_rtc_probe()
|
/linux-4.4.14/include/linux/ |
D | of.h | 308 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/ |
D | setup.c | 476 if (of_device_is_compatible(np, "chrp,iic")) { in chrp_find_8259()
|
/linux-4.4.14/drivers/char/hw_random/ |
D | omap-rng.c | 330 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/ |
D | clk-imx27.c | 261 if (!of_device_is_compatible(refnp, "fsl,imx-osc26m")) in mx27_clocks_init_dt()
|
D | clk-imx31.c | 233 if (!of_device_is_compatible(np, "fsl,imx-osc26m")) in mx31_clocks_init_dt()
|
D | clk-imx25.c | 263 if (of_device_is_compatible(refnp, "fsl,imx-osc")) in mx25_clocks_init_dt()
|
/linux-4.4.14/drivers/dma/xilinx/ |
D | xilinx_vdma.c | 1154 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/ |
D | talitos.c | 2910 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()
|
D | sahara.c | 1521 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/ |
D | timer.c | 186 if (!of_device_is_compatible(np, "ti,omap-counter32k")) in omap_get_timer_dt()
|
D | prm44xx.c | 727 if (of_device_is_compatible(data->np, "ti,am4-prcm")) { in omap44xx_prm_init()
|
/linux-4.4.14/arch/arm/mach-mvebu/ |
D | pmsu.c | 180 if (of_device_is_compatible(np, "marvell,armada-370-xp-pmsu")) { in mvebu_v7_pmsu_init()
|
/linux-4.4.14/drivers/tty/ |
D | ehv_bytechan.c | 121 if (!np || !of_device_is_compatible(np, "epapr,hv-byte-channel")) in find_console_handle()
|
/linux-4.4.14/drivers/clk/ |
D | clk-qoriq.c | 1204 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/ |
D | setup.c | 135 if (of_device_is_compatible(np, "chrp,iic")) { in pseries_setup_i8259_cascade()
|
/linux-4.4.14/drivers/dma/ |
D | fsldma.c | 1389 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()
|
D | fsl_raid.c | 843 rc = of_device_is_compatible(child, in fsl_re_probe()
|
D | mpc512x_dma.c | 890 if (of_device_is_compatible(dn, "fsl,mpc8308-dma")) { in mpc_dma_probe()
|
D | sun6i-dma.c | 1053 if (of_device_is_compatible(pdev->dev.of_node, in sun6i_dma_probe()
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_dw.c | 275 if (of_device_is_compatible(np, "cavium,octeon-3860-uart")) { in dw8250_quirks()
|
/linux-4.4.14/drivers/input/keyboard/ |
D | samsung-keypad.c | 391 keypad->type = of_device_is_compatible(pdev->dev.of_node, in samsung_keypad_probe()
|
/linux-4.4.14/drivers/clk/berlin/ |
D | bg2.c | 544 if (of_device_is_compatible(np, "marvell,berlin2-global-register")) in berlin2_clock_setup()
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
D | rcar_du_kms.c | 621 if (of_device_is_compatible(encoder, in rcar_du_encoders_init_one()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | mpc5121_nfc.c | 719 if (of_device_is_compatible(rootnode, "fsl,mpc5121ads")) { in mpc5121_nfc_probe()
|
D | davinci_nand.c | 612 if (of_device_is_compatible(pdev->dev.of_node, in nand_davinci_get_pdata()
|
D | vf610_nfc.c | 708 if (of_device_is_compatible(child, "fsl,vf610-nfc-nandcs")) { in vf610_nfc_probe()
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-at91.c | 1004 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/ |
D | xgene_enet_hw.c | 786 if (of_device_is_compatible(child_np, in xgene_mdiobus_register()
|
/linux-4.4.14/drivers/net/can/ |
D | xilinx_can.c | 1097 if (of_device_is_compatible(pdev->dev.of_node, in xcan_probe()
|
/linux-4.4.14/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet-main.c | 983 if (of_device_is_compatible(ofdev->dev.of_node, "fsl,mpc5125-fec")) { in fs_enet_probe()
|