Searched refs:revmap_data (Results 1 – 1 of 1) sorted by relevance
205 struct pstate_idx_revmap_data *revmap_data; in pstate_to_idx() local207 hash_for_each_possible(pstate_revmap, revmap_data, hentry, key) { in pstate_to_idx()208 if (revmap_data->pstate_id == pstate) in pstate_to_idx()209 return revmap_data->cpufreq_table_idx; in pstate_to_idx()316 struct pstate_idx_revmap_data *revmap_data; in init_powernv_pstates() local323 revmap_data = kmalloc(sizeof(*revmap_data), GFP_KERNEL); in init_powernv_pstates()324 if (!revmap_data) { in init_powernv_pstates()329 revmap_data->pstate_id = id & 0xFF; in init_powernv_pstates()330 revmap_data->cpufreq_table_idx = i; in init_powernv_pstates()331 key = (revmap_data->pstate_id) % POWERNV_MAX_PSTATES; in init_powernv_pstates()[all …]