Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/powernv/opal.h
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | |||||
#define OPAL_CHECK_ASYNC_COMPLETION 86 | #define OPAL_CHECK_ASYNC_COMPLETION 86 | ||||
#define OPAL_I2C_REQUEST 109 | #define OPAL_I2C_REQUEST 109 | ||||
#define OPAL_PCI_TCE_KILL 126 | #define OPAL_PCI_TCE_KILL 126 | ||||
/* For OPAL_PCI_SET_PE */ | /* For OPAL_PCI_SET_PE */ | ||||
#define OPAL_UNMAP_PE 0 | #define OPAL_UNMAP_PE 0 | ||||
#define OPAL_MAP_PE 1 | #define OPAL_MAP_PE 1 | ||||
#define OPAL_PCI_BUS_ANY 0 | |||||
#define OPAL_PCI_BUS_3BITS 2 | |||||
#define OPAL_PCI_BUS_4BITS 3 | |||||
#define OPAL_PCI_BUS_5BITS 4 | |||||
#define OPAL_PCI_BUS_6BITS 5 | |||||
#define OPAL_PCI_BUS_7BITS 6 | |||||
#define OPAL_PCI_BUS_ALL 7 /* Match bus number exactly */ | |||||
#define OPAL_IGNORE_RID_DEVICE_NUMBER 0 | |||||
#define OPAL_COMPARE_RID_DEVICE_NUMBER 1 | |||||
#define OPAL_IGNORE_RID_FUNC_NUMBER 0 | |||||
#define OPAL_COMPARE_RID_FUNC_NUMBER 1 | |||||
#define OPAL_SUCCESS 0 | #define OPAL_SUCCESS 0 | ||||
#define OPAL_PARAMETER -1 | #define OPAL_PARAMETER -1 | ||||
#define OPAL_BUSY -2 | #define OPAL_BUSY -2 | ||||
#define OPAL_CLOSED -5 | #define OPAL_CLOSED -5 | ||||
#define OPAL_BUSY_EVENT -12 | #define OPAL_BUSY_EVENT -12 | ||||
#define OPAL_ASYNC_COMPLETION -15 | #define OPAL_ASYNC_COMPLETION -15 | ||||
struct opal_msg { | struct opal_msg { | ||||
Show All 18 Lines |