Searched refs:cpu_freq_select (Results 1 – 6 of 6) sorted by relevance
71 u8 cpu_freq_select = 0; in axp_get_cpu_freq() local73 cpu_freq_select = ((readl(sar + SARL) >> SARL_AXP_PCLK_FREQ_OPT) & in axp_get_cpu_freq()79 cpu_freq_select |= (((readl(sar + SARH) >> SARH_AXP_PCLK_FREQ_OPT) & in axp_get_cpu_freq()81 if (cpu_freq_select >= ARRAY_SIZE(axp_cpu_freqs)) { in axp_get_cpu_freq()82 pr_err("CPU freq select unsupported: %d\n", cpu_freq_select); in axp_get_cpu_freq()85 cpu_freq = axp_cpu_freqs[cpu_freq_select]; in axp_get_cpu_freq()
70 u8 cpu_freq_select; in armada_39x_get_cpu_freq() local72 cpu_freq_select = ((readl(sar + SARL) >> SARL_A390_CPU_DDR_L2_FREQ_OPT) & in armada_39x_get_cpu_freq()74 if (cpu_freq_select >= ARRAY_SIZE(armada_39x_cpu_frequencies)) { in armada_39x_get_cpu_freq()76 cpu_freq_select); in armada_39x_get_cpu_freq()80 return armada_39x_cpu_frequencies[cpu_freq_select]; in armada_39x_get_cpu_freq()
73 u8 cpu_freq_select; in armada_375_get_cpu_freq() local75 cpu_freq_select = ((readl(sar) >> SAR1_A375_CPU_DDR_L2_FREQ_OPT) & in armada_375_get_cpu_freq()77 if (cpu_freq_select >= ARRAY_SIZE(armada_375_cpu_frequencies)) { in armada_375_get_cpu_freq()79 cpu_freq_select); in armada_375_get_cpu_freq()82 return armada_375_cpu_frequencies[cpu_freq_select]; in armada_375_get_cpu_freq()
71 u8 cpu_freq_select = 0; in mv98dx3236_get_cpu_freq() local73 cpu_freq_select = ((readl(sar) >> SAR1_MV98DX3236_CPU_DDR_MPLL_FREQ_OPT) & in mv98dx3236_get_cpu_freq()77 cpu_freq = mv98dx4251_cpu_frequencies[cpu_freq_select]; in mv98dx3236_get_cpu_freq()79 cpu_freq = mv98dx3236_cpu_frequencies[cpu_freq_select]; in mv98dx3236_get_cpu_freq()82 pr_err("CPU freq select unsupported %d\n", cpu_freq_select); in mv98dx3236_get_cpu_freq()
56 u8 cpu_freq_select; in armada_38x_get_cpu_freq() local58 cpu_freq_select = ((readl(sar) >> SAR_A380_CPU_DDR_L2_FREQ_OPT) & in armada_38x_get_cpu_freq()60 if (cpu_freq_select >= ARRAY_SIZE(armada_38x_cpu_frequencies)) { in armada_38x_get_cpu_freq()62 cpu_freq_select); in armada_38x_get_cpu_freq()66 return armada_38x_cpu_frequencies[cpu_freq_select]; in armada_38x_get_cpu_freq()
67 u8 cpu_freq_select = 0; in a370_get_cpu_freq() local69 cpu_freq_select = ((readl(sar) >> SARL_A370_PCLK_FREQ_OPT) & in a370_get_cpu_freq()71 if (cpu_freq_select >= ARRAY_SIZE(a370_cpu_freqs)) { in a370_get_cpu_freq()72 pr_err("CPU freq select unsupported %d\n", cpu_freq_select); in a370_get_cpu_freq()75 cpu_freq = a370_cpu_freqs[cpu_freq_select]; in a370_get_cpu_freq()