Go to the documentation of this file.
38 #define IOPMU_QUEUE_EMPTY 0xffffffff
39 #define IOPMU_QUEUE_MASK_HOST_BITS 0xf0000000
40 #define IOPMU_QUEUE_ADDR_HOST_BIT 0x80000000
41 #define IOPMU_QUEUE_REQUEST_SIZE_BIT 0x40000000
42 #define IOPMU_QUEUE_REQUEST_RESULT_BIT 0x40000000
44 #define IOPMU_OUTBOUND_INT_MSG0 1
45 #define IOPMU_OUTBOUND_INT_MSG1 2
46 #define IOPMU_OUTBOUND_INT_DOORBELL 4
47 #define IOPMU_OUTBOUND_INT_POSTQUEUE 8
48 #define IOPMU_OUTBOUND_INT_PCI 0x10
50 #define IOPMU_INBOUND_INT_MSG0 1
51 #define IOPMU_INBOUND_INT_MSG1 2
52 #define IOPMU_INBOUND_INT_DOORBELL 4
53 #define IOPMU_INBOUND_INT_ERROR 8
54 #define IOPMU_INBOUND_INT_POSTQUEUE 0x10
56 #define MVIOP_QUEUE_LEN 512
78 #define MVIOP_MU_QUEUE_ADDR_HOST_MASK (~(0x1full))
79 #define MVIOP_MU_QUEUE_ADDR_HOST_BIT 4
81 #define MVIOP_MU_QUEUE_ADDR_IOP_HIGH32 0xffffffff
82 #define MVIOP_MU_QUEUE_REQUEST_RESULT_BIT 1
83 #define MVIOP_MU_QUEUE_REQUEST_RETURN_CONTEXT 2
85 #define MVIOP_MU_INBOUND_INT_MSG 1
86 #define MVIOP_MU_INBOUND_INT_POSTQUEUE 2
87 #define MVIOP_MU_OUTBOUND_INT_MSG 1
88 #define MVIOP_MU_OUTBOUND_INT_POSTQUEUE 2
117 #define IOP_REQUEST_FLAG_SYNC_REQUEST 1
118 #define IOP_REQUEST_FLAG_BIST_REQUEST 2
119 #define IOP_REQUEST_FLAG_REMAPPED 4
120 #define IOP_REQUEST_FLAG_OUTPUT_CONTEXT 8
181 #define IOP_BLOCK_COMMAND_READ 1
182 #define IOP_BLOCK_COMMAND_WRITE 2
183 #define IOP_BLOCK_COMMAND_VERIFY 3
184 #define IOP_BLOCK_COMMAND_FLUSH 4
185 #define IOP_BLOCK_COMMAND_SHUTDOWN 5
208 #define HPTIOP_MAX_REQUESTS 256u
224 #define HPT_SCP(scp) ((struct hpt_scsi_pointer *)&(scp)->SCp)
303 #define HPT_IOCTL_RESULT_OK 0
304 #define HPT_IOCTL_RESULT_FAILED (-1)
307 #define dprintk(fmt, args...) do { printk(fmt, ##args); } while(0)
309 #define dprintk(fmt, args...)