Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v4.19/drivers/usb/host/
Dfsl-mph-dr-of.c136 if (of_device_is_compatible(np, "fsl-usb2-dr")) { in usb_get_ver_info()
137 if (of_device_is_compatible(np, "fsl-usb2-dr-v1.6")) in usb_get_ver_info()
139 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2")) in usb_get_ver_info()
141 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4")) in usb_get_ver_info()
143 else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.5")) in usb_get_ver_info()
152 if (of_device_is_compatible(np, "fsl,mpc5121-usb2-dr")) in usb_get_ver_info()
155 if (of_device_is_compatible(np, "fsl-usb2-mph")) { in usb_get_ver_info()
156 if (of_device_is_compatible(np, "fsl-usb2-mph-v1.6")) in usb_get_ver_info()
158 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.2")) in usb_get_ver_info()
160 else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.4")) in usb_get_ver_info()
[all …]
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, "renensas,rcar-gen2-xhci"); in xhci_rcar_is_gen2()
114 return of_device_is_compatible(node, "renesas,xhci-r8a7795") || in xhci_rcar_is_gen3()
115 of_device_is_compatible(node, "renesas,xhci-r8a7796") || in xhci_rcar_is_gen3()
116 of_device_is_compatible(node, "renesas,rcar-gen3-xhci"); in xhci_rcar_is_gen3()
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()
/Linux-v4.19/arch/powerpc/platforms/83xx/
Dusb.c130 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-v4.19/drivers/gpu/drm/sun4i/
Dsun4i_drv.c170 return of_device_is_compatible(node, "hdmi-connector"); in sun4i_drv_node_is_connector()
175 return of_device_is_compatible(node, "allwinner,sun4i-a10-display-frontend") || in sun4i_drv_node_is_frontend()
176 of_device_is_compatible(node, "allwinner,sun5i-a13-display-frontend") || in sun4i_drv_node_is_frontend()
177 of_device_is_compatible(node, "allwinner,sun6i-a31-display-frontend") || in sun4i_drv_node_is_frontend()
178 of_device_is_compatible(node, "allwinner,sun7i-a20-display-frontend") || in sun4i_drv_node_is_frontend()
179 of_device_is_compatible(node, "allwinner,sun8i-a33-display-frontend") || in sun4i_drv_node_is_frontend()
180 of_device_is_compatible(node, "allwinner,sun9i-a80-display-frontend"); in sun4i_drv_node_is_frontend()
185 return of_device_is_compatible(node, "allwinner,sun9i-a80-deu"); in sun4i_drv_node_is_deu()
/Linux-v4.19/drivers/phy/ti/
Dphy-ti-pipe3.c343 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-pcie")) { in ti_pipe3_init()
370 if ((val & PLL_LOCK) && of_device_is_compatible(phy->dev->of_node, in ti_pipe3_init()
393 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata") && in ti_pipe3_exit()
398 if (!of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-pcie")) { in ti_pipe3_exit()
421 if (of_device_is_compatible(phy->dev->of_node, "ti,phy-pipe3-sata")) { in ti_pipe3_exit()
454 if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) in ti_pipe3_get_clk()
458 if (!of_device_is_compatible(node, "ti,phy-pipe3-sata")) { in ti_pipe3_get_clk()
468 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_clk()
549 if (of_device_is_compatible(node, "ti,phy-pipe3-pcie")) { in ti_pipe3_get_sysctrl()
[all …]
/Linux-v4.19/arch/powerpc/platforms/85xx/
Dge_imp3a.c71 if (of_device_is_compatible(np, "gef,fpga-pic-1.00")) { in ge_imp3a_pic_init()
92 if (of_device_is_compatible(np, "fsl,mpc8540-pci") || in ge_imp3a_pci_assign_primary()
93 of_device_is_compatible(np, "fsl,mpc8548-pcie") || in ge_imp3a_pci_assign_primary()
94 of_device_is_compatible(np, "fsl,p2020-pcie")) { in ge_imp3a_pci_assign_primary()
Dxes_mpc85xx.c92 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()
/Linux-v4.19/arch/arm/mach-highbank/
Dhighbank.c89 if (of_device_is_compatible(dev->of_node, "calxeda,hb-ahci")) in highbank_platform_notifier()
91 else if (of_device_is_compatible(dev->of_node, "calxeda,hb-sdhci")) in highbank_platform_notifier()
93 else if (of_device_is_compatible(dev->of_node, "arm,pl330")) in highbank_platform_notifier()
95 else if (of_device_is_compatible(dev->of_node, "calxeda,hb-xgmac")) { in highbank_platform_notifier()
/Linux-v4.19/arch/powerpc/platforms/powermac/
Dpci.c809 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()
981 of_device_is_compatible(node->parent, "uni-north"); in pmac_pci_enable_device_hook()
987 (of_device_is_compatible(node, "pci106b,18") || in pmac_pci_enable_device_hook()
988 of_device_is_compatible(node, "pci106b,30") || in pmac_pci_enable_device_hook()
989 of_device_is_compatible(node, "pci11c1,5811"))) { in pmac_pci_enable_device_hook()
995 of_device_is_compatible(node, "gmac")) { in pmac_pci_enable_device_hook()
1042 if (nd->parent && (of_device_is_compatible(nd, "pci106b,18") || in pmac_pcibios_after_init()
[all …]
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c359 if (of_device_is_compatible(plat->mdio_node, in stmmac_dt_phy()
448 if (of_device_is_compatible(np, "st,spear600-gmac") || in stmmac_probe_config_dt()
449 of_device_is_compatible(np, "snps,dwmac-3.50a") || in stmmac_probe_config_dt()
450 of_device_is_compatible(np, "snps,dwmac-3.70a") || in stmmac_probe_config_dt()
451 of_device_is_compatible(np, "snps,dwmac")) { in stmmac_probe_config_dt()
472 if (of_device_is_compatible(np, "snps,dwmac-4.00") || in stmmac_probe_config_dt()
473 of_device_is_compatible(np, "snps,dwmac-4.10a") || in stmmac_probe_config_dt()
474 of_device_is_compatible(np, "snps,dwmac-4.20a")) { in stmmac_probe_config_dt()
481 if (of_device_is_compatible(np, "snps,dwmac-3.610") || in stmmac_probe_config_dt()
482 of_device_is_compatible(np, "snps,dwmac-3.710")) { in stmmac_probe_config_dt()
[all …]
/Linux-v4.19/drivers/mmc/host/
Dsdhci-pltfm.c93 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()
Dsdhci-of-esdhc.c478 if (of_device_is_compatible(dev->of_node, "fsl,ls1043a-esdhc") || in esdhc_of_enable_dma()
479 of_device_is_compatible(dev->of_node, "fsl,ls1046a-esdhc")) in esdhc_of_enable_dma()
858 if (of_device_is_compatible(np, "fsl,ls1046a-esdhc")) in esdhc_init()
912 if (of_device_is_compatible(np, "fsl,p5040-esdhc") || in sdhci_esdhc_probe()
913 of_device_is_compatible(np, "fsl,p5020-esdhc") || in sdhci_esdhc_probe()
914 of_device_is_compatible(np, "fsl,p4080-esdhc") || in sdhci_esdhc_probe()
915 of_device_is_compatible(np, "fsl,p1020-esdhc") || in sdhci_esdhc_probe()
916 of_device_is_compatible(np, "fsl,t1040-esdhc")) in sdhci_esdhc_probe()
919 if (of_device_is_compatible(np, "fsl,ls1021a-esdhc")) in sdhci_esdhc_probe()
922 if (of_device_is_compatible(np, "fsl,p2020-esdhc")) { in sdhci_esdhc_probe()
/Linux-v4.19/arch/powerpc/kernel/
Dlegacy_serial.c237 if (!of_device_is_compatible(isa_brg, "ibm,power8-lpc") || in add_legacy_isa_port()
306 if (of_device_is_compatible(pci_dev, "pci13a8,152") || in add_legacy_pci_port()
307 of_device_is_compatible(pci_dev, "pci13a8,154") || in add_legacy_pci_port()
308 of_device_is_compatible(pci_dev, "pci13a8,158")) { in add_legacy_pci_port()
427 if (of_device_is_compatible(np, "pciclass,0700") || in find_legacy_serial_ports()
428 of_device_is_compatible(np, "pciclass,070002")) in find_legacy_serial_ports()
430 else if (of_device_is_compatible(parent, "pciclass,0700") || in find_legacy_serial_ports()
431 of_device_is_compatible(parent, "pciclass,070002")) in find_legacy_serial_ports()
480 if (of_device_is_compatible(np, "fsl,ns16550")) in fixup_port_irq()
/Linux-v4.19/arch/arm/mach-imx/
Danatop.c125 if (of_device_is_compatible(np, "fsl,imx6sl-anatop")) in imx_init_revision_from_anatop()
127 if (of_device_is_compatible(np, "fsl,imx7d-anatop")) in imx_init_revision_from_anatop()
136 if (of_device_is_compatible(np, "fsl,imx7d-anatop")) { in imx_init_revision_from_anatop()
/Linux-v4.19/drivers/clk/versatile/
Dclk-icst.c526 if (of_device_is_compatible(np, "arm,syscon-icst525")) { in of_syscon_icst_setup()
529 } else if (of_device_is_compatible(np, "arm,syscon-icst307")) { in of_syscon_icst_setup()
532 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-cm")) { in of_syscon_icst_setup()
535 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-sys")) { in of_syscon_icst_setup()
538 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-pci")) { in of_syscon_icst_setup()
541 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-core")) { in of_syscon_icst_setup()
544 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-mem")) { in of_syscon_icst_setup()
/Linux-v4.19/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()
/Linux-v4.19/arch/powerpc/platforms/4xx/
Dpci.c68 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()
180 !(of_device_is_compatible(hose->dn, "ibm,plb-pciex-460sx") in ppc4xx_parse_dma_ranges()
181 || of_device_is_compatible(hose->dn, "ibm,plb-pciex-476fpe"))) { in ppc4xx_parse_dma_ranges()
1422 if (of_device_is_compatible(np, "ibm,plb-pciex-440spe")) { in ppc4xx_pciex_check_core_init()
1428 if (of_device_is_compatible(np, "ibm,plb-pciex-460ex")) in ppc4xx_pciex_check_core_init()
1430 if (of_device_is_compatible(np, "ibm,plb-pciex-460sx")) in ppc4xx_pciex_check_core_init()
[all …]
/Linux-v4.19/drivers/gpu/drm/pl111/
Dpl111_vexpress.c47 if (of_device_is_compatible(child, "arm,pl111")) { in pl111_vexpress_clcd_init()
52 if (of_device_is_compatible(child, "arm,hdlcd")) { in pl111_vexpress_clcd_init()
/Linux-v4.19/arch/powerpc/platforms/44x/
Diss4xx.c66 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()
/Linux-v4.19/arch/arm/mach-shmobile/
Dpm-rcar-gen2.c67 if (of_device_is_compatible(np, "arm,cortex-a15")) in rcar_gen2_pm_init()
69 else if (of_device_is_compatible(np, "arm,cortex-a7")) in rcar_gen2_pm_init()
/Linux-v4.19/arch/riscv/kernel/
Dcacheinfo.c50 if (!of_device_is_compatible(np, "cache")) in __init_cache_level()
85 if (!of_device_is_compatible(np, "cache")) in __populate_cache_leaves()
/Linux-v4.19/arch/powerpc/platforms/maple/
Dpci.c517 if (of_device_is_compatible(dev, "u3-agp")) { in maple_add_bridge()
521 } else if (of_device_is_compatible(dev, "u3-ht")) { in maple_add_bridge()
525 } else if (of_device_is_compatible(dev, "u4-pcie")) { in maple_add_bridge()
612 if ((of_device_is_compatible(np, "u4-pcie") || in maple_pci_init()
613 of_device_is_compatible(np, "u3-agp")) && in maple_pci_init()
617 if (of_device_is_compatible(np, "u3-ht")) { in maple_pci_init()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpsw-common.c87 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()
/Linux-v4.19/drivers/usb/dwc3/
Ddwc3-of-simple.c101 if (of_device_is_compatible(np, "rockchip,rk3399-dwc3")) in dwc3_of_simple_probe()
104 if (of_device_is_compatible(np, "amlogic,meson-axg-dwc3") || in dwc3_of_simple_probe()
105 of_device_is_compatible(np, "amlogic,meson-gxl-dwc3")) { in dwc3_of_simple_probe()

12345678910>>...12