arch/arm/kernel/topology.c
116
if (of_device_is_compatible(cn, cpu_eff->compatible))
arch/arm/mach-highbank/highbank.c
78
if (of_device_is_compatible(dev->of_node, "calxeda,hb-ahci"))
arch/arm/mach-highbank/highbank.c
80
else if (of_device_is_compatible(dev->of_node, "calxeda,hb-sdhci"))
arch/arm/mach-highbank/highbank.c
82
else if (of_device_is_compatible(dev->of_node, "arm,pl330"))
arch/arm/mach-highbank/highbank.c
84
else if (of_device_is_compatible(dev->of_node, "calxeda,hb-xgmac")) {
arch/arm/mach-imx/anatop.c
106
if (of_device_is_compatible(np, "fsl,imx6sl-anatop"))
arch/arm/mach-imx/anatop.c
108
if (of_device_is_compatible(np, "fsl,imx7d-anatop"))
arch/arm/mach-imx/anatop.c
117
if (of_device_is_compatible(np, "fsl,imx7d-anatop")) {
arch/arm/mach-mvebu/pmsu.c
176
if (of_device_is_compatible(np, "marvell,armada-370-xp-pmsu")) {
arch/arm/mach-mxs/mach-mxs.c
366
if (of_device_is_compatible(np, "fsl,imx23-clkctrl"))
arch/arm/mach-omap2/omap-iommu.c
34
if (!of_device_is_compatible(np, "ti,dra7-dsp-iommu"))
arch/arm/mach-omap2/prm44xx.c
820
if (of_device_is_compatible(data->np, "ti,am4-prcm")) {
arch/arm/mach-shmobile/pm-rcar-gen2.c
61
if (of_device_is_compatible(np, "arm,cortex-a15"))
arch/arm/mach-shmobile/pm-rcar-gen2.c
63
else if (of_device_is_compatible(np, "arm,cortex-a7"))
arch/arm/mach-sunxi/mc_smp.c
110
is_compatible = of_device_is_compatible(node, "arm,cortex-a15");
arch/arm/mm/cache-b15-rac.c
320
if (of_device_is_compatible(cpu_dn, "brcm,brahma-b15"))
arch/arm/mm/cache-b15-rac.c
322
else if (of_device_is_compatible(cpu_dn, "brcm,brahma-b53"))
arch/arm/mm/cache-feroceon-l2.c
374
if (node && of_device_is_compatible(node, "marvell,kirkwood-cache")) {
arch/arm/mm/cache-l2x0.c
1786
if (of_device_is_compatible(np, "arm,pl310-cache") &&
arch/mips/ath79/clock.c
633
if (of_device_is_compatible(np, "qca,ar7100-pll"))
arch/mips/ath79/clock.c
635
else if (of_device_is_compatible(np, "qca,ar7240-pll") ||
arch/mips/ath79/clock.c
636
of_device_is_compatible(np, "qca,ar9130-pll"))
arch/mips/ath79/clock.c
638
else if (of_device_is_compatible(np, "qca,ar9330-pll"))
arch/mips/ath79/clock.c
640
else if (of_device_is_compatible(np, "qca,ar9340-pll"))
arch/mips/ath79/clock.c
642
else if (of_device_is_compatible(np, "qca,qca9530-pll"))
arch/mips/ath79/clock.c
644
else if (of_device_is_compatible(np, "qca,qca9550-pll"))
arch/mips/ath79/clock.c
646
else if (of_device_is_compatible(np, "qca,qca9560-pll"))
arch/powerpc/kernel/firmware.c
36
if (of_device_is_compatible(hyper_node, "linux,kvm"))
arch/powerpc/kernel/legacy_serial.c
239
if (!of_device_is_compatible(isa_brg, "ibm,power8-lpc") ||
arch/powerpc/kernel/legacy_serial.c
308
if (of_device_is_compatible(pci_dev, "pci13a8,152") ||
arch/powerpc/kernel/legacy_serial.c
309
of_device_is_compatible(pci_dev, "pci13a8,154") ||
arch/powerpc/kernel/legacy_serial.c
310
of_device_is_compatible(pci_dev, "pci13a8,158")) {
arch/powerpc/kernel/legacy_serial.c
457
if (of_device_is_compatible(np, "pciclass,0700") ||
arch/powerpc/kernel/legacy_serial.c
458
of_device_is_compatible(np, "pciclass,070002"))
arch/powerpc/kernel/legacy_serial.c
460
else if (of_device_is_compatible(parent, "pciclass,0700") ||
arch/powerpc/kernel/legacy_serial.c
461
of_device_is_compatible(parent, "pciclass,070002"))
arch/powerpc/kernel/legacy_serial.c
512
of_device_is_compatible(np, "fsl,ns16550")) {
arch/powerpc/platforms/44x/iss4xx.c
62
if (of_device_is_compatible(np, "ibm,uic")) {
arch/powerpc/platforms/44x/iss4xx.c
66
} else if (of_device_is_compatible(np, "chrp,open-pic")) {
arch/powerpc/platforms/44x/pci.c
1316
if (of_device_is_compatible(np, "ibm,plb-pciex-440spe")) {
arch/powerpc/platforms/44x/pci.c
1322
if (of_device_is_compatible(np, "ibm,plb-pciex-460ex"))
arch/powerpc/platforms/44x/pci.c
1324
if (of_device_is_compatible(np, "ibm,plb-pciex-460sx"))
arch/powerpc/platforms/44x/pci.c
1326
if (of_device_is_compatible(np, "ibm,plb-pciex-apm821xx"))
arch/powerpc/platforms/44x/pci.c
1330
if (of_device_is_compatible(np, "ibm,plb-pciex-476fpe")
arch/powerpc/platforms/44x/pci.c
1331
|| of_device_is_compatible(np, "ibm,plb-pciex-476gtr"))
arch/powerpc/platforms/44x/pci.c
1415
if (of_device_is_compatible(port->node,
arch/powerpc/platforms/44x/pci.c
1635
if (of_device_is_compatible(port->node, "ibm,plb-pciex-460sx"))
arch/powerpc/platforms/44x/pci.c
1639
else if (of_device_is_compatible(
arch/powerpc/platforms/44x/pci.c
1641
of_device_is_compatible(
arch/powerpc/platforms/44x/pci.c
176
!(of_device_is_compatible(hose->dn, "ibm,plb-pciex-460sx")
arch/powerpc/platforms/44x/pci.c
177
|| of_device_is_compatible(hose->dn, "ibm,plb-pciex-476fpe"))) {
arch/powerpc/platforms/44x/pci.c
1771
if (of_device_is_compatible(port->node, "ibm,plb-pciex-460sx") ||
arch/powerpc/platforms/44x/pci.c
1772
of_device_is_compatible(
arch/powerpc/platforms/44x/pci.c
1774
of_device_is_compatible(
arch/powerpc/platforms/44x/pci.c
1939
if (of_device_is_compatible(port->node, "ibm,plb-pciex-460sx"))
arch/powerpc/platforms/44x/pci.c
69
if (!of_device_is_compatible(hose->dn, "ibm,plb-pciex") &&
arch/powerpc/platforms/44x/pci.c
70
!of_device_is_compatible(hose->dn, "ibm,plb-pcix") &&
arch/powerpc/platforms/44x/pci.c
71
!of_device_is_compatible(hose->dn, "ibm,plb-pci"))
arch/powerpc/platforms/44x/pci.c
74
if (of_device_is_compatible(hose->dn, "ibm,plb440epx-pci") ||
arch/powerpc/platforms/44x/pci.c
75
of_device_is_compatible(hose->dn, "ibm,plb440grx-pci")) {
arch/powerpc/platforms/44x/ppc476.c
133
if (of_device_is_compatible(np, "chrp,open-pic")) {
arch/powerpc/platforms/44x/soc.c
174
if (of_device_is_compatible(np, "ibm,l2-cache-460ex") ||
arch/powerpc/platforms/44x/soc.c
175
of_device_is_compatible(np, "ibm,l2-cache-460gt"))
arch/powerpc/platforms/44x/uic.c
234
BUG_ON(! of_device_is_compatible(node, "ibm,uic"));
arch/powerpc/platforms/512x/pdm360ng.c
80
of_device_is_compatible(dev->of_node, "ti,ads7846")) {
arch/powerpc/platforms/83xx/usb_831x.c
112
if (!of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) {
arch/powerpc/platforms/83xx/usb_831x.c
47
if (immr_node && (of_device_is_compatible(immr_node, "fsl,mpc8315-immr") ||
arch/powerpc/platforms/83xx/usb_831x.c
48
of_device_is_compatible(immr_node, "fsl,mpc8308-immr")))
arch/powerpc/platforms/83xx/usb_831x.c
59
if (of_device_is_compatible(immr_node, "fsl,mpc8308-immr")) {
arch/powerpc/platforms/83xx/usb_831x.c
63
} else if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr")) {
arch/powerpc/platforms/83xx/usb_831x.c
96
if (of_device_is_compatible(immr_node, "fsl,mpc8308-immr"))
arch/powerpc/platforms/83xx/usb_831x.c
99
if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr"))
arch/powerpc/platforms/85xx/ge_imp3a.c
67
if (of_device_is_compatible(np, "gef,fpga-pic-1.00")) {
arch/powerpc/platforms/85xx/ge_imp3a.c
88
if (of_device_is_compatible(np, "fsl,mpc8540-pci") ||
arch/powerpc/platforms/85xx/ge_imp3a.c
89
of_device_is_compatible(np, "fsl,mpc8548-pcie") ||
arch/powerpc/platforms/85xx/ge_imp3a.c
90
of_device_is_compatible(np, "fsl,p2020-pcie")) {
arch/powerpc/platforms/85xx/mpc85xx_8259.c
41
if (of_device_is_compatible(np, "chrp,iic")) {
arch/powerpc/platforms/85xx/xes_mpc85xx.c
89
if (!of_device_is_compatible(np,
arch/powerpc/platforms/85xx/xes_mpc85xx.c
91
!of_device_is_compatible(np,
arch/powerpc/platforms/85xx/xes_mpc85xx.c
93
!of_device_is_compatible(np,
arch/powerpc/platforms/86xx/pic.c
48
if (of_device_is_compatible(np, "chrp,iic")) {
arch/powerpc/platforms/chrp/setup.c
452
if (of_device_is_compatible(np, "chrp,iic")) {
arch/powerpc/platforms/embedded6xx/flipper-pic.c
136
if (!of_device_is_compatible(pi, "nintendo,flipper-pi")) {
arch/powerpc/platforms/pasemi/misc.c
37
if (!of_device_is_compatible(node, i2c_devices[i].of_device))
arch/powerpc/platforms/pasemi/msi.c
142
!of_device_is_compatible(of_node,
arch/powerpc/platforms/pasemi/setup.c
255
if (of_device_is_compatible(np, "open-pic")) {
arch/powerpc/platforms/powermac/feature.c
1416
need_reset = of_device_is_compatible(phy, "B5221");
arch/powerpc/platforms/powermac/feature.c
2623
if (of_device_is_compatible(node, compat))
arch/powerpc/platforms/powermac/feature.c
2732
else if (of_device_is_compatible(np, "cobalt"))
arch/powerpc/platforms/powermac/feature.c
2790
if (of_device_is_compatible(np, "K2-GMAC"))
arch/powerpc/platforms/powermac/feature.c
2799
if (of_device_is_compatible(np, "pci106b,5811")) {
arch/powerpc/platforms/powermac/feature.c
2815
&& of_device_is_compatible(np->parent, "uni-north")
arch/powerpc/platforms/powermac/feature.c
2816
&& of_device_is_compatible(np, "gmac"))
arch/powerpc/platforms/powermac/feature.c
2827
&& of_device_is_compatible(np->parent, "uni-north")
arch/powerpc/platforms/powermac/feature.c
2828
&& (of_device_is_compatible(np, "pci106b,18") ||
arch/powerpc/platforms/powermac/feature.c
2829
of_device_is_compatible(np, "pci106b,30") ||
arch/powerpc/platforms/powermac/feature.c
2830
of_device_is_compatible(np, "pci11c1,5811"))) {
arch/powerpc/platforms/powermac/feature.c
2839
&& of_device_is_compatible(np->parent, "uni-north")
arch/powerpc/platforms/powermac/feature.c
2840
&& of_device_is_compatible(np, "kauai-ata")) {
arch/powerpc/platforms/powermac/low_i2c.c
1178
!of_device_is_compatible(np, p->compatible))
arch/powerpc/platforms/powermac/nvram.c
547
if (of_device_is_compatible(dp, "amd-0137")) {
arch/powerpc/platforms/powermac/nvram.c
582
is_core_99 = of_device_is_compatible(dp, "nvram,flash");
arch/powerpc/platforms/powermac/pci.c
1039
if (nd->parent && (of_device_is_compatible(nd, "pci106b,18") ||
arch/powerpc/platforms/powermac/pci.c
1040
of_device_is_compatible(nd, "pci106b,30") ||
arch/powerpc/platforms/powermac/pci.c
1041
of_device_is_compatible(nd, "pci11c1,5811"))
arch/powerpc/platforms/powermac/pci.c
1042
&& of_device_is_compatible(nd->parent, "uni-north")) {
arch/powerpc/platforms/powermac/pci.c
1048
if (nd->parent && of_device_is_compatible(nd, "gmac")
arch/powerpc/platforms/powermac/pci.c
1049
&& of_device_is_compatible(nd->parent, "uni-north"))
arch/powerpc/platforms/powermac/pci.c
1246
if (bus->self == NULL && (of_device_is_compatible(node, "u3-agp") ||
arch/powerpc/platforms/powermac/pci.c
1247
of_device_is_compatible(node, "u4-pcie") ||
arch/powerpc/platforms/powermac/pci.c
1248
of_device_is_compatible(node, "u3-ht")))
arch/powerpc/platforms/powermac/pci.c
804
if (of_device_is_compatible(dev, "u3-agp")) {
arch/powerpc/platforms/powermac/pci.c
808
} else if (of_device_is_compatible(dev, "u3-ht")) {
arch/powerpc/platforms/powermac/pci.c
812
} else if (of_device_is_compatible(dev, "u4-pcie")) {
arch/powerpc/platforms/powermac/pci.c
823
if (of_device_is_compatible(dev, "uni-north")) {
arch/powerpc/platforms/powermac/pci.c
978
of_device_is_compatible(node->parent, "uni-north");
arch/powerpc/platforms/powermac/pci.c
984
(of_device_is_compatible(node, "pci106b,18") ||
arch/powerpc/platforms/powermac/pci.c
985
of_device_is_compatible(node, "pci106b,30") ||
arch/powerpc/platforms/powermac/pci.c
986
of_device_is_compatible(node, "pci11c1,5811"))) {
arch/powerpc/platforms/powermac/pci.c
992
of_device_is_compatible(node, "gmac")) {
arch/powerpc/platforms/powermac/pic.c
316
if (of_device_is_compatible(master, "gatwick")) {
arch/powerpc/platforms/powermac/smp.c
573
ok = p && of_device_is_compatible(p, "uni-n-i2c");
arch/powerpc/platforms/powermac/smp.c
586
if (of_device_is_compatible(cc,"pulsar-legacy-slewing")) {
arch/powerpc/platforms/powermac/smp.c
590
} else if (of_device_is_compatible(cc, "cy28508")) {
arch/powerpc/platforms/powernv/opal-core.c
456
if (!of_device_is_compatible(np, "ibm,opal-dump")) {
arch/powerpc/platforms/powernv/opal-power.c
151
supported = of_device_is_compatible(np, "ibm,opal-v3-epow");
arch/powerpc/platforms/powernv/opal-sysparam.c
161
if (!of_device_is_compatible(sysparam, "ibm,opal-sysparams")) {
arch/powerpc/platforms/powernv/pci-ioda.c
2545
if (of_device_is_compatible(np, "ibm,p7ioc-pciex"))
arch/powerpc/platforms/powernv/pci-ioda.c
2547
else if (of_device_is_compatible(np, "ibm,power8-pciex"))
arch/powerpc/platforms/powernv/pci.c
53
if (!of_device_is_compatible(node, "ibm,ioda2-phb") &&
arch/powerpc/platforms/powernv/pci.c
54
!of_device_is_compatible(node, "ibm,ioda3-phb") &&
arch/powerpc/platforms/powernv/pci.c
55
!of_device_is_compatible(node, "ibm,ioda2-npu2-opencapi-phb")) {
arch/powerpc/platforms/powernv/pci.c
66
if (of_device_is_compatible(node, "ibm,ioda2-npu2-opencapi-phb"))
arch/powerpc/platforms/pseries/setup.c
220
if (of_device_is_compatible(np, "chrp,iic")) {
arch/powerpc/platforms/pseries/vio.c
1209
of_device_is_compatible(dev->dev.of_node,
arch/powerpc/sysdev/dart_iommu.c
365
if (of_device_is_compatible(np, "U4-pcie") ||
arch/powerpc/sysdev/dart_iommu.c
366
of_device_is_compatible(np, "u4-pcie")) {
arch/powerpc/sysdev/fsl_gtm.c
367
if (!of_device_is_compatible(np, "fsl,cpm2-gtm")) {
arch/powerpc/sysdev/fsl_lbc.c
198
if (of_device_is_compatible(node, "fsl,elbc"))
arch/powerpc/sysdev/fsl_lbc.c
48
if (of_device_is_compatible(np, "fsl,elbc"))
arch/powerpc/sysdev/fsl_msi.c
207
if (of_device_is_compatible(np, "fsl,mpic-msi") ||
arch/powerpc/sysdev/fsl_msi.c
208
of_device_is_compatible(np, "fsl,vmpic-msi") ||
arch/powerpc/sysdev/fsl_msi.c
209
of_device_is_compatible(np, "fsl,vmpic-msi-v4.3"))
arch/powerpc/sysdev/fsl_msi.c
477
if (of_device_is_compatible(dev->dev.of_node, "fsl,mpic-msi-v4.3") ||
arch/powerpc/sysdev/fsl_msi.c
478
of_device_is_compatible(dev->dev.of_node, "fsl,vmpic-msi-v4.3")) {
arch/powerpc/sysdev/fsl_pci.c
221
if (of_device_is_compatible(hose->dn, "fsl,bsc9132-pcie")) {
arch/powerpc/sysdev/fsl_pci.c
873
if (of_device_is_compatible(dev, "fsl,mpc8314-pcie")) {
arch/powerpc/sysdev/mpic.c
1270
if (of_device_is_compatible(node, "fsl,mpic")) {
arch/powerpc/sysdev/mpic_timer.c
473
if (of_device_is_compatible(np, "fsl,mpic-global-timer"))
arch/powerpc/sysdev/mpic_u3msi.c
95
if (of_device_is_compatible(hose->dn, "u4-pcie") ||
arch/powerpc/sysdev/mpic_u3msi.c
96
of_device_is_compatible(hose->dn, "U4-pcie"))
arch/powerpc/sysdev/xics/ics-rtas.c
189
return !of_device_is_compatible(node, "chrp,iic");
arch/powerpc/sysdev/xive/native.c
246
return of_device_is_compatible(node, "ibm,opal-xive-vc");
arch/riscv/kernel/cacheinfo.c
122
if (!of_device_is_compatible(np, "cache"))
arch/riscv/kernel/cpu.c
128
if (of_device_is_compatible(node, "riscv")) {
arch/riscv/kernel/cpu.c
54
if (!of_device_is_compatible(node, "riscv")) {
arch/um/drivers/virtio_pcidev.c
549
if (of_device_is_compatible(vdev->dev.of_node, "simple-bus"))
arch/x86/kernel/apic/vector.c
675
of_device_is_compatible(to_of_node(fwspec->fwnode),
block/partitions/of.c
77
!of_device_is_compatible(partitions_np, "fixed-partitions")) {
drivers/ata/pata_ftide010.c
486
if (of_device_is_compatible(np, "cortina,gemini-pata")) {
drivers/ata/pata_macio.c
519
if (of_device_is_compatible(priv->node, "K2-UATA") ||
drivers/ata/pata_macio.c
520
of_device_is_compatible(priv->node, "shasta-ata"))
drivers/ata/pata_macio.c
963
if (of_device_is_compatible(priv->node, "shasta-ata")) {
drivers/ata/pata_macio.c
966
} else if (of_device_is_compatible(priv->node, "kauai-ata")) {
drivers/ata/pata_macio.c
969
} else if (of_device_is_compatible(priv->node, "K2-UATA")) {
drivers/ata/pata_macio.c
972
} else if (of_device_is_compatible(priv->node, "keylargo-ata")) {
drivers/ata/pata_macio.c
980
} else if (of_device_is_compatible(priv->node, "heathrow-ata")) {
drivers/ata/sata_fsl.c
1446
if (!of_device_is_compatible(ofdev->dev.of_node, "fsl,mpc8315-sata")) {
drivers/ata/sata_fsl.c
1470
if (of_device_is_compatible(ofdev->dev.of_node, "fsl,pq-sata-v2"))
drivers/ata/sata_mv.c
4146
of_device_is_compatible(pdev->dev.of_node,
drivers/base/cacheinfo.c
366
if (!of_device_is_compatible(np, "cache"))
drivers/bluetooth/btmtksdio.c
1449
if (!of_device_is_compatible(bdev->dev->of_node, "mediatek,mt7921s-bluetooth")) {
drivers/bluetooth/hci_ll.c
720
if (of_device_is_compatible(serdev->dev.of_node, "ti,wl1831-st") ||
drivers/bluetooth/hci_ll.c
721
of_device_is_compatible(serdev->dev.of_node, "ti,wl1835-st") ||
drivers/bluetooth/hci_ll.c
722
of_device_is_compatible(serdev->dev.of_node, "ti,wl1837-st"))
drivers/bus/intel-ixp4xx-eb.c
359
eb->is_42x = of_device_is_compatible(np, "intel,ixp42x-expansion-bus-controller");
drivers/bus/intel-ixp4xx-eb.c
360
eb->is_43x = of_device_is_compatible(np, "intel,ixp43x-expansion-bus-controller");
drivers/bus/omap-ocp2scp.c
51
if (!of_device_is_compatible(np, "ti,am437x-ocp2scp")) {
drivers/bus/stm32_rifsc.c
766
if (of_device_is_compatible(np, "st,stm32mp21-rifsc"))
drivers/bus/ti-sysc.c
3015
WARN_ONCE(np && of_device_is_compatible(np, "simple-bus"),
drivers/bus/ti-sysc.c
740
if (name && !of_device_is_compatible(np, "ti,sysc"))
drivers/bus/vexpress-config.c
277
if (num == 1 && of_device_is_compatible(dev->of_node,
drivers/char/hw_random/mtk-rng.c
192
of_device_is_compatible(pdev->dev.of_node,
drivers/char/hw_random/omap-rng.c
386
if (of_device_is_compatible(dev->of_node, "ti,omap4-rng") ||
drivers/char/hw_random/omap-rng.c
387
of_device_is_compatible(dev->of_node, "inside-secure,safexcel-eip76")) {
drivers/char/ipmi/kcs_bmc_aspeed.c
567
if (!of_device_is_compatible(np, "aspeed,ast2400-lpc-v2") &&
drivers/char/ipmi/kcs_bmc_aspeed.c
568
!of_device_is_compatible(np, "aspeed,ast2500-lpc-v2") &&
drivers/char/ipmi/kcs_bmc_aspeed.c
569
!of_device_is_compatible(np, "aspeed,ast2600-lpc-v2")) {
drivers/clk/aspeed/clk-aspeed.c
468
if (of_device_is_compatible(pdev->dev.of_node, "aspeed,ast2500-scu")) {
drivers/clk/aspeed/clk-aspeed.c
730
if (of_device_is_compatible(np, "aspeed,ast2400-scu"))
drivers/clk/aspeed/clk-aspeed.c
732
else if (of_device_is_compatible(np, "aspeed,ast2500-scu"))
drivers/clk/at91/dt-compat.c
167
if (of_device_is_compatible(np, "atmel,sama5d2-clk-generated") &&
drivers/clk/berlin/bg2.c
544
if (of_device_is_compatible(np, "marvell,berlin2-global-register"))
drivers/clk/clk-gpio.c
205
is_mux = of_device_is_compatible(node, "gpio-mux-clock");
drivers/clk/clk-qoriq.c
1502
of_device_is_compatible(of_root, "fsl,ls1021a")) {
drivers/clk/clk-qoriq.c
1513
if (of_device_is_compatible(np, chipinfo[i].compat))
drivers/clk/clk-stm32f4.c
1873
if (of_device_is_compatible(np, "st,stm32f769-rcc")) {
drivers/clk/clk-stm32f4.c
2030
if (of_device_is_compatible(np, "st,stm32f746-rcc")) {
drivers/clk/clk-xgene.c
163
if (of_device_is_compatible(np, "apm,xgene-socpll-clock"))
drivers/clk/clk-xgene.c
165
if (of_device_is_compatible(np, "apm,xgene-pcppll-clock"))
drivers/clk/imx/clk-imx27.c
177
if (!of_device_is_compatible(refnp, "fsl,imx-osc26m"))
drivers/clk/imx/clk-imx31.c
130
if (!of_device_is_compatible(osc_np, "fsl,imx-osc26m"))
drivers/clk/imx/clk-imx8qxp-lpcg.c
190
if (!of_device_is_compatible(np, "fsl,imx8qxp-lpcg"))
drivers/clk/imx/clk-imx8qxp.c
127
return of_device_is_compatible(node, "fsl,imx8dxl-clk");
drivers/clk/keystone/syscon-clk.c
142
if (of_device_is_compatible(dev->of_node, "ti,am62-audio-refclk") &&
drivers/clk/mmp/clk-of-mmp2.c
523
if (of_device_is_compatible(np, "marvell,mmp3-clock"))
drivers/clk/mvebu/ap806-system-controller.c
154
if (of_device_is_compatible(pdev->dev.of_node,
drivers/clk/mvebu/ap806-system-controller.c
157
} else if (of_device_is_compatible(pdev->dev.of_node,
drivers/clk/mvebu/kirkwood.c
339
if (of_device_is_compatible(np, "marvell,mv88f6180-core-clock"))
drivers/clk/mvebu/kirkwood.c
341
else if (of_device_is_compatible(np, "marvell,mv98dx1135-core-clock"))
drivers/clk/qcom/camcc-sm8450.c
3060
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8475-camcc")) {
drivers/clk/qcom/clk-cbf-8996.c
306
if (of_device_is_compatible(dev->of_node, "qcom,msm8996pro-cbf")) {
drivers/clk/qcom/dispcc-sm8250.c
1275
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sc8180x-dispcc") ||
drivers/clk/qcom/dispcc-sm8250.c
1276
of_device_is_compatible(pdev->dev.of_node, "qcom,sm8150-dispcc")) {
drivers/clk/qcom/dispcc-sm8250.c
1296
} else if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8350-dispcc")) {
drivers/clk/qcom/dispcc-sm8250.c
1362
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8350-dispcc")) {
drivers/clk/qcom/dispcc-sm8450.c
1817
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8475-dispcc")) {
drivers/clk/qcom/dispcc-sm8550.c
1784
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8650-dispcc")) {
drivers/clk/qcom/dispcc-sm8550.c
1789
} else if (of_device_is_compatible(pdev->dev.of_node, "qcom,sar2130p-dispcc")) {
drivers/clk/qcom/gcc-msm8974.c
2879
if (!of_device_is_compatible(dev->of_node, "qcom,gcc-msm8974")) {
drivers/clk/qcom/gcc-msm8976.c
4105
if (of_device_is_compatible(pdev->dev.of_node, "qcom,gcc-msm8976-v1.1")) {
drivers/clk/qcom/gcc-msm8994.c
2662
if (of_device_is_compatible(pdev->dev.of_node, "qcom,gcc-msm8992")) {
drivers/clk/qcom/gcc-sm8450.c
3426
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8475-gcc")) {
drivers/clk/qcom/gpucc-sa8775p.c
637
if (of_device_is_compatible(pdev->dev.of_node, "qcom,qcs8300-gpucc")) {
drivers/clk/qcom/gpucc-sm8150.c
302
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sc8180x-gpucc"))
drivers/clk/qcom/gpucc-sm8450.c
779
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8475-gpucc")) {
drivers/clk/qcom/lcc-msm8960.c
459
if (of_device_is_compatible(pdev->dev.of_node, "qcom,lcc-mdm9615")) {
drivers/clk/qcom/lpassaudiocc-sc7280.c
768
if (of_device_is_compatible(pdev->dev.of_node, "qcom,qcm6490-lpassaudiocc"))
drivers/clk/qcom/mmcc-msm8994.c
2561
if (of_device_is_compatible(pdev->dev.of_node, "qcom,mmcc-msm8992")) {
drivers/clk/qcom/tcsrcc-sm8650.c
158
if (of_device_is_compatible(pdev->dev.of_node, "qcom,milos-tcsr")) {
drivers/clk/qcom/videocc-sa8775p.c
557
if (of_device_is_compatible(pdev->dev.of_node, "qcom,qcs8300-videocc"))
drivers/clk/qcom/videocc-sm8350.c
537
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sc8280xp-videocc")) {
drivers/clk/qcom/videocc-sm8450.c
457
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8475-videocc")) {
drivers/clk/qcom/videocc-sm8550.c
587
if (of_device_is_compatible(pdev->dev.of_node, "qcom,x1e80100-videocc")) {
drivers/clk/qcom/videocc-sm8550.c
596
if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8650-videocc")) {
drivers/clk/ralink/clk-mtmips.c
897
if (!of_device_is_compatible(node, "ralink,mt7620-sysc"))
drivers/clk/renesas/clk-mstp.c
204
if (of_device_is_compatible(np, "renesas,r7s72100-mstp-clocks"))
drivers/clk/renesas/clk-mstp.c
262
if (of_device_is_compatible(clkspec.np,
drivers/clk/renesas/r8a7743-cpg-mssr.c
250
if (of_device_is_compatible(np, "renesas,r8a7744-cpg-mssr")) {
drivers/clk/renesas/r8a7791-cpg-mssr.c
255
if (of_device_is_compatible(np, "renesas,r8a7793-cpg-mssr")) {
drivers/clk/renesas/r8a7796-cpg-mssr.c
355
if (of_device_is_compatible(dev->of_node, "renesas,r8a77961-cpg-mssr"))
drivers/clk/spacemit/ccu_common.c
147
if (compat && of_device_is_compatible(dev->of_node, compat)) {
drivers/clk/sprd/common.c
54
} else if (of_device_is_compatible(np = of_get_parent(node), "syscon") ||
drivers/clk/sunxi-ng/ccu-sun8i-de2.c
309
if (of_device_is_compatible(pdev->dev.of_node,
drivers/clk/ti/clk.c
314
if (of_device_is_compatible(node->parent, "ti,clksel")) {
drivers/clk/versatile/clk-icst.c
532
if (of_device_is_compatible(np, "arm,syscon-icst525")) {
drivers/clk/versatile/clk-icst.c
535
} else if (of_device_is_compatible(np, "arm,syscon-icst307")) {
drivers/clk/versatile/clk-icst.c
538
} else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-cm")) {
drivers/clk/versatile/clk-icst.c
541
} else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-sys")) {
drivers/clk/versatile/clk-icst.c
544
} else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorap-pci")) {
drivers/clk/versatile/clk-icst.c
547
} else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-core")) {
drivers/clk/versatile/clk-icst.c
550
} else if (of_device_is_compatible(np, "arm,syscon-icst525-integratorcp-cm-mem")) {
drivers/clk/versatile/clk-impd1.c
79
if (of_device_is_compatible(np, "arm,impd1-vco1")) {
drivers/clk/versatile/clk-impd1.c
81
} else if (of_device_is_compatible(np, "arm,impd1-vco2")) {
drivers/clocksource/mips-gic-timer.c
254
!of_device_is_compatible(node->parent, "mti,gic")) {
drivers/clocksource/mxs_timer.c
228
(of_device_is_compatible(np, "fsl,imx23-timrot") ?
drivers/clocksource/timer-msc313e.c
184
if (of_device_is_compatible(np, "sstar,ssd20xd-timer")) {
drivers/clocksource/timer-rockchip.c
141
if (of_device_is_compatible(np, "rockchip,rk3399-timer"))
drivers/clocksource/timer-ti-32k.c
110
if (!of_device_is_compatible(np->parent, "ti,sysc"))
drivers/clocksource/timer-ti-dm-systimer.c
368
if (!of_device_is_compatible(np->parent, "ti,sysc"))
drivers/cpufreq/qcom-cpufreq-nvmem.c
490
ret = of_device_is_compatible(np, "operating-points-v2-kryo-cpu") ||
drivers/cpufreq/qcom-cpufreq-nvmem.c
491
of_device_is_compatible(np, "operating-points-v2-krait-cpu");
drivers/crypto/caam/ctrl.c
935
if (of_device_is_compatible(np, "fsl,sec-v4.0-job-ring") ||
drivers/crypto/caam/ctrl.c
936
of_device_is_compatible(np, "fsl,sec4.0-job-ring")) {
drivers/crypto/caam/intern.h
258
if (of_device_is_compatible(nprop, "fsl,sec-v5.0-job-ring") ||
drivers/crypto/caam/intern.h
259
of_device_is_compatible(nprop, "fsl,sec-v5.0"))
drivers/crypto/nx/nx-common-powernv.c
898
if (of_device_is_compatible(dn, devname)) {
drivers/crypto/sahara.c
1375
if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx27-sahara")) {
drivers/crypto/sahara.c
1378
} else if (of_device_is_compatible(pdev->dev.of_node,
drivers/crypto/talitos.c
3453
if (of_device_is_compatible(np, "fsl,sec3.0"))
drivers/crypto/talitos.c
3456
if (of_device_is_compatible(np, "fsl,sec2.1"))
drivers/crypto/talitos.c
3461
if (of_device_is_compatible(np, "fsl,sec1.0"))
drivers/crypto/talitos.c
3464
if (of_device_is_compatible(np, "fsl,sec1.2")) {
drivers/crypto/talitos.c
3469
} else if (of_device_is_compatible(np, "fsl,sec1.0")) {
drivers/dma/bcm-sba-raid.c
1636
if (of_device_is_compatible(sba->dev->of_node, "brcm,iproc-sba"))
drivers/dma/bcm-sba-raid.c
1638
else if (of_device_is_compatible(sba->dev->of_node,
drivers/dma/fsl_raid.c
833
rc = of_device_is_compatible(child,
drivers/dma/fsldma.c
1269
if (of_device_is_compatible(child, "fsl,eloplus-dma-channel")) {
drivers/dma/fsldma.c
1275
if (of_device_is_compatible(child, "fsl,elo-dma-channel")) {
drivers/dma/mpc512x_dma.c
923
if (of_device_is_compatible(dn, "fsl,mpc8308-dma")) {
drivers/dma/ppc4xx/adma.c
4016
if (of_device_is_compatible(np, "amcc,xor-accelerator")) {
drivers/dma/ti/k3-udma.c
4593
if (of_device_is_compatible(dev->of_node,
drivers/dma/ti/k3-udma.c
4597
} else if (of_device_is_compatible(dev->of_node,
drivers/dma/xilinx/xilinx_dma.c
2992
if (of_device_is_compatible(node, "xlnx,axi-vdma-mm2s-channel") ||
drivers/dma/xilinx/xilinx_dma.c
2993
of_device_is_compatible(node, "xlnx,axi-dma-mm2s-channel") ||
drivers/dma/xilinx/xilinx_dma.c
2994
of_device_is_compatible(node, "xlnx,axi-cdma-channel")) {
drivers/dma/xilinx/xilinx_dma.c
3008
} else if (of_device_is_compatible(node,
drivers/dma/xilinx/xilinx_dma.c
3010
of_device_is_compatible(node,
drivers/edac/altera_edac.c
1040
if (!of_device_is_compatible(child, compat))
drivers/edac/altera_edac.c
1861
if (of_device_is_compatible(np, "altr,sdram-edac-s10"))
drivers/edac/altera_edac.c
1916
if (of_device_is_compatible(np, "altr,sdram-edac-s10"))
drivers/edac/altera_edac.c
2198
else if (of_device_is_compatible(child, "altr,sdram-edac-a10"))
drivers/edac/xgene_edac.c
1940
if (of_device_is_compatible(child, "apm,xgene-edac-mc"))
drivers/edac/xgene_edac.c
1942
if (of_device_is_compatible(child, "apm,xgene-edac-pmd"))
drivers/edac/xgene_edac.c
1944
if (of_device_is_compatible(child, "apm,xgene-edac-pmd-v2"))
drivers/edac/xgene_edac.c
1946
if (of_device_is_compatible(child, "apm,xgene-edac-l3"))
drivers/edac/xgene_edac.c
1948
if (of_device_is_compatible(child, "apm,xgene-edac-l3-v2"))
drivers/edac/xgene_edac.c
1950
if (of_device_is_compatible(child, "apm,xgene-edac-soc"))
drivers/edac/xgene_edac.c
1952
if (of_device_is_compatible(child, "apm,xgene-edac-soc-v1"))
drivers/firmware/arm_scmi/shmem.c
213
if (!of_device_is_compatible(shmem, "arm,scmi-shmem"))
drivers/firmware/arm_scmi/transports/smc.c
158
if (of_device_is_compatible(dev->of_node, "qcom,scmi-smc")) {
drivers/firmware/arm_scmi/transports/smc.c
171
if (of_device_is_compatible(dev->of_node, "arm,scmi-smc-param")) {
drivers/firmware/imx/imx-scu.c
282
sc_ipc->fast_ipc = of_device_is_compatible(args.np, "fsl,imx8-mu-scu");
drivers/firmware/qcom/qcom_scm.c
280
if (of_device_is_compatible(__scm ? __scm->dev->of_node : NULL, "qcom,scm-sc7180")) {
drivers/firmware/xilinx/zynqmp.c
2175
if (!of_device_is_compatible(np, "xlnx,zynqmp-firmware"))
drivers/fpga/of-fpga-region.c
57
if (of_device_is_compatible(np, "fpga-region")) {
drivers/fpga/xilinx-core.c
182
of_device_is_compatible(dev->of_node, "xlnx,fpga-slave-serial"))
drivers/fsi/fsi-master-ast-cf.c
1232
master->is_ast2500 = of_device_is_compatible(mnode, "aspeed,ast2500-cf-fsi-master");
drivers/gpio/gpio-mxc.c
455
if (of_device_is_compatible(np, "fsl,imx7d-gpio"))
drivers/gpio/gpio-mxc.c
466
if (of_device_is_compatible(np, "fsl,imx21-gpio")) {
drivers/gpio/gpio-mxc.c
573
if (of_device_is_compatible(np, "fsl,imx8dxl-gpio") ||
drivers/gpio/gpio-mxc.c
574
of_device_is_compatible(np, "fsl,imx8qxp-gpio") ||
drivers/gpio/gpio-mxc.c
575
of_device_is_compatible(np, "fsl,imx8qm-gpio"))
drivers/gpio/gpio-mxc.c
587
bool is_imx8qm = of_device_is_compatible(port->dev->of_node, "fsl,imx8qm-gpio");
drivers/gpio/gpiolib-of.c
256
if (of_device_is_compatible(np, gpios[i].compatible) &&
drivers/gpio/gpiolib-of.c
326
if (of_device_is_compatible(np->parent, "atmel,hsmci")) {
drivers/gpio/gpiolib-of.c
333
if (of_device_is_compatible(np_compat, gpios[i].compatible) &&
drivers/gpio/gpiolib-of.c
355
of_device_is_compatible(np, "reg-fixed-voltage") &&
drivers/gpio/gpiolib-of.c
608
!of_device_is_compatible(np, gpios[i].compatible))
drivers/gpio/gpiolib-of.c
635
if (!of_device_is_compatible(np, "mediatek,mt2701-cs42448-machine"))
drivers/gpio/gpiolib-of.c
96
if (!of_device_is_compatible(np, "fsl,spi") &&
drivers/gpio/gpiolib-of.c
97
!of_device_is_compatible(np, "aeroflexgaisler,spictrl") &&
drivers/gpio/gpiolib-of.c
98
!of_device_is_compatible(np, "ibm,ppc4xx-spi"))
drivers/gpu/drm/bridge/imx/imx8mp-hdmi-tx-connector-fixup.c
35
if (!of_device_is_compatible(soc, "fsl,imx8mp-soc"))
drivers/gpu/drm/bridge/imx/imx8qxp-ldb.c
499
if (!of_device_is_compatible(companion, match->compatible)) {
drivers/gpu/drm/bridge/imx/imx8qxp-pxl2dpi.c
344
if (!of_device_is_compatible(companion, match->compatible)) {
drivers/gpu/drm/bridge/lontium-lt8912b.c
733
if (!of_device_is_compatible(port_node, "hdmi-connector")) {
drivers/gpu/drm/imx/dc/dc-drv.c
57
if (of_device_is_compatible(child, "fsl,imx8qxp-dc-intc"))
drivers/gpu/drm/imx/dcss/dcss-drv.c
50
hdmi_output = !of_device_is_compatible(remote, "fsl,imx8mq-nwl-dsi");
drivers/gpu/drm/mediatek/mtk_hdmi_common.c
317
if (!of_device_is_compatible(remote, "hdmi-connector")) {
drivers/gpu/drm/meson/meson_dw_hdmi.c
156
return of_device_is_compatible(dw_hdmi->dev->of_node, compat);
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
2704
adreno_gpu->gmu_is_wrapper = of_device_is_compatible(node, "qcom,adreno-gmu-wrapper");
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
2720
of_device_is_compatible(phandle, "arm,mmu-500"));
drivers/gpu/drm/msm/adreno/adreno_device.c
274
if (of_device_is_compatible(pdev->dev.of_node, "amd,imageon") ||
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
1249
if (of_device_is_compatible(dpu_kms->pdev->dev.of_node, "qcom,sc8180x-dpu"))
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
1415
if (of_device_is_compatible(dpu_kms->pdev->dev.of_node, "qcom,mdp5"))
drivers/gpu/drm/msm/msm_drv.c
934
if (of_device_is_compatible(np, "qcom,mdp4") &&
drivers/gpu/drm/msm/msm_drv.c
989
if (!of_device_is_compatible(dev->of_node, "qcom,mdp5"))
drivers/gpu/drm/msm/msm_mdss.c
472
bool is_mdp5 = of_device_is_compatible(pdev->dev.of_node, "qcom,mdss");
drivers/gpu/drm/panel/panel-edp.c
904
if (of_device_is_compatible(dev->of_node, "edp-panel")) {
drivers/gpu/drm/panel/panel-ilitek-ili9806e-core.c
91
if (of_device_is_compatible(dev->of_node,
drivers/gpu/drm/panel/panel-ilitek-ili9806e-core.c
93
of_device_is_compatible(dev->of_node,
drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c
1135
if (of_device_is_compatible(panel->dev->of_node,
drivers/gpu/drm/panel/panel-simple.c
600
if (of_device_is_compatible(dev->of_node, "panel-dpi"))
drivers/gpu/drm/panel/panel-simple.c
711
if (!of_device_is_compatible(dev->of_node, "panel-dpi") &&
drivers/gpu/drm/pl111/pl111_versatile.c
406
if (of_device_is_compatible(child, "arm,pl111")) {
drivers/gpu/drm/pl111/pl111_versatile.c
412
if (of_device_is_compatible(child, "arm,hdlcd")) {
drivers/gpu/drm/renesas/rcar-du/rcar_lvds.c
707
if (!of_device_is_compatible(companion, match->compatible)) {
drivers/gpu/drm/rockchip/inno_hdmi-rockchip.c
103
if (of_device_is_compatible(dev->of_node, "rockchip,rk3036-inno-hdmi")) {
drivers/gpu/drm/sti/sti_gdp.c
559
if (of_device_is_compatible(np, "st,stih407-compositor")) {
drivers/gpu/drm/stm/ltdc.c
1955
if (of_device_is_compatible(np, "st,stm32mp251-ltdc") ||
drivers/gpu/drm/stm/ltdc.c
1956
of_device_is_compatible(np, "st,stm32mp255-ltdc")) {
drivers/gpu/drm/sun4i/sun4i_backend.c
874
if (of_device_is_compatible(dev->of_node,
drivers/gpu/drm/sun4i/sun4i_backend.c
957
if (of_device_is_compatible(dev->of_node,
drivers/gpu/drm/sun4i/sun4i_drv.c
157
return of_device_is_compatible(node, "hdmi-connector");
drivers/gpu/drm/sun4i/sun4i_drv.c
162
return of_device_is_compatible(node, "allwinner,sun4i-a10-display-frontend") ||
drivers/gpu/drm/sun4i/sun4i_drv.c
163
of_device_is_compatible(node, "allwinner,sun5i-a13-display-frontend") ||
drivers/gpu/drm/sun4i/sun4i_drv.c
164
of_device_is_compatible(node, "allwinner,sun6i-a31-display-frontend") ||
drivers/gpu/drm/sun4i/sun4i_drv.c
165
of_device_is_compatible(node, "allwinner,sun7i-a20-display-frontend") ||
drivers/gpu/drm/sun4i/sun4i_drv.c
166
of_device_is_compatible(node, "allwinner,sun8i-a23-display-frontend") ||
drivers/gpu/drm/sun4i/sun4i_drv.c
167
of_device_is_compatible(node, "allwinner,sun8i-a33-display-frontend") ||
drivers/gpu/drm/sun4i/sun4i_drv.c
168
of_device_is_compatible(node, "allwinner,sun9i-a80-display-frontend");
drivers/gpu/drm/sun4i/sun4i_drv.c
173
return of_device_is_compatible(node, "allwinner,sun9i-a80-deu");
drivers/gpu/drm/sun4i/sun4i_tcon.c
1255
if (of_device_is_compatible(remote, "panel-lvds"))
drivers/gpu/drm/sysfb/ofdrm.c
259
} else if (of_device_is_compatible(of_node, "pci1014,b7") ||
drivers/gpu/drm/sysfb/ofdrm.c
260
of_device_is_compatible(of_node, "pci1014,21c")) {
drivers/gpu/drm/sysfb/ofdrm.c
278
} else if (of_device_is_compatible(of_node, "qemu,std-vga")) {
drivers/gpu/drm/vc4/vc4_crtc.c
562
if (!(of_device_is_compatible(vc4_crtc->pdev->dev.of_node,
drivers/gpu/drm/vc4/vc4_crtc.c
564
of_device_is_compatible(vc4_crtc->pdev->dev.of_node,
drivers/gpu/drm/vc4/vc4_crtc.c
566
of_device_is_compatible(vc4_crtc->pdev->dev.of_node,
drivers/gpu/drm/vc4/vc4_crtc.c
568
of_device_is_compatible(vc4_crtc->pdev->dev.of_node,
drivers/gpu/drm/vc4/vc4_hdmi.c
3303
if ((of_device_is_compatible(dev->of_node, "brcm,bcm2711-hdmi0") ||
drivers/gpu/drm/vc4/vc4_hdmi.c
3304
of_device_is_compatible(dev->of_node, "brcm,bcm2711-hdmi1") ||
drivers/gpu/drm/vc4/vc4_hdmi.c
3305
of_device_is_compatible(dev->of_node, "brcm,bcm2712-hdmi0") ||
drivers/gpu/drm/vc4/vc4_hdmi.c
3306
of_device_is_compatible(dev->of_node, "brcm,bcm2712-hdmi1")) &&
drivers/gpu/ipu-v3/ipu-common.c
1301
if (of_device_is_compatible(np, "fsl,imx6qp-ipu") &&
drivers/hsi/controllers/omap_ssi_core.c
454
if (of_device_is_compatible(child, "ti,omap3-ssi-port"))
drivers/hsi/controllers/omap_ssi_core.c
515
if (!of_device_is_compatible(child, "ti,omap3-ssi-port"))
drivers/hte/hte-tegra194.c
882
if (of_device_is_compatible(dev->of_node,
drivers/hwmon/amc6821.c
1064
if (of_device_is_compatible(dev->of_node, "tsd,mule")) {
drivers/hwmon/g762.c
610
data->internal_clock = of_device_is_compatible(client->dev.of_node,
drivers/hwmon/ibmpowernv.c
297
if (of_device_is_compatible(np, legacy_compatibles[type]))
drivers/hwmon/ibmpowernv.c
304
if (!of_device_is_compatible(np, "ibm,opal-sensor"))
drivers/hwtracing/coresight/coresight-cti-platform.c
227
return of_device_is_compatible(to_of_node(fwnode),
drivers/hwtracing/coresight/coresight-dummy.c
124
if (of_device_is_compatible(node, "arm,coresight-dummy-source")) {
drivers/hwtracing/coresight/coresight-dummy.c
154
} else if (of_device_is_compatible(node, "arm,coresight-dummy-sink")) {
drivers/hwtracing/coresight/coresight-funnel.c
221
of_device_is_compatible(dev->of_node, "arm,coresight-funnel"))
drivers/hwtracing/coresight/coresight-replicator.c
227
of_device_is_compatible(dev->of_node, "arm,coresight-replicator"))
drivers/i2c/busses/i2c-brcmstb.c
637
if (of_device_is_compatible(dev->device->of_node,
drivers/i2c/busses/i2c-brcmstb.c
676
if (of_device_is_compatible(dev->device->of_node,
drivers/i2c/busses/i2c-cpm.c
454
if (of_device_is_compatible(ofdev->dev.of_node, "fsl,cpm1-i2c")) {
drivers/i2c/busses/i2c-cpm.c
471
} else if (of_device_is_compatible(ofdev->dev.of_node, "fsl,cpm2-i2c")) {
drivers/i2c/busses/i2c-mv64xxx.c
872
if (of_device_is_compatible(np, "allwinner,sun4i-a10-i2c") ||
drivers/i2c/busses/i2c-mv64xxx.c
873
of_device_is_compatible(np, "allwinner,sun6i-a31-i2c"))
drivers/i2c/busses/i2c-mv64xxx.c
902
if (of_device_is_compatible(np, "marvell,mv78230-i2c")) {
drivers/i2c/busses/i2c-mv64xxx.c
909
if (of_device_is_compatible(np, "marvell,mv78230-a0-i2c")) {
drivers/i2c/busses/i2c-mv64xxx.c
916
if (of_device_is_compatible(np, "allwinner,sun6i-a31-i2c"))
drivers/i2c/busses/i2c-ocores.c
672
if (of_device_is_compatible(pdev->dev.of_node,
drivers/i2c/busses/i2c-octeon-platdrv.c
142
cn78xx_style = of_device_is_compatible(node, "cavium,octeon-7890-twsi");
drivers/i2c/busses/i2c-powermac.c
252
if (of_device_is_compatible(busnode, "k2-i2c") && !found_onyx) {
drivers/i2c/busses/i2c-powermac.c
340
if (of_device_is_compatible(node, "pcm3052"))
drivers/input/touchscreen/sun4i-ts.c
254
if (of_device_is_compatible(np, "allwinner,sun6i-a31-ts")) {
drivers/input/touchscreen/sun4i-ts.c
258
} else if (of_device_is_compatible(np, "allwinner,sun4i-a10-ts")) {
drivers/input/touchscreen/sun4i-ts.c
344
if (of_device_is_compatible(np, "allwinner,sun6i-a31-ts"))
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
5295
if (of_device_is_compatible(dev->of_node, "nvidia,tegra264-smmu"))
drivers/iommu/arm/arm-smmu/arm-smmu-impl.c
218
if (of_device_is_compatible(np, "nvidia,tegra234-smmu") ||
drivers/iommu/arm/arm-smmu/arm-smmu-impl.c
219
of_device_is_compatible(np, "nvidia,tegra194-smmu") ||
drivers/iommu/arm/arm-smmu/arm-smmu-impl.c
220
of_device_is_compatible(np, "nvidia,tegra186-smmu"))
drivers/iommu/arm/arm-smmu/arm-smmu-impl.c
226
if (of_device_is_compatible(np, "marvell,ap806-smmu-500"))
drivers/iommu/arm/arm-smmu/arm-smmu-nvidia.c
278
if (of_device_is_compatible(np, "nvidia,tegra234-smmu") ||
drivers/iommu/arm/arm-smmu/arm-smmu-nvidia.c
279
of_device_is_compatible(np, "nvidia,tegra194-smmu")) {
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
332
if (of_device_is_compatible(np, "qcom,msm8996-smmu-v2"))
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
396
if (of_device_is_compatible(np, "qcom,smmu-500") &&
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
397
!of_device_is_compatible(np, "qcom,sm8250-smmu-500") &&
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
398
of_device_is_compatible(np, "qcom,adreno-smmu")) {
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
462
if (of_device_is_compatible(smmu->dev->of_node, "qcom,msm8998-smmu-v2") &&
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
465
} else if (of_device_is_compatible(smmu->dev->of_node, "qcom,sdm630-smmu-v2")) {
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
541
if (of_device_is_compatible(smmu->dev->of_node, "qcom,sdm630-smmu-v2") &&
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
674
if (np && of_device_is_compatible(np, "qcom,adreno-smmu"))
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
834
WARN(of_device_is_compatible(np, "qcom,adreno-smmu"),
drivers/iommu/arm/arm-smmu/qcom_iommu.c
701
if (of_device_is_compatible(dev->of_node, "qcom,msm-iommu-v2-sec"))
drivers/iommu/arm/arm-smmu/qcom_iommu.c
765
if (of_device_is_compatible(child, "qcom,msm-iommu-v1-sec") ||
drivers/iommu/arm/arm-smmu/qcom_iommu.c
766
of_device_is_compatible(child, "qcom,msm-iommu-v2-sec"))
drivers/iommu/fsl_pamu.c
241
if (of_device_is_compatible(dev->of_node, "fsl,qman-portal"))
drivers/iommu/fsl_pamu.c
243
if (of_device_is_compatible(dev->of_node, "fsl,qman"))
drivers/iommu/fsl_pamu.c
485
if (of_device_is_compatible(node, "fsl,qman-portal"))
drivers/iommu/fsl_pamu.c
487
if (of_device_is_compatible(node, "fsl,qman"))
drivers/iommu/fsl_pamu.c
489
if (of_device_is_compatible(node, "fsl,bman"))
drivers/iommu/omap-iommu.c
1108
if (!of_device_is_compatible(np, "ti,dra7-dsp-iommu"))
drivers/iommu/omap-iommu.c
1127
if (!of_device_is_compatible(np, "ti,dra7-dsp-iommu"))
drivers/irqchip/irq-aspeed-scu-ic.c
258
if (of_device_is_compatible(np, scu_ic_variants[i].compatible))
drivers/irqchip/irq-ast2700-intc0.c
561
if (!of_device_is_compatible(parent, "arm,gic-v3"))
drivers/irqchip/irq-ast2700-intc1.c
240
if (!of_device_is_compatible(parent, "aspeed,ast2700-intc0"))
drivers/irqchip/irq-gic-common.c
23
!of_device_is_compatible(np, quirks->compatible))
drivers/irqchip/irq-gic-v5-irs.c
832
if (!of_device_is_compatible(np, "arm,gic-v5-irs"))
drivers/irqchip/irq-gic-v5-its.c
1212
if (!of_device_is_compatible(np, "arm,gic-v5-its"))
drivers/irqchip/irq-ixp4xx.c
267
is_356 = of_device_is_compatible(np, "intel,ixp43x-interrupt") ||
drivers/irqchip/irq-ixp4xx.c
268
of_device_is_compatible(np, "intel,ixp45x-interrupt") ||
drivers/irqchip/irq-ixp4xx.c
269
of_device_is_compatible(np, "intel,ixp46x-interrupt");
drivers/irqchip/irq-jcore-aic.c
76
if (of_device_is_compatible(node, "jcore,aic1")) {
drivers/irqchip/irq-loongson-eiointc.c
660
if (of_device_is_compatible(of_node, "loongson,ls2k0500-eiointc"))
drivers/irqchip/irq-loongson-liointc.c
331
if (!of_device_is_compatible(node, "loongson,liointc-2.0")) {
drivers/irqchip/irq-lpc32xx.c
197
bool is_mic = of_device_is_compatible(node, "nxp,lpc3220-mic");
drivers/irqchip/irq-ls-extirq.c
203
priv->is_ls1021a_or_ls1043a = of_device_is_compatible(node, "fsl,ls1021a-extirq") ||
drivers/irqchip/irq-ls-extirq.c
204
of_device_is_compatible(node, "fsl,ls1043a-extirq");
drivers/irqchip/irq-omap-intc.c
307
if (of_device_is_compatible(node, "ti,omap2-intc") ||
drivers/irqchip/irq-omap-intc.c
308
of_device_is_compatible(node, "ti,omap3-intc")) {
drivers/irqchip/irq-omap-intc.c
373
if (of_device_is_compatible(node, "ti,dm814-intc") ||
drivers/irqchip/irq-omap-intc.c
374
of_device_is_compatible(node, "ti,dm816-intc") ||
drivers/irqchip/irq-omap-intc.c
375
of_device_is_compatible(node, "ti,am33xx-intc")) {
drivers/irqchip/irq-riscv-intc.c
240
if (of_device_is_compatible(node, "andestech,cpu-intc")) {
drivers/irqchip/irq-ti-sci-inta.c
238
if (of_device_is_compatible(parent_node, "arm,gic-v3")) {
drivers/irqchip/irq-ti-sci-intr.c
164
if (of_device_is_compatible(parent_node, "arm,gic-v3")) {
drivers/irqchip/irq-versatile-fpga.c
238
if (of_device_is_compatible(node, "arm,versatile-sic"))
drivers/irqchip/irq-vf610-mscm-ir.c
220
if (of_device_is_compatible(irq_domain_get_of_node(domain->parent),
drivers/irqchip/qcom-pdc.c
394
if (of_device_is_compatible(node, "qcom,x1e80100-pdc")) {
drivers/macintosh/ams/ams-core.c
189
if (np && of_device_is_compatible(np, "AAPL,accelerometer_1"))
drivers/macintosh/ams/ams-core.c
196
if (np && of_device_is_compatible(np, "sms"))
drivers/macintosh/smu.c
637
if (of_device_is_compatible(np, "smu-sensors"))
drivers/macintosh/via-pmu.c
314
of_device_is_compatible(vias->parent, "ohare"))
drivers/macintosh/via-pmu.c
316
else if (of_device_is_compatible(vias->parent, "paddington"))
drivers/macintosh/via-pmu.c
318
else if (of_device_is_compatible(vias->parent, "heathrow"))
drivers/macintosh/via-pmu.c
320
else if (of_device_is_compatible(vias->parent, "Keylargo")
drivers/macintosh/via-pmu.c
321
|| of_device_is_compatible(vias->parent, "K2-Keylargo")) {
drivers/macintosh/windfarm_smu_controls.c
271
of_device_is_compatible(fans, "smu-rpm-fans"))
drivers/mailbox/arm_mhu.c
117
if (!of_device_is_compatible(dev->of_node, "arm,mhu"))
drivers/mailbox/arm_mhu_db.c
259
if (!of_device_is_compatible(np, "arm,mhu-doorbell"))
drivers/mailbox/arm_mhuv2.c
1076
if (of_device_is_compatible(np, "arm,mhuv2-tx"))
drivers/mailbox/arm_mhuv2.c
1078
else if (of_device_is_compatible(np, "arm,mhuv2-rx"))
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
338
if (of_device_is_compatible(dev->of_node, "mediatek,mt8173-vcodec-dec"))
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
340
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8183-vcodec-dec"))
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
342
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8192-vcodec-dec"))
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
344
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8195-vcodec-dec"))
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
346
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8186-vcodec-dec"))
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
348
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8188-vcodec-dec"))
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c
726
!(of_device_is_compatible(dev->of_node, "mediatek,mt8192-vcodec-dec") ||
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_multi_if.c
727
of_device_is_compatible(dev->of_node, "mediatek,mt8195-vcodec-dec")))
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c
206
if (of_device_is_compatible(dev->of_node, "mediatek,mt8173-vcodec-enc"))
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c
208
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8183-vcodec-enc"))
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c
210
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8192-vcodec-enc"))
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c
212
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8195-vcodec-enc"))
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc.c
214
else if (of_device_is_compatible(dev->of_node, "mediatek,mt8188-vcodec-enc"))
drivers/media/platform/qcom/iris/iris_probe.c
70
of_device_is_compatible(core->dev->of_node, "qcom,sm8250-venus")) {
drivers/media/platform/qcom/venus/pm_helpers.c
1045
of_device_is_compatible(dev->of_node, "qcom,sm8250-venus")) {
drivers/media/platform/verisilicon/hantro_drv.c
1102
if (of_device_is_compatible(pdev->dev.of_node, "nxp,imx8mq-vpu"))
drivers/media/rc/meson-ir.c
419
if (of_device_is_compatible(dev->dev.of_node, "amlogic,meson6-ir"))
drivers/media/rc/meson-ir.c
555
if (of_device_is_compatible(node, "amlogic,meson6-ir"))
drivers/memory/emif.c
886
if (of_device_is_compatible(np_ddr, "jedec,lpddr2-s4"))
drivers/memory/emif.c
888
else if (of_device_is_compatible(np_ddr, "jedec,lpddr2-s2"))
drivers/memory/emif.c
934
if (of_device_is_compatible(np_emif, "ti,emif-4d"))
drivers/memory/emif.c
936
else if (of_device_is_compatible(np_emif, "ti,emif-4d5"))
drivers/memory/mvebu-devbus.c
156
if (of_device_is_compatible(devbus->dev->of_node, "marvell,mvebu-devbus")) {
drivers/memory/mvebu-devbus.c
305
if (of_device_is_compatible(node, "marvell,orion-devbus"))
drivers/memory/of_memory.c
124
if (of_device_is_compatible(np_tim, tim_compat))
drivers/memory/of_memory.c
135
if (of_device_is_compatible(np_tim, tim_compat)) {
drivers/memory/of_memory.c
274
if (of_device_is_compatible(np_tim, tim_compat))
drivers/memory/of_memory.c
285
if (of_device_is_compatible(np_tim, tim_compat)) {
drivers/memory/of_memory.c
351
if (of_device_is_compatible(np, "jedec,lpddr2-s4"))
drivers/memory/of_memory.c
353
else if (of_device_is_compatible(np, "jedec,lpddr2-s2"))
drivers/memory/of_memory.c
355
else if (of_device_is_compatible(np, "jedec,lpddr2-nvm"))
drivers/memory/renesas-rpc-if.c
988
if (of_device_is_compatible(flash, "jedec,spi-nor")) {
drivers/memory/renesas-rpc-if.c
990
} else if (of_device_is_compatible(flash, "cfi-flash")) {
drivers/memory/tegra/tegra20-emc.c
344
if (!of_device_is_compatible(node, "nvidia,tegra20-emc-table")) {
drivers/memory/ti-aemif.c
386
if (np && of_device_is_compatible(np, "ti,da850-aemif"))
drivers/mfd/altera-sysmgr.c
146
if (of_device_is_compatible(np, "altr,sys-mgr-s10")) {
drivers/mfd/db8500-prcmu.c
2979
if (of_device_is_compatible(np, ab8500_cell.of_compatible)) {
drivers/mfd/db8500-prcmu.c
2983
if (of_device_is_compatible(np, ab8505_cell.of_compatible)) {
drivers/mfd/mfd-core.c
196
if (of_device_is_compatible(np, cell->of_compatible)) {
drivers/mfd/palmas.c
437
if (of_device_is_compatible(np, "ti,tps65917"))
drivers/mfd/stmpe.c
1352
if (of_device_is_compatible(child, stmpe_gpio_cell.of_compatible))
drivers/mfd/stmpe.c
1354
else if (of_device_is_compatible(child, stmpe_keypad_cell.of_compatible))
drivers/mfd/stmpe.c
1356
else if (of_device_is_compatible(child, stmpe_ts_cell.of_compatible))
drivers/mfd/stmpe.c
1358
else if (of_device_is_compatible(child, stmpe_adc_cell.of_compatible))
drivers/mfd/stmpe.c
1360
else if (of_device_is_compatible(child, stmpe_pwm_cell.of_compatible))
drivers/mfd/syscon.c
274
return device_node_get_regmap(np, of_device_is_compatible(np, "syscon"), true);
drivers/mfd/tc3589x.c
344
if (of_device_is_compatible(child, "toshiba,tc3589x-gpio"))
drivers/mfd/tc3589x.c
346
if (of_device_is_compatible(child, "toshiba,tc3589x-keypad"))
drivers/mmc/core/mmc.c
399
if (np && of_device_is_compatible(np, "mmc-card"))
drivers/mmc/core/quirks.h
229
if (of_device_is_compatible(np, compatible))
drivers/mmc/host/cavium-octeon.c
178
if (of_device_is_compatible(node, "cavium,octeon-7890-mmc")) {
drivers/mmc/host/cavium-thunderx.c
139
if (of_device_is_compatible(child_node, "mmc-slot")) {
drivers/mmc/host/dw_mmc-exynos.c
388
if (of_device_is_compatible(np, exynos_compat[idx].compatible))
drivers/mmc/host/dw_mmc-rockchip.c
506
if (of_device_is_compatible(host->dev->of_node, "rockchip,rk3288-dw-mshc")) {
drivers/mmc/host/meson-mx-sdio.c
499
if (!of_device_is_compatible(slot_node, "mmc-slot"))
drivers/mmc/host/mmci_stm32_sdmmc.c
742
if (of_device_is_compatible(np, "st,stm32mp25-sdmmc2"))
drivers/mmc/host/sdhci-msm.c
2602
if (of_device_is_compatible(node, "qcom,msm8916-sdhci"))
drivers/mmc/host/sdhci-of-arasan.c
1276
if (of_device_is_compatible(dev->of_node, "xlnx,zynqmp-8.9a")) {
drivers/mmc/host/sdhci-of-arasan.c
1294
if (of_device_is_compatible(dev->of_node, "xlnx,versal-8.9a")) {
drivers/mmc/host/sdhci-of-arasan.c
1305
if (of_device_is_compatible(dev->of_node, "xlnx,versal-net-emmc")) {
drivers/mmc/host/sdhci-of-arasan.c
1928
if (of_device_is_compatible(np, "rockchip,rk3399-sdhci-5.1"))
drivers/mmc/host/sdhci-of-arasan.c
1933
if (of_device_is_compatible(np, "intel,keembay-sdhci-5.1-emmc") ||
drivers/mmc/host/sdhci-of-arasan.c
1934
of_device_is_compatible(np, "intel,keembay-sdhci-5.1-sd") ||
drivers/mmc/host/sdhci-of-arasan.c
1935
of_device_is_compatible(np, "intel,keembay-sdhci-5.1-sdio")) {
drivers/mmc/host/sdhci-of-arasan.c
1948
if (of_device_is_compatible(np, "xlnx,zynqmp-8.9a")) {
drivers/mmc/host/sdhci-of-arasan.c
1964
if (of_device_is_compatible(np, "xlnx,zynqmp-8.9a")) {
drivers/mmc/host/sdhci-of-arasan.c
1974
if (of_device_is_compatible(np, "arasan,sdhci-5.1")) {
drivers/mmc/host/sdhci-of-arasan.c
1999
if (of_device_is_compatible(np, "xlnx,versal-net-emmc"))
drivers/mmc/host/sdhci-of-esdhc.c
1375
if (of_device_is_compatible(np, "fsl,p2020-esdhc")) {
drivers/mmc/host/sdhci-of-esdhc.c
1389
if (of_device_is_compatible(np, "fsl,ls1046a-esdhc") ||
drivers/mmc/host/sdhci-of-esdhc.c
1390
of_device_is_compatible(np, "fsl,ls1028a-esdhc") ||
drivers/mmc/host/sdhci-of-esdhc.c
1391
of_device_is_compatible(np, "fsl,ls1088a-esdhc"))
drivers/mmc/host/sdhci-of-esdhc.c
1475
if (of_device_is_compatible(np, "fsl,p5040-esdhc") ||
drivers/mmc/host/sdhci-of-esdhc.c
1476
of_device_is_compatible(np, "fsl,p5020-esdhc") ||
drivers/mmc/host/sdhci-of-esdhc.c
1477
of_device_is_compatible(np, "fsl,p4080-esdhc") ||
drivers/mmc/host/sdhci-of-esdhc.c
1478
of_device_is_compatible(np, "fsl,p1020-esdhc") ||
drivers/mmc/host/sdhci-of-esdhc.c
1479
of_device_is_compatible(np, "fsl,t1040-esdhc"))
drivers/mmc/host/sdhci-of-esdhc.c
1482
if (of_device_is_compatible(np, "fsl,ls1021a-esdhc"))
drivers/mmc/host/sdhci-of-esdhc.c
1486
if (of_device_is_compatible(np, "fsl,p2020-esdhc")) {
drivers/mmc/host/sdhci-of-esdhc.c
536
if (of_device_is_compatible(dev->of_node, "fsl,ls1043a-esdhc") ||
drivers/mmc/host/sdhci-of-esdhc.c
537
of_device_is_compatible(dev->of_node, "fsl,ls1046a-esdhc")) {
drivers/mmc/host/sdhci-pxav3.c
435
if (of_device_is_compatible(np, "marvell,armada-380-sdhci")) {
drivers/mmc/host/sdhci-st.c
148
if (!of_device_is_compatible(np, "st,sdhci-stih407"))
drivers/mmc/host/sunxi-mmc.c
1436
!of_device_is_compatible(pdev->dev.of_node,
drivers/mtd/hyperbus/hyperbus-core.c
74
if (!of_device_is_compatible(np, "cypress,hyperflash")) {
drivers/mtd/maps/physmap-gemini.c
130
if (!of_device_is_compatible(np, "cortina,gemini-flash"))
drivers/mtd/maps/physmap-ixp4xx.c
121
if (!of_device_is_compatible(np, "intel,ixp4xx-flash"))
drivers/mtd/maps/physmap-versatile.c
198
if (!of_device_is_compatible(np, "arm,versatile-flash"))
drivers/mtd/mtdcore.c
616
config.add_legacy_fixed_of_cells = of_device_is_compatible(node, "nvmem-cells");
drivers/mtd/mtdpart.c
626
if (of_device_is_compatible(child, "nvmem-cells"))
drivers/mtd/nand/raw/arasan-nand-controller.c
1057
if (of_device_is_compatible(np, "xlnx,zynqmp-nand-controller") &&
drivers/mtd/nand/raw/atmel/nand-controller.c
2146
if (of_device_is_compatible(dev->parent->of_node,
drivers/mtd/nand/raw/brcmnand/brcmnand.c
3488
if (of_device_is_compatible(child, "brcm,nandcs")) {
drivers/mtd/nand/raw/stm32_fmc2_nand.c
1883
if (dev->parent && of_device_is_compatible(dev->parent->of_node,
drivers/mtd/nand/raw/stm32_fmc2_nand.c
1887
if (of_device_is_compatible(dev->of_node, "st,stm32mp1-fmc2-nfc")) {
drivers/mtd/nand/raw/vf610_nfc.c
847
if (of_device_is_compatible(child, "fsl,vf610-nfc-nandcs")) {
drivers/mtd/parsers/ofpart_bcm4908.c
58
if (of_device_is_compatible(parts[i].of_node, "brcm,bcm4908-firmware")) {
drivers/mtd/parsers/ofpart_linksys_ns.c
41
if (of_device_is_compatible(parts[i].of_node, "linksys,ns-firmware")) {
drivers/mtd/ubi/build.c
1237
if (!of_device_is_compatible(np, "linux,ubi"))
drivers/mux/mmio.c
68
if (of_device_is_compatible(np, "mmio-mux")) {
drivers/net/dsa/lantiq/lantiq_gswip.c
248
if (of_device_is_compatible(gphy_fw_list_np, "lantiq,xrx200-gphy-fw")) {
drivers/net/dsa/lantiq/lantiq_gswip.c
395
if (!of_device_is_compatible(np, "lantiq,xrx200-gswip"))
drivers/net/dsa/lantiq/lantiq_gswip.c
400
if (!of_device_is_compatible(np, "lantiq,xrx300-gswip") &&
drivers/net/dsa/lantiq/lantiq_gswip.c
401
!of_device_is_compatible(np, "lantiq,xrx330-gswip"))
drivers/net/dsa/microchip/ksz_common.c
4410
if (of_device_is_compatible(dev->dev->of_node, "microchip,ksz8463")) {
drivers/net/dsa/microchip/ksz_common.c
4421
if (of_device_is_compatible(dev->dev->of_node, "microchip,ksz8463")) {
drivers/net/dsa/mt7530.c
2571
if (!of_device_is_compatible(mac_np,
drivers/net/dsa/mv88e6xxx/chip.c
3945
if (of_device_is_compatible(
drivers/net/ethernet/airoha/airoha_eth.c
3331
if (!of_device_is_compatible(node, "airoha,eth-port"))
drivers/net/ethernet/airoha/airoha_eth.c
3470
if (!of_device_is_compatible(np, "airoha,eth-mac"))
drivers/net/ethernet/altera/altera_tse_main.c
130
if (of_device_is_compatible(child_node, "altr,tse-mdio")) {
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
901
if (of_device_is_compatible(child_np,
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
1496
if (!of_device_is_compatible(phy_np, "cortina,cs4223-slice")) {
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
175
if (!of_device_is_compatible(gchild, "pci1131,e101"))
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
336
if (of_device_is_compatible(gchild, "pci1131,e101")) {
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
341
} else if (of_device_is_compatible(gchild,
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
455
if (!of_device_is_compatible(gchild, "pci1131,ee00"))
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
485
if (!of_device_is_compatible(gchild, "pci1131,e101"))
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
768
if (of_device_is_compatible(gchild, "pci1131,e101")) {
drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c
773
} else if (of_device_is_compatible(gchild,
drivers/net/ethernet/freescale/fman/fman_port.c
1795
if (of_device_is_compatible(port_node, "fsl,fman-v3-port-tx")) {
drivers/net/ethernet/freescale/fman/fman_port.c
1801
} else if (of_device_is_compatible(port_node, "fsl,fman-v2-port-tx")) {
drivers/net/ethernet/freescale/fman/fman_port.c
1808
} else if (of_device_is_compatible(port_node, "fsl,fman-v3-port-rx")) {
drivers/net/ethernet/freescale/fman/fman_port.c
1814
} else if (of_device_is_compatible(port_node, "fsl,fman-v2-port-rx")) {
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
929
if (of_device_is_compatible(ofdev->dev.of_node, "fsl,mpc5125-fec"))
drivers/net/ethernet/freescale/gianfar.c
636
if (of_device_is_compatible(np, "fsl,etsec2"))
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
55
if (of_device_is_compatible(np, "hisilicon,hns-dsaf-v1"))
drivers/net/ethernet/hisilicon/hns/hns_enet.c
2271
if (of_device_is_compatible(dev->of_node,
drivers/net/ethernet/ibm/emac/core.c
2870
if (of_device_is_compatible(np, "ibm,emac4sync")) {
drivers/net/ethernet/ibm/emac/core.c
2872
if (of_device_is_compatible(np, "ibm,emac-460ex") ||
drivers/net/ethernet/ibm/emac/core.c
2873
of_device_is_compatible(np, "ibm,emac-460gt"))
drivers/net/ethernet/ibm/emac/core.c
2875
if (of_device_is_compatible(np, "ibm,emac-405ex") ||
drivers/net/ethernet/ibm/emac/core.c
2876
of_device_is_compatible(np, "ibm,emac-405exr"))
drivers/net/ethernet/ibm/emac/core.c
2878
if (of_device_is_compatible(np, "ibm,emac-apm821xx")) {
drivers/net/ethernet/ibm/emac/core.c
2883
} else if (of_device_is_compatible(np, "ibm,emac4")) {
drivers/net/ethernet/ibm/emac/core.c
2885
if (of_device_is_compatible(np, "ibm,emac-440gx"))
drivers/net/ethernet/ibm/emac/core.c
2888
if (of_device_is_compatible(np, "ibm,emac-440ep") ||
drivers/net/ethernet/ibm/emac/core.c
2889
of_device_is_compatible(np, "ibm,emac-440gr"))
drivers/net/ethernet/ibm/emac/core.c
2891
if (of_device_is_compatible(np, "ibm,emac-405ez")) {
drivers/net/ethernet/ibm/emac/core.c
2910
if (of_device_is_compatible(np, "ibm,emac-axon"))
drivers/net/ethernet/ibm/emac/mal.c
534
mal->version = of_device_is_compatible(ofdev->dev.of_node, "ibm,mcmal2") ? 2 : 1;
drivers/net/ethernet/ibm/emac/mal.c
569
if (of_device_is_compatible(ofdev->dev.of_node, "ibm,mcmal-405ez")) {
drivers/net/ethernet/ibm/emac/mal.c
605
if (of_device_is_compatible(ofdev->dev.of_node, "ibm,mcmal-axon"))
drivers/net/ethernet/ibm/emac/rgmii.c
244
if (of_device_is_compatible(ofdev->dev.of_node, "ibm,rgmii-axon"))
drivers/net/ethernet/marvell/mv643xx_eth.c
3117
if (of_device_is_compatible(pdev->dev.of_node,
drivers/net/ethernet/marvell/mvneta.c
5534
if (of_device_is_compatible(dn, "marvell,armada-3700-neta"))
drivers/net/ethernet/marvell/mvneta.c
5536
if (of_device_is_compatible(dn, "marvell,armada-ac5-neta")) {
drivers/net/ethernet/marvell/mvneta.c
5646
} else if (of_device_is_compatible(dn, "marvell,armada-370-neta")) {
drivers/net/ethernet/mediatek/mtk_eth_soc.c
5263
if (!of_device_is_compatible(mac_np,
drivers/net/ethernet/mediatek/mtk_wed_mcu.c
330
if (of_device_is_compatible(wo->hw->node,
drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c
783
if (of_device_is_compatible(np, "qcom,qcs404-ethqos"))
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
311
if (of_device_is_compatible(mdio_node,
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
500
if (of_device_is_compatible(np, "st,spear600-gmac") ||
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
501
of_device_is_compatible(np, "snps,dwmac-3.50a") ||
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
502
of_device_is_compatible(np, "snps,dwmac-3.70a") ||
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
503
of_device_is_compatible(np, "snps,dwmac-3.72a") ||
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
504
of_device_is_compatible(np, "snps,dwmac")) {
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
525
if (of_device_is_compatible(np, "snps,dwmac-3.40a")) {
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
540
if (of_device_is_compatible(np, "snps,dwmac-3.610") ||
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
541
of_device_is_compatible(np, "snps,dwmac-3.710")) {
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
547
if (of_device_is_compatible(np, "snps,dwxgmac")) {
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
587
if (!of_device_is_compatible(np, "snps,dwc-qos-ethernet-4.10")) {
drivers/net/ethernet/ti/cpsw-common.c
76
if (of_device_is_compatible(dev->of_node, "ti,am3517-emac"))
drivers/net/ethernet/ti/cpsw-common.c
79
if (of_device_is_compatible(dev->of_node, "ti,dm816-emac"))
drivers/net/ethernet/ti/netcp_ethss.c
3562
if (of_device_is_compatible(node, "ti,netcp-gbe-5") ||
drivers/net/ethernet/ti/netcp_ethss.c
3563
of_device_is_compatible(node, "ti,netcp-gbe")) {
drivers/net/ethernet/ti/netcp_ethss.c
3565
} else if (of_device_is_compatible(node, "ti,netcp-gbe-9")) {
drivers/net/ethernet/ti/netcp_ethss.c
3567
} else if (of_device_is_compatible(node, "ti,netcp-gbe-2")) {
drivers/net/ethernet/ti/netcp_ethss.c
3570
} else if (of_device_is_compatible(node, "ti,netcp-xgbe")) {
drivers/net/mdio/mdio-realtek-rtl9300.c
636
if (of_device_is_compatible(phy_dn, "ethernet-phy-ieee802.3-c45"))
drivers/net/mdio/of_mdio.c
119
if (of_device_is_compatible(child, "ethernet-phy-ieee802.3-c45"))
drivers/net/mdio/of_mdio.c
122
if (of_device_is_compatible(child, "ethernet-phy-ieee802.3-c22"))
drivers/net/wan/framer/pef2256/pef2256.c
634
if (of_device_is_compatible(np, compatible))
drivers/net/wireless/ath/wcn36xx/main.c
1514
wcn->is_pronto = !!of_device_is_compatible(mmio_node, "qcom,pronto");
drivers/net/wireless/ath/wcn36xx/main.c
1515
wcn->is_pronto_v3 = !!of_device_is_compatible(mmio_node, "qcom,pronto-v3-pil");
drivers/net/wireless/ath/wcn36xx/main.c
1538
if (of_device_is_compatible(iris_node, "qcom,wcn3620"))
drivers/net/wireless/ath/wcn36xx/main.c
1540
if (of_device_is_compatible(iris_node, "qcom,wcn3660") ||
drivers/net/wireless/ath/wcn36xx/main.c
1541
of_device_is_compatible(iris_node, "qcom,wcn3660b"))
drivers/net/wireless/ath/wcn36xx/main.c
1543
if (of_device_is_compatible(iris_node, "qcom,wcn3680"))
drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c
124
if (!np || !of_device_is_compatible(np, "brcm,bcm4329-fmac"))
drivers/nvmem/core.c
852
if (of_device_is_compatible(layout_np, "fixed-layout"))
drivers/of/address.c
403
if (of_device_is_compatible(np, "1682m-sdc"))
drivers/of/base.c
398
EXPORT_SYMBOL(of_device_is_compatible);
drivers/of/base.c
413
tmp = of_device_is_compatible(device, *compat);
drivers/of/base.c
871
if (of_device_is_compatible(child, compatible))
drivers/of/device.c
56
if (of_device_is_compatible(it.node, "restricted-dma-pool") &&
drivers/of/overlay_test.c
56
return of_device_is_compatible(dev->of_node, data);
drivers/of/platform.c
287
if (!of_device_is_compatible(np, auxdata->compatible))
drivers/of/platform.c
303
if (!of_device_is_compatible(np, auxdata->compatible))
drivers/of/platform.c
361
if (of_device_is_compatible(bus, "arm,primecell")) {
drivers/pci/controller/dwc/pci-keystone.c
1174
if (of_device_is_compatible(np, "ti,am654-pcie-rc"))
drivers/pci/controller/dwc/pcie-dw-rockchip.c
466
if (!of_device_is_compatible(dev->of_node, "rockchip,rk3588-pcie-ep"))
drivers/pci/controller/dwc/pcie-qcom.c
453
bool is_apq = of_device_is_compatible(dev->of_node, "qcom,pcie-apq8064");
drivers/pci/controller/dwc/pcie-qcom.c
546
if (of_device_is_compatible(node, "qcom,pcie-ipq8064") ||
drivers/pci/controller/dwc/pcie-qcom.c
547
of_device_is_compatible(node, "qcom,pcie-ipq8064-v2")) {
drivers/pci/controller/dwc/pcie-qcom.c
558
if (of_device_is_compatible(node, "qcom,pcie-ipq8064")) {
drivers/pci/controller/dwc/pcie-qcom.c
569
if (!of_device_is_compatible(node, "qcom,pcie-apq8064"))
drivers/pci/controller/dwc/pcie-qcom.c
772
bool is_ipq = of_device_is_compatible(dev->of_node, "qcom,pcie-ipq4019");
drivers/pci/controller/pci-ixp4xx.c
548
if (of_device_is_compatible(np, "intel,ixp42x-pci")) {
drivers/pci/controller/pci-tegra.c
1838
if (of_device_is_compatible(np, "nvidia,tegra186-pcie")) {
drivers/pci/controller/pci-tegra.c
1862
} else if (of_device_is_compatible(np, "nvidia,tegra124-pcie") ||
drivers/pci/controller/pci-tegra.c
1863
of_device_is_compatible(np, "nvidia,tegra210-pcie")) {
drivers/pci/controller/pci-tegra.c
1875
} else if (of_device_is_compatible(np, "nvidia,tegra30-pcie")) {
drivers/pci/controller/pci-tegra.c
1892
} else if (of_device_is_compatible(np, "nvidia,tegra20-pcie")) {
drivers/pci/controller/pci-tegra.c
1943
if (of_device_is_compatible(np, "nvidia,tegra30-pcie"))
drivers/pci/controller/pci-tegra.c
1945
else if (of_device_is_compatible(np, "nvidia,tegra20-pcie"))
drivers/pci/controller/pci-tegra.c
1983
if (of_device_is_compatible(np, "nvidia,tegra186-pcie")) {
drivers/pci/controller/pci-tegra.c
1996
} else if (of_device_is_compatible(np, "nvidia,tegra210-pcie")) {
drivers/pci/controller/pci-tegra.c
2008
} else if (of_device_is_compatible(np, "nvidia,tegra124-pcie")) {
drivers/pci/controller/pci-tegra.c
2021
} else if (of_device_is_compatible(np, "nvidia,tegra30-pcie")) {
drivers/pci/controller/pci-tegra.c
2055
} else if (of_device_is_compatible(np, "nvidia,tegra20-pcie")) {
drivers/pci/controller/pci-v3-semi.c
860
if (of_device_is_compatible(np, "arm,integrator-ap-pci")) {
drivers/pci/controller/pcie-iproc-msi.c
521
if (!of_device_is_compatible(node, "brcm,iproc-msi"))
drivers/pci/controller/pcie-iproc.c
1229
if (!of_device_is_compatible(msi_node, "arm,gic-v3-its")) {
drivers/perf/arm_smmuv3_pmu.c
814
return of_device_is_compatible(smmu_pmu->dev->of_node,
drivers/perf/xgene_pmu.c
1666
if (of_device_is_compatible(np, "apm,xgene-pmu-l3c"))
drivers/perf/xgene_pmu.c
1668
else if (of_device_is_compatible(np, "apm,xgene-pmu-iob"))
drivers/perf/xgene_pmu.c
1670
else if (of_device_is_compatible(np, "apm,xgene-pmu-mcb"))
drivers/perf/xgene_pmu.c
1672
else if (of_device_is_compatible(np, "apm,xgene-pmu-mc"))
drivers/phy/marvell/phy-berlin-sata.c
224
if (of_device_is_compatible(dev->of_node, "marvell,berlin2-sata-phy"))
drivers/phy/phy-core.c
633
if (of_device_is_compatible(args.np, "usb-nop-xceiv")) {
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
5315
if (of_device_is_compatible(dev->of_node, "qcom,sdm845-qhp-pcie-phy"))
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
5341
of_device_is_compatible(dev->of_node, "qcom,ipq6018-qmp-pcie-phy"))
drivers/phy/qualcomm/phy-qcom-qmp-usb.c
2284
if (of_device_is_compatible(dev->of_node, "qcom,sdx65-qmp-usb3-uni-phy"))
drivers/phy/qualcomm/phy-qcom-qmp-usb.c
2286
if (of_device_is_compatible(dev->of_node, "qcom,sm8350-qmp-usb3-uni-phy"))
drivers/phy/ralink/phy-ralink-usb.c
190
if (of_device_is_compatible(dev->of_node, "mediatek,mt7628-usbphy")) {
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c
480
if (!of_device_is_compatible(np, "rockchip,rk3588-naneng-combphy") &&
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c
481
!of_device_is_compatible(np, "rockchip,rk3576-naneng-combphy"))
drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
274
if (of_device_is_compatible(np, "rockchip,rk3588-pcie3-phy")) {
drivers/phy/xilinx/phy-zynqmp.c
998
if (of_device_is_compatible(np, "xlnx,zynqmp-psgtr"))
drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
2655
if (!of_device_is_compatible(np->parent, "aspeed,ast2500-lpc-v2"))
drivers/pinctrl/bcm/pinctrl-bcm2835.c
1324
is_7211 = of_device_is_compatible(np, "brcm,bcm7211-gpio");
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c
816
if (of_device_is_compatible(dev->of_node, "brcm,iproc-nsp-gpio"))
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c
819
else if (of_device_is_compatible(dev->of_node,
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c
841
if (of_device_is_compatible(dev->of_node,
drivers/pinctrl/freescale/pinctrl-mxs.c
400
return of_device_is_compatible(child, "fsl,imx23-gpio") ||
drivers/pinctrl/freescale/pinctrl-mxs.c
401
of_device_is_compatible(child, "fsl,imx28-gpio");
drivers/pinctrl/pinctrl-at91.c
1152
if (of_device_is_compatible(child, gpio_compat)) {
drivers/pinctrl/pinctrl-at91.c
1349
if (of_device_is_compatible(child, gpio_compat))
drivers/pinctrl/qcom/pinctrl-msm.c
1558
pctrl->intr_target_use_scm = of_device_is_compatible(
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c
904
if (of_device_is_compatible(pdev->dev.of_node, "qcom,pm8821-mpp"))
drivers/pmdomain/samsung/exynos-pm-domains.c
137
of_device_is_compatible(np, "samsung,exynos4210-pd"))
drivers/pmdomain/ti/omap_prm.c
617
if (!of_device_is_compatible(np, "simple-pm-bus"))
drivers/pmdomain/xilinx/zynqmp-pm-domains.c
265
if (!of_device_is_compatible(dev->parent->of_node,
drivers/power/reset/at91-reset.c
356
if (!of_device_is_compatible(pdev->dev.of_node, "atmel,sama5d3-rstc")) {
drivers/power/reset/at91-reset.c
393
if (of_device_is_compatible(pdev->dev.of_node, "microchip,sam9x60-rstc")) {
drivers/power/reset/odroid-go-ultra-poweroff.c
145
if (!of_device_is_compatible(of_root, "hardkernel,odroid-go-ultra"))
drivers/power/reset/odroid-go-ultra-poweroff.c
166
if (!of_device_is_compatible(of_root, "hardkernel,odroid-go-ultra"))
drivers/power/sequencing/pwrseq-thead-gpu.c
126
if (!of_device_is_compatible(dev->of_node, "thead,th1520-gpu"))
drivers/power/supply/olpc_battery.c
684
if (of_device_is_compatible(pdev->dev.of_node, "olpc,xo1.5-battery")) {
drivers/power/supply/sbs-battery.c
318
if (of_device_is_compatible(client->dev.parent->of_node, "google,cros-ec-i2c-tunnel")
drivers/ptp/ptp_qoriq.c
512
if (of_device_is_compatible(node, "fsl,dpaa2-ptp") ||
drivers/ptp/ptp_qoriq.c
513
of_device_is_compatible(node, "fsl,enetc-ptp"))
drivers/ptp/ptp_qoriq.c
546
if (of_device_is_compatible(node, "fsl,etsec-ptp")) {
drivers/pwm/pwm-cros-ec.c
225
if (of_device_is_compatible(np, "google,cros-ec-pwm-type")) {
drivers/pwm/pwm-spear.c
216
if (of_device_is_compatible(np, "st,spear1340-pwm")) {
drivers/pwm/pwm-tiecap.c
235
if (of_device_is_compatible(np, "ti,am33xx-ecap")) {
drivers/pwm/pwm-tiehrpwm.c
429
if (of_device_is_compatible(np, "ti,am33xx-ecap")) {
drivers/regulator/max5970-regulator.c
573
if (of_device_is_compatible(i2c->dev.of_node, "maxim,max5978"))
drivers/regulator/max5970-regulator.c
575
else if (of_device_is_compatible(i2c->dev.of_node, "maxim,max5970"))
drivers/regulator/palmas-regulator.c
1619
if (of_device_is_compatible(node, "ti,tps659038-pmic")) {
drivers/remoteproc/mtk_scp.c
1376
if (of_device_is_compatible(child, "mediatek,scp-core"))
drivers/remoteproc/st_slim_rproc.c
234
if (!of_device_is_compatible(np, "st,slim-rproc"))
drivers/reset/reset-microchip-sparx5.c
114
if (of_device_is_compatible(pdev->dev.of_node, "microchip,lan966x-switch-reset"))
drivers/reset/reset-th1520.c
913
if (of_device_is_compatible(dev->of_node, "thead,th1520-reset")) {
drivers/rtc/rtc-da9063.c
374
if (of_device_is_compatible(pdev->dev.of_node, "dlg,da9063-rtc")) {
drivers/rtc/rtc-mpc5121.c
341
if (of_device_is_compatible(op->dev.of_node, "fsl,mpc5121-rtc")) {
drivers/rtc/rtc-sa1100.c
279
of_device_is_compatible(pdev->dev.of_node, "mrvl,sa1100-rtc")) {
drivers/soc/aspeed/aspeed-lpc-ctrl.c
277
if (!of_device_is_compatible(np, "aspeed,ast2400-lpc-v2") &&
drivers/soc/aspeed/aspeed-lpc-ctrl.c
278
!of_device_is_compatible(np, "aspeed,ast2500-lpc-v2") &&
drivers/soc/aspeed/aspeed-lpc-ctrl.c
279
!of_device_is_compatible(np, "aspeed,ast2600-lpc-v2")) {
drivers/soc/aspeed/aspeed-lpc-ctrl.c
290
if (of_device_is_compatible(dev->of_node, "aspeed,ast2600-lpc-ctrl")) {
drivers/soc/aspeed/aspeed-lpc-snoop.c
308
if (!of_device_is_compatible(np, "aspeed,ast2400-lpc-v2") &&
drivers/soc/aspeed/aspeed-lpc-snoop.c
309
!of_device_is_compatible(np, "aspeed,ast2500-lpc-v2") &&
drivers/soc/aspeed/aspeed-lpc-snoop.c
310
!of_device_is_compatible(np, "aspeed,ast2600-lpc-v2")) {
drivers/soc/bcm/brcmstb/biuctrl.c
275
if (of_device_is_compatible(cpu_dn, "brcm,brahma-b15"))
drivers/soc/bcm/brcmstb/biuctrl.c
277
else if (of_device_is_compatible(cpu_dn, "brcm,brahma-b53"))
drivers/soc/bcm/brcmstb/biuctrl.c
279
else if (of_device_is_compatible(cpu_dn, "arm,cortex-a72"))
drivers/soc/fsl/rcpm.c
136
if (of_device_is_compatible(np, "fsl,ls1021a-rcpm"))
drivers/soc/qcom/apr.c
603
if (of_device_is_compatible(dev->of_node, "qcom,gpr")) {
drivers/soc/samsung/exynos-asv.c
36
if (of_device_is_compatible(cpu->of_node,
drivers/soc/sunxi/sunxi_sram.c
133
if (!of_device_is_compatible(sram_node, "mmio-sram"))
drivers/soc/tegra/fuse/fuse-tegra20.c
94
return of_device_is_compatible(np, "nvidia,tegra20-apbdma");
drivers/spi/spi-cadence-quadspi.c
1804
if (of_device_is_compatible(pdev->dev.of_node, "starfive,jh7110-qspi"))
drivers/spi/spi-cadence-quadspi.c
1806
if (of_device_is_compatible(pdev->dev.of_node, "renesas,rzn1-qspi"))
drivers/spi/spi-cadence.c
728
if (of_device_is_compatible(pdev->dev.of_node, "cix,sky1-spi-r1p6"))
drivers/spi/spi-fsl-lib.c
151
else if (of_device_is_compatible(np, "fsl,cpm2-spi"))
drivers/spi/spi-fsl-lib.c
153
else if (of_device_is_compatible(np, "fsl,cpm1-spi"))
drivers/spi/spi-npcm-fiu.c
630
if (of_device_is_compatible(fiu->dev->of_node, "nuvoton,npcm750-fiu")) {
drivers/spi/spi-nxp-fspi.c
1159
if (of_device_is_compatible(f->dev->of_node, "nxp,lx2160a-fspi"))
drivers/spi/spi-orion.c
710
if (of_device_is_compatible(pdev->dev.of_node,
drivers/spi/spi-stm32-ospi.c
894
if (of_device_is_compatible(child, "jedec,spi-nor") ||
drivers/spi/spi-stm32-ospi.c
895
of_device_is_compatible(child, "spi-nand"))
drivers/spmi/spmi-pmic-arb.c
2052
if (of_device_is_compatible(node, "qcom,spmi-pmic-arb"))
drivers/tty/ehv_bytechan.c
117
if (!np || !of_device_is_compatible(np, "epapr,hv-byte-channel"))
drivers/tty/hvc/hvc_opal.c
163
if (of_device_is_compatible(dev->dev.of_node, "ibm,opal-console-raw")) {
drivers/tty/hvc/hvc_opal.c
166
} else if (of_device_is_compatible(dev->dev.of_node,
drivers/tty/hvc/hvc_opal.c
370
if (of_device_is_compatible(stdout_node, "ibm,opal-console-raw")) {
drivers/tty/hvc/hvc_opal.c
375
else if (of_device_is_compatible(stdout_node,"ibm,opal-console-hvsi")) {
drivers/tty/hvc/hvc_vio.c
311
if (of_device_is_compatible(vdev->dev.of_node, "hvterm1")) {
drivers/tty/hvc/hvc_vio.c
314
} else if (of_device_is_compatible(vdev->dev.of_node, "hvterm-protocol")) {
drivers/tty/hvc/hvc_vio.c
404
if (of_device_is_compatible(of_stdout, "hvterm1")) {
drivers/tty/hvc/hvc_vio.c
408
else if (of_device_is_compatible(of_stdout, "hvterm-protocol")) {
drivers/tty/serial/8250/8250_of.c
150
if (of_device_is_compatible(np, "mrvl,mmp-uart"))
drivers/tty/serial/8250/8250_of.c
185
(of_device_is_compatible(np, "fsl,ns16550") ||
drivers/tty/serial/8250/8250_of.c
186
of_device_is_compatible(np, "fsl,16550-FIFO64"))) {
drivers/tty/serial/8250/8250_of.c
210
of_device_is_compatible(ofdev->dev.of_node, "brcm,bcm7271-uart"))
drivers/tty/serial/cpm_uart.c
1290
if (of_device_is_compatible(np, "fsl,cpm1-scc-uart") ||
drivers/tty/serial/cpm_uart.c
1291
of_device_is_compatible(np, "fsl,cpm2-scc-uart")) {
drivers/tty/serial/cpm_uart.c
1294
} else if (of_device_is_compatible(np, "fsl,cpm1-smc-uart") ||
drivers/tty/serial/cpm_uart.c
1295
of_device_is_compatible(np, "fsl,cpm2-smc-uart")) {
drivers/tty/serial/cpm_uart.c
1410
if (!of_device_is_compatible(np, "fsl,cpm1-smc-uart") &&
drivers/tty/serial/cpm_uart.c
1411
!of_device_is_compatible(np, "fsl,cpm1-scc-uart") &&
drivers/tty/serial/cpm_uart.c
1412
!of_device_is_compatible(np, "fsl,cpm2-smc-uart") &&
drivers/tty/serial/cpm_uart.c
1413
!of_device_is_compatible(np, "fsl,cpm2-scc-uart"))
drivers/tty/serial/pmac_zilog.c
1371
if (of_device_is_compatible(np, "cobalt"))
drivers/tty/serial/pmac_zilog.c
1429
of_device_is_compatible(np->parent->parent, "gatwick")) {
drivers/tty/serial/sunsab.c
1115
if (of_device_is_compatible(dp, "sab82532"))
drivers/tty/serial/sunsu.c
1546
if (of_device_is_compatible(dp, "su")) {
drivers/tty/serial/sunsu.c
1552
if (of_device_is_compatible(dp, "su")) {
drivers/usb/chipidea/ci_hdrc_imx.c
512
if ((of_device_is_compatible(np, "fsl,imx53-usb") ||
drivers/usb/chipidea/ci_hdrc_imx.c
513
of_device_is_compatible(np, "fsl,imx51-usb")) && pdata.usb_phy &&
drivers/usb/chipidea/ci_hdrc_msm.c
248
ci->hsic = of_device_is_compatible(phy_node, "qcom,usb-hsic-phy");
drivers/usb/dwc3/core.c
2235
if (of_device_is_compatible(parent, "realtek,rtd-dwc3")) {
drivers/usb/dwc3/dwc3-keystone.c
136
if (of_device_is_compatible(node, "ti,am654-dwc3"))
drivers/usb/dwc3/dwc3-keystone.c
190
if (!of_device_is_compatible(node, "ti,am654-dwc3"))
drivers/usb/dwc3/dwc3-of-simple.c
52
if (of_device_is_compatible(np, "rockchip,rk3399-dwc3"))
drivers/usb/dwc3/dwc3-omap.c
380
if (of_device_is_compatible(node, "ti,am437x-dwc3")) {
drivers/usb/fotg210/fotg210-core.c
150
if (of_device_is_compatible(dev->of_node, "cortina,gemini-usb")) {
drivers/usb/host/ehci-fsl.c
399
if (of_device_is_compatible(dev->parent->of_node,
drivers/usb/host/ehci-fsl.c
573
if (of_device_is_compatible(dev->parent->of_node,
drivers/usb/host/ehci-fsl.c
594
if (of_device_is_compatible(dev->parent->of_node,
drivers/usb/host/ehci-orion.c
182
if (of_device_is_compatible(dev->of_node, "marvell,armada-3700-ehci"))
drivers/usb/host/ehci-platform.c
305
if (of_device_is_compatible(dev->dev.of_node,
drivers/usb/host/ehci-platform.c
307
of_device_is_compatible(dev->dev.of_node,
drivers/usb/host/ehci-platform.c
309
of_device_is_compatible(dev->dev.of_node,
drivers/usb/host/ehci-platform.c
80
if (of_device_is_compatible(pdev->dev.of_node, "brcm,xgs-iproc-ehci"))
drivers/usb/host/ehci-ppc-of.c
165
if (of_device_is_compatible(dn, "ibm,usb-ehci-440epx")) {
drivers/usb/host/fsl-mph-dr-of.c
142
if (of_device_is_compatible(np, "fsl-usb2-dr")) {
drivers/usb/host/fsl-mph-dr-of.c
143
if (of_device_is_compatible(np, "fsl-usb2-dr-v1.6"))
drivers/usb/host/fsl-mph-dr-of.c
145
else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.2"))
drivers/usb/host/fsl-mph-dr-of.c
147
else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.4"))
drivers/usb/host/fsl-mph-dr-of.c
149
else if (of_device_is_compatible(np, "fsl-usb2-dr-v2.5"))
drivers/usb/host/fsl-mph-dr-of.c
158
if (of_device_is_compatible(np, "fsl,mpc5121-usb2-dr"))
drivers/usb/host/fsl-mph-dr-of.c
161
if (of_device_is_compatible(np, "fsl-usb2-mph")) {
drivers/usb/host/fsl-mph-dr-of.c
162
if (of_device_is_compatible(np, "fsl-usb2-mph-v1.6"))
drivers/usb/host/fsl-mph-dr-of.c
164
else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.2"))
drivers/usb/host/fsl-mph-dr-of.c
166
else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.4"))
drivers/usb/host/fsl-mph-dr-of.c
168
else if (of_device_is_compatible(np, "fsl-usb2-mph-v2.5"))
drivers/usb/host/fsl-mph-dr-of.c
203
if (of_device_is_compatible(np, "fsl-usb2-mph")) {
drivers/usb/host/ohci-ppc-of.c
101
of_device_is_compatible(dn, "ohci-bigendian") ||
drivers/usb/host/ohci-ppc-of.c
102
of_device_is_compatible(dn, "ohci-be");
drivers/usb/host/ohci-ppc-of.c
134
if (of_device_is_compatible(dn, "fsl,mpc5200-ohci"))
drivers/usb/host/ohci-ppc-of.c
136
if (of_device_is_compatible(dn, "mpc5200-ohci"))
drivers/usb/host/pci-quirks.c
1278
is_rpi = of_device_is_compatible(parent, "brcm,bcm2711-pcie");
drivers/usb/host/uhci-platform.c
120
if (of_device_is_compatible(np, "aspeed,ast2400-uhci") ||
drivers/usb/host/uhci-platform.c
121
of_device_is_compatible(np, "aspeed,ast2500-uhci") ||
drivers/usb/host/uhci-platform.c
122
of_device_is_compatible(np, "aspeed,ast2600-uhci") ||
drivers/usb/host/uhci-platform.c
123
of_device_is_compatible(np, "aspeed,ast2700-uhci")) {
drivers/usb/host/xhci-mtk.c
145
if (!of_device_is_compatible(dev->of_node, "mediatek,mt8195-xhci"))
drivers/usb/isp1760/isp1760-if.c
209
if (of_device_is_compatible(dp, "nxp,usb-isp1761"))
drivers/usb/isp1760/isp1760-if.c
212
if (of_device_is_compatible(dp, "nxp,usb-isp1763"))
drivers/usb/misc/onboard_usb_dev.c
486
if (of_device_is_compatible(pdev->dev.of_node, "usb424,2744") ||
drivers/usb/misc/onboard_usb_dev.c
487
of_device_is_compatible(pdev->dev.of_node, "usb424,5744")) {
drivers/usb/musb/musb_dsps.c
880
if (of_device_is_compatible(pdev->dev.of_node, "ti,musb-dm816"))
drivers/video/backlight/qcom-wled.c
1458
if (of_device_is_compatible(dev->of_node, "qcom,pmi8950-wled") ||
drivers/video/backlight/qcom-wled.c
1459
of_device_is_compatible(dev->of_node, "qcom,pmi8994-wled")) {
drivers/video/fbdev/offb.c
353
} else if (dp && (of_device_is_compatible(dp, "pci1014,b7") ||
drivers/video/fbdev/offb.c
354
of_device_is_compatible(dp, "pci1014,21c"))) {
drivers/video/fbdev/offb.c
372
} else if (dp && of_device_is_compatible(dp, "qemu,std-vga")) {
drivers/virt/fsl_hypervisor.c
855
if (of_device_is_compatible(np, "fsl,hv-shutdown-doorbell")) {
drivers/virt/fsl_hypervisor.c
859
} else if (of_device_is_compatible(np,
drivers/virtio/virtio.c
504
if (!of_device_is_compatible(np, compat)) {
drivers/watchdog/aspeed_wdt.c
272
if (!of_device_is_compatible(pdev->dev.of_node, "aspeed,ast2400-wdt")) {
drivers/watchdog/aspeed_wdt.c
297
if (of_device_is_compatible(pdev->dev.of_node, "aspeed,ast2400-wdt") ||
drivers/watchdog/aspeed_wdt.c
298
of_device_is_compatible(pdev->dev.of_node, "aspeed,ast2500-wdt")) {
drivers/watchdog/aspeed_wdt.c
460
if (of_device_is_compatible(np, "aspeed,ast2400-wdt"))
drivers/watchdog/aspeed_wdt.c
499
if (!of_device_is_compatible(np, "aspeed,ast2400-wdt")) {
drivers/watchdog/aspeed_wdt.c
558
if (of_device_is_compatible(np, "aspeed,ast2400-wdt") ||
drivers/watchdog/aspeed_wdt.c
559
of_device_is_compatible(np, "aspeed,ast2500-wdt"))
drivers/watchdog/imx2_wdt.c
341
wdev->no_ping = !of_device_is_compatible(dev->of_node, "fsl,imx7d-wdt");
drivers/watchdog/orion_wdt.c
516
if (of_device_is_compatible(node, "marvell,orion-wdt")) {
drivers/watchdog/orion_wdt.c
523
} else if (of_device_is_compatible(node, "marvell,armada-370-wdt") ||
drivers/watchdog/orion_wdt.c
524
of_device_is_compatible(node, "marvell,armada-xp-wdt")) {
drivers/watchdog/orion_wdt.c
531
} else if (of_device_is_compatible(node, "marvell,armada-375-wdt") ||
drivers/watchdog/orion_wdt.c
532
of_device_is_compatible(node, "marvell,armada-380-wdt")) {
drivers/watchdog/sama5d4_wdt.c
263
if (of_device_is_compatible(dev->of_node, "microchip,sam9x60-wdt") ||
drivers/watchdog/sama5d4_wdt.c
264
of_device_is_compatible(dev->of_node, "microchip,sama7g5-wdt"))
drivers/xen/grant-dma-ops.c
340
if (!of_device_is_compatible(iommu_spec.np, "xen,grant-dma") ||
include/linux/mfd/ti_am335x_tscadc.h
187
return of_device_is_compatible(tscadc->dev->of_node,
include/linux/of.h
359
extern int of_device_is_compatible(const struct device_node *device,
sound/ac97/bus.c
81
!of_device_is_compatible(node, compat))
sound/aoa/soundbus/i2sbus/core.c
352
if (of_device_is_compatible(np, "i2sbus") ||
sound/aoa/soundbus/i2sbus/core.c
353
of_device_is_compatible(np, "i2s-modem")) {
sound/hda/controllers/tegra.c
304
if (of_device_is_compatible(np, "nvidia,tegra194-hda")) {
sound/hda/controllers/tegra.c
377
if (of_device_is_compatible(np, "nvidia,tegra30-hda"))
sound/ppc/pmac.c
869
if (of_device_is_compatible(mio, "Keylargo"))
sound/ppc/pmac.c
936
if (of_device_is_compatible(chip->node->parent->parent,
sound/ppc/pmac.c
969
if (of_device_is_compatible(sound, "screamer")) {
sound/ppc/pmac.c
973
if (of_device_is_compatible(sound, "burgundy")) {
sound/ppc/pmac.c
977
if (of_device_is_compatible(sound, "daca")) {
sound/ppc/pmac.c
984
if (of_device_is_compatible(sound, "tumbler")) {
sound/ppc/pmac.c
998
if (of_device_is_compatible(sound, "snapper")) {
sound/ppc/tumbler.c
1084
if (of_device_is_compatible(np, name))
sound/soc/codecs/lpass-tx-macro.c
2289
if (of_device_is_compatible(np, "qcom,sc7280-lpass-tx-macro")) {
sound/soc/fsl/fsl-asoc-card.c
563
if (of_device_is_compatible(codec_np[i], "linux,spdif-dit")) {
sound/soc/fsl/fsl-asoc-card.c
566
} else if (of_device_is_compatible(codec_np[i], "linux,spdif-dir")) {
sound/soc/fsl/fsl-asoc-card.c
826
if (of_device_is_compatible(np, "fsl,imx-audio-cs42888")) {
sound/soc/fsl/fsl-asoc-card.c
842
} else if (of_device_is_compatible(np, "fsl,imx-audio-cs427x")) {
sound/soc/fsl/fsl-asoc-card.c
846
} else if (of_device_is_compatible(np, "fsl,imx-audio-sgtl5000")) {
sound/soc/fsl/fsl-asoc-card.c
850
} else if (of_device_is_compatible(np, "fsl,imx-audio-tlv320aic32x4")) {
sound/soc/fsl/fsl-asoc-card.c
853
} else if (of_device_is_compatible(np, "fsl,imx-audio-tlv320aic31xx")) {
sound/soc/fsl/fsl-asoc-card.c
862
} else if (of_device_is_compatible(np, "fsl,imx-audio-wm8962")) {
sound/soc/fsl/fsl-asoc-card.c
874
} else if (of_device_is_compatible(np, "fsl,imx-audio-wm8960")) {
sound/soc/fsl/fsl-asoc-card.c
892
} else if (of_device_is_compatible(np, "fsl,imx-audio-ac97")) {
sound/soc/fsl/fsl-asoc-card.c
897
} else if (of_device_is_compatible(np, "fsl,imx-audio-mqs")) {
sound/soc/fsl/fsl-asoc-card.c
906
} else if (of_device_is_compatible(np, "fsl,imx-audio-wm8524")) {
sound/soc/fsl/fsl-asoc-card.c
916
} else if (of_device_is_compatible(np, "fsl,imx-audio-si476x")) {
sound/soc/fsl/fsl-asoc-card.c
921
} else if (of_device_is_compatible(np, "fsl,imx-audio-wm8958")) {
sound/soc/fsl/fsl-asoc-card.c
930
} else if (of_device_is_compatible(np, "fsl,imx-audio-nau8822")) {
sound/soc/fsl/fsl-asoc-card.c
938
} else if (of_device_is_compatible(np, "fsl,imx-audio-wm8904")) {
sound/soc/fsl/fsl-asoc-card.c
945
} else if (of_device_is_compatible(np, "fsl,imx-audio-spdif")) {
sound/soc/fsl/fsl_asrc.c
1321
if (of_device_is_compatible(np, "fsl,imx35-asrc")) {
sound/soc/fsl/fsl_asrc.c
1324
} else if (of_device_is_compatible(np, "fsl,imx53-asrc")) {
sound/soc/fsl/fsl_asrc.c
1327
} else if (of_device_is_compatible(np, "fsl,imx8qm-asrc") ||
sound/soc/fsl/fsl_asrc.c
1328
of_device_is_compatible(np, "fsl,imx8qxp-asrc")) {
sound/soc/fsl/fsl_asrc.c
1339
if (of_device_is_compatible(np, "fsl,imx8qm-asrc")) {
sound/soc/fsl/fsl_asrc.c
1346
} else if (of_device_is_compatible(np, "fsl,imx952-asrc")) {
sound/soc/fsl/fsl_micfil.c
1555
if (of_device_is_compatible(np, "fsl,imx943-micfil"))
sound/soc/fsl/fsl_rpmsg.c
240
if (of_device_is_compatible(np, "fsl,imx8mm-rpmsg-audio"))
sound/soc/fsl/fsl_sai.c
1662
of_device_is_compatible(np, "fsl,imx6ul-sai")) {
sound/soc/fsl/fsl_sai.c
1725
if (of_device_is_compatible(np, "fsl,imx952-sai") &&
sound/soc/fsl/fsl_utils.c
45
if (!of_device_is_compatible(dma_channel_np, "fsl,ssi-dma-channel")) {
sound/soc/fsl/imx-hdmi.c
146
if (of_device_is_compatible(np, "fsl,imx-audio-sii902x")) {
sound/soc/kirkwood/kirkwood-i2s.c
654
if (of_device_is_compatible(np, "marvell,armada-380-audio"))
sound/soc/kirkwood/kirkwood-i2s.c
665
if (of_device_is_compatible(np, "marvell,armada-380-audio")) {
sound/soc/meson/axg-card.c
289
return of_device_is_compatible(np, DT_PREFIX "axg-toddr");
sound/soc/meson/axg-card.c
294
return of_device_is_compatible(np, DT_PREFIX "axg-frddr");
sound/soc/meson/axg-card.c
299
return of_device_is_compatible(np, DT_PREFIX "axg-tdm-iface");
sound/soc/meson/axg-card.c
304
return of_device_is_compatible(np, DT_PREFIX "g12a-tohdmitx") ||
sound/soc/meson/axg-card.c
305
of_device_is_compatible(np, DT_PREFIX "g12a-toacodec");
sound/soc/meson/gx-card.c
70
if (of_device_is_compatible(c->of_node, DT_PREFIX "aiu")) {
sound/soc/qcom/lpass-cpu.c
1127
if (of_device_is_compatible(dev->of_node, "qcom,lpass-cpu-apq8016"))
sound/soc/qcom/sc7180.c
532
if (of_device_is_compatible(dev->of_node, "google,sc7180-coachz")) {
sound/soc/qcom/sc7180.c
536
} else if (of_device_is_compatible(dev->of_node, "qcom,sc7180-qdsp6-sndcard")) {
sound/soc/rockchip/rk3399_gru_sound.c
481
if (!of_device_is_compatible(np_codec,
sound/soc/sunxi/sun4i-codec.c
432
if (of_device_is_compatible(scodec->dev->of_node,
sound/soc/sunxi/sun4i-codec.c
434
of_device_is_compatible(scodec->dev->of_node,
sound/soc/sunxi/sun4i-codec.c
441
if (of_device_is_compatible(scodec->dev->of_node,
sound/soc/xilinx/xlnx_i2s.c
210
if (of_device_is_compatible(node, "xlnx,i2s-transmitter-1.0")) {
sound/soc/xilinx/xlnx_i2s.c
218
} else if (of_device_is_compatible(node, "xlnx,i2s-receiver-1.0")) {