Linux Kernel
3.7.1
|
Go to the source code of this file.
#define SCU_EVENT_ACK_NAK_TIMEOUT_ERROR SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_TRANSPORT_ERROR, 0x00) |
TRANSPORT_LEVEL_ERRORS
Definition at line 160 of file scu_event_codes.h.
#define SCU_EVENT_BROADCAST_AEN SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_BROADCAST_CHANGE, 0x06) |
Definition at line 178 of file scu_event_codes.h.
#define SCU_EVENT_BROADCAST_CHANGE SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_BROADCAST_CHANGE, 0x01) |
BROADCAST_CHANGE_EVENTS
Definition at line 168 of file scu_event_codes.h.
#define SCU_EVENT_BROADCAST_EXPANDER SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_BROADCAST_CHANGE, 0x05) |
Definition at line 176 of file scu_event_codes.h.
#define SCU_EVENT_BROADCAST_RESERVED0 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_BROADCAST_CHANGE, 0x02) |
Definition at line 170 of file scu_event_codes.h.
#define SCU_EVENT_BROADCAST_RESERVED1 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_BROADCAST_CHANGE, 0x03) |
Definition at line 172 of file scu_event_codes.h.
#define SCU_EVENT_BROADCAST_RESERVED3 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_BROADCAST_CHANGE, 0x07) |
Definition at line 180 of file scu_event_codes.h.
#define SCU_EVENT_BROADCAST_RESERVED4 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_BROADCAST_CHANGE, 0x08) |
Definition at line 182 of file scu_event_codes.h.
#define SCU_EVENT_BROADCAST_SES SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_BROADCAST_CHANGE, 0x04) |
Definition at line 174 of file scu_event_codes.h.
#define SCU_EVENT_CODE_MASK (SCU_EVENT_TYPE_CODE_MASK | SCU_EVENT_SPECIFIC_CODE_MASK) |
Definition at line 71 of file scu_event_codes.h.
#define SCU_EVENT_DRIVER_POST_RNC_SUSPEND_TX SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_RNC_SUSPEND_TX, 0x20) |
Definition at line 256 of file scu_event_codes.h.
#define SCU_EVENT_DRIVER_POST_RNC_SUSPEND_TX_RX SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_RNC_SUSPEND_TX_RX, 0x20) |
Definition at line 258 of file scu_event_codes.h.
#define SCU_EVENT_FUNCTION_LEVEL_RESET SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_SMU_ERROR, 0x05) |
Definition at line 152 of file scu_event_codes.h.
#define SCU_EVENT_HARD_RESET_RECEIVED SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x13) |
Definition at line 198 of file scu_event_codes.h.
#define SCU_EVENT_HARD_RESET_TRANSMITTED SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x12) |
Definition at line 196 of file scu_event_codes.h.
#define SCU_EVENT_INVALID_CONTEXT_COMMAND SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_SMU_COMMAND_ERROR, 0x00) |
SMU_COMMAND_EVENTS
Definition at line 130 of file scu_event_codes.h.
#define SCU_EVENT_IT_NEXUS_TIMEOUT SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_PTX_SCHEDULE_EVENT, 0x02) |
Definition at line 330 of file scu_event_codes.h.
#define SCU_EVENT_LINK_FAILURE SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x16) |
Definition at line 202 of file scu_event_codes.h.
#define SCU_EVENT_MESSAGE | ( | type, | |
code | |||
) | ((type) | SCU_EVENT_SPECIFIC(code)) |
This macro constructs a combines an SCU event type and SCU event specifier from the type and code values.
Definition at line 96 of file scu_event_codes.h.
#define SCU_EVENT_PCIE_INTERFACE_ERROR SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_SMU_ERROR, 0x04) |
Definition at line 150 of file scu_event_codes.h.
#define SCU_EVENT_PE_SUSPENDED SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_BROADCAST_CHANGE, 0x09) |
Definition at line 184 of file scu_event_codes.h.
#define SCU_EVENT_PORT_SELECTOR_DETECTED SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x10) |
OSSP_EVENTS
Definition at line 192 of file scu_event_codes.h.
#define SCU_EVENT_POST_IT_NEXUS_LOSS_TIMER_DISABLE SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_RNC_OPS_MISC, 0x02) |
Definition at line 270 of file scu_event_codes.h.
#define SCU_EVENT_POST_IT_NEXUS_LOSS_TIMER_ENABLE SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_RNC_OPS_MISC, 0x01) |
Definition at line 268 of file scu_event_codes.h.
#define SCU_EVENT_POST_RCN_RELEASE SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_RNC_OPS_MISC, SCU_EVENT_SPECIFIER_RNC_RELEASE) |
REMOTE_NODE_MISC_EVENTS
Definition at line 266 of file scu_event_codes.h.
#define SCU_EVENT_POST_RNC_COMPLETE SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_RNC_OPS_MISC, 0x03) |
Definition at line 272 of file scu_event_codes.h.
#define SCU_EVENT_POST_RNC_INVALIDATE_COMPLETE SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_RNC_OPS_MISC, 0x04) |
Definition at line 274 of file scu_event_codes.h.
#define SCU_EVENT_RECEIVED_IDENTIFY_TIMEOUT SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x15) |
Definition at line 200 of file scu_event_codes.h.
#define SCU_EVENT_RX_CREDIT_BLOCKED_RECEIVED SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_ERR_CNT_EVENT, 0x00) |
ERROR_COUNT_EVENT
Definition at line 282 of file scu_event_codes.h.
#define SCU_EVENT_RX_DONE_CREDIT_TIMEOUT SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_ERR_CNT_EVENT, 0x02) |
Definition at line 286 of file scu_event_codes.h.
#define SCU_EVENT_SAS_15 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x19) |
Definition at line 208 of file scu_event_codes.h.
#define SCU_EVENT_SAS_15_SSC SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x18) |
Definition at line 206 of file scu_event_codes.h.
#define SCU_EVENT_SAS_30 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x1B) |
Definition at line 212 of file scu_event_codes.h.
#define SCU_EVENT_SAS_30_SSC SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x1A) |
Definition at line 210 of file scu_event_codes.h.
#define SCU_EVENT_SAS_60 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x1D) |
Definition at line 216 of file scu_event_codes.h.
#define SCU_EVENT_SAS_60_SSC SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x1C) |
Definition at line 214 of file scu_event_codes.h.
#define SCU_EVENT_SAS_PHY_DETECTED SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x24) |
Definition at line 230 of file scu_event_codes.h.
#define SCU_EVENT_SATA_15 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x1F) |
Definition at line 220 of file scu_event_codes.h.
#define SCU_EVENT_SATA_15_SSC SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x1E) |
Definition at line 218 of file scu_event_codes.h.
#define SCU_EVENT_SATA_30 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x21) |
Definition at line 224 of file scu_event_codes.h.
#define SCU_EVENT_SATA_30_SSC SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x20) |
Definition at line 222 of file scu_event_codes.h.
#define SCU_EVENT_SATA_60 SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x23) |
Definition at line 228 of file scu_event_codes.h.
#define SCU_EVENT_SATA_60_SSC SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x22) |
Definition at line 226 of file scu_event_codes.h.
#define SCU_EVENT_SATA_PHY_DETECTED SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x25) |
Definition at line 232 of file scu_event_codes.h.
#define SCU_EVENT_SATA_SPINUP_HOLD SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x17) |
Definition at line 204 of file scu_event_codes.h.
#define SCU_EVENT_SENT_PORT_SELECTION SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_OSSP_EVENT, 0x11) |
Definition at line 194 of file scu_event_codes.h.
#define SCU_EVENT_SMP_RESPONSE_NO_PE SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_PTX_SCHEDULE_EVENT, 0x00) |
PTS_SCHEDULE_EVENT
Definition at line 320 of file scu_event_codes.h.
#define SCU_EVENT_SPECIFIC | ( | code | ) | ((u32)(code) << SCU_EVENT_SPECIFIC_CODE_SHIFT) |
This macro constructs an SCU event specifier from the code value.
Definition at line 87 of file scu_event_codes.h.
#define SCU_EVENT_SPECIFIC_CODE_MASK 0x00FC0000 |
Definition at line 69 of file scu_event_codes.h.
#define SCU_EVENT_SPECIFIC_CODE_SHIFT 18 |
Definition at line 68 of file scu_event_codes.h.
#define SCU_EVENT_SPECIFIC_IT_NEXUS_TIMEOUT scu_get_event_specifier(SCU_EVENT_IT_NEXUS_TIMEOUT) |
Definition at line 332 of file scu_event_codes.h.
#define SCU_EVENT_SPECIFIC_SMP_RESPONSE_NO_PE scu_get_event_specifier(SCU_EVENT_SMP_RESPONSE_NO_PE) |
Definition at line 322 of file scu_event_codes.h.
#define SCU_EVENT_SPECIFIC_TASK_TIMEOUT scu_get_event_specifier(SCU_EVENT_TASK_TIMEOUT) |
Definition at line 327 of file scu_event_codes.h.
#define SCU_EVENT_SPECIFIER_DRIVER_SUSPEND 0x20 |
SCU_EVENT_SPECIFIERS
Definition at line 122 of file scu_event_codes.h.
#define SCU_EVENT_SPECIFIER_RNC_RELEASE 0x00 |
Definition at line 123 of file scu_event_codes.h.
#define SCU_EVENT_TASK_TIMEOUT SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_PTX_SCHEDULE_EVENT, 0x01) |
Definition at line 325 of file scu_event_codes.h.
#define SCU_EVENT_TC_RNC_UNCORRECTABLE_ERROR SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_FATAL_MEMORY_ERROR, 0x01) |
Definition at line 242 of file scu_event_codes.h.
#define SCU_EVENT_TL_RNC_SUSPEND_TX SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_RNC_SUSPEND_TX, 0x00) |
REMOTE_NODE_SUSPEND_EVENTS
Definition at line 252 of file scu_event_codes.h.
#define SCU_EVENT_TL_RNC_SUSPEND_TX_RX SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_RNC_SUSPEND_TX_RX, 0x00) |
Definition at line 254 of file scu_event_codes.h.
#define SCU_EVENT_TSC_RNSC_UNCORRECTABLE_ERROR SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_FATAL_MEMORY_ERROR, 0x00) |
FATAL_INTERNAL_MEMORY_ERROR_EVENTS
Definition at line 240 of file scu_event_codes.h.
#define SCU_EVENT_TX_DONE_CREDIT_TIMEOUT SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_ERR_CNT_EVENT, 0x01) |
Definition at line 284 of file scu_event_codes.h.
#define SCU_EVENT_TYPE | ( | type | ) | ((u32)(type) << SCU_EVENT_TYPE_CODE_SHIFT) |
This macro constructs an SCU event type from the type value.
Definition at line 79 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_BROADCAST_CHANGE SCU_EVENT_TYPE(0x02) |
Definition at line 108 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_CODE_MASK 0x0F000000 |
Definition at line 66 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_CODE_SHIFT 24 |
This file contains the constants and macros for the SCU event codes.
Definition at line 65 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_ERR_CNT_EVENT SCU_EVENT_TYPE(0x0A) |
Definition at line 115 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_FATAL_MEMORY_ERROR SCU_EVENT_TYPE(0x0F) |
Definition at line 110 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_OSSP_EVENT SCU_EVENT_TYPE(0x03) |
Definition at line 109 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_PTX_SCHEDULE_EVENT SCU_EVENT_TYPE(0x07) |
Definition at line 114 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_RNC_OPS_MISC SCU_EVENT_TYPE(0x06) |
Definition at line 113 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_RNC_SUSPEND_TX SCU_EVENT_TYPE(0x04) |
Definition at line 111 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_RNC_SUSPEND_TX_RX SCU_EVENT_TYPE(0x05) |
Definition at line 112 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_SMU_COMMAND_ERROR SCU_EVENT_TYPE(0x08) |
#define SCU_EVENT_TYPE_SMU_ERROR SCU_EVENT_TYPE(0x00) |
Definition at line 106 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_SMU_PCQ_ERROR SCU_EVENT_TYPE(0x09) |
Definition at line 105 of file scu_event_codes.h.
#define SCU_EVENT_TYPE_TRANSPORT_ERROR SCU_EVENT_TYPE(0x01) |
Definition at line 107 of file scu_event_codes.h.
#define SCU_EVENT_UNCORRECTABLE_PCQ_ERROR SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_SMU_PCQ_ERROR, 0x00) |
SMU_PCQ_EVENTS
Definition at line 138 of file scu_event_codes.h.
#define SCU_EVENT_UNCORRECTABLE_REGISTER_READ SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_SMU_ERROR, 0x03) |
Definition at line 148 of file scu_event_codes.h.
#define SCU_EVENT_UNCORRECTABLE_REGISTER_WRITE SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_SMU_ERROR, 0x02) |
SMU_EVENTS
Definition at line 146 of file scu_event_codes.h.
#define SCU_EVENT_ZPT_UNCORRECTABLE_ERROR SCU_EVENT_MESSAGE(SCU_EVENT_TYPE_FATAL_MEMORY_ERROR, 0x02) |
Definition at line 244 of file scu_event_codes.h.
#define scu_get_event_code | ( | event_code | ) | ((event_code) & SCU_EVENT_CODE_MASK) |
This macro returns the combined SCU event type and SCU event specifier from the event code.
Definition at line 311 of file scu_event_codes.h.
#define scu_get_event_specifier | ( | event_code | ) | ((event_code) & SCU_EVENT_SPECIFIC_CODE_MASK) |
This macro returns the SCU event specifier from the event code.
Definition at line 302 of file scu_event_codes.h.
#define scu_get_event_type | ( | event_code | ) | ((event_code) & SCU_EVENT_TYPE_CODE_MASK) |
This macro returns the SCU event type from the event code.
Definition at line 294 of file scu_event_codes.h.