Lines Matching refs:opt

30 	u32 opt = (readl(sar) >> SAR_MV88F5181_TCLK_FREQ) &  in mv88f5181_get_tclk_freq()  local
32 if (opt == 0) in mv88f5181_get_tclk_freq()
34 else if (opt == 1) in mv88f5181_get_tclk_freq()
36 else if (opt == 2) in mv88f5181_get_tclk_freq()
47 u32 opt = (readl(sar) >> SAR_MV88F5181_CPU_FREQ) & in mv88f5181_get_cpu_freq() local
49 if (opt == 0) in mv88f5181_get_cpu_freq()
51 else if (opt == 1 || opt == 2) in mv88f5181_get_cpu_freq()
53 else if (opt == 3) in mv88f5181_get_cpu_freq()
62 u32 opt = (readl(sar) >> SAR_MV88F5181_CPU_FREQ) & in mv88f5181_get_clk_ratio() local
64 if (opt == 0 || opt == 1) { in mv88f5181_get_clk_ratio()
67 } else if (opt == 2 || opt == 3) { in mv88f5181_get_clk_ratio()
100 u32 opt = (readl(sar) >> SAR_MV88F5182_TCLK_FREQ) & in mv88f5182_get_tclk_freq() local
102 if (opt == 1) in mv88f5182_get_tclk_freq()
104 else if (opt == 2) in mv88f5182_get_tclk_freq()
115 u32 opt = (readl(sar) >> SAR_MV88F5182_CPU_FREQ) & in mv88f5182_get_cpu_freq() local
117 if (opt == 0) in mv88f5182_get_cpu_freq()
119 else if (opt == 1 || opt == 2) in mv88f5182_get_cpu_freq()
121 else if (opt == 3) in mv88f5182_get_cpu_freq()
130 u32 opt = (readl(sar) >> SAR_MV88F5182_CPU_FREQ) & in mv88f5182_get_clk_ratio() local
132 if (opt == 0 || opt == 1) { in mv88f5182_get_clk_ratio()
135 } else if (opt == 2 || opt == 3) { in mv88f5182_get_clk_ratio()
174 u32 opt = (readl(sar) >> SAR_MV88F5281_CPU_FREQ) & in mv88f5281_get_cpu_freq() local
176 if (opt == 1 || opt == 2) in mv88f5281_get_cpu_freq()
178 else if (opt == 3) in mv88f5281_get_cpu_freq()
187 u32 opt = (readl(sar) >> SAR_MV88F5281_CPU_FREQ) & in mv88f5281_get_clk_ratio() local
189 if (opt == 1) { in mv88f5281_get_clk_ratio()
192 } else if (opt == 2 || opt == 3) { in mv88f5281_get_clk_ratio()
225 u32 opt = (readl(sar) >> SAR_MV88F6183_TCLK_FREQ) & in mv88f6183_get_tclk_freq() local
227 if (opt == 0) in mv88f6183_get_tclk_freq()
229 else if (opt == 1) in mv88f6183_get_tclk_freq()
240 u32 opt = (readl(sar) >> SAR_MV88F6183_CPU_FREQ) & in mv88f6183_get_cpu_freq() local
242 if (opt == 9) in mv88f6183_get_cpu_freq()
244 else if (opt == 17) in mv88f6183_get_cpu_freq()
253 u32 opt = (readl(sar) >> SAR_MV88F6183_CPU_FREQ) & in mv88f6183_get_clk_ratio() local
255 if (opt == 9 || opt == 17) { in mv88f6183_get_clk_ratio()