Go to the source code of this file.
|
enum | hpt_iopmu_message {
IOPMU_INBOUND_MSG0_NOP = 0,
IOPMU_INBOUND_MSG0_RESET,
IOPMU_INBOUND_MSG0_FLUSH,
IOPMU_INBOUND_MSG0_SHUTDOWN,
IOPMU_INBOUND_MSG0_STOP_BACKGROUND_TASK,
IOPMU_INBOUND_MSG0_START_BACKGROUND_TASK,
IOPMU_INBOUND_MSG0_MAX = 0xff,
IOPMU_OUTBOUND_MSG0_REGISTER_DEVICE_0 = 0x100,
IOPMU_OUTBOUND_MSG0_REGISTER_DEVICE_MAX = 0x1ff,
IOPMU_OUTBOUND_MSG0_UNREGISTER_DEVICE_0 = 0x200,
IOPMU_OUTBOUND_MSG0_UNREGISTER_DEVICE_MAX = 0x2ff,
IOPMU_OUTBOUND_MSG0_REVALIDATE_DEVICE_0 = 0x300,
IOPMU_OUTBOUND_MSG0_REVALIDATE_DEVICE_MAX = 0x3ff
} |
|
enum | hpt_iop_request_type {
IOP_REQUEST_TYPE_GET_CONFIG = 0,
IOP_REQUEST_TYPE_SET_CONFIG,
IOP_REQUEST_TYPE_BLOCK_COMMAND,
IOP_REQUEST_TYPE_SCSI_COMMAND,
IOP_REQUEST_TYPE_IOCTL_COMMAND,
IOP_REQUEST_TYPE_MAX
} |
|
enum | hpt_iop_result_type {
IOP_RESULT_PENDING = 0,
IOP_RESULT_SUCCESS,
IOP_RESULT_FAIL,
IOP_RESULT_BUSY,
IOP_RESULT_RESET,
IOP_RESULT_INVALID_REQUEST,
IOP_RESULT_BAD_TARGET,
IOP_RESULT_CHECK_CONDITION
} |
|
#define dprintk |
( |
|
fmt, |
|
|
|
args... |
|
) |
| |
#define HPT_IOCTL_RESULT_FAILED (-1) |
#define HPT_IOCTL_RESULT_OK 0 |
#define HPTIOP_MAX_REQUESTS 256u |
#define IOP_BLOCK_COMMAND_FLUSH 4 |
#define IOP_BLOCK_COMMAND_READ 1 |
#define IOP_BLOCK_COMMAND_SHUTDOWN 5 |
#define IOP_BLOCK_COMMAND_VERIFY 3 |
#define IOP_BLOCK_COMMAND_WRITE 2 |
#define IOP_REQUEST_FLAG_BIST_REQUEST 2 |
#define IOP_REQUEST_FLAG_OUTPUT_CONTEXT 8 |
#define IOP_REQUEST_FLAG_REMAPPED 4 |
#define IOP_REQUEST_FLAG_SYNC_REQUEST 1 |
#define IOPMU_INBOUND_INT_DOORBELL 4 |
#define IOPMU_INBOUND_INT_ERROR 8 |
#define IOPMU_INBOUND_INT_MSG0 1 |
#define IOPMU_INBOUND_INT_MSG1 2 |
#define IOPMU_INBOUND_INT_POSTQUEUE 0x10 |
#define IOPMU_OUTBOUND_INT_DOORBELL 4 |
#define IOPMU_OUTBOUND_INT_MSG0 1 |
#define IOPMU_OUTBOUND_INT_MSG1 2 |
#define IOPMU_OUTBOUND_INT_PCI 0x10 |
#define IOPMU_OUTBOUND_INT_POSTQUEUE 8 |
#define IOPMU_QUEUE_ADDR_HOST_BIT 0x80000000 |
#define IOPMU_QUEUE_EMPTY 0xffffffff |
#define IOPMU_QUEUE_MASK_HOST_BITS 0xf0000000 |
#define IOPMU_QUEUE_REQUEST_RESULT_BIT 0x40000000 |
#define IOPMU_QUEUE_REQUEST_SIZE_BIT 0x40000000 |
#define MVIOP_MU_INBOUND_INT_MSG 1 |
#define MVIOP_MU_INBOUND_INT_POSTQUEUE 2 |
#define MVIOP_MU_OUTBOUND_INT_MSG 1 |
#define MVIOP_MU_OUTBOUND_INT_POSTQUEUE 2 |
#define MVIOP_MU_QUEUE_ADDR_HOST_BIT 4 |
#define MVIOP_MU_QUEUE_ADDR_HOST_MASK (~(0x1full)) |
#define MVIOP_MU_QUEUE_ADDR_IOP_HIGH32 0xffffffff |
#define MVIOP_MU_QUEUE_REQUEST_RESULT_BIT 1 |
#define MVIOP_MU_QUEUE_REQUEST_RETURN_CONTEXT 2 |
#define MVIOP_QUEUE_LEN 512 |
- Enumerator:
IOP_REQUEST_TYPE_GET_CONFIG |
|
IOP_REQUEST_TYPE_SET_CONFIG |
|
IOP_REQUEST_TYPE_BLOCK_COMMAND |
|
IOP_REQUEST_TYPE_SCSI_COMMAND |
|
IOP_REQUEST_TYPE_IOCTL_COMMAND |
|
IOP_REQUEST_TYPE_MAX |
|
Definition at line 122 of file hptiop.h.
- Enumerator:
IOP_RESULT_PENDING |
|
IOP_RESULT_SUCCESS |
|
IOP_RESULT_FAIL |
|
IOP_RESULT_BUSY |
|
IOP_RESULT_RESET |
|
IOP_RESULT_INVALID_REQUEST |
|
IOP_RESULT_BAD_TARGET |
|
IOP_RESULT_CHECK_CONDITION |
|
Definition at line 131 of file hptiop.h.
- Enumerator:
IOPMU_INBOUND_MSG0_NOP |
|
IOPMU_INBOUND_MSG0_RESET |
|
IOPMU_INBOUND_MSG0_FLUSH |
|
IOPMU_INBOUND_MSG0_SHUTDOWN |
|
IOPMU_INBOUND_MSG0_STOP_BACKGROUND_TASK |
|
IOPMU_INBOUND_MSG0_START_BACKGROUND_TASK |
|
IOPMU_INBOUND_MSG0_MAX |
|
IOPMU_OUTBOUND_MSG0_REGISTER_DEVICE_0 |
|
IOPMU_OUTBOUND_MSG0_REGISTER_DEVICE_MAX |
|
IOPMU_OUTBOUND_MSG0_UNREGISTER_DEVICE_0 |
|
IOPMU_OUTBOUND_MSG0_UNREGISTER_DEVICE_MAX |
|
IOPMU_OUTBOUND_MSG0_REVALIDATE_DEVICE_0 |
|
IOPMU_OUTBOUND_MSG0_REVALIDATE_DEVICE_MAX |
|
Definition at line 90 of file hptiop.h.