Lines Matching refs:omsg
942 struct opal_occ_msg omsg;
948 omsg.type = be64_to_cpu(msg->params[0]);
950 switch (omsg.type) {
971 omsg.chip = be64_to_cpu(msg->params[1]);
972 omsg.throttle_status = be64_to_cpu(msg->params[2]);
988 if (chips[i].id == omsg.chip)
991 if (omsg.throttle_status >= 0 &&
992 omsg.throttle_status <= OCC_MAX_THROTTLE_STATUS) {
993 chips[i].throttle_reason = omsg.throttle_status;
994 chips[i].reason[omsg.throttle_status]++;
997 if (!omsg.throttle_status)