Lines Matching refs:omsg
463 struct opal_occ_msg omsg; in powernv_cpufreq_occ_msg() local
469 omsg.type = be64_to_cpu(msg->params[0]); in powernv_cpufreq_occ_msg()
471 switch (omsg.type) { in powernv_cpufreq_occ_msg()
492 omsg.chip = be64_to_cpu(msg->params[1]); in powernv_cpufreq_occ_msg()
493 omsg.throttle_status = be64_to_cpu(msg->params[2]); in powernv_cpufreq_occ_msg()
508 if (omsg.throttle_status && in powernv_cpufreq_occ_msg()
509 omsg.throttle_status <= OCC_MAX_THROTTLE_STATUS) in powernv_cpufreq_occ_msg()
511 (unsigned int)omsg.chip, in powernv_cpufreq_occ_msg()
512 throttle_reason[omsg.throttle_status]); in powernv_cpufreq_occ_msg()
513 else if (!omsg.throttle_status) in powernv_cpufreq_occ_msg()
514 pr_info("OCC: Chip %u %s\n", (unsigned int)omsg.chip, in powernv_cpufreq_occ_msg()
515 throttle_reason[omsg.throttle_status]); in powernv_cpufreq_occ_msg()
520 if (chips[i].id == omsg.chip) { in powernv_cpufreq_occ_msg()
521 if (!omsg.throttle_status) in powernv_cpufreq_occ_msg()