Home
last modified time | relevance | path

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

12345678910>>...12

/drivers/usb/host/
Dfsl-mph-dr-of.c139 if (of_device_is_compatible(np, "fsl-usb2-dr")) { in usb_get_ver_info()
140 if (of_device_is_compatible(np, "fsl-usb2-dr-v1.6")) in usb_get_ver_info()
142 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2")) in usb_get_ver_info()
144 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4")) in usb_get_ver_info()
146 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.5")) in usb_get_ver_info()
155 if (of_device_is_compatible(np, "fsl,mpc5121-usb2-dr")) in usb_get_ver_info()
158 if (of_device_is_compatible(np, "fsl-usb2-mph")) { in usb_get_ver_info()
159 if (of_device_is_compatible(np, "fsl-usb2-mph-v1.6")) in usb_get_ver_info()
161 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.2")) in usb_get_ver_info()
163 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.4")) in usb_get_ver_info()
[all …]
Dohci-ppc-of.c103 of_device_is_compatible(dn, "ohci-bigendian") || in ohci_hcd_ppc_of_probe()
104 of_device_is_compatible(dn, "ohci-be"); in ohci_hcd_ppc_of_probe()
136 if (of_device_is_compatible(dn, "fsl,mpc5200-ohci")) in ohci_hcd_ppc_of_probe()
138 if (of_device_is_compatible(dn, "mpc5200-ohci")) in ohci_hcd_ppc_of_probe()
Dxhci-rcar.c104 return of_device_is_compatible(node, "renesas,xhci-r8a7790") || in xhci_rcar_is_gen2()
105 of_device_is_compatible(node, "renesas,xhci-r8a7791") || in xhci_rcar_is_gen2()
106 of_device_is_compatible(node, "renesas,xhci-r8a7793") || in xhci_rcar_is_gen2()
107 of_device_is_compatible(node, "renesas,rcar-gen2-xhci"); in xhci_rcar_is_gen2()
Duhci-platform.c115 if (of_device_is_compatible(np, "aspeed,ast2400-uhci") || in uhci_hcd_platform_probe()
116 of_device_is_compatible(np, "aspeed,ast2500-uhci") || in uhci_hcd_platform_probe()
117 of_device_is_compatible(np, "aspeed,ast2600-uhci")) { in uhci_hcd_platform_probe()
/drivers/gpu/drm/sun4i/
Dsun4i_drv.c153 return of_device_is_compatible(node, "hdmi-connector"); in sun4i_drv_node_is_connector()
158 return of_device_is_compatible(node, "allwinner,sun4i-a10-display-frontend") || in sun4i_drv_node_is_frontend()
159 of_device_is_compatible(node, "allwinner,sun5i-a13-display-frontend") || in sun4i_drv_node_is_frontend()
160 of_device_is_compatible(node, "allwinner,sun6i-a31-display-frontend") || in sun4i_drv_node_is_frontend()
161 of_device_is_compatible(node, "allwinner,sun7i-a20-display-frontend") || in sun4i_drv_node_is_frontend()
162 of_device_is_compatible(node, "allwinner,sun8i-a23-display-frontend") || in sun4i_drv_node_is_frontend()
163 of_device_is_compatible(node, "allwinner,sun8i-a33-display-frontend") || in sun4i_drv_node_is_frontend()
164 of_device_is_compatible(node, "allwinner,sun9i-a80-display-frontend"); in sun4i_drv_node_is_frontend()
169 return of_device_is_compatible(node, "allwinner,sun9i-a80-deu"); in sun4i_drv_node_is_deu()
/drivers/iommu/arm/arm-smmu/
Darm-smmu-impl.c217 if (of_device_is_compatible(np, "nvidia,tegra194-smmu")) in arm_smmu_impl_init()
220 if (of_device_is_compatible(np, "qcom,sdm845-smmu-500") || in arm_smmu_impl_init()
221 of_device_is_compatible(np, "qcom,sc7180-smmu-500") || in arm_smmu_impl_init()
222 of_device_is_compatible(np, "qcom,sm8150-smmu-500") || in arm_smmu_impl_init()
223 of_device_is_compatible(np, "qcom,sm8250-smmu-500")) in arm_smmu_impl_init()
226 if (of_device_is_compatible(smmu->dev->of_node, "qcom,adreno-smmu")) in arm_smmu_impl_init()
229 if (of_device_is_compatible(np, "marvell,ap806-smmu-500")) in arm_smmu_impl_init()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c339 if (of_device_is_compatible(plat->mdio_node, in stmmac_dt_phy()
487 if (of_device_is_compatible(np, "st,spear600-gmac") || in stmmac_probe_config_dt()
488 of_device_is_compatible(np, "snps,dwmac-3.50a") || in stmmac_probe_config_dt()
489 of_device_is_compatible(np, "snps,dwmac-3.70a") || in stmmac_probe_config_dt()
490 of_device_is_compatible(np, "snps,dwmac")) { in stmmac_probe_config_dt()
511 if (of_device_is_compatible(np, "snps,dwmac-3.40a")) { in stmmac_probe_config_dt()
519 if (of_device_is_compatible(np, "snps,dwmac-4.00") || in stmmac_probe_config_dt()
520 of_device_is_compatible(np, "snps,dwmac-4.10a") || in stmmac_probe_config_dt()
521 of_device_is_compatible(np, "snps,dwmac-4.20a") || in stmmac_probe_config_dt()
522 of_device_is_compatible(np, "snps,dwmac-5.10a")) { in stmmac_probe_config_dt()
[all …]
/drivers/mmc/host/
Dsdhci-pltfm.c66 if (of_device_is_compatible(np, "fsl,p2020-rev1-esdhc")) in sdhci_get_compatibility()
69 if (of_device_is_compatible(np, "fsl,p2020-esdhc") || in sdhci_get_compatibility()
70 of_device_is_compatible(np, "fsl,p1010-esdhc") || in sdhci_get_compatibility()
71 of_device_is_compatible(np, "fsl,t4240-esdhc") || in sdhci_get_compatibility()
72 of_device_is_compatible(np, "fsl,mpc8536-esdhc")) in sdhci_get_compatibility()
Dsdhci-of-esdhc.c529 if (of_device_is_compatible(dev->of_node, "fsl,ls1043a-esdhc") || in esdhc_of_enable_dma()
530 of_device_is_compatible(dev->of_node, "fsl,ls1046a-esdhc")) { in esdhc_of_enable_dma()
1372 if (of_device_is_compatible(np, "fsl,p2020-esdhc")) { in esdhc_init()
1386 if (of_device_is_compatible(np, "fsl,ls1046a-esdhc") || in esdhc_init()
1387 of_device_is_compatible(np, "fsl,ls1028a-esdhc") || in esdhc_init()
1388 of_device_is_compatible(np, "fsl,ls1088a-esdhc")) in esdhc_init()
1470 if (of_device_is_compatible(np, "fsl,p5040-esdhc") || in sdhci_esdhc_probe()
1471 of_device_is_compatible(np, "fsl,p5020-esdhc") || in sdhci_esdhc_probe()
1472 of_device_is_compatible(np, "fsl,p4080-esdhc") || in sdhci_esdhc_probe()
1473 of_device_is_compatible(np, "fsl,p1020-esdhc") || in sdhci_esdhc_probe()
[all …]
/drivers/gpio/
Dgpiolib-of.c46 if (!of_device_is_compatible(np, "fsl,spi") && in of_gpio_spi_cs_get_count()
47 !of_device_is_compatible(np, "aeroflexgaisler,spictrl") && in of_gpio_spi_cs_get_count()
48 !of_device_is_compatible(np, "ibm,ppc4xx-spi")) in of_gpio_spi_cs_get_count()
143 (of_device_is_compatible(np, "regulator-fixed") || in of_gpio_flags_quirks()
144 of_device_is_compatible(np, "reg-fixed-voltage") || in of_gpio_flags_quirks()
147 of_device_is_compatible(np, "regulator-gpio")))) { in of_gpio_flags_quirks()
168 of_device_is_compatible(np, "reg-fixed-voltage") && in of_gpio_flags_quirks()
387 if (!of_device_is_compatible(np, "spi-gpio") || !con_id) in of_find_spi_gpio()
413 if (!of_device_is_compatible(np, "fsl,spi") && in of_find_spi_cs_gpio()
414 !of_device_is_compatible(np, "aeroflexgaisler,spictrl") && in of_find_spi_cs_gpio()
[all …]
/drivers/clk/versatile/
Dclk-icst.c512 if (of_device_is_compatible(np, "arm,syscon-icst525")) { in of_syscon_icst_setup()
515 } else if (of_device_is_compatible(np, "arm,syscon-icst307")) { in of_syscon_icst_setup()
518 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-cm")) { in of_syscon_icst_setup()
521 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-sys")) { in of_syscon_icst_setup()
524 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-pci")) { in of_syscon_icst_setup()
527 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-core")) { in of_syscon_icst_setup()
530 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-mem")) { in of_syscon_icst_setup()
Dclk-impd1.c79 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/irqchip/
Dirq-omap-intc.c307 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()
374 if (of_device_is_compatible(node, "ti,dm814-intc") || in intc_of_init()
375 of_device_is_compatible(node, "ti,dm816-intc") || in intc_of_init()
376 of_device_is_compatible(node, "ti,am33xx-intc")) { in intc_of_init()
Dirq-ixp4xx.c385 is_356 = of_device_is_compatible(np, "intel,ixp43x-interrupt") || in ixp4xx_of_init_irq()
386 of_device_is_compatible(np, "intel,ixp45x-interrupt") || in ixp4xx_of_init_irq()
387 of_device_is_compatible(np, "intel,ixp46x-interrupt"); in ixp4xx_of_init_irq()
/drivers/watchdog/
Daspeed_wdt.c284 if (of_device_is_compatible(np, "aspeed,ast2400-wdt")) in aspeed_wdt_probe()
323 if ((of_device_is_compatible(np, "aspeed,ast2500-wdt")) || in aspeed_wdt_probe()
324 (of_device_is_compatible(np, "aspeed,ast2600-wdt"))) { in aspeed_wdt_probe()
374 if (of_device_is_compatible(np, "aspeed,ast2400-wdt") || in aspeed_wdt_probe()
375 of_device_is_compatible(np, "aspeed,ast2500-wdt")) in aspeed_wdt_probe()
Dorion_wdt.c513 if (of_device_is_compatible(node, "marvell,orion-wdt")) { in orion_wdt_get_regs()
520 } else if (of_device_is_compatible(node, "marvell,armada-370-wdt") || in orion_wdt_get_regs()
521 of_device_is_compatible(node, "marvell,armada-xp-wdt")) { in orion_wdt_get_regs()
528 } else if (of_device_is_compatible(node, "marvell,armada-375-wdt") || in orion_wdt_get_regs()
529 of_device_is_compatible(node, "marvell,armada-380-wdt")) { in orion_wdt_get_regs()
/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()
272 if (of_device_is_compatible(np_tim, tim_compat)) in of_lpddr3_get_ddr_timings()
283 if (of_device_is_compatible(np_tim, tim_compat)) { in of_lpddr3_get_ddr_timings()
/drivers/tty/hvc/
Dhvc_opal.c162 if (of_device_is_compatible(dev->dev.of_node, "ibm,opal-console-raw")) { in hvc_opal_probe()
165 } else if (of_device_is_compatible(dev->dev.of_node, in hvc_opal_probe()
372 if (of_device_is_compatible(stdout_node, "ibm,opal-console-raw")) { in hvc_opal_init_early()
377 else if (of_device_is_compatible(stdout_node,"ibm,opal-console-hvsi")) { in hvc_opal_init_early()
Dhvc_vio.c309 if (of_device_is_compatible(vdev->dev.of_node, "hvterm1")) { in hvc_vio_probe()
312 } else if (of_device_is_compatible(vdev->dev.of_node, "hvterm-protocol")) { in hvc_vio_probe()
402 if (of_device_is_compatible(of_stdout, "hvterm1")) { in hvc_vio_init_early()
406 else if (of_device_is_compatible(of_stdout, "hvterm-protocol")) { in hvc_vio_init_early()
/drivers/soc/bcm/brcmstb/
Dbiuctrl.c273 if (of_device_is_compatible(cpu_dn, "brcm,brahma-b15")) in setup_hifcpubiuctrl_regs()
275 else if (of_device_is_compatible(cpu_dn, "brcm,brahma-b53")) in setup_hifcpubiuctrl_regs()
277 else if (of_device_is_compatible(cpu_dn, "arm,cortex-a72")) in setup_hifcpubiuctrl_regs()
/drivers/mtd/maps/
Dphysmap-bt1-rom.c109 if (!of_device_is_compatible(np, "mtd-rom")) { in of_flash_probe_bt1_rom()
115 if (!of_device_is_compatible(np, "baikal,bt1-int-rom")) in of_flash_probe_bt1_rom()
/drivers/net/ethernet/ti/
Dcpsw-common.c77 if (of_device_is_compatible(dev->of_node, "ti,am3517-emac")) in ti_cm_get_macid()
80 if (of_device_is_compatible(dev->of_node, "ti,dm816-emac")) in ti_cm_get_macid()
/drivers/char/ipmi/
Dkcs_bmc_aspeed.c352 if (of_device_is_compatible(np, "aspeed,ast2400-kcs-bmc") || in aspeed_kcs_probe()
353 of_device_is_compatible(np, "aspeed,ast2500-kcs-bmc")) in aspeed_kcs_probe()
355 else if (of_device_is_compatible(np, "aspeed,ast2400-kcs-bmc-v2") || in aspeed_kcs_probe()
356 of_device_is_compatible(np, "aspeed,ast2500-kcs-bmc-v2")) in aspeed_kcs_probe()
/drivers/crypto/caam/
Dintern.h208 if (of_device_is_compatible(nprop, "fsl,sec-v5.0-job-ring") || in caam_get_dma_mask()
209 of_device_is_compatible(nprop, "fsl,sec-v5.0")) in caam_get_dma_mask()
/drivers/spi/
Dspi-fsl-lib.c151 else if (of_device_is_compatible(np, "fsl,cpm2-spi")) in of_mpc8xxx_spi_probe()
153 else if (of_device_is_compatible(np, "fsl,cpm1-spi")) in of_mpc8xxx_spi_probe()

12345678910>>...12