/linux/arch/powerpc/platforms/83xx/ |
H A D | usb_831x.c | 47 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/drivers/gpu/drm/sun4i/ |
H 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()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_platform.c | 325 if (of_device_is_compatible(mdio_node, in stmmac_of_get_mdio() 508 if (of_device_is_compatible(np, "st,spear600-gmac") || in stmmac_probe_config_dt() 509 of_device_is_compatible(np, "snps,dwmac-3.50a") || in stmmac_probe_config_dt() 510 of_device_is_compatible(np, "snps,dwmac-3.70a") || in stmmac_probe_config_dt() 511 of_device_is_compatible(np, "snps,dwmac-3.72a") || in stmmac_probe_config_dt() 512 of_device_is_compatible(np, "snps,dwmac")) { in stmmac_probe_config_dt() 533 if (of_device_is_compatible(np, "snps,dwmac-3.40a")) { in stmmac_probe_config_dt() 541 if (of_device_is_compatible(np, "snps,dwmac-4.00") || in stmmac_probe_config_dt() 542 of_device_is_compatible(np, "snps,dwmac-4.10a") || in stmmac_probe_config_dt() 543 of_device_is_compatible(np, "snps,dwmac-4.20a") || in stmmac_probe_config_dt() [all …]
|
/linux/arch/powerpc/platforms/powermac/ |
H A D | pci.c | 804 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/arch/powerpc/platforms/85xx/ |
H A D | ge_imp3a.c | 67 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 D | xes_mpc85xx.c | 89 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/arm/mach-highbank/ |
H A D | highbank.c | 78 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/arch/powerpc/kernel/ |
H A D | legacy_serial.c | 239 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/memory/ |
H 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()
|
/linux/drivers/clk/versatile/ |
H 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()
|
H 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()
|
/linux/arch/arm/mach-imx/ |
H A D | anatop.c | 106 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/irqchip/ |
H 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()
|
H 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()
|
/linux/drivers/watchdog/ |
H A D | aspeed_wdt.c | 366 if (of_device_is_compatible(np, "aspeed,ast2400-wdt")) in aspeed_wdt_probe() 405 if ((of_device_is_compatible(np, "aspeed,ast2500-wdt")) || in aspeed_wdt_probe() 406 (of_device_is_compatible(np, "aspeed,ast2600-wdt"))) { in aspeed_wdt_probe() 408 size_t nrstmask = of_device_is_compatible(np, "aspeed,ast2600-wdt") ? 2 : 1; in aspeed_wdt_probe() 465 if (of_device_is_compatible(np, "aspeed,ast2400-wdt") || in aspeed_wdt_probe() 466 of_device_is_compatible(np, "aspeed,ast2500-wdt")) in aspeed_wdt_probe()
|
/linux/drivers/clk/baikal-t1/ |
H 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()
|
/linux/drivers/gpio/ |
H 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() 228 if (of_device_is_compatible(np, gpios[i].compatible) && in of_gpio_try_fixup_polarity() 298 if (of_device_is_compatible(np->parent, "atmel,hsmci")) { in of_gpio_set_polarity_by_property() 305 if (of_device_is_compatible(np_compat, gpios[i].compatible) && in of_gpio_set_polarity_by_property() 327 of_device_is_compatible(np, "reg-fixed-voltage") && in of_gpio_flags_quirks() 602 !of_device_is_compatible(np, gpios[i].compatible)) in of_find_gpio_rename() 628 if (!of_device_is_compatible(np, "mediatek,mt2701-cs42448-machine")) in of_find_mt2701_gpio()
|
/linux/arch/mips/ath79/ |
H A D | clock.c | 633 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 D | axg-card.c | 290 return of_device_is_compatible(np, DT_PREFIX "axg-toddr"); in axg_card_cpu_is_capture_fe() 295 return of_device_is_compatible(np, DT_PREFIX "axg-frddr"); in axg_card_cpu_is_playback_fe() 300 return of_device_is_compatible(np, DT_PREFIX "axg-tdm-iface"); in axg_card_cpu_is_tdm_iface() 305 return of_device_is_compatible(np, DT_PREFIX "g12a-tohdmitx") || in axg_card_cpu_is_codec() 306 of_device_is_compatible(np, DT_PREFIX "g12a-toacodec"); in axg_card_cpu_is_codec()
|
/linux/arch/powerpc/platforms/44x/ |
H A D | iss4xx.c | 62 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/drivers/tty/hvc/ |
H 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()
|
/linux/arch/arm/mach-shmobile/ |
H A D | pm-rcar-gen2.c | 61 if (of_device_is_compatible(np, "arm,cortex-a15")) in rcar_gen2_pm_init() 63 else if (of_device_is_compatible(np, "arm,cortex-a7")) in rcar_gen2_pm_init()
|
/linux/drivers/soc/bcm/brcmstb/ |
H 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()
|
/linux/drivers/mtd/maps/ |
H 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()
|
/linux/drivers/net/ethernet/ti/ |
H 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()
|