Lines Matching +full:4 +full:- +full:switch
1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013-2015 Lantiq Beteiligungs-GmbH & Co.KG
42 switch (ltq_cgu_r32(CGU_SYS) & 0xc) { in ltq_danube_cpu_hz()
45 case 4: in ltq_danube_cpu_hz()
59 switch (clksys) { in ltq_danube_pp32_hz()
107 cpu_sel = (ltq_cgu_r32(CGU_SYS_XRX) >> 4) & 0xf; in ltq_vr9_cpu_hz()
109 switch (cpu_sel) { in ltq_vr9_cpu_hz()
129 case 4: in ltq_vr9_cpu_hz()
150 switch (ocp_sel) { in ltq_vr9_fpi_hz()
163 case 4: in ltq_vr9_fpi_hz()
180 switch (clksys) { in ltq_vr9_pp32_hz()
202 int freq_div = (ltq_cgu_r32(CGU_SYS_XRX) >> 4) & 0x7; in ltq_ar10_cpu_hz()
204 switch (cpu_fs) { in ltq_ar10_cpu_hz()
216 switch (freq_div) { in ltq_ar10_cpu_hz()
232 switch (freq_fpi) { in ltq_ar10_fpi_hz()
252 switch (clksys) { in ltq_ar10_pp32_hz()
256 case 4: in ltq_ar10_pp32_hz()
271 int freq_div = ((ltq_cgu_r32(CGU_SYS_XRX) >> 4) & 0x7); in ltq_grx390_cpu_hz()
273 switch (cpu_fs) { in ltq_grx390_cpu_hz()
288 switch (freq_div) { in ltq_grx390_cpu_hz()
306 switch (cpu_fs) { in ltq_grx390_fpi_hz()
321 switch (freq_div) { in ltq_grx390_fpi_hz()
336 switch (clksys) { in ltq_grx390_pp32_hz()
343 case 4: in ltq_grx390_pp32_hz()