Home
last modified time | relevance | path

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

1234567891011

/linux/arch/powerpc/platforms/83xx/
H A Dusb_831x.c47 if (immr_node && (of_device_is_compatible(immr_node, "fsl,mpc8315-immr") || in mpc831x_usb_cfg()
48 of_device_is_compatible(immr_node, "fsl,mpc8308-immr"))) in mpc831x_usb_cfg()
59 if (of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) { in mpc831x_usb_cfg()
63 } else if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr")) { in mpc831x_usb_cfg()
96 if (of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) in mpc831x_usb_cfg()
99 if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr")) in mpc831x_usb_cfg()
112 if (!of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) { in mpc831x_usb_cfg()
/linux/arch/powerpc/platforms/85xx/
H 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()
H 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/arch/powerpc/platforms/powermac/
H 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()
812 } else if (of_device_is_compatible(dev, "u4-pcie")) { 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()
986 of_device_is_compatible(node, "pci11c1,5811"))) { in pmac_pci_enable_device_hook()
992 of_device_is_compatible(node, "gmac")) { in pmac_pci_enable_device_hook()
1039 if (nd->parent && (of_device_is_compatible(nd, "pci106b,18") || in pmac_pcibios_after_init()
[all …]
/linux/sound/soc/fsl/
H A Dfsl-asoc-card.c608 if (of_device_is_compatible(codec_np[i], "linux,spdif-dit")) { in fsl_asoc_card_late_probe()
611 } else if (of_device_is_compatible(codec_np[i], "linux,spdif-dir")) { in fsl_asoc_card_late_probe()
/linux/arch/powerpc/kernel/
H 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 of_device_is_compatible(np, "fsl,ns16550")) { in fixup_port_irq()
/linux/drivers/usb/host/
H A Duhci-platform.c120 if (of_device_is_compatible(np, "aspeed,ast2400-uhci") || in uhci_hcd_platform_probe()
121 of_device_is_compatible(np, "aspeed,ast2500-uhci") || in uhci_hcd_platform_probe()
122 of_device_is_compatible(np, "aspeed,ast2600-uhci") || in uhci_hcd_platform_probe()
123 of_device_is_compatible(np, "aspeed,ast2700-uhci")) { in uhci_hcd_platform_probe()
/linux/drivers/memory/
H 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/arch/arm/mach-imx/
H 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/drivers/clk/versatile/
H A Dclk-icst.c532 if (of_device_is_compatible(np, "arm,syscon-icst525")) { in of_syscon_icst_setup()
535 } else if (of_device_is_compatible(np, "arm,syscon-icst307")) { in of_syscon_icst_setup()
538 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-cm")) { in of_syscon_icst_setup()
541 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-sys")) { in of_syscon_icst_setup()
544 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-pci")) { in of_syscon_icst_setup()
547 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-core")) { in of_syscon_icst_setup()
550 } else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-mem")) { in of_syscon_icst_setup()
/linux/drivers/irqchip/
H 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()
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()
H A Dirq-ixp4xx.c267 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()
/linux/arch/powerpc/platforms/44x/
H 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()
176 !(of_device_is_compatible(hose->dn, "ibm,plb-pciex-460sx") in ppc4xx_parse_dma_ranges()
177 || of_device_is_compatible(hose->dn, "ibm,plb-pciex-476fpe"))) { in ppc4xx_parse_dma_ranges()
1316 if (of_device_is_compatible(np, "ibm,plb-pciex-440spe")) { in ppc4xx_pciex_check_core_init()
1322 if (of_device_is_compatible(np, "ibm,plb-pciex-460ex")) in ppc4xx_pciex_check_core_init()
1324 if (of_device_is_compatible(np, "ibm,plb-pciex-460sx")) in ppc4xx_pciex_check_core_init()
[all …]
H A Diss4xx.c62 if (of_device_is_compatible(np, "ibm,uic")) { in iss4xx_init_irq()
66 } else if (of_device_is_compatible(np, "chrp,open-pic")) { in iss4xx_init_irq()
/linux/arch/mips/ath79/
H 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/sound/soc/meson/
H A Daxg-card.c293 return of_device_is_compatible(np, DT_PREFIX "axg-toddr"); in axg_card_cpu_is_playback_fe()
298 return of_device_is_compatible(np, DT_PREFIX "axg-frddr"); in axg_card_cpu_is_tdm_iface()
303 return of_device_is_compatible(np, DT_PREFIX "axg-tdm-iface"); in axg_card_cpu_is_codec()
308 return of_device_is_compatible(np, DT_PREFIX "g12a-tohdmitx") || in axg_card_add_link()
309 of_device_is_compatible(np, DT_PREFIX "g12a-toacodec"); in axg_card_add_link()
/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c76 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()
/linux/drivers/tty/hvc/
H A Dhvc_vio.c311 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()
H A Dhvc_opal.c163 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()
/linux/drivers/soc/bcm/brcmstb/
H A Dbiuctrl.c275 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()
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.c338 if (of_device_is_compatible(dev->of_node, "mediatek,mt8173-vcodec-dec")) in mtk_vcodec_dec_get_chip_name()
340 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8183-vcodec-dec")) in mtk_vcodec_dec_get_chip_name()
342 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8192-vcodec-dec")) in mtk_vcodec_dec_get_chip_name()
344 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8195-vcodec-dec")) in mtk_vcodec_dec_get_chip_name()
346 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8186-vcodec-dec")) in mtk_vcodec_dec_get_chip_name()
348 else if (of_device_is_compatible(dev->of_node, "mediatek,mt8188-vcodec-dec")) in mtk_vcodec_dec_get_chip_name()
/linux/drivers/power/reset/
H A Dodroid-go-ultra-poweroff.c145 if (!of_device_is_compatible(of_root, "hardkernel,odroid-go-ultra")) in odroid_go_ultra_poweroff_init()
166 if (!of_device_is_compatible(of_root, "hardkernel,odroid-go-ultra")) in odroid_go_ultra_poweroff_exit()
/linux/arch/powerpc/sysdev/
H A Dfsl_msi.c207 if (of_device_is_compatible(np, "fsl,mpic-msi") || in fsl_setup_msi_irqs()
208 of_device_is_compatible(np, "fsl,vmpic-msi") || in fsl_setup_msi_irqs()
209 of_device_is_compatible(np, "fsl,vmpic-msi-v4.3")) in fsl_setup_msi_irqs()
477 if (of_device_is_compatible(dev->dev.of_node, "fsl,mpic-msi-v4.3") || in fsl_of_msi_probe()
478 of_device_is_compatible(dev->dev.of_node, "fsl,vmpic-msi-v4.3")) { in fsl_of_msi_probe()
H A Dmpic_u3msi.c95 if (of_device_is_compatible(hose->dn, "u4-pcie") || in find_u4_magic_addr()
96 of_device_is_compatible(hose->dn, "U4-pcie")) in find_u4_magic_addr()
/linux/drivers/net/dsa/lantiq/
H A Dlantiq_gswip.c248 if (of_device_is_compatible(gphy_fw_list_np, "lantiq,xrx200-gphy-fw")) { in gswip_gphy_fw_list()
395 if (!of_device_is_compatible(np, "lantiq,xrx200-gswip")) in gswip_probe()
400 if (!of_device_is_compatible(np, "lantiq,xrx300-gswip") && in gswip_probe()
401 !of_device_is_compatible(np, "lantiq,xrx330-gswip")) in gswip_probe()

1234567891011