opal-api.h (03ab8e6297acd1bc0eedaa050e2a1635c576fd11) opal-api.h (0ddbbb8960eaf91c7b432ec80566dfa60a8d79e4)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * OPAL API definitions.
4 *
5 * Copyright 2011-2015 IBM Corp.
6 */
7
8#ifndef __OPAL_API_H

--- 1013 unchanged lines hidden (view full) ---

1022};
1023
1024/*
1025 * EPOW status sharing (OPAL and the host)
1026 *
1027 * The host will pass on OPAL, a buffer of length OPAL_SYSEPOW_MAX
1028 * with individual elements being 16 bits wide to fetch the system
1029 * wide EPOW status. Each element in the buffer will contain the
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * OPAL API definitions.
4 *
5 * Copyright 2011-2015 IBM Corp.
6 */
7
8#ifndef __OPAL_API_H

--- 1013 unchanged lines hidden (view full) ---

1022};
1023
1024/*
1025 * EPOW status sharing (OPAL and the host)
1026 *
1027 * The host will pass on OPAL, a buffer of length OPAL_SYSEPOW_MAX
1028 * with individual elements being 16 bits wide to fetch the system
1029 * wide EPOW status. Each element in the buffer will contain the
1030 * EPOW status in it's bit representation for a particular EPOW sub
1030 * EPOW status in its bit representation for a particular EPOW sub
1031 * class as defined here. So multiple detailed EPOW status bits
1032 * specific for any sub class can be represented in a single buffer
1031 * class as defined here. So multiple detailed EPOW status bits
1032 * specific for any sub class can be represented in a single buffer
1033 * element as it's bit representation.
1033 * element as its bit representation.
1034 */
1035
1036/* System EPOW type */
1037enum OpalSysEpow {
1038 OPAL_SYSEPOW_POWER = 0, /* Power EPOW */
1039 OPAL_SYSEPOW_TEMP = 1, /* Temperature EPOW */
1040 OPAL_SYSEPOW_COOLING = 2, /* Cooling EPOW */
1041 OPAL_SYSEPOW_MAX = 3, /* Max EPOW categories */

--- 147 unchanged lines hidden ---
1034 */
1035
1036/* System EPOW type */
1037enum OpalSysEpow {
1038 OPAL_SYSEPOW_POWER = 0, /* Power EPOW */
1039 OPAL_SYSEPOW_TEMP = 1, /* Temperature EPOW */
1040 OPAL_SYSEPOW_COOLING = 2, /* Cooling EPOW */
1041 OPAL_SYSEPOW_MAX = 3, /* Max EPOW categories */

--- 147 unchanged lines hidden ---