Searched refs:cpu_freq_select (Results 1 – 6 of 6) sorted by relevance
72 u8 cpu_freq_select; in armada_39x_get_cpu_freq() local74 cpu_freq_select = ((readl(sar + SARL) >> SARL_A390_CPU_DDR_L2_FREQ_OPT) & in armada_39x_get_cpu_freq()76 if (cpu_freq_select >= ARRAY_SIZE(armada_39x_cpu_frequencies)) { in armada_39x_get_cpu_freq()78 cpu_freq_select); in armada_39x_get_cpu_freq()82 return armada_39x_cpu_frequencies[cpu_freq_select]; in armada_39x_get_cpu_freq()
75 u8 cpu_freq_select; in armada_375_get_cpu_freq() local77 cpu_freq_select = ((readl(sar) >> SAR1_A375_CPU_DDR_L2_FREQ_OPT) & in armada_375_get_cpu_freq()79 if (cpu_freq_select >= ARRAY_SIZE(armada_375_cpu_frequencies)) { in armada_375_get_cpu_freq()81 cpu_freq_select); in armada_375_get_cpu_freq()84 return armada_375_cpu_frequencies[cpu_freq_select]; in armada_375_get_cpu_freq()
79 u8 cpu_freq_select = 0; in axp_get_cpu_freq() local81 cpu_freq_select = ((readl(sar + SARL) >> SARL_AXP_PCLK_FREQ_OPT) & in axp_get_cpu_freq()87 cpu_freq_select |= (((readl(sar + SARH) >> SARH_AXP_PCLK_FREQ_OPT) & in axp_get_cpu_freq()89 if (cpu_freq_select >= ARRAY_SIZE(axp_cpu_freqs)) { in axp_get_cpu_freq()90 pr_err("CPU freq select unsupported: %d\n", cpu_freq_select); in axp_get_cpu_freq()93 cpu_freq = axp_cpu_freqs[cpu_freq_select]; in axp_get_cpu_freq()
58 u8 cpu_freq_select; in armada_38x_get_cpu_freq() local60 cpu_freq_select = ((readl(sar) >> SAR_A380_CPU_DDR_L2_FREQ_OPT) & in armada_38x_get_cpu_freq()62 if (cpu_freq_select >= ARRAY_SIZE(armada_38x_cpu_frequencies)) { in armada_38x_get_cpu_freq()64 cpu_freq_select); in armada_38x_get_cpu_freq()68 return armada_38x_cpu_frequencies[cpu_freq_select]; in armada_38x_get_cpu_freq()
73 u8 cpu_freq_select = 0; in mv98dx3236_get_cpu_freq() local75 cpu_freq_select = ((readl(sar) >> SAR1_MV98DX3236_CPU_DDR_MPLL_FREQ_OPT) & in mv98dx3236_get_cpu_freq()79 cpu_freq = mv98dx4251_cpu_frequencies[cpu_freq_select]; in mv98dx3236_get_cpu_freq()81 cpu_freq = mv98dx3236_cpu_frequencies[cpu_freq_select]; in mv98dx3236_get_cpu_freq()84 pr_err("CPU freq select unsupported %d\n", cpu_freq_select); in mv98dx3236_get_cpu_freq()
69 u8 cpu_freq_select = 0; in a370_get_cpu_freq() local71 cpu_freq_select = ((readl(sar) >> SARL_A370_PCLK_FREQ_OPT) & in a370_get_cpu_freq()73 if (cpu_freq_select >= ARRAY_SIZE(a370_cpu_freqs)) { in a370_get_cpu_freq()74 pr_err("CPU freq select unsupported %d\n", cpu_freq_select); in a370_get_cpu_freq()77 cpu_freq = a370_cpu_freqs[cpu_freq_select]; in a370_get_cpu_freq()