Lines Matching +full:pio +full:- +full:transfer

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 */
208 #define HPT_CTL_CODE_LINUX_TO_IOP(x) ((x)-0xff00)
216 #define HPT_CTL_CODE_WIN32_TO_IOP(x) ((((x) & 0xffff)>>2)-0x900)
344 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
453 typedef char check_CONTROLLER_INFO_V3[sizeof(CONTROLLER_INFO_V3)==256? 1:-1];
478 HPT_U32 seconds:6; /* 0 - 59 */
479 HPT_U32 minutes:6; /* 0 - 59 */
480 HPT_U32 month:4; /* 1 - 12 */
481 HPT_U32 hours:6; /* 0 - 59 */
482 HPT_U32 day:5; /* 1 - 31 */
655 * IdentifyData.ModelNumber[] is HPT_U8-swapped from the original identify data.
661 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
662 /* 5-7 MW DMA0-2, 8-13 UDMA0-5 */
701 * IdentifyData.ModelNumber[] is HPT_U8-swapped from the original identify data.
707 HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
708 /* 5-7 MW DMA0-2, 8-13 UDMA0-5 */
768 HPT_U16 BeeperControl; /* bit4: beeper control bit. bit0-3: frequency bits */
769 HPT_U16 LED1Control; /* bit4: twinkling control bit. bit0-3: frequency bits */
770 HPT_U16 LED2Control; /* bit4: twinkling control bit. bit0-3: frequency bits */
905 HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
910 HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
958 HPT_U8 ArrayType; /* 1-level array type */
974 HPT_U8 ArrayType; /* 1-level array type */
996 HPT_U8 ArrayType; /* 1-level array type */
1111 * IDE pass-through command. Use it at your own risk!
1125 HPT_U8 nSectors; /* data size in sectors, if the command has data transfer */
1126 HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
1182 HPT_U8 location; /* 0 - system */
1212 /* for 32-bit app running on 64-bit system */
1226 * User-mode ioctl parameter passing conventions:
1233 * 4) Pass the structure to driver through a platform-specific method.
1234 * This is implemented in the mid-layer user-mode library. The UI
1259 * 0 - Success
1345 * 0 - Success
1384 * Auto-rebuild will start.
1513 * idDisk - Disk handle
1514 * PHPT601_INFO - pointer to HPT601 info buffer
1524 * idDisk - Disk handle
1525 * PHPT601_INFO - pointer to HPT601 info buffer
1535 * idDisk - Disk handle
1536 * Lba - Start LBA
1537 * nSectors - number of sectors
1547 * idDisk - Disk handle
1557 * p - IDE_PASS_THROUGH header pointer
1567 * in - HPT_SCSI_PASSTHROUGH_IN header pointer
1568 * out - PHPT_SCSI_PASSTHROUGH_OUT header pointer
1569 * insize, outsize - in/out buffer size
1580 * idArray - Array ID
1581 * Lba - block number (on each array member, not logical block!)
1582 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
1594 * idArray - Array ID
1595 * Lba - block number (on each array member, not logical block!)
1596 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
1606 * idArray - Array ID
1607 * Lba - block number (on each array member, not logical block!)
1608 * nSectors - Sectors for each member
1609 * buffer - I/O buffer or s/g address
1619 * id - logical device ID. If id is 0 the boot mark will be removed.
1629 * ndev - number of devices
1630 * pIds - device ID list
1632 * 0 - Success
1633 * -1 - unknown error
1634 * n - the n-th device that can't be removed
1642 * ndev - number of devices
1643 * pIds - device ID list
1645 * 0 - Success
1646 * -1 - unknown error
1647 * n - the n-th device that can't be removed
1681 * 0 - Success
1693 * 0 - Success
1705 * 0 - Success
1715 * idArray - source array
1716 * destInfo - destination array info
1728 * idArray - source array
1729 * destInfo - destination array info
1739 * This function is called by mid-layer, not GUI (which uses set_array_state instead).
1742 * idArray - destination array ID
1745 * 0 - Success
1755 * dev - destination device
1758 * 0 - Success
1768 * ndev - number of disks to initialize
1769 * pIds - array of DEVICEID
1772 * 0 - Success
1782 * source - if transform, this is the source array, otherwise, it should be zero
1783 * destInfo - target array params
1785 * 0 - Success
1786 * cap - max capacity of the target array
1796 * source - if transform, this is the source array, otherwise, it should be zero
1797 * destInfo - target array params
1799 * 0 - Success
1800 * cap - max capacity of the target array
1825 * idArray - Array ID
1826 * Lba - block number (on each array member, not logical block!)
1827 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
1841 * idArray - Array ID
1842 * Lba - block number (on each array member, not logical block!)
1843 * nSectors - Sectors for each member (RAID 5 will ignore this parameter)
1855 * indata[0] - controller ID
1867 * location - parameter location
1868 * outBuffer - a buffer to hold the output
1869 * outBufferSize - size of outBuffer
1881 * pParam - a pointer to HPT_DRIVER_PARAMETER.