Lines Matching refs:cpuvcp
41 static struct smu_sdbp_cpuvcp *cpuvcp;
126 scaled = (s32)(val * (u32)cpuvcp->curr_scale);
127 scaled += (s32)cpuvcp->curr_offset;
147 scaled = (s32)(val * (u32)cpuvcp->volt_scale);
148 scaled += (s32)cpuvcp->volt_offset;
232 if (cpuvcp == NULL) {
233 DBG("wf: cpuvcp partition (%02x) not found\n",
241 if (cpuvcp == NULL) {
242 DBG("wf: cpuvcp partition (%02x) not found\n",
324 tmpa = ((u64)cpuvcp->power_quads[0]) * tmps;
325 tmpb = ((u64)cpuvcp->power_quads[1]) * ((u64)power);
326 *value = (tmpa >> 28) + (tmpb >> 28) + (cpuvcp->power_quads[2] >> 12);
390 cpuvcp = (struct smu_sdbp_cpuvcp *)&hdr[1];