Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.3-rc2/drivers/usb/host/
A Dfsl-mph-dr-of.c141 if (of_device_is_compatible(np, "fsl-usb2-dr")) { in usb_get_ver_info()
142 if (of_device_is_compatible(np, "fsl-usb2-dr-v1.6")) in usb_get_ver_info()
144 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2")) in usb_get_ver_info()
146 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4")) in usb_get_ver_info()
148 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.5")) in usb_get_ver_info()
157 if (of_device_is_compatible(np, "fsl,mpc5121-usb2-dr")) in usb_get_ver_info()
160 if (of_device_is_compatible(np, "fsl-usb2-mph")) { in usb_get_ver_info()
161 if (of_device_is_compatible(np, "fsl-usb2-mph-v1.6")) in usb_get_ver_info()
163 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.2")) in usb_get_ver_info()
165 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.4")) in usb_get_ver_info()
[all …]
A Dohci-ppc-of.c100 of_device_is_compatible(dn, "ohci-bigendian") || in ohci_hcd_ppc_of_probe()
101 of_device_is_compatible(dn, "ohci-be"); in ohci_hcd_ppc_of_probe()
133 if (of_device_is_compatible(dn, "fsl,mpc5200-ohci")) in ohci_hcd_ppc_of_probe()
135 if (of_device_is_compatible(dn, "mpc5200-ohci")) in ohci_hcd_ppc_of_probe()
A Dxhci-rcar.c110 return of_device_is_compatible(node, "renesas,xhci-r8a7790") || in xhci_rcar_is_gen2()
111 of_device_is_compatible(node, "renesas,xhci-r8a7791") || in xhci_rcar_is_gen2()
112 of_device_is_compatible(node, "renesas,xhci-r8a7793") || in xhci_rcar_is_gen2()
113 of_device_is_compatible(node, "renesas,rcar-gen2-xhci"); in xhci_rcar_is_gen2()
A 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()
/linux-6.3-rc2/drivers/gpu/drm/sun4i/
A 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()
/linux-6.3-rc2/arch/powerpc/platforms/83xx/
A Dusb.c126 if (immr_node && (of_device_is_compatible(immr_node, "fsl,mpc8315-immr") || in mpc831x_usb_cfg()
127 of_device_is_compatible(immr_node, "fsl,mpc8308-immr"))) in mpc831x_usb_cfg()
138 if (of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) { in mpc831x_usb_cfg()
142 } else if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr")) { in mpc831x_usb_cfg()
176 if (of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) in mpc831x_usb_cfg()
179 if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr")) in mpc831x_usb_cfg()
192 if (!of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) { in mpc831x_usb_cfg()
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_platform.c337 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()
530 of_device_is_compatible(np, "snps,dwmac-3.710")) { in stmmac_probe_config_dt()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/85xx/
A Dge_imp3a.c67 if (of_device_is_compatible(np, "gef,fpga-pic-1.00")) { in ge_imp3a_pic_init()
88 if (of_device_is_compatible(np, "fsl,mpc8540-pci") || in ge_imp3a_pci_assign_primary()
89 of_device_is_compatible(np, "fsl,mpc8548-pcie") || in ge_imp3a_pci_assign_primary()
90 of_device_is_compatible(np, "fsl,p2020-pcie")) { in ge_imp3a_pci_assign_primary()
A Dxes_mpc85xx.c89 if (!of_device_is_compatible(np, in xes_mpc85xx_fixups()
91 !of_device_is_compatible(np, in xes_mpc85xx_fixups()
93 !of_device_is_compatible(np, in xes_mpc85xx_fixups()
/linux-6.3-rc2/arch/arm/mach-highbank/
A Dhighbank.c78 if (of_device_is_compatible(dev->of_node, "calxeda,hb-ahci")) in highbank_platform_notifier()
80 else if (of_device_is_compatible(dev->of_node, "calxeda,hb-sdhci")) in highbank_platform_notifier()
82 else if (of_device_is_compatible(dev->of_node, "arm,pl330")) in highbank_platform_notifier()
84 else if (of_device_is_compatible(dev->of_node, "calxeda,hb-xgmac")) { in highbank_platform_notifier()
/linux-6.3-rc2/arch/powerpc/platforms/powermac/
A Dpci.c804 if (of_device_is_compatible(dev, "u3-agp")) { in pmac_add_bridge()
808 } else if (of_device_is_compatible(dev, "u3-ht")) { in pmac_add_bridge()
823 if (of_device_is_compatible(dev, "uni-north")) { in pmac_add_bridge()
978 of_device_is_compatible(node->parent, "uni-north"); in pmac_pci_enable_device_hook()
984 (of_device_is_compatible(node, "pci106b,18") || in pmac_pci_enable_device_hook()
985 of_device_is_compatible(node, "pci106b,30") || in pmac_pci_enable_device_hook()
992 of_device_is_compatible(node, "gmac")) { in pmac_pci_enable_device_hook()
1040 of_device_is_compatible(nd, "pci106b,30") || in pmac_pcibios_after_init()
1041 of_device_is_compatible(nd, "pci11c1,5811")) in pmac_pcibios_after_init()
1247 of_device_is_compatible(node, "u4-pcie") || in pmac_pci_probe_mode()
[all …]
/linux-6.3-rc2/drivers/mmc/host/
A 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()
/linux-6.3-rc2/arch/powerpc/kernel/
A Dlegacy_serial.c239 if (!of_device_is_compatible(isa_brg, "ibm,power8-lpc") || in add_legacy_isa_port()
308 if (of_device_is_compatible(pci_dev, "pci13a8,152") || in add_legacy_pci_port()
309 of_device_is_compatible(pci_dev, "pci13a8,154") || in add_legacy_pci_port()
310 of_device_is_compatible(pci_dev, "pci13a8,158")) { in add_legacy_pci_port()
457 if (of_device_is_compatible(np, "pciclass,0700") || in find_legacy_serial_ports()
458 of_device_is_compatible(np, "pciclass,070002")) in find_legacy_serial_ports()
460 else if (of_device_is_compatible(parent, "pciclass,0700") || in find_legacy_serial_ports()
461 of_device_is_compatible(parent, "pciclass,070002")) in find_legacy_serial_ports()
512 if (of_device_is_compatible(np, "fsl,ns16550")) { in fixup_port_irq()
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu/
A Darm-smmu-impl.c217 if (of_device_is_compatible(np, "nvidia,tegra234-smmu") || in arm_smmu_impl_init()
218 of_device_is_compatible(np, "nvidia,tegra194-smmu") || in arm_smmu_impl_init()
219 of_device_is_compatible(np, "nvidia,tegra186-smmu")) in arm_smmu_impl_init()
225 if (of_device_is_compatible(np, "marvell,ap806-smmu-500")) in arm_smmu_impl_init()
/linux-6.3-rc2/drivers/clk/versatile/
A Dclk-icst.c514 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()
/linux-6.3-rc2/drivers/memory/
A 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()
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()
/linux-6.3-rc2/arch/arm/mach-imx/
A Danatop.c106 if (of_device_is_compatible(np, "fsl,imx6sl-anatop")) in imx_init_revision_from_anatop()
108 if (of_device_is_compatible(np, "fsl,imx7d-anatop")) in imx_init_revision_from_anatop()
117 if (of_device_is_compatible(np, "fsl,imx7d-anatop")) { in imx_init_revision_from_anatop()
/linux-6.3-rc2/sound/soc/fsl/
A Dfsl-asoc-card.c611 if (of_device_is_compatible(np, "fsl,imx-audio-cs42888")) { in fsl_asoc_card_probe()
619 } else if (of_device_is_compatible(np, "fsl,imx-audio-cs427x")) { in fsl_asoc_card_probe()
623 } else if (of_device_is_compatible(np, "fsl,imx-audio-sgtl5000")) { in fsl_asoc_card_probe()
627 } else if (of_device_is_compatible(np, "fsl,imx-audio-tlv320aic32x4")) { in fsl_asoc_card_probe()
639 } else if (of_device_is_compatible(np, "fsl,imx-audio-wm8962")) { in fsl_asoc_card_probe()
645 } else if (of_device_is_compatible(np, "fsl,imx-audio-wm8960")) { in fsl_asoc_card_probe()
650 } else if (of_device_is_compatible(np, "fsl,imx-audio-ac97")) { in fsl_asoc_card_probe()
655 } else if (of_device_is_compatible(np, "fsl,imx-audio-mqs")) { in fsl_asoc_card_probe()
664 } else if (of_device_is_compatible(np, "fsl,imx-audio-wm8524")) { in fsl_asoc_card_probe()
672 } else if (of_device_is_compatible(np, "fsl,imx-audio-si476x")) { in fsl_asoc_card_probe()
[all …]
/linux-6.3-rc2/drivers/irqchip/
A 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()
/linux-6.3-rc2/drivers/clk/baikal-t1/
A Dclk-ccu-div.c237 if (of_device_is_compatible(np, "baikal,bt1-ccu-axi")) in ccu_div_set_data()
239 else if (of_device_is_compatible(np, "baikal,bt1-ccu-sys")) in ccu_div_set_data()
247 if (of_device_is_compatible(np, "baikal,bt1-ccu-axi")) in ccu_div_get_data()
249 else if (of_device_is_compatible(np, "baikal,bt1-ccu-sys")) in ccu_div_get_data()
280 if (of_device_is_compatible(np, "baikal,bt1-ccu-axi")) { in ccu_div_create_data()
283 } else if (of_device_is_compatible(np, "baikal,bt1-ccu-sys")) { in ccu_div_create_data()
/linux-6.3-rc2/arch/powerpc/platforms/4xx/
A Dpci.c69 if (!of_device_is_compatible(hose->dn, "ibm,plb-pciex") && in fixup_ppc4xx_pci_bridge()
70 !of_device_is_compatible(hose->dn, "ibm,plb-pcix") && in fixup_ppc4xx_pci_bridge()
71 !of_device_is_compatible(hose->dn, "ibm,plb-pci")) in fixup_ppc4xx_pci_bridge()
74 if (of_device_is_compatible(hose->dn, "ibm,plb440epx-pci") || in fixup_ppc4xx_pci_bridge()
75 of_device_is_compatible(hose->dn, "ibm,plb440grx-pci")) { in fixup_ppc4xx_pci_bridge()
1426 if (of_device_is_compatible(np, "ibm,plb-pciex-460ex")) in ppc4xx_pciex_check_core_init()
1524 if (of_device_is_compatible(port->node, in ppc4xx_pciex_port_init()
1748 else if (of_device_is_compatible( in ppc4xx_setup_one_pciex_POM()
1750 of_device_is_compatible( in ppc4xx_setup_one_pciex_POM()
1881 of_device_is_compatible( in ppc4xx_configure_pciex_PIMs()
[all …]
/linux-6.3-rc2/drivers/gpio/
A Dgpiolib-of.c87 if (!of_device_is_compatible(np, "fsl,spi") && in of_gpio_spi_cs_get_count()
88 !of_device_is_compatible(np, "aeroflexgaisler,spictrl") && in of_gpio_spi_cs_get_count()
89 !of_device_is_compatible(np, "ibm,ppc4xx-spi")) in of_gpio_spi_cs_get_count()
198 if (of_device_is_compatible(np, gpios[i].compatible) && in of_gpio_try_fixup_polarity()
259 if (of_device_is_compatible(np, gpios[i].compatible) && in of_gpio_set_polarity_by_property()
281 of_device_is_compatible(np, "reg-fixed-voltage") && in of_gpio_flags_quirks()
549 !of_device_is_compatible(np, gpios[i].compatible)) in of_find_gpio_rename()
575 if (!of_device_is_compatible(np, "mediatek,mt2701-cs42448-machine")) in of_find_mt2701_gpio()
/linux-6.3-rc2/arch/mips/ath79/
A Dclock.c633 if (of_device_is_compatible(np, "qca,ar7100-pll")) in ath79_clocks_init_dt()
635 else if (of_device_is_compatible(np, "qca,ar7240-pll") || in ath79_clocks_init_dt()
636 of_device_is_compatible(np, "qca,ar9130-pll")) in ath79_clocks_init_dt()
638 else if (of_device_is_compatible(np, "qca,ar9330-pll")) in ath79_clocks_init_dt()
640 else if (of_device_is_compatible(np, "qca,ar9340-pll")) in ath79_clocks_init_dt()
642 else if (of_device_is_compatible(np, "qca,qca9530-pll")) in ath79_clocks_init_dt()
644 else if (of_device_is_compatible(np, "qca,qca9550-pll")) in ath79_clocks_init_dt()
646 else if (of_device_is_compatible(np, "qca,qca9560-pll")) in ath79_clocks_init_dt()
/linux-6.3-rc2/drivers/watchdog/
A Daspeed_wdt.c364 if (of_device_is_compatible(np, "aspeed,ast2400-wdt")) in aspeed_wdt_probe()
403 if ((of_device_is_compatible(np, "aspeed,ast2500-wdt")) || in aspeed_wdt_probe()
404 (of_device_is_compatible(np, "aspeed,ast2600-wdt"))) { in aspeed_wdt_probe()
454 if (of_device_is_compatible(np, "aspeed,ast2400-wdt") || in aspeed_wdt_probe()
455 of_device_is_compatible(np, "aspeed,ast2500-wdt")) in aspeed_wdt_probe()
/linux-6.3-rc2/sound/soc/meson/
A Daxg-card.c291 return of_device_is_compatible(np, DT_PREFIX "axg-toddr"); in axg_card_cpu_is_capture_fe()
296 return of_device_is_compatible(np, DT_PREFIX "axg-frddr"); in axg_card_cpu_is_playback_fe()
301 return of_device_is_compatible(np, DT_PREFIX "axg-tdm-iface"); in axg_card_cpu_is_tdm_iface()
306 return of_device_is_compatible(np, DT_PREFIX "g12a-tohdmitx") || in axg_card_cpu_is_codec()
307 of_device_is_compatible(np, DT_PREFIX "g12a-toacodec"); in axg_card_cpu_is_codec()

Completed in 39 milliseconds

12345678910>>...17