Lines Matching +full:ide +full:- +full:port

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
69 * Logical device --- a device that can be accessed by OS.
70 * Physical device --- device attached to the controller.
93 * GUI will treat all array as 1-level RAID. No RAID0/1 or RAID1/0.
153 #define ARRAY_FLAG_NEED_AUTOREBUILD 0x00000080 /* auto-rebuild should start */
172 #define DEVICE_FLAG_ON_PM_PORT 0x00000020 /* PM port */
218 #define HPT_CTL_CODE_LINUX_TO_IOP(x) ((x)-0xff00)
226 #define HPT_CTL_CODE_WIN32_TO_IOP(x) ((((x) & 0xffff)>>2)-0x900)
380 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
536 typedef char check_CONTROLLER_INFO_V3[sizeof(CONTROLLER_INFO_V3)==256? 1:-1];
542 HPT_U32 IoPort; /* IDE Base Port Address */
543 HPT_U32 ControlPort; /* IDE Control Port Address */
550 HPT_U32 IoPort; /* IDE Base Port Address */
551 HPT_U32 ControlPort; /* IDE Control Port Address */
669 HPT_U32 seconds:6; /* 0 - 59 */
670 HPT_U32 minutes:6; /* 0 - 59 */
671 HPT_U32 month:4; /* 1 - 12 */
672 HPT_U32 hours:6; /* 0 - 59 */
673 HPT_U32 day:5; /* 1 - 31 */
843 * IdentifyData.ModelNumber[] is HPT_U8-swapped from the original identify data.
849 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
850 /* 5-7 MW DMA0-2, 8-13 UDMA0-5 */
889 * IdentifyData.ModelNumber[] is HPT_U8-swapped from the original identify data.
895 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
896 /* 5-7 MW DMA0-2, 8-13 UDMA0-5 */
956 HPT_U16 BeeperControl; /* bit4: beeper control bit. bit0-3: frequency bits */
957 HPT_U16 LED1Control; /* bit4: twinkling control bit. bit0-3: frequency bits */
958 HPT_U16 LED2Control; /* bit4: twinkling control bit. bit0-3: frequency bits */
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 */
1153 HPT_U8 ArrayType; /* 1-level array type */
1169 HPT_U8 ArrayType; /* 1-level array type */
1193 HPT_U8 ArrayType; /* 1-level array type */
1308 * IDE pass-through command. Use it at your own risk!
1313 HPT_U8 bSectorCountReg; /* IDE sector count register. */
1314 HPT_U8 bLbaLowReg; /* IDE LBA low value. */
1315 HPT_U8 bLbaMidReg; /* IDE LBA mid register. */
1316 HPT_U8 bLbaHighReg; /* IDE LBA high value. */
1317 HPT_U8 bDriveHeadReg; /* IDE drive/head register. */
1318 HPT_U8 bCommandReg; /* Actual IDE command. Checked for validity by driver. */
1320 HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
1330 HPT_U16 bSectorCountReg; /* IDE sector count register. */
1331 HPT_U16 bLbaLowReg; /* IDE LBA low value. */
1332 HPT_U16 bLbaMidReg; /* IDE LBA mid register. */
1333 HPT_U16 bLbaHighReg; /* IDE LBA high value. */
1334 HPT_U8 bDriveHeadReg; /* IDE drive/head register. */
1335 HPT_U8 bCommandReg; /* Actual IDE command. Checked for validity by driver. */
1337 HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
1393 HPT_U8 location; /* 0 - system */
1470 /* for 32-bit app running on 64-bit system */
1484 * User-mode ioctl parameter passing conventions:
1491 * 4) Pass the structure to driver through a platform-specific method.
1492 * This is implemented in the mid-layer user-mode library. The UI
1517 * 0 - Success
1623 * 0 - Success
1662 * Auto-rebuild will start.
1791 * idDisk - Disk handle
1792 * PHPT601_INFO - pointer to HPT601 info buffer
1802 * idDisk - Disk handle
1803 * PHPT601_INFO - pointer to HPT601 info buffer
1813 * idDisk - Disk handle
1814 * Lba - Start LBA
1815 * nSectors - number of sectors
1825 * idDisk - Disk handle
1835 * p - IDE_PASS_THROUGH header pointer
1846 * in - HPT_SCSI_PASSTHROUGH_IN header pointer
1847 * out - PHPT_SCSI_PASSTHROUGH_OUT header pointer
1848 * insize, outsize - in/out buffer size
1859 * idArray - Array ID
1860 * Lba - block number (on each array member, not logical block!)
1861 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
1873 * idArray - Array ID
1874 * Lba - block number (on each array member, not logical block!)
1875 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
1885 * idArray - Array ID
1886 * Lba - block number (on each array member, not logical block!)
1887 * nSectors - Sectors for each member
1888 * buffer - I/O buffer or s/g address
1898 * id - logical device ID. If id is 0 the boot mark will be removed.
1908 * ndev - number of devices
1909 * pIds - device ID list
1911 * 0 - Success
1912 * -1 - unknown error
1913 * n - the n-th device that can't be removed
1921 * ndev - number of devices
1922 * pIds - device ID list
1924 * 0 - Success
1925 * -1 - unknown error
1926 * n - the n-th device that can't be removed
1960 * 0 - Success
1972 * 0 - Success
1984 * 0 - Success
1994 * idArray - source array
1995 * destInfo - destination array info
2007 * idArray - source array
2008 * destInfo - destination array info
2018 * This function is called by mid-layer, not GUI (which uses set_array_state instead).
2021 * idArray - destination array ID
2024 * 0 - Success
2034 * dev - destination device
2037 * 0 - Success
2047 * ndev - number of disks to initialize
2048 * pIds - array of DEVICEID
2051 * 0 - Success
2061 * source - if transform, this is the source array, otherwise, it should be zero
2062 * destInfo - target array params
2064 * 0 - Success
2065 * cap - max capacity of the target array
2075 * source - if transform, this is the source array, otherwise, it should be zero
2076 * destInfo - target array params
2078 * 0 - Success
2079 * cap - max capacity of the target array
2104 * idArray - Array ID
2105 * Lba - block number (on each array member, not logical block!)
2106 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
2120 * idArray - Array ID
2121 * Lba - block number (on each array member, not logical block!)
2122 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
2134 * indata[0] - controller ID
2146 * location - parameter location
2147 * outBuffer - a buffer to hold the output
2148 * outBufferSize - size of outBuffer
2160 * pParam - a pointer to HPT_DRIVER_PARAMETER.
2210 * p - ACCESS_CONFIG_REG_PARAMS header pointer
2219 * p - PDUMP_METADATA_PARAMS header pointer