diff options
Diffstat (limited to 'arch/powerpc/include/asm/opal.h')
-rw-r--r-- | arch/powerpc/include/asm/opal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h index 3dea31c1080c..eb95b675109b 100644 --- a/arch/powerpc/include/asm/opal.h +++ b/arch/powerpc/include/asm/opal.h | |||
@@ -161,6 +161,7 @@ struct opal_sg_list { | |||
161 | #define OPAL_PCI_EEH_FREEZE_SET 97 | 161 | #define OPAL_PCI_EEH_FREEZE_SET 97 |
162 | #define OPAL_HANDLE_HMI 98 | 162 | #define OPAL_HANDLE_HMI 98 |
163 | #define OPAL_CONFIG_CPU_IDLE_STATE 99 | 163 | #define OPAL_CONFIG_CPU_IDLE_STATE 99 |
164 | #define OPAL_SLW_SET_REG 100 | ||
164 | #define OPAL_REGISTER_DUMP_REGION 101 | 165 | #define OPAL_REGISTER_DUMP_REGION 101 |
165 | #define OPAL_UNREGISTER_DUMP_REGION 102 | 166 | #define OPAL_UNREGISTER_DUMP_REGION 102 |
166 | #define OPAL_WRITE_TPO 103 | 167 | #define OPAL_WRITE_TPO 103 |
@@ -176,6 +177,7 @@ struct opal_sg_list { | |||
176 | */ | 177 | */ |
177 | #define OPAL_PM_NAP_ENABLED 0x00010000 | 178 | #define OPAL_PM_NAP_ENABLED 0x00010000 |
178 | #define OPAL_PM_SLEEP_ENABLED 0x00020000 | 179 | #define OPAL_PM_SLEEP_ENABLED 0x00020000 |
180 | #define OPAL_PM_WINKLE_ENABLED 0x00040000 | ||
179 | #define OPAL_PM_SLEEP_ENABLED_ER1 0x00080000 | 181 | #define OPAL_PM_SLEEP_ENABLED_ER1 0x00080000 |
180 | 182 | ||
181 | #ifndef __ASSEMBLY__ | 183 | #ifndef __ASSEMBLY__ |
@@ -913,6 +915,7 @@ int64_t opal_sensor_read(uint32_t sensor_hndl, int token, __be32 *sensor_data); | |||
913 | int64_t opal_handle_hmi(void); | 915 | int64_t opal_handle_hmi(void); |
914 | int64_t opal_register_dump_region(uint32_t id, uint64_t start, uint64_t end); | 916 | int64_t opal_register_dump_region(uint32_t id, uint64_t start, uint64_t end); |
915 | int64_t opal_unregister_dump_region(uint32_t id); | 917 | int64_t opal_unregister_dump_region(uint32_t id); |
918 | int64_t opal_slw_set_reg(uint64_t cpu_pir, uint64_t sprn, uint64_t val); | ||
916 | int64_t opal_pci_set_phb_cxl_mode(uint64_t phb_id, uint64_t mode, uint64_t pe_number); | 919 | int64_t opal_pci_set_phb_cxl_mode(uint64_t phb_id, uint64_t mode, uint64_t pe_number); |
917 | int64_t opal_ipmi_send(uint64_t interface, struct opal_ipmi_msg *msg, | 920 | int64_t opal_ipmi_send(uint64_t interface, struct opal_ipmi_msg *msg, |
918 | uint64_t msg_len); | 921 | uint64_t msg_len); |