Searched refs:cpuvcp (Results 1 – 1 of 1) sorted by relevance
40 static struct smu_sdbp_cpuvcp *cpuvcp; variable125 scaled = (s32)(val * (u32)cpuvcp->curr_scale); in smu_cpuamp_get()126 scaled += (s32)cpuvcp->curr_offset; in smu_cpuamp_get()146 scaled = (s32)(val * (u32)cpuvcp->volt_scale); in smu_cpuvolt_get()147 scaled += (s32)cpuvcp->volt_offset; in smu_cpuvolt_get()231 if (cpuvcp == NULL) { in smu_ads_create()240 if (cpuvcp == NULL) { in smu_ads_create()323 tmpa = ((u64)cpuvcp->power_quads[0]) * tmps; in smu_cpu_power_get()324 tmpb = ((u64)cpuvcp->power_quads[1]) * ((u64)power); in smu_cpu_power_get()325 *value = (tmpa >> 28) + (tmpb >> 28) + (cpuvcp->power_quads[2] >> 12); in smu_cpu_power_get()[all …]