Searched refs:power_table (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/thermal/ |
D | devfreq_cooling.c | 54 u32 *power_table; member 290 dyn_power = dfc->power_table[state]; in devfreq_cooling_get_requested_power() 321 *power = dfc->power_table[state] + static_power; in devfreq_cooling_state2power() 352 if (dyn_power >= dfc->power_table[i]) in devfreq_cooling_power2state() 390 u32 *power_table = NULL; in devfreq_cooling_gen_tables() local 397 power_table = kcalloc(num_opps, sizeof(*power_table), in devfreq_cooling_gen_tables() 399 if (!power_table) in devfreq_cooling_gen_tables() 433 power_table[i] = power_dyn; in devfreq_cooling_gen_tables() 440 dfc->power_table = power_table; in devfreq_cooling_gen_tables() 450 kfree(power_table); in devfreq_cooling_gen_tables() [all …]
|
D | cpu_cooling.c | 58 struct power_table { struct 102 struct power_table *dyn_power_table; 272 struct power_table *power_table; in build_dyn_power_table() local 296 power_table = kcalloc(num_opps, sizeof(*power_table), GFP_KERNEL); in build_dyn_power_table() 297 if (!power_table) in build_dyn_power_table() 325 power_table[i].frequency = freq / 1000; in build_dyn_power_table() 328 power_table[i].power = power; in build_dyn_power_table() 339 cpufreq_device->dyn_power_table = power_table; in build_dyn_power_table() 345 kfree(power_table); in build_dyn_power_table() 354 struct power_table *pt = cpufreq_device->dyn_power_table; in cpu_freq_to_power() [all …]
|
/linux-4.4.14/drivers/acpi/pmic/ |
D | intel_pmic_crc.c | 27 static struct pmic_table power_table[] = { variable 183 .power_table = power_table, 184 .power_table_count= ARRAY_SIZE(power_table),
|
D | intel_pmic_xpower.c | 26 static struct pmic_table power_table[] = { variable 217 .power_table = power_table, 218 .power_table_count = ARRAY_SIZE(power_table),
|
D | intel_pmic.h | 17 struct pmic_table *power_table; member
|
D | intel_pmic.c | 63 result = pmic_get_reg_bit(address, d->power_table, in intel_pmic_power_handler()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_dpm.c | 794 ATOM_PPLIB_POWERPLAYTABLE *power_table; in amdgpu_add_thermal_controller() local 804 power_table = (ATOM_PPLIB_POWERPLAYTABLE *) in amdgpu_add_thermal_controller() 806 controller = &power_table->sThermalController; in amdgpu_add_thermal_controller()
|