Lines Matching refs:opps_index
74 int opps_index) in armada_8k_add_opp() argument
87 freq_tables[opps_index].cpu_dev = cpu_dev; in armada_8k_add_opp()
96 freq_tables[opps_index].freq[i] = freq; in armada_8k_add_opp()
104 int opps_index, nb_cpus = num_possible_cpus(); in armada_8k_cpufreq_free_table() local
106 for (opps_index = 0 ; opps_index <= nb_cpus; opps_index++) { in armada_8k_cpufreq_free_table()
110 if (!freq_tables[opps_index].cpu_dev) in armada_8k_cpufreq_free_table()
119 if (freq_tables[opps_index].freq[i] == 0) in armada_8k_cpufreq_free_table()
122 dev_pm_opp_remove(freq_tables[opps_index].cpu_dev, in armada_8k_cpufreq_free_table()
123 freq_tables[opps_index].freq[i]); in armada_8k_cpufreq_free_table()
132 int ret = 0, opps_index = 0, cpu, nb_cpus; in armada_8k_cpufreq_init() local
176 ret = armada_8k_add_opp(clk, cpu_dev, freq_tables, opps_index); in armada_8k_cpufreq_init()
182 opps_index++; in armada_8k_cpufreq_init()