opal.h (470834508f87877f680738a10a305280582c7aed) opal.h (8eb8ac89a364305d05ad16be983b7890eb462cc3)
1/*
2 * PowerNV OPAL definitions.
3 *
4 * Copyright 2011 IBM Corp.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

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

163#define OPAL_REGISTER_DUMP_REGION 101
164#define OPAL_UNREGISTER_DUMP_REGION 102
165#define OPAL_WRITE_TPO 103
166#define OPAL_READ_TPO 104
167#define OPAL_IPMI_SEND 107
168#define OPAL_IPMI_RECV 108
169#define OPAL_I2C_REQUEST 109
170
1/*
2 * PowerNV OPAL definitions.
3 *
4 * Copyright 2011 IBM Corp.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

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

163#define OPAL_REGISTER_DUMP_REGION 101
164#define OPAL_UNREGISTER_DUMP_REGION 102
165#define OPAL_WRITE_TPO 103
166#define OPAL_READ_TPO 104
167#define OPAL_IPMI_SEND 107
168#define OPAL_IPMI_RECV 108
169#define OPAL_I2C_REQUEST 109
170
171/* Device tree flags */
172
173/* Flags set in power-mgmt nodes in device tree if
174 * respective idle states are supported in the platform.
175 */
176#define OPAL_PM_NAP_ENABLED 0x00010000
177#define OPAL_PM_SLEEP_ENABLED 0x00020000
178
171#ifndef __ASSEMBLY__
172
173#include <linux/notifier.h>
174
175/* Other enums */
176enum OpalVendorApiTokens {
177 OPAL_START_VENDOR_API_RANGE = 1000, OPAL_END_VENDOR_API_RANGE = 1999
178};

--- 796 unchanged lines hidden ---
179#ifndef __ASSEMBLY__
180
181#include <linux/notifier.h>
182
183/* Other enums */
184enum OpalVendorApiTokens {
185 OPAL_START_VENDOR_API_RANGE = 1000, OPAL_END_VENDOR_API_RANGE = 1999
186};

--- 796 unchanged lines hidden ---