Lines Matching +full:0 +full:x01010000
57 #define __this_HPT_INTERFACE_VERSION 0x02010000
80 * 4. The ID must not be zero or 0xFFFFFFFF.
93 * GUI will treat all array as 1-level RAID. No RAID0/1 or RAID1/0.
94 * A RAID0/1 device is type AT_RAID1. A RAID1/0 device is type AT_RAID0.
97 #define AT_UNKNOWN 0
110 #define PDT_UNKNOWN 0
146 #define ARRAY_FLAG_DISABLED 0x00000001 /* The array is disabled */
147 #define ARRAY_FLAG_NEEDBUILDING 0x00000002 /* array data need to be rebuilt */
148 #define ARRAY_FLAG_REBUILDING 0x00000004 /* array is in rebuilding process */
149 #define ARRAY_FLAG_BROKEN 0x00000008 /* broken but may still working */
150 #define ARRAY_FLAG_BOOTDISK 0x00000010 /* array has a active partition */
152 #define ARRAY_FLAG_BOOTMARK 0x00000040 /* array has boot mark set */
153 #define ARRAY_FLAG_NEED_AUTOREBUILD 0x00000080 /* auto-rebuild should start */
154 #define ARRAY_FLAG_VERIFYING 0x00000100 /* is being verified */
155 #define ARRAY_FLAG_INITIALIZING 0x00000200 /* is being initialized */
156 #define ARRAY_FLAG_TRANSFORMING 0x00000400 /* transform in progress */
157 #define ARRAY_FLAG_NEEDTRANSFORM 0x00000800 /* array need transform */
158 #define ARRAY_FLAG_NEEDINITIALIZING 0x00001000 /* the array's initialization hasn't finished*/
159 #define ARRAY_FLAG_BROKEN_REDUNDANT 0x00002000 /* broken but redundant (raid6) */
160 #define ARRAY_FLAG_RAID15PLUS 0x80000000 /* display this RAID 1 as RAID 1.5 */
162 #define ARRAY_FLAG_ZERO_STARTING 0x40000000 /* start lba of all members of this array is 0 */
167 #define DEVICE_FLAG_DISABLED 0x00000001 /* device is disabled */
168 #define DEVICE_FLAG_BOOTDISK 0x00000002 /* disk has a active partition */
169 #define DEVICE_FLAG_BOOTMARK 0x00000004 /* disk has boot mark set */
170 #define DEVICE_FLAG_WITH_601 0x00000008 /* has HPT601 connected */
171 #define DEVICE_FLAG_SATA 0x00000010 /* SATA or SAS device */
172 #define DEVICE_FLAG_ON_PM_PORT 0x00000020 /* PM port */
173 #define DEVICE_FLAG_SAS 0x00000040 /* SAS device */
174 #define DEVICE_FLAG_IN_ENCLOSURE 0x00000080 /* PathId is enclosure# */
175 #define DEVICE_FLAG_UNINITIALIZED 0x00010000 /* device is not initialized, can't be used to creat…
176 #define DEVICE_FLAG_LEGACY 0x00020000 /* single disk & mbr contains at least one partition…
177 #define DEVICE_FLAG_BAD_SECTOR_FOUND 0x00040000 /* found bad sector on target disk, set and clear b…
179 #define DEVICE_FLAG_IS_SPARE 0x80000000 /* is a spare disk */
182 #define DEVICE_FLAG_SSD 0x00000100 /* SSD device */
183 #define DEVICE_FLAG_3G 0x10000000
184 #define DEVICE_FLAG_6G 0x20000000
217 #define HPT_CTL_CODE(x) (x+0xFF00)
218 #define HPT_CTL_CODE_LINUX_TO_IOP(x) ((x)-0xff00)
225 #define HPT_CTL_CODE(x) CTL_CODE(0x370, 0x900+(x), 0, 0)
226 #define HPT_CTL_CODE_WIN32_TO_IOP(x) ((((x) & 0xffff)>>2)-0x900)
232 #define HPT_IOCTL_GET_VERSION HPT_CTL_CODE(0)
360 #define CHIP_SUPPORT_ULTRA_66 0x20
361 #define CHIP_SUPPORT_ULTRA_100 0x40
362 #define CHIP_HPT3XX_DPLL_MODE 0x80
363 #define CHIP_SUPPORT_ULTRA_133 0x01
364 #define CHIP_SUPPORT_ULTRA_150 0x02
365 #define CHIP_MASTER 0x04
366 #define CHIP_SUPPORT_SATA_300 0x08
368 #define HPT_SPIN_UP_MODE_NOSUPPORT 0
372 #define HPT_CAP_DUMP_METADATA 0x1
373 #define HPT_CAP_DISK_CHECKING 0x2
374 #define HPT_CAP_REPORT_SECTOR_SIZE 0x10
380 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
437 #if HPT_INTERFACE_VERSION>=0x01020000
470 #define CEXF_BatteryVoltage 0x10
471 #define CEXF_BatteryBackupTime 0x20
472 #define CEXF_FirmwareVersion 0x40
473 #define CEXF_SerialNumber 0x80
474 #define CEXF_BatteryTemperature 0x100
475 #define CEXF_Power12v 0x200
476 #define CEXF_Power5v 0x400
477 #define CEXF_Power3p3v 0x800
478 #define CEXF_Power2p5v 0x1000
479 #define CEXF_Power1p8v 0x2000
480 #define CEXF_Core1p8v 0x4000
481 #define CEXF_Core1p2v 0x8000
482 #define CEXF_DDR1p8v 0x10000
483 #define CEXF_DDR1p8vRef 0x20000
484 #define CEXF_CPUTemperature 0x40000
485 #define CEXF_BoardTemperature 0x80000
486 #define CEXF_FanSpeed 0x100000
487 #define CEXF_Core1p0v 0x200000
488 #define CEXF_Fan2Speed 0x400000
489 #define CEXF_Power1p0v 0x800000
490 #define CEXF_Power1p5v 0x1000000
491 #define CEXF_SASAddress 0x2000000
580 #define SES_TYPE_UNSPECIFIED 0x00
581 #define SES_TYPE_DEVICE 0x01
582 #define SES_TYPE_POWER_SUPPLY 0x02
583 #define SES_TYPE_FAN 0x03
584 #define SES_TYPE_TEMPERATURE_SENSOR 0x04
585 #define SES_TYPE_DOOR_LOCK 0x05
586 #define SES_TYPE_SPEAKER 0x06
587 #define SES_TYPE_ES_CONTROLLER 0x07
588 #define SES_TYPE_SCC_CONTROLLER 0x08
589 #define SES_TYPE_NONVOLATILE_CACHE 0x09
590 #define SES_TYPE_UPS 0x0B
591 #define SES_TYPE_DISPLAY 0x0C
592 #define SES_TYPE_KEYPAD 0x0D
593 #define SES_TYPE_ENCLOSURE 0x0E
594 #define SES_TYPE_SCSI_TRANSCEIVER 0x0F
595 #define SES_TYPE_LANGUAGE 0x10
596 #define SES_TYPE_COMM_PORT 0x11
597 #define SES_TYPE_VOLTAGE_SENSOR 0x12
598 #define SES_TYPE_CURRENT_SENSOR 0x13
599 #define SES_TYPE_SCSI_TARGET_PORT 0x14
600 #define SES_TYPE_SCSI_INITIATOR_PORT 0x15
601 #define SES_TYPE_SIMPLE_SUBENCLOSURE 0x16
602 #define SES_TYPE_ARRAY_DEVICE 0x17
603 #define SES_TYPE_VENDOR_SPECIFIC 0x80
607 #define SES_STATUS_UNSUPPORTED 0x00
608 #define SES_STATUS_OK 0x01
609 #define SES_STATUS_CRITICAL 0x02
610 #define SES_STATUS_NONCRITICAL 0x03
611 #define SES_STATUS_UNRECOVERABLE 0x04
612 #define SES_STATUS_NOTINSTALLED 0x05
613 #define SES_STATUS_UNKNOWN 0x06
614 #define SES_STATUS_NOTAVAILABLE 0x07
615 #define SES_STATUS_RESERVED 0x08
660 #define ENCLOSURE_TYPE_INTERNAL 0
669 HPT_U32 seconds:6; /* 0 - 59 */
670 HPT_U32 minutes:6; /* 0 - 59 */
672 HPT_U32 hours:6; /* 0 - 59 */
674 HPT_U32 year:5; /* 0=2000, 31=2031 */
707 #if HPT_INTERFACE_VERSION>=0x01010000
729 #if HPT_INTERFACE_VERSION>=0x01020000
762 #if HPT_INTERFACE_VERSION>=0x02000001
849 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
885 #if HPT_INTERFACE_VERSION>=0x01020000
895 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
947 #define HPT601_INFO_LED1CONTROL 0x10
948 #define HPT601_INFO_LED2CONTROL 0x20
949 #define HPT601_INFO_POWERSTATUS 0x40
953 HPT_U16 DeviceId; /* 0x5A3E */
962 #if HPT_INTERFACE_VERSION>=0x01010000
965 #define CACHE_POLICY_NONE 0
990 #if HPT_INTERFACE_VERSION>=0x01010000
1008 #if HPT_INTERFACE_VERSION>=0x01020000
1009 #define INVALID_TARGET_ID 0xFF
1010 #define INVALID_BUS_ID 0xFF
1015 HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
1035 #if HPT_INTERFACE_VERSION>=0x02000001
1044 HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
1063 #define LOGICAL_DEVICE_INFO_V4_REVISION 0
1082 #define ADIF_READ_AHEAD 0x10
1083 #define ADIF_SPIN_UP_MODE 0x20
1084 #define ADIF_SET_BAD 0x40
1094 HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
1099 HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
1110 #if HPT_INTERFACE_VERSION>=0x01020000
1112 #define TARGET_TYPE_DEVICE 0
1116 #define AIT_NAME 0
1121 #define DIT_MODE 0
1128 #define DISK_CACHE_POLICY_UNCHANGE 0
1139 /* HPT_U8 param[0]; */
1167 #if HPT_INTERFACE_VERSION>=0x01010000
1185 #if HPT_INTERFACE_VERSION>=0x02000001
1189 HPT_U8 diskCachePolicy; /*unchange:0 enable:1 disable:2*/
1208 #define CREATE_ARRAY_PARAMS_V3_REVISION 0
1213 #if HPT_INTERFACE_VERSION < 0x01020000
1245 #define CAF_CACHE_POLICY_MASK 0x1C
1250 #define CAF_KEEP_DATA_ALWAYS 0x80
1257 * Deleting a RAID 0/1 should result as two RAID 0 array ( not implement now ).
1323 /* HPT_U8 DataBuffer[0]; */
1340 /* HPT_U8 DataBuffer[0]; */
1393 HPT_U8 location; /* 0 - system */
1456 #define HPT_IOCTL_MAGIC32 0x1A2B3C4D
1457 #define HPT_IOCTL_MAGIC 0xA1B2C3D4
1505 * interface version. 0 when fail.
1517 * 0 - Success
1538 * 0 Success, controller info is put into (*pInfo ).
1542 #if HPT_INTERFACE_VERSION>=0x01020000
1544 * Version compatibility: v2.0.0.0 or later
1549 * 0 Success, controller info is put into (*pInfo ).
1554 * Version compatibility: v2.0.0.0 or later
1559 * 0 Success, controller info is put into (*pInfo ).
1564 * Version compatibility: v2.0.0.0 or later
1569 * 0 Success, controller info is put into (*pInfo ).
1581 * 0 Success, channel info is put into (*pInfo ).
1592 * 0 Success, channel info is put into (*pInfo ).
1608 * Version compatibility: v2.1.0.0 or later
1623 * 0 - Success
1632 * 0 failed
1642 * 0 Success
1656 * 0 Success
1661 * Used to dynamicly add a disk to an RAID1, RAID0/1, RAID1/0 or RAID5 array.
1668 * 0 Success
1678 * 0 Success
1689 * 0 Success
1699 * 0 Success
1709 * 0 Success, event info is filled in *pEvent
1717 * idArray Array ID (RAID1, 0/1 or RAID5)
1722 * 0 Success, event info is filled in *pEvent
1742 * 0 Success
1754 * 0 Success
1766 * 0 Success
1768 * If idDisk==0, call to this function will stop buzzer on the adapter
1773 #if HPT_INTERFACE_VERSION >= 0x01000004
1783 * 0 Success
1794 * 0 Success
1805 * 0 Success
1817 * 0 Success
1827 * 0 Success
1837 * 0 Success
1844 * Version compatibility: v2.0.0.0 or later
1850 * 0 Success
1863 * 0 Success
1877 * 0 Success
1890 * 0 Success
1898 * id - logical device ID. If id is 0 the boot mark will be removed.
1900 * 0 Success
1911 * 0 - Success
1924 * 0 - Success
1931 * Version compatibility: v1.1.0.0 or later
1935 * 0 failed
1938 #if HPT_INTERFACE_VERSION>=0x01010000
1947 * 0 failed
1950 #if HPT_INTERFACE_VERSION>=0x02000001
1955 * Version compatibility: v1.1.0.0 or later
1960 * 0 - Success
1962 #if HPT_INTERFACE_VERSION>=0x01010000
1967 * Version compatibility: v1.2.0.0 or later
1972 * 0 - Success
1974 #if HPT_INTERFACE_VERSION>=0x01020000
1984 * 0 - Success
1986 #if HPT_INTERFACE_VERSION>=0x02000001
1992 * Version compatibility: v2.0.0.0 or later
1999 #if HPT_INTERFACE_VERSION>=0x02000000
2012 #if HPT_INTERFACE_VERSION>=0x02000001
2019 * Version compatibility: v2.0.0.0 or later
2024 * 0 - Success
2026 #if HPT_INTERFACE_VERSION>=0x02000000
2032 * Version compatibility: v1.2.0.0 or later
2037 * 0 - Success
2039 #if HPT_INTERFACE_VERSION>=0x01020000
2045 * Version compatibility: v2.0.0.0 or later
2051 * 0 - Success
2053 #if HPT_INTERFACE_VERSION>=0x02000000
2059 * Version compatibility: v1.2.0.0 or later
2064 * 0 - Success
2067 #if HPT_INTERFACE_VERSION>=0x01020000
2078 * 0 - Success
2081 #if HPT_INTERFACE_VERSION>=0x02000001
2087 * Version compatibility: v1.1.0.0 or later
2089 * idArray Array ID (RAID1, 0/1 or RAID5)
2094 * 0 Success, event info is filled in *pEvent
2096 #if HPT_INTERFACE_VERSION>=0x01010000
2102 * Version compatibility: v1.1.0.0 or later
2108 * 0 Success
2112 #if HPT_INTERFACE_VERSION>=0x01010000
2118 * Version compatibility: v1.1.0.0 or later
2124 * 0 Success
2126 #if HPT_INTERFACE_VERSION>=0x01010000
2132 * Version compatibility: v2.0.0.0 or later
2134 * indata[0] - controller ID
2136 * 0 Success
2138 #if HPT_INTERFACE_VERSION>=0x01020000
2144 * Version compatibility: v1.0.0.0 or later
2150 * 0 Success
2158 * Version compatibility: v1.0.0.0 or later
2162 * 0 Success
2170 * Version compatibility: v2.1.0.0 or later
2179 * Version compatibility: v2.1.0.0 or later
2184 * 0 Success, enclosure info is put into (*pInfo ).
2196 * Version compatibility: v2.1.0.0 or later
2203 * Version compatibility: v1.0.0.0 or later
2212 * 0 Success
2221 * 0 Success