Home
last modified time | relevance | path

Searched refs:of_machine_is_compatible (Results 1 – 25 of 105) sorted by relevance

12345

/linux/arch/mips/lantiq/xway/
H A Dsysctrl.c206 if (of_machine_is_compatible("lantiq,ar10") in pmu_enable()
207 || of_machine_is_compatible("lantiq,grx390")) { in pmu_enable()
232 if (of_machine_is_compatible("lantiq,ar10") in pmu_disable()
233 || of_machine_is_compatible("lantiq,grx390")) { in pmu_disable()
254 if (of_machine_is_compatible("lantiq,ar10") || in usb_set_clock()
255 of_machine_is_compatible("lantiq,grx390")) { in usb_set_clock()
257 } else if (of_machine_is_compatible("lantiq,ar9") || in usb_set_clock()
258 of_machine_is_compatible("lantiq,vr9")) { in usb_set_clock()
261 } else if (of_machine_is_compatible("lantiq,ase")) { in usb_set_clock()
263 } else if (of_machine_is_compatible("lantiq,danube")) { in usb_set_clock()
[all …]
/linux/drivers/clk/mvebu/
H A Dmv98dx3236.c76 if (of_machine_is_compatible("marvell,armadaxp-98dx4251")) in mv98dx3236_get_cpu_freq()
78 else if (of_machine_is_compatible("marvell,armadaxp-98dx3236")) in mv98dx3236_get_cpu_freq()
125 if (of_machine_is_compatible("marvell,armadaxp-98dx4251")) { in mv98dx3236_get_clk_ratio()
128 } else if (of_machine_is_compatible("marvell,armadaxp-98dx3236")) { in mv98dx3236_get_clk_ratio()
134 if (of_machine_is_compatible("marvell,armadaxp-98dx4251")) { in mv98dx3236_get_clk_ratio()
137 } else if (of_machine_is_compatible("marvell,armadaxp-98dx3236")) { in mv98dx3236_get_clk_ratio()
/linux/arch/arm/mach-mediatek/
H A Dmediatek.c23 if (of_machine_is_compatible("mediatek,mt6589") || in mediatek_timer_init()
24 of_machine_is_compatible("mediatek,mt7623") || in mediatek_timer_init()
25 of_machine_is_compatible("mediatek,mt8135") || in mediatek_timer_init()
26 of_machine_is_compatible("mediatek,mt8127")) { in mediatek_timer_init()
/linux/drivers/net/ethernet/ti/
H A Dcpsw-common.c70 if (of_machine_is_compatible("ti,dm8148")) in ti_cm_get_macid()
73 if (of_machine_is_compatible("ti,am33xx")) in ti_cm_get_macid()
82 if (of_machine_is_compatible("ti,am43")) in ti_cm_get_macid()
85 if (of_machine_is_compatible("ti,dra7")) in ti_cm_get_macid()
/linux/drivers/cpufreq/
H A Dsti-cpufreq.c143 if (of_machine_is_compatible("st,stih407") || in sti_cpufreq_match()
144 of_machine_is_compatible("st,stih410") || in sti_cpufreq_match()
145 of_machine_is_compatible("st,stih418")) in sti_cpufreq_match()
259 if ((!of_machine_is_compatible("st,stih407")) && in sti_cpufreq_init()
260 (!of_machine_is_compatible("st,stih410")) && in sti_cpufreq_init()
261 (!of_machine_is_compatible("st,stih418"))) in sti_cpufreq_init()
H A Dtegra124-cpufreq.c206 if (!(of_machine_is_compatible("nvidia,tegra114") || in tegra_cpufreq_init()
207 of_machine_is_compatible("nvidia,tegra124") || in tegra_cpufreq_init()
208 of_machine_is_compatible("nvidia,tegra210"))) in tegra_cpufreq_init()
H A Dhighbank-cpufreq.c66 if ((!of_machine_is_compatible("calxeda,highbank")) && in hb_cpufreq_driver_init()
67 (!of_machine_is_compatible("calxeda,ecx-2000"))) in hb_cpufreq_driver_init()
/linux/drivers/clk/ti/
H A Dclkctrl.c531 if (of_machine_is_compatible("ti,omap4")) in _ti_omap4_clkctrl_setup()
535 if (of_machine_is_compatible("ti,omap5")) in _ti_omap4_clkctrl_setup()
539 if (of_machine_is_compatible("ti,dra7")) in _ti_omap4_clkctrl_setup()
541 if (of_machine_is_compatible("ti,dra72")) in _ti_omap4_clkctrl_setup()
543 if (of_machine_is_compatible("ti,dra74")) in _ti_omap4_clkctrl_setup()
545 if (of_machine_is_compatible("ti,dra76")) in _ti_omap4_clkctrl_setup()
549 if (of_machine_is_compatible("ti,am33xx")) in _ti_omap4_clkctrl_setup()
553 if (of_machine_is_compatible("ti,am4372")) in _ti_omap4_clkctrl_setup()
556 if (of_machine_is_compatible("ti,am438x")) in _ti_omap4_clkctrl_setup()
560 if (of_machine_is_compatible("ti,dm814")) in _ti_omap4_clkctrl_setup()
[all …]
/linux/drivers/macintosh/
H A Dvia-pmu-backlight.c146 of_machine_is_compatible("AAPL,3400/2400") || in pmu_backlight_init()
147 of_machine_is_compatible("AAPL,3500"); in pmu_backlight_init()
151 !of_machine_is_compatible("AAPL,PowerBook1998") && in pmu_backlight_init()
152 !of_machine_is_compatible("PowerBook1,1")) in pmu_backlight_init()
H A Dwindfarm_ad7417_sensor.c331 if (!of_machine_is_compatible("PowerMac7,2") && in wf_ad7417_init()
332 !of_machine_is_compatible("PowerMac7,3") && in wf_ad7417_init()
333 !of_machine_is_compatible("RackMac3,1")) in wf_ad7417_init()
/linux/arch/powerpc/platforms/85xx/
H A Dp1010rdb.c59 if (of_machine_is_compatible("fsl,P1010RDB")) in p1010_rdb_probe()
61 if (of_machine_is_compatible("fsl,P1010RDB-PB")) in p1010_rdb_probe()
H A Dxes_mpc85xx.c62 if (of_machine_is_compatible("MPC8540") || in xes_mpc85xx_configure_l2()
63 of_machine_is_compatible("MPC8560")) in xes_mpc85xx_configure_l2()
/linux/arch/powerpc/sysdev/
H A Dgrackle.c39 if (of_machine_is_compatible("PowerMac1,1")) in setup_grackle()
41 if (of_machine_is_compatible("AAPL,PowerBook1998")) in setup_grackle()
/linux/arch/arm/mach-orion5x/
H A Dboard-dt.c60 if (of_machine_is_compatible("maxtor,shared-storage-2")) in orion5x_dt_init()
63 if (of_machine_is_compatible("lacie,d2-network")) in orion5x_dt_init()
/linux/arch/powerpc/platforms/powermac/
H A Dudbg_scc.c135 } else if (of_machine_is_compatible("RackMac1,1") in udbg_scc_init()
136 || of_machine_is_compatible("RackMac1,2") in udbg_scc_init()
137 || of_machine_is_compatible("MacRISC4")) { in udbg_scc_init()
H A Dsmp.c701 if (of_machine_is_compatible("PowerMac7,2") || in smp_core99_setup()
702 of_machine_is_compatible("PowerMac7,3") || in smp_core99_setup()
703 of_machine_is_compatible("RackMac3,1")) in smp_core99_setup()
722 if (pmac_tb_freeze == NULL && !of_machine_is_compatible("MacRISC4")) { in smp_core99_setup()
759 if (!of_machine_is_compatible("MacRISC4")) in smp_core99_setup()
888 if (of_machine_is_compatible("MacRISC4") && in smp_core99_bringup_done()
/linux/sound/ppc/
H A Dawacs.c730 if (of_machine_is_compatible("PowerBook3,1") in snd_pmac_awacs_resume()
731 || of_machine_is_compatible("PowerBook3,2")) { in snd_pmac_awacs_resume()
759 #define IS_PM7500 (of_machine_is_compatible("AAPL,7500") \
760 || of_machine_is_compatible("AAPL,8500") \
761 || of_machine_is_compatible("AAPL,9500"))
762 #define IS_PM5500 (of_machine_is_compatible("AAPL,e411"))
763 #define IS_BEIGE (of_machine_is_compatible("AAPL,Gossamer"))
764 #define IS_IMAC1 (of_machine_is_compatible("PowerMac2,1"))
765 #define IS_IMAC2 (of_machine_is_compatible("PowerMac2,2") \
766 || of_machine_is_compatible("PowerMac4,1"))
[all …]
H A Dpmac.c876 if (of_machine_is_compatible("PowerBook3,1") || in detect_byte_swap()
877 of_machine_is_compatible("PowerBook2,1")) in detect_byte_swap()
880 if (of_machine_is_compatible("PowerBook2,1")) in detect_byte_swap()
913 if (of_machine_is_compatible("AAPL,3400/2400") in snd_pmac_detect()
914 || of_machine_is_compatible("AAPL,3500")) in snd_pmac_detect()
916 else if (of_machine_is_compatible("PowerBook1,1") in snd_pmac_detect()
917 || of_machine_is_compatible("AAPL,PowerBook1998")) in snd_pmac_detect()
986 chip->can_capture = of_machine_is_compatible("PowerMac4,2") in snd_pmac_detect()
987 || of_machine_is_compatible("PowerBook3,2") in snd_pmac_detect()
988 || of_machine_is_compatible("PowerBook3,3") in snd_pmac_detect()
[all …]
/linux/arch/powerpc/platforms/44x/
H A Dppc476.c50 if (of_machine_is_compatible("ibm,currituck")) { in quirk_ppc_currituck_usb_fixup()
228 if (of_machine_is_compatible("ibm,currituck")) { in ppc47x_get_board_rev()
231 } else if (of_machine_is_compatible("ibm,akebono")) { in ppc47x_get_board_rev()
/linux/arch/arm/mach-spear/
H A Dspear13xx.c90 if (of_machine_is_compatible("st,spear1310")) in spear13xx_clk_init()
92 else if (of_machine_is_compatible("st,spear1340")) in spear13xx_clk_init()
/linux/drivers/cpuidle/
H A Dcpuidle-exynos.c117 (of_machine_is_compatible("samsung,exynos4210") || in exynos_cpuidle_probe()
118 of_machine_is_compatible("samsung,exynos3250"))) { in exynos_cpuidle_probe()
/linux/drivers/video/fbdev/aty/
H A Dradeon_backlight.c171 of_machine_is_compatible("PowerBook4,3") || in radeonfb_bl_init()
172 of_machine_is_compatible("PowerBook6,3") || in radeonfb_bl_init()
173 of_machine_is_compatible("PowerBook6,5"); in radeonfb_bl_init()
/linux/arch/arm/mach-mvebu/
H A Dsystem-controller.c116 if (of_machine_is_compatible("marvell,armada380") && in mvebu_system_controller_get_soc_id()
150 if (of_machine_is_compatible("marvell,armada375")) in mvebu_system_controller_set_cpu_boot_addr()
/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c343 if (of_machine_is_compatible("fsl,mpc5121")) in mpc512x_select_psc_compat()
346 if (of_machine_is_compatible("fsl,mpc5125")) in mpc512x_select_psc_compat()
354 if (of_machine_is_compatible("fsl,mpc5121")) in mpc512x_select_reset_compat()
357 if (of_machine_is_compatible("fsl,mpc5125")) in mpc512x_select_reset_compat()
/linux/arch/arm/mach-omap2/
H A Dpdata-quirks.c526 if (of_machine_is_compatible(quirks->compatible)) { in pdata_quirks_check()
563 if (of_machine_is_compatible("ti,omap2420") || in pdata_quirks_init()
564 of_machine_is_compatible("ti,omap3")) in pdata_quirks_init()
567 if (of_machine_is_compatible("ti,omap3")) in pdata_quirks_init()

12345