Lines Matching +full:0 +full:x01010000
58 #define __this_HPT_INTERFACE_VERSION 0x02010000
81 * 4. The ID must not be zero or 0xFFFFFFFF.
94 * GUI will treat all array as 1-level RAID. No RAID0/1 or RAID1/0.
95 * A RAID0/1 device is type AT_RAID1. A RAID1/0 device is type AT_RAID0.
98 #define AT_UNKNOWN 0
111 #define PDT_UNKNOWN 0
148 #define ARRAY_FLAG_DISABLED 0x00000001 /* The array is disabled */
149 #define ARRAY_FLAG_NEEDBUILDING 0x00000002 /* array data need to be rebuilt */
150 #define ARRAY_FLAG_REBUILDING 0x00000004 /* array is in rebuilding process */
151 #define ARRAY_FLAG_BROKEN 0x00000008 /* broken but may still working */
152 #define ARRAY_FLAG_BOOTDISK 0x00000010 /* array has a active partition */
154 #define ARRAY_FLAG_BOOTMARK 0x00000040 /* array has boot mark set */
155 #define ARRAY_FLAG_NEED_AUTOREBUILD 0x00000080 /* auto-rebuild should start */
156 #define ARRAY_FLAG_VERIFYING 0x00000100 /* is being verified */
157 #define ARRAY_FLAG_INITIALIZING 0x00000200 /* is being initialized */
158 #define ARRAY_FLAG_TRANSFORMING 0x00000400 /* tranform in progress */
159 #define ARRAY_FLAG_NEEDTRANSFORM 0x00000800 /* array need tranform */
160 #define ARRAY_FLAG_NEEDINITIALIZING 0x00001000 /* the array's initialization hasn't finished*/
161 #define ARRAY_FLAG_BROKEN_REDUNDANT 0x00002000 /* broken but redundant (raid6) */
162 #define ARRAY_FLAG_RAID15PLUS 0x80000000 /* display this RAID 1 as RAID 1.5 */
164 #define ARRAY_FLAG_ZERO_STARTING 0x40000000 /* start lba of all members of this array is 0 */
169 #define DEVICE_FLAG_DISABLED 0x00000001 /* device is disabled */
170 #define DEVICE_FLAG_BOOTDISK 0x00000002 /* disk has a active partition */
171 #define DEVICE_FLAG_BOOTMARK 0x00000004 /* disk has boot mark set */
172 #define DEVICE_FLAG_WITH_601 0x00000008 /* has HPT601 connected */
173 #define DEVICE_FLAG_SATA 0x00000010 /* SATA or SAS device */
174 #define DEVICE_FLAG_ON_PM_PORT 0x00000020 /* PM port */
175 #define DEVICE_FLAG_SAS 0x00000040 /* SAS device */
176 #define DEVICE_FLAG_IN_ENCLOSURE 0x00000080 /* PathId is enclosure# */
177 #define DEVICE_FLAG_TAPE 0x00000200 /* SAS Tape device */
178 #define DEVICE_FLAG_CHANGER 0x00000400 /* SAS Changer device */
179 #define DEVICE_FLAG_UNINITIALIZED 0x00010000 /* device is not initialized, can't be used to creat…
180 #define DEVICE_FLAG_LEGACY 0x00020000 /* single disk & mbr contains at least one partition…
181 #define DEVICE_FLAG_BAD_SECTOR_FOUND 0x00040000 /* found bad sector on target disk, set and clear b…
183 #define DEVICE_FLAG_IS_SPARE 0x80000000 /* is a spare disk */
186 #define DEVICE_FLAG_SSD 0x00000100 /* SSD device */
187 #define DEVICE_FLAG_3G 0x10000000
188 #define DEVICE_FLAG_6G 0x20000000
221 #define HPT_CTL_CODE(x) (x+0xFF00)
222 #define HPT_CTL_CODE_LINUX_TO_IOP(x) ((x)-0xff00)
229 #define HPT_CTL_CODE(x) CTL_CODE(0x370, 0x900+(x), 0, 0)
230 #define HPT_CTL_CODE_WIN32_TO_IOP(x) ((((x) & 0xffff)>>2)-0x900)
236 #define HPT_IOCTL_GET_VERSION HPT_CTL_CODE(0)
364 #define CHIP_SUPPORT_ULTRA_66 0x20
365 #define CHIP_SUPPORT_ULTRA_100 0x40
366 #define CHIP_HPT3XX_DPLL_MODE 0x80
367 #define CHIP_SUPPORT_ULTRA_133 0x01
368 #define CHIP_SUPPORT_ULTRA_150 0x02
369 #define CHIP_MASTER 0x04
370 #define CHIP_SUPPORT_SATA_300 0x08
372 #define HPT_SPIN_UP_MODE_NOSUPPORT 0
376 #define HPT_CAP_DUMP_METADATA 0x1
377 #define HPT_CAP_DISK_CHECKING 0x2
378 #define HPT_CAP_REPORT_SECTOR_SIZE 0x10
384 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
441 #if HPT_INTERFACE_VERSION>=0x01020000
474 #define CEXF_BatteryVoltage 0x10
475 #define CEXF_BatteryBackupTime 0x20
476 #define CEXF_FirmwareVersion 0x40
477 #define CEXF_SerialNumber 0x80
478 #define CEXF_BatteryTemperature 0x100
479 #define CEXF_Power12v 0x200
480 #define CEXF_Power5v 0x400
481 #define CEXF_Power3p3v 0x800
482 #define CEXF_Power2p5v 0x1000
483 #define CEXF_Power1p8v 0x2000
484 #define CEXF_Core1p8v 0x4000
485 #define CEXF_Core1p2v 0x8000
486 #define CEXF_DDR1p8v 0x10000
487 #define CEXF_DDR1p8vRef 0x20000
488 #define CEXF_CPUTemperature 0x40000
489 #define CEXF_BoardTemperature 0x80000
490 #define CEXF_FanSpeed 0x100000
491 #define CEXF_Core1p0v 0x200000
492 #define CEXF_Fan2Speed 0x400000
493 #define CEXF_Power1p0v 0x800000
494 #define CEXF_Power1p5v 0x1000000
495 #define CEXF_SASAddress 0x2000000
584 #define SES_TYPE_UNSPECIFIED 0x00
585 #define SES_TYPE_DEVICE 0x01
586 #define SES_TYPE_POWER_SUPPLY 0x02
587 #define SES_TYPE_FAN 0x03
588 #define SES_TYPE_TEMPERATURE_SENSOR 0x04
589 #define SES_TYPE_DOOR_LOCK 0x05
590 #define SES_TYPE_SPEAKER 0x06
591 #define SES_TYPE_ES_CONTROLLER 0x07
592 #define SES_TYPE_SCC_CONTROLLER 0x08
593 #define SES_TYPE_NONVOLATILE_CACHE 0x09
594 #define SES_TYPE_UPS 0x0B
595 #define SES_TYPE_DISPLAY 0x0C
596 #define SES_TYPE_KEYPAD 0x0D
597 #define SES_TYPE_ENCLOSURE 0x0E
598 #define SES_TYPE_SCSI_TRANSCEIVER 0x0F
599 #define SES_TYPE_LANGUAGE 0x10
600 #define SES_TYPE_COMM_PORT 0x11
601 #define SES_TYPE_VOLTAGE_SENSOR 0x12
602 #define SES_TYPE_CURRENT_SENSOR 0x13
603 #define SES_TYPE_SCSI_TARGET_PORT 0x14
604 #define SES_TYPE_SCSI_INITIATOR_PORT 0x15
605 #define SES_TYPE_SIMPLE_SUBENCLOSURE 0x16
606 #define SES_TYPE_ARRAY_DEVICE 0x17
607 #define SES_TYPE_VENDOR_SPECIFIC 0x80
611 #define SES_STATUS_UNSUPPORTED 0x00
612 #define SES_STATUS_OK 0x01
613 #define SES_STATUS_CRITICAL 0x02
614 #define SES_STATUS_NONCRITICAL 0x03
615 #define SES_STATUS_UNRECOVERABLE 0x04
616 #define SES_STATUS_NOTINSTALLED 0x05
617 #define SES_STATUS_UNKNOWN 0x06
618 #define SES_STATUS_NOTAVAILABLE 0x07
619 #define SES_STATUS_RESERVED 0x08
664 #define ENCLOSURE_TYPE_INTERNAL 0
673 HPT_U32 seconds:6; /* 0 - 59 */
674 HPT_U32 minutes:6; /* 0 - 59 */
676 HPT_U32 hours:6; /* 0 - 59 */
678 HPT_U32 year:5; /* 0=2000, 31=2031 */
711 #if HPT_INTERFACE_VERSION>=0x01010000
733 #if HPT_INTERFACE_VERSION>=0x01020000
766 #if HPT_INTERFACE_VERSION>=0x02000001
853 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
889 #if HPT_INTERFACE_VERSION>=0x01020000
899 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
951 #define HPT601_INFO_LED1CONTROL 0x10
952 #define HPT601_INFO_LED2CONTROL 0x20
953 #define HPT601_INFO_POWERSTATUS 0x40
957 HPT_U16 DeviceId; /* 0x5A3E */
966 #if HPT_INTERFACE_VERSION>=0x01010000
969 #define CACHE_POLICY_NONE 0
994 #if HPT_INTERFACE_VERSION>=0x01010000
1012 #if HPT_INTERFACE_VERSION>=0x01020000
1013 #define INVALID_TARGET_ID 0xFF
1014 #define INVALID_BUS_ID 0xFF
1019 HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
1039 #if HPT_INTERFACE_VERSION>=0x02000001
1048 HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
1067 #define LOGICAL_DEVICE_INFO_V4_REVISION 0
1086 #define ADIF_READ_AHEAD 0x10
1087 #define ADIF_SPIN_UP_MODE 0x20
1088 #define ADIF_SET_BAD 0x40
1098 HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
1103 HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
1114 #if HPT_INTERFACE_VERSION>=0x01020000
1116 #define TARGET_TYPE_DEVICE 0
1120 #define AIT_NAME 0
1125 #define DIT_MODE 0
1132 #define DISK_CACHE_POLICY_UNCHANGE 0
1143 /* HPT_U8 param[0]; */
1171 #if HPT_INTERFACE_VERSION>=0x01010000
1189 #if HPT_INTERFACE_VERSION>=0x02000001
1193 HPT_U8 diskCachePolicy; /*unchange:0 enable:1 disable:2*/
1212 #define CREATE_ARRAY_PARAMS_V3_REVISION 0
1217 #if HPT_INTERFACE_VERSION < 0x01020000
1249 #define CAF_CACHE_POLICY_MASK 0x1C
1254 #define CAF_KEEP_DATA_ALWAYS 0x80
1261 * Deleting a RAID 0/1 should result as two RAID 0 array ( not implement now ).
1327 /* HPT_U8 DataBuffer[0]; */
1344 /* HPT_U8 DataBuffer[0]; */
1397 HPT_U8 location; /* 0 - system */
1460 #define HPT_IOCTL_MAGIC32 0x1A2B3C4D
1461 #define HPT_IOCTL_MAGIC 0xA1B2C3D4
1509 * interface version. 0 when fail.
1521 * 0 - Success
1542 * 0 Success, controller info is put into (*pInfo ).
1546 #if HPT_INTERFACE_VERSION>=0x01020000
1548 * Version compatibility: v2.0.0.0 or later
1553 * 0 Success, controller info is put into (*pInfo ).
1558 * Version compatibility: v2.0.0.0 or later
1563 * 0 Success, controller info is put into (*pInfo ).
1568 * Version compatibility: v2.0.0.0 or later
1573 * 0 Success, controller info is put into (*pInfo ).
1585 * 0 Success, channel info is put into (*pInfo ).
1596 * 0 Success, channel info is put into (*pInfo ).
1612 * Version compatibility: v2.1.0.0 or later
1627 * 0 - Success
1636 * 0 failed
1646 * 0 Success
1660 * 0 Success
1665 * Used to dynamicly add a disk to an RAID1, RAID0/1, RAID1/0 or RAID5 array.
1672 * 0 Success
1682 * 0 Success
1693 * 0 Success
1703 * 0 Success
1713 * 0 Success, event info is filled in *pEvent
1721 * idArray Array ID (RAID1, 0/1 or RAID5)
1726 * 0 Success, event info is filled in *pEvent
1746 * 0 Success
1758 * 0 Success
1770 * 0 Success
1772 * If idDisk==0, call to this function will stop buzzer on the adapter
1777 #if HPT_INTERFACE_VERSION >= 0x01000004
1787 * 0 Success
1798 * 0 Success
1809 * 0 Success
1821 * 0 Success
1831 * 0 Success
1841 * 0 Success
1848 * Version compatibility: v2.0.0.0 or later
1854 * 0 Success
1867 * 0 Success
1881 * 0 Success
1894 * 0 Success
1902 * id - logical device ID. If id is 0 the boot mark will be removed.
1904 * 0 Success
1915 * 0 - Success
1928 * 0 - Success
1935 * Version compatibility: v1.1.0.0 or later
1939 * 0 failed
1942 #if HPT_INTERFACE_VERSION>=0x01010000
1951 * 0 failed
1954 #if HPT_INTERFACE_VERSION>=0x02000001
1959 * Version compatibility: v1.1.0.0 or later
1964 * 0 - Success
1966 #if HPT_INTERFACE_VERSION>=0x01010000
1971 * Version compatibility: v1.2.0.0 or later
1976 * 0 - Success
1978 #if HPT_INTERFACE_VERSION>=0x01020000
1988 * 0 - Success
1990 #if HPT_INTERFACE_VERSION>=0x02000001
1996 * Version compatibility: v2.0.0.0 or later
2003 #if HPT_INTERFACE_VERSION>=0x02000000
2016 #if HPT_INTERFACE_VERSION>=0x02000001
2023 * Version compatibility: v2.0.0.0 or later
2028 * 0 - Success
2030 #if HPT_INTERFACE_VERSION>=0x02000000
2036 * Version compatibility: v1.2.0.0 or later
2041 * 0 - Success
2043 #if HPT_INTERFACE_VERSION>=0x01020000
2049 * Version compatibility: v2.0.0.0 or later
2055 * 0 - Success
2057 #if HPT_INTERFACE_VERSION>=0x02000000
2063 * Version compatibility: v1.2.0.0 or later
2068 * 0 - Success
2071 #if HPT_INTERFACE_VERSION>=0x01020000
2082 * 0 - Success
2085 #if HPT_INTERFACE_VERSION>=0x02000001
2091 * Version compatibility: v1.1.0.0 or later
2093 * idArray Array ID (RAID1, 0/1 or RAID5)
2098 * 0 Success, event info is filled in *pEvent
2100 #if HPT_INTERFACE_VERSION>=0x01010000
2106 * Version compatibility: v1.1.0.0 or later
2112 * 0 Success
2116 #if HPT_INTERFACE_VERSION>=0x01010000
2122 * Version compatibility: v1.1.0.0 or later
2128 * 0 Success
2130 #if HPT_INTERFACE_VERSION>=0x01010000
2136 * Version compatibility: v2.0.0.0 or later
2138 * indata[0] - controller ID
2140 * 0 Success
2142 #if HPT_INTERFACE_VERSION>=0x01020000
2148 * Version compatibility: v1.0.0.0 or later
2154 * 0 Success
2162 * Version compatibility: v1.0.0.0 or later
2166 * 0 Success
2174 * Version compatibility: v2.1.0.0 or later
2183 * Version compatibility: v2.1.0.0 or later
2188 * 0 Success, enclosure info is put into (*pInfo ).
2200 * Version compatibility: v2.1.0.0 or later
2207 * Version compatibility: v1.0.0.0 or later
2216 * 0 Success
2225 * 0 Success