/drivers/usb/host/ |
D | fsl-mph-dr-of.c | 140 if (of_device_is_compatible(np, "fsl-usb2-dr")) { in usb_get_ver_info() 141 if (of_device_is_compatible(np, "fsl-usb2-dr-v1.6")) in usb_get_ver_info() 143 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2")) in usb_get_ver_info() 145 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4")) in usb_get_ver_info() 147 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.5")) in usb_get_ver_info() 156 if (of_device_is_compatible(np, "fsl,mpc5121-usb2-dr")) in usb_get_ver_info() 159 if (of_device_is_compatible(np, "fsl-usb2-mph")) { in usb_get_ver_info() 160 if (of_device_is_compatible(np, "fsl-usb2-mph-v1.6")) in usb_get_ver_info() 162 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.2")) in usb_get_ver_info() 164 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.4")) in usb_get_ver_info() [all …]
|
D | xhci-rcar.c | 84 return of_device_is_compatible(node, "renesas,xhci-r8a7790") || in xhci_rcar_is_gen2() 85 of_device_is_compatible(node, "renesas,xhci-r8a7791") || in xhci_rcar_is_gen2() 86 of_device_is_compatible(node, "renesas,xhci-r8a7793") || in xhci_rcar_is_gen2() 87 of_device_is_compatible(node, "renensas,rcar-gen2-xhci"); in xhci_rcar_is_gen2() 94 return of_device_is_compatible(node, "renesas,xhci-r8a7795") || in xhci_rcar_is_gen3() 95 of_device_is_compatible(node, "renesas,rcar-gen3-xhci"); in xhci_rcar_is_gen3()
|
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()
|
/drivers/gpu/drm/sun4i/ |
D | sun4i_drv.c | 217 return of_device_is_compatible(node, "hdmi-connector"); in sun4i_drv_node_is_connector() 222 return of_device_is_compatible(node, "allwinner,sun5i-a13-display-frontend") || in sun4i_drv_node_is_frontend() 223 of_device_is_compatible(node, "allwinner,sun6i-a31-display-frontend") || in sun4i_drv_node_is_frontend() 224 of_device_is_compatible(node, "allwinner,sun8i-a33-display-frontend"); in sun4i_drv_node_is_frontend() 229 return of_device_is_compatible(node, "allwinner,sun5i-a13-tcon") || in sun4i_drv_node_is_tcon() 230 of_device_is_compatible(node, "allwinner,sun6i-a31-tcon") || in sun4i_drv_node_is_tcon() 231 of_device_is_compatible(node, "allwinner,sun6i-a31s-tcon") || in sun4i_drv_node_is_tcon() 232 of_device_is_compatible(node, "allwinner,sun8i-a33-tcon"); in sun4i_drv_node_is_tcon()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_platform.c | 186 if (of_device_is_compatible(plat->mdio_node, "snps,dwmac-mdio")) in stmmac_dt_phy() 268 if (of_device_is_compatible(np, "st,spear600-gmac") || in stmmac_probe_config_dt() 269 of_device_is_compatible(np, "snps,dwmac-3.50a") || in stmmac_probe_config_dt() 270 of_device_is_compatible(np, "snps,dwmac-3.70a") || in stmmac_probe_config_dt() 271 of_device_is_compatible(np, "snps,dwmac")) { in stmmac_probe_config_dt() 292 if (of_device_is_compatible(np, "snps,dwmac-4.00") || in stmmac_probe_config_dt() 293 of_device_is_compatible(np, "snps,dwmac-4.10a")) { in stmmac_probe_config_dt() 299 if (of_device_is_compatible(np, "snps,dwmac-3.610") || in stmmac_probe_config_dt() 300 of_device_is_compatible(np, "snps,dwmac-3.710")) { in stmmac_probe_config_dt()
|
/drivers/phy/ |
D | phy-ti-pipe3.c | 276 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-pcie")) { in ti_pipe3_init() 298 if ((val & PLL_LOCK) && of_device_is_compatible(phy->dev->of_node, in ti_pipe3_init() 321 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata") && in ti_pipe3_exit() 326 if (!of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-pcie")) { in ti_pipe3_exit() 349 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata")) { in ti_pipe3_exit() 382 if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) in ti_pipe3_get_clk() 386 if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) { in ti_pipe3_get_clk() 396 if (!of_device_is_compatible(node, "ti,phy-pipe3-pcie") || in ti_pipe3_get_clk() 405 if (of_device_is_compatible(node, "ti,phy-pipe3-pcie")) { in ti_pipe3_get_clk() 477 if (of_device_is_compatible(node, "ti,phy-pipe3-pcie")) { in ti_pipe3_get_sysctrl() [all …]
|
/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 | 639 if (of_device_is_compatible(np, "fsl,p5040-esdhc") || in sdhci_esdhc_probe() 640 of_device_is_compatible(np, "fsl,p5020-esdhc") || in sdhci_esdhc_probe() 641 of_device_is_compatible(np, "fsl,p4080-esdhc") || in sdhci_esdhc_probe() 642 of_device_is_compatible(np, "fsl,p1020-esdhc") || in sdhci_esdhc_probe() 643 of_device_is_compatible(np, "fsl,t1040-esdhc")) in sdhci_esdhc_probe() 646 if (of_device_is_compatible(np, "fsl,ls1021a-esdhc")) in sdhci_esdhc_probe() 649 if (of_device_is_compatible(np, "fsl,p2020-esdhc")) { in sdhci_esdhc_probe()
|
/drivers/clk/versatile/ |
D | clk-icst.c | 528 if (of_device_is_compatible(np, "arm,syscon-icst525")) { in of_syscon_icst_setup() 531 } else if (of_device_is_compatible(np, "arm,syscon-icst307")) { in of_syscon_icst_setup() 534 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-cm")) { in of_syscon_icst_setup() 537 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-sys")) { in of_syscon_icst_setup() 540 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-pci")) { in of_syscon_icst_setup() 543 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-core")) { in of_syscon_icst_setup() 546 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-mem")) { in of_syscon_icst_setup()
|
/drivers/irqchip/ |
D | irq-omap-intc.c | 311 if (of_device_is_compatible(node, "ti,omap2-intc") || in omap_init_irq() 312 of_device_is_compatible(node, "ti,omap3-intc")) { in omap_init_irq() 386 if (of_device_is_compatible(node, "ti,dm814-intc") || in intc_of_init() 387 of_device_is_compatible(node, "ti,dm816-intc") || in intc_of_init() 388 of_device_is_compatible(node, "ti,am33xx-intc")) { in intc_of_init()
|
/drivers/power/supply/ |
D | axp20x_usb_power.c | 89 if (of_device_is_compatible(power->np, in axp20x_usb_power_get_property() 133 if (of_device_is_compatible(power->np, in axp20x_usb_power_get_property() 220 if (of_device_is_compatible(power->np, in axp20x_usb_power_probe() 238 } else if (of_device_is_compatible(power->np, in axp20x_usb_power_probe()
|
/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() 380 if (of_device_is_compatible(stdout_node, "ibm,opal-console-raw")) { in hvc_opal_init_early() 385 else if (of_device_is_compatible(stdout_node,"ibm,opal-console-hvsi")) { in hvc_opal_init_early()
|
D | hvc_vio.c | 308 if (of_device_is_compatible(vdev->dev.of_node, "hvterm1")) { in hvc_vio_probe() 311 } else if (of_device_is_compatible(vdev->dev.of_node, "hvterm-protocol")) { in hvc_vio_probe() 410 if (of_device_is_compatible(of_stdout, "hvterm1")) { in hvc_vio_init_early() 414 else if (of_device_is_compatible(of_stdout, "hvterm-protocol")) { in hvc_vio_init_early()
|
/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()
|
/drivers/pinctrl/uniphier/ |
D | pinctrl-uniphier-core.c | 701 if (of_device_is_compatible(dev->of_node, "socionext,ph1-ld4-pinctrl") || in uniphier_pinctrl_probe() 702 of_device_is_compatible(dev->of_node, "socionext,ph1-pro4-pinctrl") || in uniphier_pinctrl_probe() 703 of_device_is_compatible(dev->of_node, "socionext,ph1-sld8-pinctrl") || in uniphier_pinctrl_probe() 704 of_device_is_compatible(dev->of_node, "socionext,ph1-pro5-pinctrl") || in uniphier_pinctrl_probe() 705 of_device_is_compatible(dev->of_node, "socionext,proxstream2-pinctrl") || in uniphier_pinctrl_probe() 706 of_device_is_compatible(dev->of_node, "socionext,ph1-ld6b-pinctrl")) { in uniphier_pinctrl_probe()
|
/drivers/thermal/samsung/ |
D | exynos_tmu.c | 1116 if (of_device_is_compatible(np, "samsung,exynos3250-tmu")) in exynos_of_get_soc_type() 1118 else if (of_device_is_compatible(np, "samsung,exynos4210-tmu")) in exynos_of_get_soc_type() 1120 else if (of_device_is_compatible(np, "samsung,exynos4412-tmu")) in exynos_of_get_soc_type() 1122 else if (of_device_is_compatible(np, "samsung,exynos5250-tmu")) in exynos_of_get_soc_type() 1124 else if (of_device_is_compatible(np, "samsung,exynos5260-tmu")) in exynos_of_get_soc_type() 1126 else if (of_device_is_compatible(np, "samsung,exynos5420-tmu")) in exynos_of_get_soc_type() 1128 else if (of_device_is_compatible(np, in exynos_of_get_soc_type() 1131 else if (of_device_is_compatible(np, "samsung,exynos5433-tmu")) in exynos_of_get_soc_type() 1133 else if (of_device_is_compatible(np, "samsung,exynos5440-tmu")) in exynos_of_get_soc_type() 1135 else if (of_device_is_compatible(np, "samsung,exynos7-tmu")) in exynos_of_get_soc_type()
|
/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()
|
/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()
|
/drivers/crypto/caam/ |
D | ctrl.c | 598 if (of_device_is_compatible(nprop, "fsl,sec-v5.0")) in caam_probe() 612 if (of_device_is_compatible(np, "fsl,sec-v4.0-job-ring") || in caam_probe() 613 of_device_is_compatible(np, "fsl,sec4.0-job-ring")) in caam_probe() 626 if (of_device_is_compatible(np, "fsl,sec-v4.0-job-ring") || in caam_probe() 627 of_device_is_compatible(np, "fsl,sec4.0-job-ring")) { in caam_probe()
|
/drivers/memory/ |
D | of_memory.c | 125 if (of_device_is_compatible(np_tim, tim_compat)) in of_get_ddr_timings() 136 if (of_device_is_compatible(np_tim, tim_compat)) { in of_get_ddr_timings()
|
/drivers/of/ |
D | of_mdio.c | 53 is_c45 = of_device_is_compatible(child, in of_mdiobus_register_phy() 180 if (of_device_is_compatible(child, "ethernet-phy-ieee802.3-c45")) in of_mdiobus_child_is_phy() 183 if (of_device_is_compatible(child, "ethernet-phy-ieee802.3-c22")) in of_mdiobus_child_is_phy()
|
/drivers/input/touchscreen/ |
D | sun4i-ts.c | 262 if (of_device_is_compatible(np, "allwinner,sun6i-a31-ts")) { in sun4i_ts_probe() 266 } else if (of_device_is_compatible(np, "allwinner,sun4i-a10-ts")) { in sun4i_ts_probe() 353 if (of_device_is_compatible(np, "allwinner,sun6i-a31-ts")) in sun4i_ts_probe()
|
/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()
|
/drivers/edac/ |
D | altera_edac.c | 1051 if (!of_device_is_compatible(child, compat)) in altr_init_a10_ecc_device_type() 1898 if (of_device_is_compatible(child, "altr,socfpga-a10-l2-ecc") || in altr_edac_a10_probe() 1899 of_device_is_compatible(child, "altr,socfpga-a10-ocram-ecc") || in altr_edac_a10_probe() 1900 of_device_is_compatible(child, "altr,socfpga-eth-mac-ecc") || in altr_edac_a10_probe() 1901 of_device_is_compatible(child, "altr,socfpga-nand-ecc") || in altr_edac_a10_probe() 1902 of_device_is_compatible(child, "altr,socfpga-dma-ecc") || in altr_edac_a10_probe() 1903 of_device_is_compatible(child, "altr,socfpga-usb-ecc") || in altr_edac_a10_probe() 1904 of_device_is_compatible(child, "altr,socfpga-qspi-ecc") || in altr_edac_a10_probe() 1905 of_device_is_compatible(child, "altr,socfpga-sdmmc-ecc")) in altr_edac_a10_probe() 1909 else if (of_device_is_compatible(child, "altr,sdram-edac-a10")) in altr_edac_a10_probe()
|
/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()
|