Lines Matching +full:ide +full:- +full:port
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
70 * Logical device --- a device that can be accessed by OS.
71 * Physical device --- device attached to the controller.
94 * GUI will treat all array as 1-level RAID. No RAID0/1 or RAID1/0.
155 #define ARRAY_FLAG_NEED_AUTOREBUILD 0x00000080 /* auto-rebuild should start */
174 #define DEVICE_FLAG_ON_PM_PORT 0x00000020 /* PM port */
222 #define HPT_CTL_CODE_LINUX_TO_IOP(x) ((x)-0xff00)
230 #define HPT_CTL_CODE_WIN32_TO_IOP(x) ((((x) & 0xffff)>>2)-0x900)
384 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
540 typedef char check_CONTROLLER_INFO_V3[sizeof(CONTROLLER_INFO_V3)==256? 1:-1];
546 HPT_U32 IoPort; /* IDE Base Port Address */
547 HPT_U32 ControlPort; /* IDE Control Port Address */
554 HPT_U32 IoPort; /* IDE Base Port Address */
555 HPT_U32 ControlPort; /* IDE Control Port Address */
673 HPT_U32 seconds:6; /* 0 - 59 */
674 HPT_U32 minutes:6; /* 0 - 59 */
675 HPT_U32 month:4; /* 1 - 12 */
676 HPT_U32 hours:6; /* 0 - 59 */
677 HPT_U32 day:5; /* 1 - 31 */
847 * IdentifyData.ModelNumber[] is HPT_U8-swapped from the original identify data.
853 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
854 /* 5-7 MW DMA0-2, 8-13 UDMA0-5 */
893 * IdentifyData.ModelNumber[] is HPT_U8-swapped from the original identify data.
899 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
900 /* 5-7 MW DMA0-2, 8-13 UDMA0-5 */
960 HPT_U16 BeeperControl; /* bit4: beeper control bit. bit0-3: frequency bits */
961 HPT_U16 LED1Control; /* bit4: twinkling control bit. bit0-3: frequency bits */
962 HPT_U16 LED2Control; /* bit4: twinkling control bit. bit0-3: frequency bits */
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 */
1157 HPT_U8 ArrayType; /* 1-level array type */
1173 HPT_U8 ArrayType; /* 1-level array type */
1197 HPT_U8 ArrayType; /* 1-level array type */
1312 * IDE pass-through command. Use it at your own risk!
1317 HPT_U8 bSectorCountReg; /* IDE sector count register. */
1318 HPT_U8 bLbaLowReg; /* IDE LBA low value. */
1319 HPT_U8 bLbaMidReg; /* IDE LBA mid register. */
1320 HPT_U8 bLbaHighReg; /* IDE LBA high value. */
1321 HPT_U8 bDriveHeadReg; /* IDE drive/head register. */
1322 HPT_U8 bCommandReg; /* Actual IDE command. Checked for validity by driver. */
1324 HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
1334 HPT_U16 bSectorCountReg; /* IDE sector count register. */
1335 HPT_U16 bLbaLowReg; /* IDE LBA low value. */
1336 HPT_U16 bLbaMidReg; /* IDE LBA mid register. */
1337 HPT_U16 bLbaHighReg; /* IDE LBA high value. */
1338 HPT_U8 bDriveHeadReg; /* IDE drive/head register. */
1339 HPT_U8 bCommandReg; /* Actual IDE command. Checked for validity by driver. */
1341 HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
1397 HPT_U8 location; /* 0 - system */
1474 /* for 32-bit app running on 64-bit system */
1488 * User-mode ioctl parameter passing conventions:
1495 * 4) Pass the structure to driver through a platform-specific method.
1496 * This is implemented in the mid-layer user-mode library. The UI
1521 * 0 - Success
1627 * 0 - Success
1666 * Auto-rebuild will start.
1795 * idDisk - Disk handle
1796 * PHPT601_INFO - pointer to HPT601 info buffer
1806 * idDisk - Disk handle
1807 * PHPT601_INFO - pointer to HPT601 info buffer
1817 * idDisk - Disk handle
1818 * Lba - Start LBA
1819 * nSectors - number of sectors
1829 * idDisk - Disk handle
1839 * p - IDE_PASS_THROUGH header pointer
1850 * in - HPT_SCSI_PASSTHROUGH_IN header pointer
1851 * out - PHPT_SCSI_PASSTHROUGH_OUT header pointer
1852 * insize, outsize - in/out buffer size
1863 * idArray - Array ID
1864 * Lba - block number (on each array member, not logical block!)
1865 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
1877 * idArray - Array ID
1878 * Lba - block number (on each array member, not logical block!)
1879 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
1889 * idArray - Array ID
1890 * Lba - block number (on each array member, not logical block!)
1891 * nSectors - Sectors for each member
1892 * buffer - I/O buffer or s/g address
1902 * id - logical device ID. If id is 0 the boot mark will be removed.
1912 * ndev - number of devices
1913 * pIds - device ID list
1915 * 0 - Success
1916 * -1 - unknown error
1917 * n - the n-th device that can't be removed
1925 * ndev - number of devices
1926 * pIds - device ID list
1928 * 0 - Success
1929 * -1 - unknown error
1930 * n - the n-th device that can't be removed
1964 * 0 - Success
1976 * 0 - Success
1988 * 0 - Success
1998 * idArray - source array
1999 * destInfo - destination array info
2011 * idArray - source array
2012 * destInfo - destination array info
2022 * This function is called by mid-layer, not GUI (which uses set_array_state instead).
2025 * idArray - destination array ID
2028 * 0 - Success
2038 * dev - destination device
2041 * 0 - Success
2051 * ndev - number of disks to initialize
2052 * pIds - array of DEVICEID
2055 * 0 - Success
2065 * source - if transform, this is the source array, otherwise, it should be zero
2066 * destInfo - target array params
2068 * 0 - Success
2069 * cap - max capacity of the target array
2079 * source - if transform, this is the source array, otherwise, it should be zero
2080 * destInfo - target array params
2082 * 0 - Success
2083 * cap - max capacity of the target array
2108 * idArray - Array ID
2109 * Lba - block number (on each array member, not logical block!)
2110 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
2124 * idArray - Array ID
2125 * Lba - block number (on each array member, not logical block!)
2126 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
2138 * indata[0] - controller ID
2150 * location - parameter location
2151 * outBuffer - a buffer to hold the output
2152 * outBufferSize - size of outBuffer
2164 * pParam - a pointer to HPT_DRIVER_PARAMETER.
2214 * p - ACCESS_CONFIG_REG_PARAMS header pointer
2223 * p - PDUMP_METADATA_PARAMS header pointer