Searched refs:cost (Results 1 - 4 of 4) sorted by relevance
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_pm.c | 59 /* The relative core power cost */ 1162 * cost is the total power cost of cores which will be powered on given this mask 1164 static void mali_pm_stat_from_mask(u32 mask, u32 *num_pp, u32 *cost) in mali_pm_stat_from_mask() argument 1176 *cost += MALI_GP_COST; in mali_pm_stat_from_mask() 1197 *cost += MALI_PP_COST; in mali_pm_stat_from_mask() 1211 *cost += MALI_PP_COST; in mali_pm_stat_from_mask() 1216 *cost += MALI_L2_COST; in mali_pm_stat_from_mask() 1226 * Two parallel arrays which store the best domain mask and its cost in mali_pm_power_cost_setup() 1228 * might have mask 0x2 and with cost o in mali_pm_power_cost_setup() 1239 u32 num_pp, cost, mask; mali_pm_power_cost_setup() local [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_pm.c | 58 /* The relative core power cost */ 1090 * cost is the total power cost of cores which will be powered on given this mask 1092 static void mali_pm_stat_from_mask(u32 mask, u32 *num_pp, u32 *cost) in mali_pm_stat_from_mask() argument 1104 *cost += MALI_GP_COST; in mali_pm_stat_from_mask() 1123 *cost += MALI_PP_COST; in mali_pm_stat_from_mask() 1136 *cost += MALI_PP_COST; in mali_pm_stat_from_mask() 1141 *cost += MALI_L2_COST; in mali_pm_stat_from_mask() 1153 * Two parallel arrays which store the best domain mask and its cost in mali_pm_power_cost_setup() 1155 * might have mask 0x2 and with cost o in mali_pm_power_cost_setup() 1166 u32 num_pp, cost, mask; mali_pm_power_cost_setup() local [all...] |
/device/soc/rockchip/common/sdk_linux/kernel/power/ |
H A D | energy_model.c | 46 debugfs_create_ulong("cost", FILE_PROPERTY, d, &ps->cost); in em_debug_create_ps() 161 /* Compute the cost of each performance state. */ in em_create_perf_table() 166 table[i].cost = div64_u64(fmax * power_res, table[i].frequency); in em_create_perf_table() 167 if (table[i].cost >= prev_cost) { in em_create_perf_table() 171 prev_cost = table[i].cost; in em_create_perf_table()
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | energy_model.h | 19 * @cost: The cost coefficient associated with this level, used during 25 unsigned long cost; member 182 * as 'ps->cost'. in em_cpu_energy() 185 * share the same 'ps->cost', and the same CPU capacity. Hence, the in em_cpu_energy() 189 * ps->cost * \Sum cpu_util in em_cpu_energy() 193 return ps->cost * sum_util / scale_cpu; in em_cpu_energy()
|
Completed in 5 milliseconds