| /drivers/usb/host/ |
| A D | fsl-mph-dr-of.c | 142 if (of_device_is_compatible(np, "fsl-usb2-dr")) { in usb_get_ver_info() 143 if (of_device_is_compatible(np, "fsl-usb2-dr-v1.6")) in usb_get_ver_info() 145 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2")) in usb_get_ver_info() 147 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4")) in usb_get_ver_info() 149 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.5")) in usb_get_ver_info() 158 if (of_device_is_compatible(np, "fsl,mpc5121-usb2-dr")) in usb_get_ver_info() 161 if (of_device_is_compatible(np, "fsl-usb2-mph")) { in usb_get_ver_info() 162 if (of_device_is_compatible(np, "fsl-usb2-mph-v1.6")) in usb_get_ver_info() 164 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.2")) in usb_get_ver_info() 166 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.4")) in usb_get_ver_info() [all …]
|
| A D | ohci-ppc-of.c | 101 of_device_is_compatible(dn, "ohci-bigendian") || in ohci_hcd_ppc_of_probe() 102 of_device_is_compatible(dn, "ohci-be"); in ohci_hcd_ppc_of_probe() 134 if (of_device_is_compatible(dn, "fsl,mpc5200-ohci")) in ohci_hcd_ppc_of_probe() 136 if (of_device_is_compatible(dn, "mpc5200-ohci")) in ohci_hcd_ppc_of_probe()
|
| A D | xhci-rcar.c | 93 return of_device_is_compatible(node, "renesas,xhci-r8a7790") || in xhci_rcar_is_gen2() 94 of_device_is_compatible(node, "renesas,xhci-r8a7791") || in xhci_rcar_is_gen2() 95 of_device_is_compatible(node, "renesas,xhci-r8a7793") || in xhci_rcar_is_gen2() 96 of_device_is_compatible(node, "renesas,rcar-gen2-xhci"); in xhci_rcar_is_gen2()
|
| A D | uhci-platform.c | 114 if (of_device_is_compatible(np, "aspeed,ast2400-uhci") || in uhci_hcd_platform_probe() 115 of_device_is_compatible(np, "aspeed,ast2500-uhci") || in uhci_hcd_platform_probe() 116 of_device_is_compatible(np, "aspeed,ast2600-uhci")) { in uhci_hcd_platform_probe()
|
| /drivers/gpu/drm/sun4i/ |
| A D | sun4i_drv.c | 156 return of_device_is_compatible(node, "hdmi-connector"); in sun4i_drv_node_is_connector() 161 return of_device_is_compatible(node, "allwinner,sun4i-a10-display-frontend") || in sun4i_drv_node_is_frontend() 162 of_device_is_compatible(node, "allwinner,sun5i-a13-display-frontend") || in sun4i_drv_node_is_frontend() 163 of_device_is_compatible(node, "allwinner,sun6i-a31-display-frontend") || in sun4i_drv_node_is_frontend() 164 of_device_is_compatible(node, "allwinner,sun7i-a20-display-frontend") || in sun4i_drv_node_is_frontend() 165 of_device_is_compatible(node, "allwinner,sun8i-a23-display-frontend") || in sun4i_drv_node_is_frontend() 166 of_device_is_compatible(node, "allwinner,sun8i-a33-display-frontend") || in sun4i_drv_node_is_frontend() 167 of_device_is_compatible(node, "allwinner,sun9i-a80-display-frontend"); in sun4i_drv_node_is_frontend() 172 return of_device_is_compatible(node, "allwinner,sun9i-a80-deu"); in sun4i_drv_node_is_deu()
|
| /drivers/watchdog/ |
| A D | aspeed_wdt.c | 255 if (!of_device_is_compatible(pdev->dev.of_node, "aspeed,ast2400-wdt")) { in aspeed_wdt_update_bootstatus() 280 if (of_device_is_compatible(pdev->dev.of_node, "aspeed,ast2400-wdt") || in aspeed_wdt_update_bootstatus() 281 of_device_is_compatible(pdev->dev.of_node, "aspeed,ast2500-wdt")) { in aspeed_wdt_update_bootstatus() 443 if (of_device_is_compatible(np, "aspeed,ast2400-wdt")) in aspeed_wdt_probe() 482 if ((of_device_is_compatible(np, "aspeed,ast2500-wdt")) || in aspeed_wdt_probe() 483 (of_device_is_compatible(np, "aspeed,ast2600-wdt"))) { in aspeed_wdt_probe() 485 size_t nrstmask = of_device_is_compatible(np, "aspeed,ast2600-wdt") ? 2 : 1; in aspeed_wdt_probe() 542 if (of_device_is_compatible(np, "aspeed,ast2400-wdt") || in aspeed_wdt_probe() 543 of_device_is_compatible(np, "aspeed,ast2500-wdt")) in aspeed_wdt_probe()
|
| /drivers/memory/ |
| A 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() 274 if (of_device_is_compatible(np_tim, tim_compat)) in of_lpddr3_get_ddr_timings() 285 if (of_device_is_compatible(np_tim, tim_compat)) { in of_lpddr3_get_ddr_timings() 351 if (of_device_is_compatible(np, "jedec,lpddr2-s4")) in of_lpddr2_get_info() 353 else if (of_device_is_compatible(np, "jedec,lpddr2-s2")) in of_lpddr2_get_info() 355 else if (of_device_is_compatible(np, "jedec,lpddr2-nvm")) in of_lpddr2_get_info()
|
| /drivers/clk/versatile/ |
| A D | clk-icst.c | 514 if (of_device_is_compatible(np, "arm,syscon-icst525")) { in of_syscon_icst_setup() 517 } else if (of_device_is_compatible(np, "arm,syscon-icst307")) { in of_syscon_icst_setup() 520 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-cm")) { in of_syscon_icst_setup() 523 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-sys")) { in of_syscon_icst_setup() 526 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-pci")) { in of_syscon_icst_setup() 529 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-core")) { in of_syscon_icst_setup() 532 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-mem")) { in of_syscon_icst_setup()
|
| A D | clk-impd1.c | 79 if (of_device_is_compatible(np, "arm,impd1-vco1")) { in integrator_impd1_clk_spawn() 81 } else if (of_device_is_compatible(np, "arm,impd1-vco2")) { in integrator_impd1_clk_spawn()
|
| /drivers/net/ethernet/stmicro/stmmac/ |
| A D | stmmac_platform.c | 325 if (of_device_is_compatible(mdio_node, in stmmac_of_get_mdio() 530 if (of_device_is_compatible(np, "st,spear600-gmac") || in stmmac_probe_config_dt() 531 of_device_is_compatible(np, "snps,dwmac-3.50a") || in stmmac_probe_config_dt() 532 of_device_is_compatible(np, "snps,dwmac-3.70a") || in stmmac_probe_config_dt() 533 of_device_is_compatible(np, "snps,dwmac-3.72a") || in stmmac_probe_config_dt() 534 of_device_is_compatible(np, "snps,dwmac")) { in stmmac_probe_config_dt() 555 if (of_device_is_compatible(np, "snps,dwmac-3.40a")) { in stmmac_probe_config_dt() 571 if (of_device_is_compatible(np, "snps,dwmac-3.610") || in stmmac_probe_config_dt() 572 of_device_is_compatible(np, "snps,dwmac-3.710")) { in stmmac_probe_config_dt() 578 if (of_device_is_compatible(np, "snps,dwxgmac")) { in stmmac_probe_config_dt() [all …]
|
| /drivers/iommu/arm/arm-smmu/ |
| A D | arm-smmu-impl.c | 218 if (of_device_is_compatible(np, "nvidia,tegra234-smmu") || in arm_smmu_impl_init() 219 of_device_is_compatible(np, "nvidia,tegra194-smmu") || in arm_smmu_impl_init() 220 of_device_is_compatible(np, "nvidia,tegra186-smmu")) in arm_smmu_impl_init() 226 if (of_device_is_compatible(np, "marvell,ap806-smmu-500")) in arm_smmu_impl_init()
|
| A D | arm-smmu-qcom.c | 293 if (of_device_is_compatible(np, "qcom,msm8996-smmu-v2")) in qcom_adreno_can_do_ttbr1() 357 if (of_device_is_compatible(np, "qcom,smmu-500") && in qcom_adreno_smmu_init_context() 358 !of_device_is_compatible(np, "qcom,sm8250-smmu-500") && in qcom_adreno_smmu_init_context() 359 of_device_is_compatible(np, "qcom,adreno-smmu")) { in qcom_adreno_smmu_init_context() 422 if (of_device_is_compatible(smmu->dev->of_node, "qcom,msm8998-smmu-v2") && in qcom_smmu_cfg_probe() 425 } else if (of_device_is_compatible(smmu->dev->of_node, "qcom,sdm630-smmu-v2")) { in qcom_smmu_cfg_probe() 494 if (of_device_is_compatible(smmu->dev->of_node, "qcom,sdm630-smmu-v2") && in qcom_adreno_smmuv2_cfg_probe() 627 if (np && of_device_is_compatible(np, "qcom,adreno-smmu")) in qcom_smmu_create() 791 WARN(of_device_is_compatible(np, "qcom,adreno-smmu"), in qcom_smmu_impl_init()
|
| /drivers/irqchip/ |
| A D | irq-omap-intc.c | 307 if (of_device_is_compatible(node, "ti,omap2-intc") || in omap_init_irq() 308 of_device_is_compatible(node, "ti,omap3-intc")) { in omap_init_irq() 373 if (of_device_is_compatible(node, "ti,dm814-intc") || in intc_of_init() 374 of_device_is_compatible(node, "ti,dm816-intc") || in intc_of_init() 375 of_device_is_compatible(node, "ti,am33xx-intc")) { in intc_of_init()
|
| A D | irq-ixp4xx.c | 267 is_356 = of_device_is_compatible(np, "intel,ixp43x-interrupt") || in ixp4xx_of_init_irq() 268 of_device_is_compatible(np, "intel,ixp45x-interrupt") || in ixp4xx_of_init_irq() 269 of_device_is_compatible(np, "intel,ixp46x-interrupt"); in ixp4xx_of_init_irq()
|
| /drivers/clk/baikal-t1/ |
| A D | clk-ccu-div.c | 236 if (of_device_is_compatible(np, "baikal,bt1-ccu-axi")) in ccu_div_set_data() 238 else if (of_device_is_compatible(np, "baikal,bt1-ccu-sys")) in ccu_div_set_data() 246 if (of_device_is_compatible(np, "baikal,bt1-ccu-axi")) in ccu_div_get_data() 248 else if (of_device_is_compatible(np, "baikal,bt1-ccu-sys")) in ccu_div_get_data() 279 if (of_device_is_compatible(np, "baikal,bt1-ccu-axi")) { in ccu_div_create_data() 282 } else if (of_device_is_compatible(np, "baikal,bt1-ccu-sys")) { in ccu_div_create_data()
|
| /drivers/gpio/ |
| A D | gpiolib-of.c | 96 if (!of_device_is_compatible(np, "fsl,spi") && in of_gpio_spi_cs_get_count() 97 !of_device_is_compatible(np, "aeroflexgaisler,spictrl") && in of_gpio_spi_cs_get_count() 98 !of_device_is_compatible(np, "ibm,ppc4xx-spi")) in of_gpio_spi_cs_get_count() 248 if (of_device_is_compatible(np, gpios[i].compatible) && in of_gpio_try_fixup_polarity() 318 if (of_device_is_compatible(np->parent, "atmel,hsmci")) { in of_gpio_set_polarity_by_property() 325 if (of_device_is_compatible(np_compat, gpios[i].compatible) && in of_gpio_set_polarity_by_property() 347 of_device_is_compatible(np, "reg-fixed-voltage") && in of_gpio_flags_quirks() 622 !of_device_is_compatible(np, gpios[i].compatible)) in of_find_gpio_rename() 648 if (!of_device_is_compatible(np, "mediatek,mt2701-cs42448-machine")) in of_find_mt2701_gpio()
|
| /drivers/mmc/host/ |
| A D | sdhci-of-esdhc.c | 1379 if (of_device_is_compatible(np, "fsl,p2020-esdhc")) { in esdhc_init() 1393 if (of_device_is_compatible(np, "fsl,ls1046a-esdhc") || in esdhc_init() 1394 of_device_is_compatible(np, "fsl,ls1028a-esdhc") || in esdhc_init() 1395 of_device_is_compatible(np, "fsl,ls1088a-esdhc")) in esdhc_init() 1479 if (of_device_is_compatible(np, "fsl,p5040-esdhc") || in sdhci_esdhc_probe() 1480 of_device_is_compatible(np, "fsl,p5020-esdhc") || in sdhci_esdhc_probe() 1481 of_device_is_compatible(np, "fsl,p4080-esdhc") || in sdhci_esdhc_probe() 1482 of_device_is_compatible(np, "fsl,p1020-esdhc") || in sdhci_esdhc_probe() 1483 of_device_is_compatible(np, "fsl,t1040-esdhc")) in sdhci_esdhc_probe() 1486 if (of_device_is_compatible(np, "fsl,ls1021a-esdhc")) in sdhci_esdhc_probe() [all …]
|
| /drivers/soc/aspeed/ |
| A D | aspeed-lpc-ctrl.c | 285 if (!of_device_is_compatible(np, "aspeed,ast2400-lpc-v2") && in aspeed_lpc_ctrl_probe() 286 !of_device_is_compatible(np, "aspeed,ast2500-lpc-v2") && in aspeed_lpc_ctrl_probe() 287 !of_device_is_compatible(np, "aspeed,ast2600-lpc-v2")) { in aspeed_lpc_ctrl_probe() 298 if (of_device_is_compatible(dev->of_node, "aspeed,ast2600-lpc-ctrl")) { in aspeed_lpc_ctrl_probe()
|
| /drivers/tty/serial/8250/ |
| A D | 8250_of.c | 150 if (of_device_is_compatible(np, "mrvl,mmp-uart")) in of_platform_serial_setup() 185 (of_device_is_compatible(np, "fsl,ns16550") || in of_platform_serial_setup() 186 of_device_is_compatible(np, "fsl,16550-FIFO64"))) { in of_platform_serial_setup() 210 of_device_is_compatible(ofdev->dev.of_node, "brcm,bcm7271-uart")) in of_platform_serial_probe()
|
| /drivers/tty/hvc/ |
| A D | hvc_opal.c | 163 if (of_device_is_compatible(dev->dev.of_node, "ibm,opal-console-raw")) { in hvc_opal_probe() 166 } else if (of_device_is_compatible(dev->dev.of_node, in hvc_opal_probe() 370 if (of_device_is_compatible(stdout_node, "ibm,opal-console-raw")) { in hvc_opal_init_early() 375 else if (of_device_is_compatible(stdout_node,"ibm,opal-console-hvsi")) { in hvc_opal_init_early()
|
| A D | hvc_vio.c | 311 if (of_device_is_compatible(vdev->dev.of_node, "hvterm1")) { in hvc_vio_probe() 314 } else if (of_device_is_compatible(vdev->dev.of_node, "hvterm-protocol")) { in hvc_vio_probe() 404 if (of_device_is_compatible(of_stdout, "hvterm1")) { in hvc_vio_init_early() 408 else if (of_device_is_compatible(of_stdout, "hvterm-protocol")) { in hvc_vio_init_early()
|
| /drivers/media/platform/mediatek/vcodec/decoder/ |
| A D | mtk_vcodec_dec_drv.c | 337 if (of_device_is_compatible(dev->of_node, "mediatek,mt8173-vcodec-dec")) in mtk_vcodec_dec_get_chip_name() 339 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8183-vcodec-dec")) in mtk_vcodec_dec_get_chip_name() 341 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8192-vcodec-dec")) in mtk_vcodec_dec_get_chip_name() 343 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8195-vcodec-dec")) in mtk_vcodec_dec_get_chip_name() 345 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8186-vcodec-dec")) in mtk_vcodec_dec_get_chip_name() 347 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8188-vcodec-dec")) in mtk_vcodec_dec_get_chip_name()
|
| /drivers/soc/bcm/brcmstb/ |
| A D | biuctrl.c | 275 if (of_device_is_compatible(cpu_dn, "brcm,brahma-b15")) in setup_hifcpubiuctrl_regs() 277 else if (of_device_is_compatible(cpu_dn, "brcm,brahma-b53")) in setup_hifcpubiuctrl_regs() 279 else if (of_device_is_compatible(cpu_dn, "arm,cortex-a72")) in setup_hifcpubiuctrl_regs()
|
| /drivers/mtd/maps/ |
| A D | physmap-bt1-rom.c | 108 if (!of_device_is_compatible(np, "mtd-rom")) { in of_flash_probe_bt1_rom() 114 if (!of_device_is_compatible(np, "baikal,bt1-int-rom")) in of_flash_probe_bt1_rom()
|
| /drivers/net/ethernet/ti/ |
| A D | cpsw-common.c | 76 if (of_device_is_compatible(dev->of_node, "ti,am3517-emac")) in ti_cm_get_macid() 79 if (of_device_is_compatible(dev->of_node, "ti,dm816-emac")) in ti_cm_get_macid()
|