sys/dev/hpt27xx/array.h
102
HPT_U8 transform_from_tail;
sys/dev/hpt27xx/array.h
110
HPT_U8 operation;
sys/dev/hpt27xx/array.h
111
HPT_U8 disabled;
sys/dev/hpt27xx/array.h
120
HPT_U8 ndisk;
sys/dev/hpt27xx/array.h
121
HPT_U8 block_size_shift;
sys/dev/hpt27xx/array.h
123
HPT_U8 sector_size_shift; /*sector size = 512B<<sector_size_shift*/
sys/dev/hpt27xx/array.h
124
HPT_U8 jid;
sys/dev/hpt27xx/array.h
125
HPT_U8 reserved[2];
sys/dev/hpt27xx/array.h
138
HPT_U8 name[MAX_ARRAY_NAME];
sys/dev/hpt27xx/array.h
142
HPT_U8 description[64];
sys/dev/hpt27xx/array.h
143
HPT_U8 create_manager[16];
sys/dev/hpt27xx/array.h
174
HPT_U8 del_mbr;
sys/dev/hpt27xx/array.h
175
HPT_U8 reserved[3];
sys/dev/hpt27xx/him.h
100
HPT_U8 reserved2[7];
sys/dev/hpt27xx/him.h
142
HPT_U8 SasAddress[8];
sys/dev/hpt27xx/him.h
149
HPT_U8 MaximumBlockTransfer;
sys/dev/hpt27xx/him.h
150
HPT_U8 VendorUnique2;
sys/dev/hpt27xx/him.h
154
HPT_U8 VendorUnique3;
sys/dev/hpt27xx/him.h
155
HPT_U8 PioCycleTimingMode;
sys/dev/hpt27xx/him.h
156
HPT_U8 VendorUnique4;
sys/dev/hpt27xx/him.h
157
HPT_U8 DmaCycleTimingMode;
sys/dev/hpt27xx/him.h
165
HPT_U8 SingleWordDMASupport;
sys/dev/hpt27xx/him.h
166
HPT_U8 SingleWordDMAActive;
sys/dev/hpt27xx/him.h
167
HPT_U8 MultiWordDMASupport;
sys/dev/hpt27xx/him.h
168
HPT_U8 MultiWordDMAActive;
sys/dev/hpt27xx/him.h
169
HPT_U8 AdvancedPIOModes;
sys/dev/hpt27xx/him.h
170
HPT_U8 Reserved4;
sys/dev/hpt27xx/him.h
206
HPT_U8 path_id;
sys/dev/hpt27xx/him.h
207
HPT_U8 target_id;
sys/dev/hpt27xx/him.h
208
HPT_U8 max_queue_depth;
sys/dev/hpt27xx/him.h
209
HPT_U8 spin_up_mode;
sys/dev/hpt27xx/him.h
211
HPT_U8 reserved;
sys/dev/hpt27xx/him.h
212
HPT_U8 transfer_mode;
sys/dev/hpt27xx/him.h
213
HPT_U8 bMaxShowMode;
sys/dev/hpt27xx/him.h
214
HPT_U8 bDeUsable_Mode;
sys/dev/hpt27xx/him.h
221
HPT_U8 fixed_path_id; /*equals to phy id */
sys/dev/hpt27xx/him.h
242
HPT_U8 enable;
sys/dev/hpt27xx/him.h
243
HPT_U8 depth;
sys/dev/hpt27xx/him.h
247
HPT_U8 enable;
sys/dev/hpt27xx/him.h
248
HPT_U8 depth;
sys/dev/hpt27xx/him.h
252
HPT_U8 type;
sys/dev/hpt27xx/him.h
254
HPT_U8 mode;
sys/dev/hpt27xx/him.h
255
HPT_U8 enable_read_ahead;
sys/dev/hpt27xx/him.h
256
HPT_U8 enable_read_cache;
sys/dev/hpt27xx/him.h
257
HPT_U8 enable_write_cache;
sys/dev/hpt27xx/him.h
261
HPT_U8 spin_up_mode;
sys/dev/hpt27xx/him.h
262
HPT_U8 idle_standby_timeout;
sys/dev/hpt27xx/him.h
263
HPT_U8 identify_indicator;
sys/dev/hpt27xx/him.h
291
HPT_U8 FAR * _logical;
sys/dev/hpt27xx/him.h
338
HPT_U8 bDriveHeadReg;
sys/dev/hpt27xx/him.h
339
HPT_U8 bCommandReg;
sys/dev/hpt27xx/him.h
341
HPT_U8 *pDataBuffer;
sys/dev/hpt27xx/him.h
346
HPT_U8 cdbLength;
sys/dev/hpt27xx/him.h
347
HPT_U8 senseLength;
sys/dev/hpt27xx/him.h
348
HPT_U8 scsiStatus;
sys/dev/hpt27xx/him.h
349
HPT_U8 reserve1;
sys/dev/hpt27xx/him.h
351
HPT_U8 cdb[16];
sys/dev/hpt27xx/him.h
352
HPT_U8 *senseBuffer;
sys/dev/hpt27xx/him.h
357
HPT_U8 cdbLength;
sys/dev/hpt27xx/him.h
358
HPT_U8 senseLength;
sys/dev/hpt27xx/him.h
359
HPT_U8 scsiStatus;
sys/dev/hpt27xx/him.h
360
HPT_U8 reserve1;
sys/dev/hpt27xx/him.h
362
HPT_U8 cdb[16];
sys/dev/hpt27xx/him.h
363
HPT_U8 *senseBuffer;
sys/dev/hpt27xx/him.h
364
HPT_U8 lun[8];
sys/dev/hpt27xx/him.h
377
HPT_U8 Command;
sys/dev/hpt27xx/him.h
378
HPT_U8 CmdTarget;
sys/dev/hpt27xx/him.h
384
HPT_U8 * logical;
sys/dev/hpt27xx/him.h
400
HPT_U8 Command;
sys/dev/hpt27xx/him.h
401
HPT_U8 CmdTarget;
sys/dev/hpt27xx/him.h
453
HPT_U8 type; /* CMD_TYPE_* */
sys/dev/hpt27xx/him.h
456
HPT_U8 physical_sg: 1;
sys/dev/hpt27xx/him.h
457
HPT_U8 data_in: 1;
sys/dev/hpt27xx/him.h
458
HPT_U8 data_out: 1;
sys/dev/hpt27xx/him.h
459
HPT_U8 transform : 1;
sys/dev/hpt27xx/him.h
460
HPT_U8 hard_flush: 2;
sys/dev/hpt27xx/him.h
461
HPT_U8 from_cc: 1;
sys/dev/hpt27xx/him.h
462
HPT_U8 force_cc: 1;
sys/dev/hpt27xx/him.h
466
HPT_U8 Result;
sys/dev/hpt27xx/him.h
468
HPT_U8 RetryCount;
sys/dev/hpt27xx/him.h
51
HPT_U8 rev;
sys/dev/hpt27xx/him.h
52
HPT_U8 nbase;
sys/dev/hpt27xx/him.h
59
HPT_U8 tree;
sys/dev/hpt27xx/him.h
60
HPT_U8 bus;
sys/dev/hpt27xx/him.h
61
HPT_U8 device;
sys/dev/hpt27xx/him.h
62
HPT_U8 function;
sys/dev/hpt27xx/him.h
71
HPT_U8 max_devices;
sys/dev/hpt27xx/him.h
73
HPT_U8 bProbeInInitializing:1;
sys/dev/hpt27xx/him.h
75
HPT_U8 bSpinupOneDevEachTime:1;
sys/dev/hpt27xx/him.h
77
HPT_U8 bGlobalNcq:1;
sys/dev/hpt27xx/him.h
78
HPT_U8 bSGPIOPartSupport:1;
sys/dev/hpt27xx/him.h
80
HPT_U8 bNeedSASIdleTimer:1;
sys/dev/hpt27xx/him.h
81
HPT_U8 reserved:3;
sys/dev/hpt27xx/him.h
83
HPT_U8 bDevsPerBus;
sys/dev/hpt27xx/him.h
84
HPT_U8 first_on_slot;
sys/dev/hpt27xx/him.h
86
HPT_U8 bChipType;
sys/dev/hpt27xx/him.h
87
HPT_U8 bChipIntrNum;
sys/dev/hpt27xx/him.h
88
HPT_U8 bChipFlags;
sys/dev/hpt27xx/him.h
89
HPT_U8 bNumBuses;
sys/dev/hpt27xx/him.h
91
HPT_U8 szVendorID[36];
sys/dev/hpt27xx/him.h
92
HPT_U8 szProductID[36];
sys/dev/hpt27xx/him.h
95
HPT_U8 slot_index;
sys/dev/hpt27xx/him.h
96
HPT_U8 maxWidth;
sys/dev/hpt27xx/him.h
97
HPT_U8 currentWidth;
sys/dev/hpt27xx/him.h
98
HPT_U8 maxSpeed;
sys/dev/hpt27xx/him.h
99
HPT_U8 currentSpeed;
sys/dev/hpt27xx/himfuncs.h
42
_HIM_INTERFACE(HPT_U8, get_controller_count, (PCI_ID *id, HPT_U8 *reached, PCI_ADDRESS *addr))
sys/dev/hpt27xx/himfuncs.h
78
_HIM_INTERFACE(int, read_write, (void *dev,HPT_LBA lba, HPT_U16 nsector, HPT_U8 *buffer, HPT_BOOL read))
sys/dev/hpt27xx/hpt27xx_os_bsd.c
103
void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
289
HPT_U8 os_get_vbus_seq(void *osext)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
38
HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); }
sys/dev/hpt27xx/hpt27xx_os_bsd.c
42
void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); }
sys/dev/hpt27xx/hpt27xx_os_bsd.c
55
HPT_U8 os_pci_readb (void *osext, HPT_U8 offset)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
60
HPT_U16 os_pci_readw (void *osext, HPT_U8 offset)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
65
HPT_U32 os_pci_readl (void *osext, HPT_U8 offset)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
70
void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
75
void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
80
void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
91
HPT_U8 pcicfg_read_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
93
return (HPT_U8)pci_cfgregread(0, bus, dev, func, reg, 1);
sys/dev/hpt27xx/hpt27xx_os_bsd.c
95
HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
99
void pcicfg_write_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U8 v)
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
484
os_set_sgptr(pSg, (HPT_U8 *)ccb->csio.data_ptr);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
535
HPT_U8 *cdb;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
600
HPT_U8 *rbuf = ccb->csio.data_ptr;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
602
HPT_U8 sector_size_shift = 0;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
629
rbuf[0] = (HPT_U8)(cap>>24);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
630
rbuf[1] = (HPT_U8)(cap>>16);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
631
rbuf[2] = (HPT_U8)(cap>>8);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
632
rbuf[3] = (HPT_U8)cap;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
643
HPT_U8 *rbuf = ccb->csio.data_ptr;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
651
HPT_U8 *rbuf = ccb->csio.data_ptr;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
653
HPT_U8 sector_size_shift = 0;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
674
rbuf[0] = (HPT_U8)(cap>>56);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
675
rbuf[1] = (HPT_U8)(cap>>48);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
676
rbuf[2] = (HPT_U8)(cap>>40);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
677
rbuf[3] = (HPT_U8)(cap>>32);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
678
rbuf[4] = (HPT_U8)(cap>>24);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
679
rbuf[5] = (HPT_U8)(cap>>16);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
680
rbuf[6] = (HPT_U8)(cap>>8);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
681
rbuf[7] = (HPT_U8)cap;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
701
HPT_U8 sector_size_shift = 0;
sys/dev/hpt27xx/hptintf.h
1016
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hpt27xx/hptintf.h
1017
HPT_U8 CachePolicy; /* refer to CACHE_POLICY_xxx */
sys/dev/hpt27xx/hptintf.h
1018
HPT_U8 VBusId; /* vbus sequence in vbus_list */
sys/dev/hpt27xx/hptintf.h
1019
HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
sys/dev/hpt27xx/hptintf.h
1042
HPT_U8 revision;
sys/dev/hpt27xx/hptintf.h
1043
HPT_U8 reserved[7];
sys/dev/hpt27xx/hptintf.h
1045
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hpt27xx/hptintf.h
1046
HPT_U8 CachePolicy; /* refer to CACHE_POLICY_xxx */
sys/dev/hpt27xx/hptintf.h
1047
HPT_U8 VBusId; /* vbus sequence in vbus_list */
sys/dev/hpt27xx/hptintf.h
1048
HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
sys/dev/hpt27xx/hptintf.h
1092
HPT_U8 Name[MAX_ARRAYNAME_LEN]; /* array name */
sys/dev/hpt27xx/hptintf.h
1093
HPT_U8 Description[64]; /* array description */
sys/dev/hpt27xx/hptintf.h
1098
HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
sys/dev/hpt27xx/hptintf.h
1103
HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
sys/dev/hpt27xx/hptintf.h
1104
HPT_U8 TCQEnabled;
sys/dev/hpt27xx/hptintf.h
1105
HPT_U8 NCQEnabled;
sys/dev/hpt27xx/hptintf.h
1106
HPT_U8 WriteCacheEnabled;
sys/dev/hpt27xx/hptintf.h
1107
HPT_U8 ReadAheadEnabled;
sys/dev/hpt27xx/hptintf.h
1108
HPT_U8 SpinUpMode;
sys/dev/hpt27xx/hptintf.h
1109
HPT_U8 SetBadSector;
sys/dev/hpt27xx/hptintf.h
1110
HPT_U8 reserve[1];
sys/dev/hpt27xx/hptintf.h
1139
HPT_U8 target_type;
sys/dev/hpt27xx/hptintf.h
1140
HPT_U8 infor_type;
sys/dev/hpt27xx/hptintf.h
1142
#define SET_VDEV_INFO_param(p) ((HPT_U8 *)(p)+sizeof(SET_VDEV_INFO))
sys/dev/hpt27xx/hptintf.h
1146
typedef HPT_U8 PARAM_ARRAY_NAME[MAX_ARRAYNAME_LEN] ;
sys/dev/hpt27xx/hptintf.h
1147
typedef HPT_U8 PARAM_ARRAY_DES[64];
sys/dev/hpt27xx/hptintf.h
1148
typedef HPT_U8 PARAM_DEVICE_MODE, PARAM_TCQ, PARAM_NCQ, PARAM_READ_AHEAD, PARAM_WRITE_CACHE, PARAM_CACHE_POLICY;
sys/dev/hpt27xx/hptintf.h
1157
HPT_U8 ArrayType; /* 1-level array type */
sys/dev/hpt27xx/hptintf.h
1158
HPT_U8 nDisk; /* number of elements in Members[] array */
sys/dev/hpt27xx/hptintf.h
1159
HPT_U8 BlockSizeShift; /* Stripe size if ArrayType==AT_RAID0 / AT_RAID5 */
sys/dev/hpt27xx/hptintf.h
1160
HPT_U8 CreateFlags; /* See CAF_xxx */
sys/dev/hpt27xx/hptintf.h
1162
HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
sys/dev/hpt27xx/hptintf.h
1163
HPT_U8 Description[64]; /* array description */
sys/dev/hpt27xx/hptintf.h
1164
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hpt27xx/hptintf.h
1173
HPT_U8 ArrayType; /* 1-level array type */
sys/dev/hpt27xx/hptintf.h
1174
HPT_U8 nDisk; /* number of elements in Members[] array */
sys/dev/hpt27xx/hptintf.h
1175
HPT_U8 BlockSizeShift; /* Stripe size if ArrayType==AT_RAID0 / AT_RAID5 */
sys/dev/hpt27xx/hptintf.h
1176
HPT_U8 CreateFlags; /* See CAF_xxx */
sys/dev/hpt27xx/hptintf.h
1178
HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
sys/dev/hpt27xx/hptintf.h
1179
HPT_U8 Description[64]; /* array description */
sys/dev/hpt27xx/hptintf.h
1180
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hpt27xx/hptintf.h
1192
HPT_U8 revision; /*CREATE_ARRAY_PARAMS_V3_REVISION*/
sys/dev/hpt27xx/hptintf.h
1193
HPT_U8 diskCachePolicy; /*unchange:0 enable:1 disable:2*/
sys/dev/hpt27xx/hptintf.h
1194
HPT_U8 reserved[4];
sys/dev/hpt27xx/hptintf.h
1195
HPT_U8 subDisks; /* RAIDn0 sub array */
sys/dev/hpt27xx/hptintf.h
1196
HPT_U8 SectorSizeShift; /*sector size = 512B<<SectorSizeShift*/
sys/dev/hpt27xx/hptintf.h
1197
HPT_U8 ArrayType; /* 1-level array type */
sys/dev/hpt27xx/hptintf.h
1198
HPT_U8 nDisk; /* number of elements in Members[] array */
sys/dev/hpt27xx/hptintf.h
1199
HPT_U8 BlockSizeShift; /* Stripe size if ArrayType==AT_RAID0 / AT_RAID5 */
sys/dev/hpt27xx/hptintf.h
1200
HPT_U8 CreateFlags; /* See CAF_xxx */
sys/dev/hpt27xx/hptintf.h
1202
HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
sys/dev/hpt27xx/hptintf.h
1203
HPT_U8 Description[64]; /* array description */
sys/dev/hpt27xx/hptintf.h
1204
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hpt27xx/hptintf.h
1305
HPT_U8 EventType;
sys/dev/hpt27xx/hptintf.h
1306
HPT_U8 reserved[3];
sys/dev/hpt27xx/hptintf.h
1308
HPT_U8 Data[32]; /* various data depend on EventType */
sys/dev/hpt27xx/hptintf.h
1316
HPT_U8 bFeaturesReg; /* feature register */
sys/dev/hpt27xx/hptintf.h
1317
HPT_U8 bSectorCountReg; /* IDE sector count register. */
sys/dev/hpt27xx/hptintf.h
1318
HPT_U8 bLbaLowReg; /* IDE LBA low value. */
sys/dev/hpt27xx/hptintf.h
1319
HPT_U8 bLbaMidReg; /* IDE LBA mid register. */
sys/dev/hpt27xx/hptintf.h
1320
HPT_U8 bLbaHighReg; /* IDE LBA high value. */
sys/dev/hpt27xx/hptintf.h
1321
HPT_U8 bDriveHeadReg; /* IDE drive/head register. */
sys/dev/hpt27xx/hptintf.h
1322
HPT_U8 bCommandReg; /* Actual IDE command. Checked for validity by driver. */
sys/dev/hpt27xx/hptintf.h
1323
HPT_U8 nSectors; /* data size in sectors, if the command has data transfer */
sys/dev/hpt27xx/hptintf.h
1324
HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
sys/dev/hpt27xx/hptintf.h
1325
HPT_U8 reserve[3];
sys/dev/hpt27xx/hptintf.h
1326
#define IDE_PASS_THROUGH_buffer(p) ((HPT_U8 *)(p) + sizeof(IDE_PASS_THROUGH_HEADER))
sys/dev/hpt27xx/hptintf.h
1338
HPT_U8 bDriveHeadReg; /* IDE drive/head register. */
sys/dev/hpt27xx/hptintf.h
1339
HPT_U8 bCommandReg; /* Actual IDE command. Checked for validity by driver. */
sys/dev/hpt27xx/hptintf.h
1341
HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
sys/dev/hpt27xx/hptintf.h
1342
HPT_U8 reserve;
sys/dev/hpt27xx/hptintf.h
1343
#define IDE_PASS_THROUGH_V2_buffer(p) ((HPT_U8 *)(p) + sizeof(IDE_PASS_THROUGH_HEADER_V2))
sys/dev/hpt27xx/hptintf.h
1350
HPT_U8 protocol;
sys/dev/hpt27xx/hptintf.h
1351
HPT_U8 reserve1;
sys/dev/hpt27xx/hptintf.h
1352
HPT_U8 reserve2;
sys/dev/hpt27xx/hptintf.h
1353
HPT_U8 cdbLength;
sys/dev/hpt27xx/hptintf.h
1354
HPT_U8 cdb[16];
sys/dev/hpt27xx/hptintf.h
1361
HPT_U8 scsiStatus;
sys/dev/hpt27xx/hptintf.h
1362
HPT_U8 reserve1;
sys/dev/hpt27xx/hptintf.h
1363
HPT_U8 reserve2;
sys/dev/hpt27xx/hptintf.h
1364
HPT_U8 reserve3;
sys/dev/hpt27xx/hptintf.h
1377
HPT_U8 Command; /* IO_COMMAD_xxx */
sys/dev/hpt27xx/hptintf.h
1378
HPT_U8 BufferType; /* BUFFER_TYPE_xxx, see below */
sys/dev/hpt27xx/hptintf.h
1393
HPT_U8 value[32];
sys/dev/hpt27xx/hptintf.h
1394
HPT_U8 type; /* HPT_DRIVER_PARAMETER_TYPE_* */
sys/dev/hpt27xx/hptintf.h
1395
HPT_U8 persistent;
sys/dev/hpt27xx/hptintf.h
1396
HPT_U8 reserve2[2];
sys/dev/hpt27xx/hptintf.h
1397
HPT_U8 location; /* 0 - system */
sys/dev/hpt27xx/hptintf.h
1398
HPT_U8 controller;
sys/dev/hpt27xx/hptintf.h
1399
HPT_U8 bus;
sys/dev/hpt27xx/hptintf.h
1400
HPT_U8 reserve1;
sys/dev/hpt27xx/hptintf.h
1438
HPT_U8 sectors;
sys/dev/hpt27xx/hptintf.h
1439
HPT_U8 read;
sys/dev/hpt27xx/hptintf.h
1441
#define ACCESS_CONFIG_REG_buffer(p) ((HPT_U8 *)(p) + sizeof(ACCESS_CONFIG_REG_PARAMS))
sys/dev/hpt27xx/hptintf.h
1449
HPT_U8 sectors;
sys/dev/hpt27xx/hptintf.h
1450
HPT_U8 backsectors;
sys/dev/hpt27xx/hptintf.h
1451
HPT_U8 offset;
sys/dev/hpt27xx/hptintf.h
1452
HPT_U8 backoffset;
sys/dev/hpt27xx/hptintf.h
1728
int hpt_rebuild_data_block(DEVICEID idMirror, HPT_U32 Lba, HPT_U8 nSector);
sys/dev/hpt27xx/hptintf.h
1823
int hpt_lock_device(DEVICEID idDisk, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hpt27xx/hptintf.h
1871
int hpt_verify_data_block(DEVICEID idArray, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hpt27xx/hptintf.h
1883
int hpt_initialize_data_block(DEVICEID idArray, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hpt27xx/hptintf.h
2143
int hpt_i2c_transaction(HPT_U8 *indata, HPT_U32 inlen, HPT_U8 *outdata, HPT_U32 outlen, HPT_U32 *poutlen);
sys/dev/hpt27xx/hptintf.h
383
HPT_U8 MaximumControllers; /* maximum controllers the driver can support */
sys/dev/hpt27xx/hptintf.h
384
HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
sys/dev/hpt27xx/hptintf.h
385
HPT_U8 MinimumBlockSizeShift; /* minimum block size shift */
sys/dev/hpt27xx/hptintf.h
386
HPT_U8 MaximumBlockSizeShift; /* maximum block size shift */
sys/dev/hpt27xx/hptintf.h
388
HPT_U8 SupportDiskModeSetting;
sys/dev/hpt27xx/hptintf.h
389
HPT_U8 SupportSparePool;
sys/dev/hpt27xx/hptintf.h
390
HPT_U8 MaximumArrayNameLength;
sys/dev/hpt27xx/hptintf.h
393
HPT_U8 reserved: 2;
sys/dev/hpt27xx/hptintf.h
394
HPT_U8 SupportPerformanceMonitor: 1;
sys/dev/hpt27xx/hptintf.h
395
HPT_U8 SupportVariableSectorSize: 1;
sys/dev/hpt27xx/hptintf.h
396
HPT_U8 SupportHotSwap: 1;
sys/dev/hpt27xx/hptintf.h
397
HPT_U8 HighPerformanceRAID1: 1;
sys/dev/hpt27xx/hptintf.h
398
HPT_U8 RebuildProcessInDriver: 1;
sys/dev/hpt27xx/hptintf.h
399
HPT_U8 SupportDedicatedSpare: 1;
sys/dev/hpt27xx/hptintf.h
401
HPT_U8 SupportDedicatedSpare: 1; /* call hpt_add_dedicated_spare() for dedicated spare. */
sys/dev/hpt27xx/hptintf.h
402
HPT_U8 RebuildProcessInDriver: 1; /* Windows only. used by mid layer for rebuild control. */
sys/dev/hpt27xx/hptintf.h
403
HPT_U8 HighPerformanceRAID1: 1;
sys/dev/hpt27xx/hptintf.h
404
HPT_U8 SupportHotSwap: 1;
sys/dev/hpt27xx/hptintf.h
405
HPT_U8 SupportVariableSectorSize: 1;
sys/dev/hpt27xx/hptintf.h
406
HPT_U8 SupportPerformanceMonitor: 1;
sys/dev/hpt27xx/hptintf.h
407
HPT_U8 reserved: 2;
sys/dev/hpt27xx/hptintf.h
411
HPT_U8 SupportedRAIDTypes[16];
sys/dev/hpt27xx/hptintf.h
413
HPT_U8 MaximumArrayMembers[16];
sys/dev/hpt27xx/hptintf.h
419
HPT_U8 SupportedCachePolicies[16];
sys/dev/hpt27xx/hptintf.h
431
HPT_U8 ChipType; /* chip type */
sys/dev/hpt27xx/hptintf.h
432
HPT_U8 InterruptLevel; /* IRQ level */
sys/dev/hpt27xx/hptintf.h
433
HPT_U8 NumBuses; /* bus count */
sys/dev/hpt27xx/hptintf.h
434
HPT_U8 ChipFlags;
sys/dev/hpt27xx/hptintf.h
436
HPT_U8 szProductID[MAX_NAME_LENGTH];/* product name */
sys/dev/hpt27xx/hptintf.h
437
HPT_U8 szVendorID[MAX_NAME_LENGTH]; /* vender name */
sys/dev/hpt27xx/hptintf.h
443
HPT_U8 ChipType; /* chip type */
sys/dev/hpt27xx/hptintf.h
444
HPT_U8 InterruptLevel; /* IRQ level */
sys/dev/hpt27xx/hptintf.h
445
HPT_U8 NumBuses; /* bus count */
sys/dev/hpt27xx/hptintf.h
446
HPT_U8 ChipFlags;
sys/dev/hpt27xx/hptintf.h
448
HPT_U8 szProductID[MAX_NAME_LENGTH];/* product name */
sys/dev/hpt27xx/hptintf.h
449
HPT_U8 szVendorID[MAX_NAME_LENGTH]; /* vender name */
sys/dev/hpt27xx/hptintf.h
453
HPT_U8 pci_tree;
sys/dev/hpt27xx/hptintf.h
454
HPT_U8 pci_bus;
sys/dev/hpt27xx/hptintf.h
455
HPT_U8 pci_device;
sys/dev/hpt27xx/hptintf.h
456
HPT_U8 pci_function;
sys/dev/hpt27xx/hptintf.h
462
HPT_U8 MaxWidth;
sys/dev/hpt27xx/hptintf.h
463
HPT_U8 CurrentWidth;
sys/dev/hpt27xx/hptintf.h
464
HPT_U8 MaxSpeed;
sys/dev/hpt27xx/hptintf.h
465
HPT_U8 CurrentSpeed;
sys/dev/hpt27xx/hptintf.h
466
HPT_U8 reserve[64];
sys/dev/hpt27xx/hptintf.h
498
HPT_U8 ChipType;
sys/dev/hpt27xx/hptintf.h
499
HPT_U8 InterruptLevel;
sys/dev/hpt27xx/hptintf.h
500
HPT_U8 NumBuses;
sys/dev/hpt27xx/hptintf.h
501
HPT_U8 ChipFlags;
sys/dev/hpt27xx/hptintf.h
502
HPT_U8 szProductID[MAX_NAME_LENGTH];
sys/dev/hpt27xx/hptintf.h
503
HPT_U8 szVendorID[MAX_NAME_LENGTH];
sys/dev/hpt27xx/hptintf.h
505
HPT_U8 pci_tree;
sys/dev/hpt27xx/hptintf.h
506
HPT_U8 pci_bus;
sys/dev/hpt27xx/hptintf.h
507
HPT_U8 pci_device;
sys/dev/hpt27xx/hptintf.h
508
HPT_U8 pci_function;
sys/dev/hpt27xx/hptintf.h
510
HPT_U8 IOPModel[32];
sys/dev/hpt27xx/hptintf.h
512
HPT_U8 BatteryInstalled;
sys/dev/hpt27xx/hptintf.h
513
HPT_U8 BatteryStatus;
sys/dev/hpt27xx/hptintf.h
517
HPT_U8 SerialNumber[32];
sys/dev/hpt27xx/hptintf.h
518
HPT_U8 BatteryMBInstalled;
sys/dev/hpt27xx/hptintf.h
519
HPT_U8 BatteryTemperature;
sys/dev/hpt27xx/hptintf.h
536
HPT_U8 SASAddress[8];
sys/dev/hpt27xx/hptintf.h
537
HPT_U8 reserve[48];
sys/dev/hpt27xx/hptintf.h
561
HPT_U8 EnclosureType;
sys/dev/hpt27xx/hptintf.h
562
HPT_U8 NumberOfPhys;
sys/dev/hpt27xx/hptintf.h
563
HPT_U8 AttachedTo;
sys/dev/hpt27xx/hptintf.h
564
HPT_U8 Status;
sys/dev/hpt27xx/hptintf.h
565
HPT_U8 VendorId[8];
sys/dev/hpt27xx/hptintf.h
566
HPT_U8 ProductId[16];
sys/dev/hpt27xx/hptintf.h
567
HPT_U8 ProductRevisionLevel[4];
sys/dev/hpt27xx/hptintf.h
574
HPT_U8 ElementType;
sys/dev/hpt27xx/hptintf.h
575
HPT_U8 ElementOverallIndex;
sys/dev/hpt27xx/hptintf.h
576
HPT_U8 ElementStatus;
sys/dev/hpt27xx/hptintf.h
577
HPT_U8 Reserved;
sys/dev/hpt27xx/hptintf.h
579
HPT_U8 ElementDescriptor[32];
sys/dev/hpt27xx/hptintf.h
623
HPT_U8 EnclosureType;
sys/dev/hpt27xx/hptintf.h
624
HPT_U8 NumberOfPhys;
sys/dev/hpt27xx/hptintf.h
625
HPT_U8 AttachedTo;
sys/dev/hpt27xx/hptintf.h
626
HPT_U8 Status;
sys/dev/hpt27xx/hptintf.h
627
HPT_U8 VendorId[8];
sys/dev/hpt27xx/hptintf.h
628
HPT_U8 ProductId[16];
sys/dev/hpt27xx/hptintf.h
629
HPT_U8 ProductRevisionLevel[4];
sys/dev/hpt27xx/hptintf.h
635
HPT_U8 EnclosureType;
sys/dev/hpt27xx/hptintf.h
636
HPT_U8 NumberOfPhys;
sys/dev/hpt27xx/hptintf.h
637
HPT_U8 AttachedTo;
sys/dev/hpt27xx/hptintf.h
638
HPT_U8 Status;
sys/dev/hpt27xx/hptintf.h
639
HPT_U8 VendorId[8];
sys/dev/hpt27xx/hptintf.h
640
HPT_U8 ProductId[16];
sys/dev/hpt27xx/hptintf.h
641
HPT_U8 ProductRevisionLevel[4];
sys/dev/hpt27xx/hptintf.h
649
HPT_U8 EnclosureType;
sys/dev/hpt27xx/hptintf.h
650
HPT_U8 NumberOfPhys;
sys/dev/hpt27xx/hptintf.h
651
HPT_U8 AttachedTo;
sys/dev/hpt27xx/hptintf.h
652
HPT_U8 Status;
sys/dev/hpt27xx/hptintf.h
653
HPT_U8 VendorId[8];
sys/dev/hpt27xx/hptintf.h
654
HPT_U8 ProductId[16];
sys/dev/hpt27xx/hptintf.h
655
HPT_U8 ProductRevisionLevel[4];
sys/dev/hpt27xx/hptintf.h
686
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hpt27xx/hptintf.h
687
HPT_U8 Description[64]; /* array description */
sys/dev/hpt27xx/hptintf.h
688
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hpt27xx/hptintf.h
691
HPT_U8 ArrayType; /* array type */
sys/dev/hpt27xx/hptintf.h
692
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hpt27xx/hptintf.h
693
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hpt27xx/hptintf.h
694
HPT_U8 SubArrayType;
sys/dev/hpt27xx/hptintf.h
713
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hpt27xx/hptintf.h
714
HPT_U8 Description[64]; /* array description */
sys/dev/hpt27xx/hptintf.h
715
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hpt27xx/hptintf.h
718
HPT_U8 ArrayType; /* array type */
sys/dev/hpt27xx/hptintf.h
719
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hpt27xx/hptintf.h
720
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hpt27xx/hptintf.h
721
HPT_U8 SubArrayType;
sys/dev/hpt27xx/hptintf.h
735
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hpt27xx/hptintf.h
736
HPT_U8 Description[64]; /* array description */
sys/dev/hpt27xx/hptintf.h
737
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hpt27xx/hptintf.h
740
HPT_U8 ArrayType; /* array type */
sys/dev/hpt27xx/hptintf.h
741
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hpt27xx/hptintf.h
742
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hpt27xx/hptintf.h
743
HPT_U8 SubArrayType;
sys/dev/hpt27xx/hptintf.h
768
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hpt27xx/hptintf.h
769
HPT_U8 Description[64]; /* array description */
sys/dev/hpt27xx/hptintf.h
770
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hpt27xx/hptintf.h
773
HPT_U8 ArrayType; /* array type */
sys/dev/hpt27xx/hptintf.h
774
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hpt27xx/hptintf.h
775
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hpt27xx/hptintf.h
776
HPT_U8 SubArrayType;
sys/dev/hpt27xx/hptintf.h
787
HPT_U8 SectorSizeShift; /*sector size = 512B<<SectorSizeShift*/
sys/dev/hpt27xx/hptintf.h
788
HPT_U8 reserved2[7];
sys/dev/hpt27xx/hptintf.h
805
HPT_U8 SasAddress[8];
sys/dev/hpt27xx/hptintf.h
812
HPT_U8 MaximumBlockTransfer;
sys/dev/hpt27xx/hptintf.h
813
HPT_U8 VendorUnique2;
sys/dev/hpt27xx/hptintf.h
817
HPT_U8 VendorUnique3;
sys/dev/hpt27xx/hptintf.h
818
HPT_U8 PioCycleTimingMode;
sys/dev/hpt27xx/hptintf.h
819
HPT_U8 VendorUnique4;
sys/dev/hpt27xx/hptintf.h
820
HPT_U8 DmaCycleTimingMode;
sys/dev/hpt27xx/hptintf.h
828
HPT_U8 SingleWordDMASupport;
sys/dev/hpt27xx/hptintf.h
829
HPT_U8 SingleWordDMAActive;
sys/dev/hpt27xx/hptintf.h
830
HPT_U8 MultiWordDMASupport;
sys/dev/hpt27xx/hptintf.h
831
HPT_U8 MultiWordDMAActive;
sys/dev/hpt27xx/hptintf.h
832
HPT_U8 AdvancedPIOModes;
sys/dev/hpt27xx/hptintf.h
833
HPT_U8 Reserved4;
sys/dev/hpt27xx/hptintf.h
850
HPT_U8 ControllerId; /* controller id */
sys/dev/hpt27xx/hptintf.h
851
HPT_U8 PathId; /* bus */
sys/dev/hpt27xx/hptintf.h
852
HPT_U8 TargetId; /* id */
sys/dev/hpt27xx/hptintf.h
853
HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
sys/dev/hpt27xx/hptintf.h
855
HPT_U8 DeviceType; /* device type */
sys/dev/hpt27xx/hptintf.h
856
HPT_U8 UsableMode; /* highest usable mode */
sys/dev/hpt27xx/hptintf.h
859
HPT_U8 NCQEnabled: 1;
sys/dev/hpt27xx/hptintf.h
860
HPT_U8 NCQSupported: 1;
sys/dev/hpt27xx/hptintf.h
861
HPT_U8 TCQEnabled: 1;
sys/dev/hpt27xx/hptintf.h
862
HPT_U8 TCQSupported: 1;
sys/dev/hpt27xx/hptintf.h
863
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hpt27xx/hptintf.h
864
HPT_U8 WriteCacheSupported: 1;
sys/dev/hpt27xx/hptintf.h
865
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hpt27xx/hptintf.h
866
HPT_U8 ReadAheadSupported: 1;
sys/dev/hpt27xx/hptintf.h
867
HPT_U8 reserved6: 6;
sys/dev/hpt27xx/hptintf.h
868
HPT_U8 SpinUpMode: 2;
sys/dev/hpt27xx/hptintf.h
870
HPT_U8 ReadAheadSupported: 1;
sys/dev/hpt27xx/hptintf.h
871
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hpt27xx/hptintf.h
872
HPT_U8 WriteCacheSupported: 1;
sys/dev/hpt27xx/hptintf.h
873
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hpt27xx/hptintf.h
874
HPT_U8 TCQSupported: 1;
sys/dev/hpt27xx/hptintf.h
875
HPT_U8 TCQEnabled: 1;
sys/dev/hpt27xx/hptintf.h
876
HPT_U8 NCQSupported: 1;
sys/dev/hpt27xx/hptintf.h
877
HPT_U8 NCQEnabled: 1;
sys/dev/hpt27xx/hptintf.h
878
HPT_U8 SpinUpMode: 2;
sys/dev/hpt27xx/hptintf.h
879
HPT_U8 reserved6: 6;
sys/dev/hpt27xx/hptintf.h
896
HPT_U8 ControllerId; /* controller id */
sys/dev/hpt27xx/hptintf.h
897
HPT_U8 PathId; /* bus */
sys/dev/hpt27xx/hptintf.h
898
HPT_U8 TargetId; /* id */
sys/dev/hpt27xx/hptintf.h
899
HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
sys/dev/hpt27xx/hptintf.h
901
HPT_U8 DeviceType; /* device type */
sys/dev/hpt27xx/hptintf.h
902
HPT_U8 UsableMode; /* highest usable mode */
sys/dev/hpt27xx/hptintf.h
905
HPT_U8 NCQEnabled: 1;
sys/dev/hpt27xx/hptintf.h
906
HPT_U8 NCQSupported: 1;
sys/dev/hpt27xx/hptintf.h
907
HPT_U8 TCQEnabled: 1;
sys/dev/hpt27xx/hptintf.h
908
HPT_U8 TCQSupported: 1;
sys/dev/hpt27xx/hptintf.h
909
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hpt27xx/hptintf.h
910
HPT_U8 WriteCacheSupported: 1;
sys/dev/hpt27xx/hptintf.h
911
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hpt27xx/hptintf.h
912
HPT_U8 ReadAheadSupported: 1;
sys/dev/hpt27xx/hptintf.h
913
HPT_U8 reserved6: 6;
sys/dev/hpt27xx/hptintf.h
914
HPT_U8 SpinUpMode: 2;
sys/dev/hpt27xx/hptintf.h
916
HPT_U8 ReadAheadSupported: 1;
sys/dev/hpt27xx/hptintf.h
917
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hpt27xx/hptintf.h
918
HPT_U8 WriteCacheSupported: 1;
sys/dev/hpt27xx/hptintf.h
919
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hpt27xx/hptintf.h
920
HPT_U8 TCQSupported: 1;
sys/dev/hpt27xx/hptintf.h
921
HPT_U8 TCQEnabled: 1;
sys/dev/hpt27xx/hptintf.h
922
HPT_U8 NCQSupported: 1;
sys/dev/hpt27xx/hptintf.h
923
HPT_U8 NCQEnabled: 1;
sys/dev/hpt27xx/hptintf.h
924
HPT_U8 SpinUpMode: 2;
sys/dev/hpt27xx/hptintf.h
925
HPT_U8 reserved6: 6;
sys/dev/hpt27xx/hptintf.h
981
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hpt27xx/hptintf.h
982
HPT_U8 reserved[3];
sys/dev/hpt27xx/hptintf.h
996
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hpt27xx/hptintf.h
997
HPT_U8 reserved[3];
sys/dev/hpt27xx/ldm.h
246
HPT_U8 max_queue_depth;
sys/dev/hpt27xx/ldm.h
247
HPT_U8 user_select_mode;
sys/dev/hpt27xx/ldm.h
291
HPT_U8 __type;
sys/dev/hpt27xx/ldm.h
292
HPT_U8 stripped; /* RAID0,3,5,6 */
sys/dev/hpt27xx/ldm.h
293
HPT_U8 redundancy; /* RAID1-1, RAID3/5-1, RAID6-2 */
sys/dev/hpt27xx/ldm.h
294
HPT_U8 must_init; /* RAID3,5,6 */
sys/dev/hpt27xx/ldm.h
295
HPT_U8 docache;
sys/dev/hpt27xx/ldm.h
357
struct vdev_class *ldm_find_vdev_class(HPT_U8 type);
sys/dev/hpt27xx/ldm.h
362
HPT_U8 type;
sys/dev/hpt27xx/ldm.h
377
HPT_U8 vf_online : 1;
sys/dev/hpt27xx/ldm.h
378
HPT_U8 vf_bootmark : 1;
sys/dev/hpt27xx/ldm.h
379
HPT_U8 vf_bootable : 1;
sys/dev/hpt27xx/ldm.h
380
HPT_U8 vf_resetting: 1;
sys/dev/hpt27xx/ldm.h
381
HPT_U8 vf_quiesced: 1;
sys/dev/hpt27xx/ldm.h
382
HPT_U8 vf_clslock: 1;
sys/dev/hpt27xx/ldm.h
384
HPT_U8 cache_policy; /* see CACHE_POLICY_* */
sys/dev/hpt27xx/ldm.h
449
PVDEV ldm_create_vdev(PVBUS vbus, HPT_U8 type);
sys/dev/hpt27xx/ldm.h
532
void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);
sys/dev/hpt27xx/osm.h
127
HPT_U8 os_inb (void *port);
sys/dev/hpt27xx/osm.h
130
void os_outb (void *port, HPT_U8 value);
sys/dev/hpt27xx/osm.h
138
#define os_readb(addr) (*(HPT_U8 *)&__dummy_reg = *(volatile HPT_U8 *)(addr))
sys/dev/hpt27xx/osm.h
142
#define os_writeb(addr, val) *(volatile HPT_U8 *)(addr) = (HPT_U8)(val)
sys/dev/hpt27xx/osm.h
147
HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
sys/dev/hpt27xx/osm.h
148
HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
sys/dev/hpt27xx/osm.h
149
HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
sys/dev/hpt27xx/osm.h
150
void os_pci_writeb(void *osext, HPT_U8 offset, HPT_U8 value);
sys/dev/hpt27xx/osm.h
151
void os_pci_writew(void *osext, HPT_U8 offset, HPT_U16 value);
sys/dev/hpt27xx/osm.h
152
void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
sys/dev/hpt27xx/osm.h
158
HPT_U8 pcicfg_read_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
sys/dev/hpt27xx/osm.h
159
HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
sys/dev/hpt27xx/osm.h
160
void pcicfg_write_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U8 v);
sys/dev/hpt27xx/osm.h
161
void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v);
sys/dev/hpt27xx/osm.h
220
HPT_U8 os_get_vbus_seq(void *osext);
sys/dev/hpt27xx/osm.h
67
HPT_U8 *p = (HPT_U8 *)&x;
sys/dev/hpt27xx/osm.h
80
HPT_U8 *p = (HPT_U8 *)&x;
sys/dev/hpt27xx/osm.h
88
return ((HPT_U8)x << 8) | (x>>8);
sys/dev/hptnr/array.h
102
HPT_U8 transform_from_tail;
sys/dev/hptnr/array.h
110
HPT_U8 operation;
sys/dev/hptnr/array.h
111
HPT_U8 disabled;
sys/dev/hptnr/array.h
120
HPT_U8 ndisk;
sys/dev/hptnr/array.h
121
HPT_U8 block_size_shift;
sys/dev/hptnr/array.h
123
HPT_U8 sector_size_shift; /*sector size = 512B<<sector_size_shift*/
sys/dev/hptnr/array.h
124
HPT_U8 jid;
sys/dev/hptnr/array.h
125
HPT_U8 reserved[2];
sys/dev/hptnr/array.h
138
HPT_U8 name[MAX_ARRAY_NAME];
sys/dev/hptnr/array.h
142
HPT_U8 description[64];
sys/dev/hptnr/array.h
143
HPT_U8 create_manager[16];
sys/dev/hptnr/array.h
174
HPT_U8 del_mbr;
sys/dev/hptnr/array.h
175
HPT_U8 reserved[3];
sys/dev/hptnr/him.h
140
HPT_U8 SasAddress[8];
sys/dev/hptnr/him.h
147
HPT_U8 MaximumBlockTransfer;
sys/dev/hptnr/him.h
148
HPT_U8 VendorUnique2;
sys/dev/hptnr/him.h
152
HPT_U8 VendorUnique3;
sys/dev/hptnr/him.h
153
HPT_U8 PioCycleTimingMode;
sys/dev/hptnr/him.h
154
HPT_U8 VendorUnique4;
sys/dev/hptnr/him.h
155
HPT_U8 DmaCycleTimingMode;
sys/dev/hptnr/him.h
163
HPT_U8 SingleWordDMASupport;
sys/dev/hptnr/him.h
164
HPT_U8 SingleWordDMAActive;
sys/dev/hptnr/him.h
165
HPT_U8 MultiWordDMASupport;
sys/dev/hptnr/him.h
166
HPT_U8 MultiWordDMAActive;
sys/dev/hptnr/him.h
167
HPT_U8 AdvancedPIOModes;
sys/dev/hptnr/him.h
168
HPT_U8 Reserved4;
sys/dev/hptnr/him.h
201
HPT_U8 logicalsectors_per_physicalsector;
sys/dev/hptnr/him.h
206
HPT_U8 path_id;
sys/dev/hptnr/him.h
207
HPT_U8 target_id;
sys/dev/hptnr/him.h
208
HPT_U8 max_queue_depth;
sys/dev/hptnr/him.h
209
HPT_U8 spin_up_mode;
sys/dev/hptnr/him.h
211
HPT_U8 reserved;
sys/dev/hptnr/him.h
212
HPT_U8 transfer_mode;
sys/dev/hptnr/him.h
213
HPT_U8 bMaxShowMode;
sys/dev/hptnr/him.h
214
HPT_U8 bDeUsable_Mode;
sys/dev/hptnr/him.h
221
HPT_U8 fixed_path_id; /*equals to phy id */
sys/dev/hptnr/him.h
242
HPT_U8 enable;
sys/dev/hptnr/him.h
243
HPT_U8 depth;
sys/dev/hptnr/him.h
247
HPT_U8 enable;
sys/dev/hptnr/him.h
248
HPT_U8 depth;
sys/dev/hptnr/him.h
252
HPT_U8 type;
sys/dev/hptnr/him.h
254
HPT_U8 mode;
sys/dev/hptnr/him.h
255
HPT_U8 enable_read_ahead;
sys/dev/hptnr/him.h
256
HPT_U8 enable_read_cache;
sys/dev/hptnr/him.h
257
HPT_U8 enable_write_cache;
sys/dev/hptnr/him.h
261
HPT_U8 spin_up_mode;
sys/dev/hptnr/him.h
262
HPT_U8 idle_standby_timeout;
sys/dev/hptnr/him.h
263
HPT_U8 identify_indicator;
sys/dev/hptnr/him.h
291
HPT_U8 FAR * _logical;
sys/dev/hptnr/him.h
338
HPT_U8 bDriveHeadReg;
sys/dev/hptnr/him.h
339
HPT_U8 bCommandReg;
sys/dev/hptnr/him.h
341
HPT_U8 *pDataBuffer;
sys/dev/hptnr/him.h
346
HPT_U8 cdbLength;
sys/dev/hptnr/him.h
347
HPT_U8 senseLength;
sys/dev/hptnr/him.h
348
HPT_U8 scsiStatus;
sys/dev/hptnr/him.h
349
HPT_U8 reserve1;
sys/dev/hptnr/him.h
351
HPT_U8 cdb[16];
sys/dev/hptnr/him.h
352
HPT_U8 *senseBuffer;
sys/dev/hptnr/him.h
365
HPT_U8 Command;
sys/dev/hptnr/him.h
366
HPT_U8 CmdTarget;
sys/dev/hptnr/him.h
372
HPT_U8 * logical;
sys/dev/hptnr/him.h
388
HPT_U8 Command;
sys/dev/hptnr/him.h
389
HPT_U8 CmdTarget;
sys/dev/hptnr/him.h
440
HPT_U8 type; /* CMD_TYPE_* */
sys/dev/hptnr/him.h
443
HPT_U8 physical_sg: 1;
sys/dev/hptnr/him.h
444
HPT_U8 data_in: 1;
sys/dev/hptnr/him.h
445
HPT_U8 data_out: 1;
sys/dev/hptnr/him.h
446
HPT_U8 transform : 1;
sys/dev/hptnr/him.h
447
HPT_U8 hard_flush: 2;
sys/dev/hptnr/him.h
448
HPT_U8 from_cc: 1;
sys/dev/hptnr/him.h
449
HPT_U8 force_cc: 1;
sys/dev/hptnr/him.h
453
HPT_U8 Result;
sys/dev/hptnr/him.h
455
HPT_U8 RetryCount;
sys/dev/hptnr/him.h
50
HPT_U8 rev;
sys/dev/hptnr/him.h
51
HPT_U8 nbase;
sys/dev/hptnr/him.h
58
HPT_U8 tree;
sys/dev/hptnr/him.h
59
HPT_U8 bus;
sys/dev/hptnr/him.h
60
HPT_U8 device;
sys/dev/hptnr/him.h
61
HPT_U8 function;
sys/dev/hptnr/him.h
70
HPT_U8 max_devices;
sys/dev/hptnr/him.h
72
HPT_U8 bProbeInInitializing:1;
sys/dev/hptnr/him.h
74
HPT_U8 bSpinupOneDevEachTime:1;
sys/dev/hptnr/him.h
76
HPT_U8 bGlobalNcq:1;
sys/dev/hptnr/him.h
77
HPT_U8 bSGPIOPartSupport:1;
sys/dev/hptnr/him.h
79
HPT_U8 bNeedSASIdleTimer:1;
sys/dev/hptnr/him.h
80
HPT_U8 reserved:3;
sys/dev/hptnr/him.h
82
HPT_U8 bDevsPerBus;
sys/dev/hptnr/him.h
83
HPT_U8 first_on_slot;
sys/dev/hptnr/him.h
85
HPT_U8 bChipType;
sys/dev/hptnr/him.h
86
HPT_U8 bChipIntrNum;
sys/dev/hptnr/him.h
87
HPT_U8 bChipFlags;
sys/dev/hptnr/him.h
88
HPT_U8 bNumBuses;
sys/dev/hptnr/him.h
90
HPT_U8 szVendorID[36];
sys/dev/hptnr/him.h
91
HPT_U8 szProductID[36];
sys/dev/hptnr/him.h
94
HPT_U8 slot_index;
sys/dev/hptnr/him.h
95
HPT_U8 maxWidth;
sys/dev/hptnr/him.h
96
HPT_U8 currentWidth;
sys/dev/hptnr/him.h
97
HPT_U8 maxSpeed;
sys/dev/hptnr/him.h
98
HPT_U8 currentSpeed;
sys/dev/hptnr/him.h
99
HPT_U8 reserved2[7];
sys/dev/hptnr/himfuncs.h
42
_HIM_INTERFACE(HPT_U8, get_controller_count, (PCI_ID *id, HPT_U8 *reached, PCI_ADDRESS *addr))
sys/dev/hptnr/himfuncs.h
78
_HIM_INTERFACE(int, read_write, (void *dev,HPT_LBA lba, HPT_U16 nsector, HPT_U8 *buffer, HPT_BOOL read))
sys/dev/hptnr/hptintf.h
1012
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hptnr/hptintf.h
1013
HPT_U8 CachePolicy; /* refer to CACHE_POLICY_xxx */
sys/dev/hptnr/hptintf.h
1014
HPT_U8 VBusId; /* vbus sequence in vbus_list */
sys/dev/hptnr/hptintf.h
1015
HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
sys/dev/hptnr/hptintf.h
1038
HPT_U8 revision;
sys/dev/hptnr/hptintf.h
1039
HPT_U8 reserved[7];
sys/dev/hptnr/hptintf.h
1041
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hptnr/hptintf.h
1042
HPT_U8 CachePolicy; /* refer to CACHE_POLICY_xxx */
sys/dev/hptnr/hptintf.h
1043
HPT_U8 VBusId; /* vbus sequence in vbus_list */
sys/dev/hptnr/hptintf.h
1044
HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
sys/dev/hptnr/hptintf.h
1088
HPT_U8 Name[MAX_ARRAYNAME_LEN]; /* array name */
sys/dev/hptnr/hptintf.h
1089
HPT_U8 Description[64]; /* array description */
sys/dev/hptnr/hptintf.h
1094
HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
sys/dev/hptnr/hptintf.h
1099
HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
sys/dev/hptnr/hptintf.h
1100
HPT_U8 TCQEnabled;
sys/dev/hptnr/hptintf.h
1101
HPT_U8 NCQEnabled;
sys/dev/hptnr/hptintf.h
1102
HPT_U8 WriteCacheEnabled;
sys/dev/hptnr/hptintf.h
1103
HPT_U8 ReadAheadEnabled;
sys/dev/hptnr/hptintf.h
1104
HPT_U8 SpinUpMode;
sys/dev/hptnr/hptintf.h
1105
HPT_U8 SetBadSector;
sys/dev/hptnr/hptintf.h
1106
HPT_U8 reserve[1];
sys/dev/hptnr/hptintf.h
1135
HPT_U8 target_type;
sys/dev/hptnr/hptintf.h
1136
HPT_U8 infor_type;
sys/dev/hptnr/hptintf.h
1138
#define SET_VDEV_INFO_param(p) ((HPT_U8 *)(p)+sizeof(SET_VDEV_INFO))
sys/dev/hptnr/hptintf.h
1142
typedef HPT_U8 PARAM_ARRAY_NAME[MAX_ARRAYNAME_LEN] ;
sys/dev/hptnr/hptintf.h
1143
typedef HPT_U8 PARAM_ARRAY_DES[64];
sys/dev/hptnr/hptintf.h
1144
typedef HPT_U8 PARAM_DEVICE_MODE, PARAM_TCQ, PARAM_NCQ, PARAM_READ_AHEAD, PARAM_WRITE_CACHE, PARAM_CACHE_POLICY;
sys/dev/hptnr/hptintf.h
1153
HPT_U8 ArrayType; /* 1-level array type */
sys/dev/hptnr/hptintf.h
1154
HPT_U8 nDisk; /* number of elements in Members[] array */
sys/dev/hptnr/hptintf.h
1155
HPT_U8 BlockSizeShift; /* Stripe size if ArrayType==AT_RAID0 / AT_RAID5 */
sys/dev/hptnr/hptintf.h
1156
HPT_U8 CreateFlags; /* See CAF_xxx */
sys/dev/hptnr/hptintf.h
1158
HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
sys/dev/hptnr/hptintf.h
1159
HPT_U8 Description[64]; /* array description */
sys/dev/hptnr/hptintf.h
1160
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptnr/hptintf.h
1169
HPT_U8 ArrayType; /* 1-level array type */
sys/dev/hptnr/hptintf.h
1170
HPT_U8 nDisk; /* number of elements in Members[] array */
sys/dev/hptnr/hptintf.h
1171
HPT_U8 BlockSizeShift; /* Stripe size if ArrayType==AT_RAID0 / AT_RAID5 */
sys/dev/hptnr/hptintf.h
1172
HPT_U8 CreateFlags; /* See CAF_xxx */
sys/dev/hptnr/hptintf.h
1174
HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
sys/dev/hptnr/hptintf.h
1175
HPT_U8 Description[64]; /* array description */
sys/dev/hptnr/hptintf.h
1176
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptnr/hptintf.h
1188
HPT_U8 revision; /*CREATE_ARRAY_PARAMS_V3_REVISION*/
sys/dev/hptnr/hptintf.h
1189
HPT_U8 diskCachePolicy; /*unchange:0 enable:1 disable:2*/
sys/dev/hptnr/hptintf.h
1190
HPT_U8 reserved[4];
sys/dev/hptnr/hptintf.h
1191
HPT_U8 subDisks; /* RAIDn0 sub array */
sys/dev/hptnr/hptintf.h
1192
HPT_U8 SectorSizeShift; /*sector size = 512B<<SectorSizeShift*/
sys/dev/hptnr/hptintf.h
1193
HPT_U8 ArrayType; /* 1-level array type */
sys/dev/hptnr/hptintf.h
1194
HPT_U8 nDisk; /* number of elements in Members[] array */
sys/dev/hptnr/hptintf.h
1195
HPT_U8 BlockSizeShift; /* Stripe size if ArrayType==AT_RAID0 / AT_RAID5 */
sys/dev/hptnr/hptintf.h
1196
HPT_U8 CreateFlags; /* See CAF_xxx */
sys/dev/hptnr/hptintf.h
1198
HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
sys/dev/hptnr/hptintf.h
1199
HPT_U8 Description[64]; /* array description */
sys/dev/hptnr/hptintf.h
1200
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptnr/hptintf.h
1301
HPT_U8 EventType;
sys/dev/hptnr/hptintf.h
1302
HPT_U8 reserved[3];
sys/dev/hptnr/hptintf.h
1304
HPT_U8 Data[32]; /* various data depend on EventType */
sys/dev/hptnr/hptintf.h
1312
HPT_U8 bFeaturesReg; /* feature register */
sys/dev/hptnr/hptintf.h
1313
HPT_U8 bSectorCountReg; /* IDE sector count register. */
sys/dev/hptnr/hptintf.h
1314
HPT_U8 bLbaLowReg; /* IDE LBA low value. */
sys/dev/hptnr/hptintf.h
1315
HPT_U8 bLbaMidReg; /* IDE LBA mid register. */
sys/dev/hptnr/hptintf.h
1316
HPT_U8 bLbaHighReg; /* IDE LBA high value. */
sys/dev/hptnr/hptintf.h
1317
HPT_U8 bDriveHeadReg; /* IDE drive/head register. */
sys/dev/hptnr/hptintf.h
1318
HPT_U8 bCommandReg; /* Actual IDE command. Checked for validity by driver. */
sys/dev/hptnr/hptintf.h
1319
HPT_U8 nSectors; /* data size in sectors, if the command has data transfer */
sys/dev/hptnr/hptintf.h
1320
HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
sys/dev/hptnr/hptintf.h
1321
HPT_U8 reserve[3];
sys/dev/hptnr/hptintf.h
1322
#define IDE_PASS_THROUGH_buffer(p) ((HPT_U8 *)(p) + sizeof(IDE_PASS_THROUGH_HEADER))
sys/dev/hptnr/hptintf.h
1334
HPT_U8 bDriveHeadReg; /* IDE drive/head register. */
sys/dev/hptnr/hptintf.h
1335
HPT_U8 bCommandReg; /* Actual IDE command. Checked for validity by driver. */
sys/dev/hptnr/hptintf.h
1337
HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
sys/dev/hptnr/hptintf.h
1338
HPT_U8 reserve;
sys/dev/hptnr/hptintf.h
1339
#define IDE_PASS_THROUGH_V2_buffer(p) ((HPT_U8 *)(p) + sizeof(IDE_PASS_THROUGH_HEADER_V2))
sys/dev/hptnr/hptintf.h
1346
HPT_U8 protocol;
sys/dev/hptnr/hptintf.h
1347
HPT_U8 reserve1;
sys/dev/hptnr/hptintf.h
1348
HPT_U8 reserve2;
sys/dev/hptnr/hptintf.h
1349
HPT_U8 cdbLength;
sys/dev/hptnr/hptintf.h
1350
HPT_U8 cdb[16];
sys/dev/hptnr/hptintf.h
1357
HPT_U8 scsiStatus;
sys/dev/hptnr/hptintf.h
1358
HPT_U8 reserve1;
sys/dev/hptnr/hptintf.h
1359
HPT_U8 reserve2;
sys/dev/hptnr/hptintf.h
1360
HPT_U8 reserve3;
sys/dev/hptnr/hptintf.h
1373
HPT_U8 Command; /* IO_COMMAD_xxx */
sys/dev/hptnr/hptintf.h
1374
HPT_U8 BufferType; /* BUFFER_TYPE_xxx, see below */
sys/dev/hptnr/hptintf.h
1389
HPT_U8 value[32];
sys/dev/hptnr/hptintf.h
1390
HPT_U8 type; /* HPT_DRIVER_PARAMETER_TYPE_* */
sys/dev/hptnr/hptintf.h
1391
HPT_U8 persistent;
sys/dev/hptnr/hptintf.h
1392
HPT_U8 reserve2[2];
sys/dev/hptnr/hptintf.h
1393
HPT_U8 location; /* 0 - system */
sys/dev/hptnr/hptintf.h
1394
HPT_U8 controller;
sys/dev/hptnr/hptintf.h
1395
HPT_U8 bus;
sys/dev/hptnr/hptintf.h
1396
HPT_U8 reserve1;
sys/dev/hptnr/hptintf.h
1434
HPT_U8 sectors;
sys/dev/hptnr/hptintf.h
1435
HPT_U8 read;
sys/dev/hptnr/hptintf.h
1437
#define ACCESS_CONFIG_REG_buffer(p) ((HPT_U8 *)(p) + sizeof(ACCESS_CONFIG_REG_PARAMS))
sys/dev/hptnr/hptintf.h
1445
HPT_U8 sectors;
sys/dev/hptnr/hptintf.h
1446
HPT_U8 backsectors;
sys/dev/hptnr/hptintf.h
1447
HPT_U8 offset;
sys/dev/hptnr/hptintf.h
1448
HPT_U8 backoffset;
sys/dev/hptnr/hptintf.h
1724
int hpt_rebuild_data_block(DEVICEID idMirror, HPT_U32 Lba, HPT_U8 nSector);
sys/dev/hptnr/hptintf.h
1819
int hpt_lock_device(DEVICEID idDisk, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hptnr/hptintf.h
1867
int hpt_verify_data_block(DEVICEID idArray, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hptnr/hptintf.h
1879
int hpt_initialize_data_block(DEVICEID idArray, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hptnr/hptintf.h
2139
int hpt_i2c_transaction(HPT_U8 *indata, HPT_U32 inlen, HPT_U8 *outdata, HPT_U32 outlen, HPT_U32 *poutlen);
sys/dev/hptnr/hptintf.h
379
HPT_U8 MaximumControllers; /* maximum controllers the driver can support */
sys/dev/hptnr/hptintf.h
380
HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
sys/dev/hptnr/hptintf.h
381
HPT_U8 MinimumBlockSizeShift; /* minimum block size shift */
sys/dev/hptnr/hptintf.h
382
HPT_U8 MaximumBlockSizeShift; /* maximum block size shift */
sys/dev/hptnr/hptintf.h
384
HPT_U8 SupportDiskModeSetting;
sys/dev/hptnr/hptintf.h
385
HPT_U8 SupportSparePool;
sys/dev/hptnr/hptintf.h
386
HPT_U8 MaximumArrayNameLength;
sys/dev/hptnr/hptintf.h
389
HPT_U8 reserved: 2;
sys/dev/hptnr/hptintf.h
390
HPT_U8 SupportPerformanceMonitor: 1;
sys/dev/hptnr/hptintf.h
391
HPT_U8 SupportVariableSectorSize: 1;
sys/dev/hptnr/hptintf.h
392
HPT_U8 SupportHotSwap: 1;
sys/dev/hptnr/hptintf.h
393
HPT_U8 HighPerformanceRAID1: 1;
sys/dev/hptnr/hptintf.h
394
HPT_U8 RebuildProcessInDriver: 1;
sys/dev/hptnr/hptintf.h
395
HPT_U8 SupportDedicatedSpare: 1;
sys/dev/hptnr/hptintf.h
397
HPT_U8 SupportDedicatedSpare: 1; /* call hpt_add_dedicated_spare() for dedicated spare. */
sys/dev/hptnr/hptintf.h
398
HPT_U8 RebuildProcessInDriver: 1; /* Windows only. used by mid layer for rebuild control. */
sys/dev/hptnr/hptintf.h
399
HPT_U8 HighPerformanceRAID1: 1;
sys/dev/hptnr/hptintf.h
400
HPT_U8 SupportHotSwap: 1;
sys/dev/hptnr/hptintf.h
401
HPT_U8 SupportVariableSectorSize: 1;
sys/dev/hptnr/hptintf.h
402
HPT_U8 SupportPerformanceMonitor: 1;
sys/dev/hptnr/hptintf.h
403
HPT_U8 reserved: 2;
sys/dev/hptnr/hptintf.h
407
HPT_U8 SupportedRAIDTypes[16];
sys/dev/hptnr/hptintf.h
409
HPT_U8 MaximumArrayMembers[16];
sys/dev/hptnr/hptintf.h
415
HPT_U8 SupportedCachePolicies[16];
sys/dev/hptnr/hptintf.h
427
HPT_U8 ChipType; /* chip type */
sys/dev/hptnr/hptintf.h
428
HPT_U8 InterruptLevel; /* IRQ level */
sys/dev/hptnr/hptintf.h
429
HPT_U8 NumBuses; /* bus count */
sys/dev/hptnr/hptintf.h
430
HPT_U8 ChipFlags;
sys/dev/hptnr/hptintf.h
432
HPT_U8 szProductID[MAX_NAME_LENGTH];/* product name */
sys/dev/hptnr/hptintf.h
433
HPT_U8 szVendorID[MAX_NAME_LENGTH]; /* vender name */
sys/dev/hptnr/hptintf.h
439
HPT_U8 ChipType; /* chip type */
sys/dev/hptnr/hptintf.h
440
HPT_U8 InterruptLevel; /* IRQ level */
sys/dev/hptnr/hptintf.h
441
HPT_U8 NumBuses; /* bus count */
sys/dev/hptnr/hptintf.h
442
HPT_U8 ChipFlags;
sys/dev/hptnr/hptintf.h
444
HPT_U8 szProductID[MAX_NAME_LENGTH];/* product name */
sys/dev/hptnr/hptintf.h
445
HPT_U8 szVendorID[MAX_NAME_LENGTH]; /* vender name */
sys/dev/hptnr/hptintf.h
449
HPT_U8 pci_tree;
sys/dev/hptnr/hptintf.h
450
HPT_U8 pci_bus;
sys/dev/hptnr/hptintf.h
451
HPT_U8 pci_device;
sys/dev/hptnr/hptintf.h
452
HPT_U8 pci_function;
sys/dev/hptnr/hptintf.h
458
HPT_U8 MaxWidth;
sys/dev/hptnr/hptintf.h
459
HPT_U8 CurrentWidth;
sys/dev/hptnr/hptintf.h
460
HPT_U8 MaxSpeed;
sys/dev/hptnr/hptintf.h
461
HPT_U8 CurrentSpeed;
sys/dev/hptnr/hptintf.h
462
HPT_U8 reserve[64];
sys/dev/hptnr/hptintf.h
494
HPT_U8 ChipType;
sys/dev/hptnr/hptintf.h
495
HPT_U8 InterruptLevel;
sys/dev/hptnr/hptintf.h
496
HPT_U8 NumBuses;
sys/dev/hptnr/hptintf.h
497
HPT_U8 ChipFlags;
sys/dev/hptnr/hptintf.h
498
HPT_U8 szProductID[MAX_NAME_LENGTH];
sys/dev/hptnr/hptintf.h
499
HPT_U8 szVendorID[MAX_NAME_LENGTH];
sys/dev/hptnr/hptintf.h
501
HPT_U8 pci_tree;
sys/dev/hptnr/hptintf.h
502
HPT_U8 pci_bus;
sys/dev/hptnr/hptintf.h
503
HPT_U8 pci_device;
sys/dev/hptnr/hptintf.h
504
HPT_U8 pci_function;
sys/dev/hptnr/hptintf.h
506
HPT_U8 IOPModel[32];
sys/dev/hptnr/hptintf.h
508
HPT_U8 BatteryInstalled;
sys/dev/hptnr/hptintf.h
509
HPT_U8 BatteryStatus;
sys/dev/hptnr/hptintf.h
513
HPT_U8 SerialNumber[32];
sys/dev/hptnr/hptintf.h
514
HPT_U8 BatteryMBInstalled;
sys/dev/hptnr/hptintf.h
515
HPT_U8 BatteryTemperature;
sys/dev/hptnr/hptintf.h
532
HPT_U8 SASAddress[8];
sys/dev/hptnr/hptintf.h
533
HPT_U8 reserve[48];
sys/dev/hptnr/hptintf.h
557
HPT_U8 EnclosureType;
sys/dev/hptnr/hptintf.h
558
HPT_U8 NumberOfPhys;
sys/dev/hptnr/hptintf.h
559
HPT_U8 AttachedTo;
sys/dev/hptnr/hptintf.h
560
HPT_U8 Status;
sys/dev/hptnr/hptintf.h
561
HPT_U8 VendorId[8];
sys/dev/hptnr/hptintf.h
562
HPT_U8 ProductId[16];
sys/dev/hptnr/hptintf.h
563
HPT_U8 ProductRevisionLevel[4];
sys/dev/hptnr/hptintf.h
570
HPT_U8 ElementType;
sys/dev/hptnr/hptintf.h
571
HPT_U8 ElementOverallIndex;
sys/dev/hptnr/hptintf.h
572
HPT_U8 ElementStatus;
sys/dev/hptnr/hptintf.h
573
HPT_U8 Reserved;
sys/dev/hptnr/hptintf.h
575
HPT_U8 ElementDescriptor[32];
sys/dev/hptnr/hptintf.h
619
HPT_U8 EnclosureType;
sys/dev/hptnr/hptintf.h
620
HPT_U8 NumberOfPhys;
sys/dev/hptnr/hptintf.h
621
HPT_U8 AttachedTo;
sys/dev/hptnr/hptintf.h
622
HPT_U8 Status;
sys/dev/hptnr/hptintf.h
623
HPT_U8 VendorId[8];
sys/dev/hptnr/hptintf.h
624
HPT_U8 ProductId[16];
sys/dev/hptnr/hptintf.h
625
HPT_U8 ProductRevisionLevel[4];
sys/dev/hptnr/hptintf.h
631
HPT_U8 EnclosureType;
sys/dev/hptnr/hptintf.h
632
HPT_U8 NumberOfPhys;
sys/dev/hptnr/hptintf.h
633
HPT_U8 AttachedTo;
sys/dev/hptnr/hptintf.h
634
HPT_U8 Status;
sys/dev/hptnr/hptintf.h
635
HPT_U8 VendorId[8];
sys/dev/hptnr/hptintf.h
636
HPT_U8 ProductId[16];
sys/dev/hptnr/hptintf.h
637
HPT_U8 ProductRevisionLevel[4];
sys/dev/hptnr/hptintf.h
645
HPT_U8 EnclosureType;
sys/dev/hptnr/hptintf.h
646
HPT_U8 NumberOfPhys;
sys/dev/hptnr/hptintf.h
647
HPT_U8 AttachedTo;
sys/dev/hptnr/hptintf.h
648
HPT_U8 Status;
sys/dev/hptnr/hptintf.h
649
HPT_U8 VendorId[8];
sys/dev/hptnr/hptintf.h
650
HPT_U8 ProductId[16];
sys/dev/hptnr/hptintf.h
651
HPT_U8 ProductRevisionLevel[4];
sys/dev/hptnr/hptintf.h
682
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hptnr/hptintf.h
683
HPT_U8 Description[64]; /* array description */
sys/dev/hptnr/hptintf.h
684
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptnr/hptintf.h
687
HPT_U8 ArrayType; /* array type */
sys/dev/hptnr/hptintf.h
688
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hptnr/hptintf.h
689
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hptnr/hptintf.h
690
HPT_U8 SubArrayType;
sys/dev/hptnr/hptintf.h
709
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hptnr/hptintf.h
710
HPT_U8 Description[64]; /* array description */
sys/dev/hptnr/hptintf.h
711
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptnr/hptintf.h
714
HPT_U8 ArrayType; /* array type */
sys/dev/hptnr/hptintf.h
715
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hptnr/hptintf.h
716
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hptnr/hptintf.h
717
HPT_U8 SubArrayType;
sys/dev/hptnr/hptintf.h
731
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hptnr/hptintf.h
732
HPT_U8 Description[64]; /* array description */
sys/dev/hptnr/hptintf.h
733
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptnr/hptintf.h
736
HPT_U8 ArrayType; /* array type */
sys/dev/hptnr/hptintf.h
737
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hptnr/hptintf.h
738
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hptnr/hptintf.h
739
HPT_U8 SubArrayType;
sys/dev/hptnr/hptintf.h
764
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hptnr/hptintf.h
765
HPT_U8 Description[64]; /* array description */
sys/dev/hptnr/hptintf.h
766
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptnr/hptintf.h
769
HPT_U8 ArrayType; /* array type */
sys/dev/hptnr/hptintf.h
770
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hptnr/hptintf.h
771
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hptnr/hptintf.h
772
HPT_U8 SubArrayType;
sys/dev/hptnr/hptintf.h
783
HPT_U8 SectorSizeShift; /*sector size = 512B<<SectorSizeShift*/
sys/dev/hptnr/hptintf.h
784
HPT_U8 reserved2[7];
sys/dev/hptnr/hptintf.h
801
HPT_U8 SasAddress[8];
sys/dev/hptnr/hptintf.h
808
HPT_U8 MaximumBlockTransfer;
sys/dev/hptnr/hptintf.h
809
HPT_U8 VendorUnique2;
sys/dev/hptnr/hptintf.h
813
HPT_U8 VendorUnique3;
sys/dev/hptnr/hptintf.h
814
HPT_U8 PioCycleTimingMode;
sys/dev/hptnr/hptintf.h
815
HPT_U8 VendorUnique4;
sys/dev/hptnr/hptintf.h
816
HPT_U8 DmaCycleTimingMode;
sys/dev/hptnr/hptintf.h
824
HPT_U8 SingleWordDMASupport;
sys/dev/hptnr/hptintf.h
825
HPT_U8 SingleWordDMAActive;
sys/dev/hptnr/hptintf.h
826
HPT_U8 MultiWordDMASupport;
sys/dev/hptnr/hptintf.h
827
HPT_U8 MultiWordDMAActive;
sys/dev/hptnr/hptintf.h
828
HPT_U8 AdvancedPIOModes;
sys/dev/hptnr/hptintf.h
829
HPT_U8 Reserved4;
sys/dev/hptnr/hptintf.h
846
HPT_U8 ControllerId; /* controller id */
sys/dev/hptnr/hptintf.h
847
HPT_U8 PathId; /* bus */
sys/dev/hptnr/hptintf.h
848
HPT_U8 TargetId; /* id */
sys/dev/hptnr/hptintf.h
849
HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
sys/dev/hptnr/hptintf.h
851
HPT_U8 DeviceType; /* device type */
sys/dev/hptnr/hptintf.h
852
HPT_U8 UsableMode; /* highest usable mode */
sys/dev/hptnr/hptintf.h
855
HPT_U8 NCQEnabled: 1;
sys/dev/hptnr/hptintf.h
856
HPT_U8 NCQSupported: 1;
sys/dev/hptnr/hptintf.h
857
HPT_U8 TCQEnabled: 1;
sys/dev/hptnr/hptintf.h
858
HPT_U8 TCQSupported: 1;
sys/dev/hptnr/hptintf.h
859
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hptnr/hptintf.h
860
HPT_U8 WriteCacheSupported: 1;
sys/dev/hptnr/hptintf.h
861
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hptnr/hptintf.h
862
HPT_U8 ReadAheadSupported: 1;
sys/dev/hptnr/hptintf.h
863
HPT_U8 reserved6: 6;
sys/dev/hptnr/hptintf.h
864
HPT_U8 SpinUpMode: 2;
sys/dev/hptnr/hptintf.h
866
HPT_U8 ReadAheadSupported: 1;
sys/dev/hptnr/hptintf.h
867
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hptnr/hptintf.h
868
HPT_U8 WriteCacheSupported: 1;
sys/dev/hptnr/hptintf.h
869
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hptnr/hptintf.h
870
HPT_U8 TCQSupported: 1;
sys/dev/hptnr/hptintf.h
871
HPT_U8 TCQEnabled: 1;
sys/dev/hptnr/hptintf.h
872
HPT_U8 NCQSupported: 1;
sys/dev/hptnr/hptintf.h
873
HPT_U8 NCQEnabled: 1;
sys/dev/hptnr/hptintf.h
874
HPT_U8 SpinUpMode: 2;
sys/dev/hptnr/hptintf.h
875
HPT_U8 reserved6: 6;
sys/dev/hptnr/hptintf.h
892
HPT_U8 ControllerId; /* controller id */
sys/dev/hptnr/hptintf.h
893
HPT_U8 PathId; /* bus */
sys/dev/hptnr/hptintf.h
894
HPT_U8 TargetId; /* id */
sys/dev/hptnr/hptintf.h
895
HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
sys/dev/hptnr/hptintf.h
897
HPT_U8 DeviceType; /* device type */
sys/dev/hptnr/hptintf.h
898
HPT_U8 UsableMode; /* highest usable mode */
sys/dev/hptnr/hptintf.h
901
HPT_U8 NCQEnabled: 1;
sys/dev/hptnr/hptintf.h
902
HPT_U8 NCQSupported: 1;
sys/dev/hptnr/hptintf.h
903
HPT_U8 TCQEnabled: 1;
sys/dev/hptnr/hptintf.h
904
HPT_U8 TCQSupported: 1;
sys/dev/hptnr/hptintf.h
905
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hptnr/hptintf.h
906
HPT_U8 WriteCacheSupported: 1;
sys/dev/hptnr/hptintf.h
907
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hptnr/hptintf.h
908
HPT_U8 ReadAheadSupported: 1;
sys/dev/hptnr/hptintf.h
909
HPT_U8 reserved6: 6;
sys/dev/hptnr/hptintf.h
910
HPT_U8 SpinUpMode: 2;
sys/dev/hptnr/hptintf.h
912
HPT_U8 ReadAheadSupported: 1;
sys/dev/hptnr/hptintf.h
913
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hptnr/hptintf.h
914
HPT_U8 WriteCacheSupported: 1;
sys/dev/hptnr/hptintf.h
915
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hptnr/hptintf.h
916
HPT_U8 TCQSupported: 1;
sys/dev/hptnr/hptintf.h
917
HPT_U8 TCQEnabled: 1;
sys/dev/hptnr/hptintf.h
918
HPT_U8 NCQSupported: 1;
sys/dev/hptnr/hptintf.h
919
HPT_U8 NCQEnabled: 1;
sys/dev/hptnr/hptintf.h
920
HPT_U8 SpinUpMode: 2;
sys/dev/hptnr/hptintf.h
921
HPT_U8 reserved6: 6;
sys/dev/hptnr/hptintf.h
977
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hptnr/hptintf.h
978
HPT_U8 reserved[3];
sys/dev/hptnr/hptintf.h
992
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hptnr/hptintf.h
993
HPT_U8 reserved[3];
sys/dev/hptnr/hptnr_os_bsd.c
276
HPT_U8 os_get_vbus_seq(void *osext)
sys/dev/hptnr/hptnr_os_bsd.c
37
HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); }
sys/dev/hptnr/hptnr_os_bsd.c
41
void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); }
sys/dev/hptnr/hptnr_os_bsd.c
54
HPT_U8 os_pci_readb (void *osext, HPT_U8 offset)
sys/dev/hptnr/hptnr_os_bsd.c
59
HPT_U16 os_pci_readw (void *osext, HPT_U8 offset)
sys/dev/hptnr/hptnr_os_bsd.c
64
HPT_U32 os_pci_readl (void *osext, HPT_U8 offset)
sys/dev/hptnr/hptnr_os_bsd.c
69
void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value)
sys/dev/hptnr/hptnr_os_bsd.c
74
void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value)
sys/dev/hptnr/hptnr_os_bsd.c
79
void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value)
sys/dev/hptnr/hptnr_os_bsd.c
89
HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg)
sys/dev/hptnr/hptnr_osm_bsd.c
439
HPT_U8 *cdb;
sys/dev/hptnr/hptnr_osm_bsd.c
454
HPT_U8 *sense_buffer = (HPT_U8 *)&ccb->csio.sense_data;
sys/dev/hptnr/hptnr_osm_bsd.c
462
sense_buffer[11] = (HPT_U8)passthru->bFeaturesReg; /* Error */
sys/dev/hptnr/hptnr_osm_bsd.c
463
sense_buffer[13] = (HPT_U8)passthru->bSectorCountReg; /* Sector Count (7:0) */
sys/dev/hptnr/hptnr_osm_bsd.c
464
sense_buffer[15] = (HPT_U8)passthru->bLbaLowReg; /* LBA Low (7:0) */
sys/dev/hptnr/hptnr_osm_bsd.c
465
sense_buffer[17] = (HPT_U8)passthru->bLbaMidReg; /* LBA Mid (7:0) */
sys/dev/hptnr/hptnr_osm_bsd.c
466
sense_buffer[19] = (HPT_U8)passthru->bLbaHighReg; /* LBA High (7:0) */
sys/dev/hptnr/hptnr_osm_bsd.c
471
sense_buffer[12] = (HPT_U8)(passthru->bSectorCountReg >> 8); /* Sector Count (15:8) */
sys/dev/hptnr/hptnr_osm_bsd.c
472
sense_buffer[14] = (HPT_U8)(passthru->bLbaLowReg >> 8); /* LBA Low (15:8) */
sys/dev/hptnr/hptnr_osm_bsd.c
473
sense_buffer[16] = (HPT_U8)(passthru->bLbaMidReg >> 8); /* LBA Mid (15:8) */
sys/dev/hptnr/hptnr_osm_bsd.c
474
sense_buffer[18] = (HPT_U8)(passthru->bLbaHighReg >> 8); /* LBA High (15:8) */
sys/dev/hptnr/hptnr_osm_bsd.c
477
sense_buffer[20] = (HPT_U8)passthru->bDriveHeadReg; /* Device */
sys/dev/hptnr/hptnr_osm_bsd.c
478
sense_buffer[21] = (HPT_U8)passthru->bCommandReg; /* Status */
sys/dev/hptnr/hptnr_osm_bsd.c
582
HPT_U8 *cdb;
sys/dev/hptnr/hptnr_osm_bsd.c
624
HPT_U8 prot;
sys/dev/hptnr/hptnr_osm_bsd.c
772
HPT_U8 *rbuf;
sys/dev/hptnr/hptnr_osm_bsd.c
778
rbuf = (HPT_U8 *)inquiryData;
sys/dev/hptnr/hptnr_osm_bsd.c
844
rbuf = (HPT_U8 *)inquiryData;
sys/dev/hptnr/hptnr_osm_bsd.c
863
ldm_ide_fixstring((HPT_U8 *)&inquiryData->ProductId, 16);
sys/dev/hptnr/hptnr_osm_bsd.c
865
ldm_ide_fixstring((HPT_U8 *)&inquiryData->ProductRevisionLevel, 4);
sys/dev/hptnr/hptnr_osm_bsd.c
881
HPT_U8 *rbuf = ccb->csio.data_ptr;
sys/dev/hptnr/hptnr_osm_bsd.c
883
HPT_U8 sector_size_shift = 0;
sys/dev/hptnr/hptnr_osm_bsd.c
910
rbuf[0] = (HPT_U8)(cap>>24);
sys/dev/hptnr/hptnr_osm_bsd.c
911
rbuf[1] = (HPT_U8)(cap>>16);
sys/dev/hptnr/hptnr_osm_bsd.c
912
rbuf[2] = (HPT_U8)(cap>>8);
sys/dev/hptnr/hptnr_osm_bsd.c
913
rbuf[3] = (HPT_U8)cap;
sys/dev/hptnr/hptnr_osm_bsd.c
925
HPT_U8 *rbuf = ccb->csio.data_ptr;
sys/dev/hptnr/hptnr_osm_bsd.c
933
HPT_U8 *rbuf = ccb->csio.data_ptr;
sys/dev/hptnr/hptnr_osm_bsd.c
935
HPT_U8 sector_size_shift = 0;
sys/dev/hptnr/hptnr_osm_bsd.c
956
rbuf[0] = (HPT_U8)(cap>>56);
sys/dev/hptnr/hptnr_osm_bsd.c
957
rbuf[1] = (HPT_U8)(cap>>48);
sys/dev/hptnr/hptnr_osm_bsd.c
958
rbuf[2] = (HPT_U8)(cap>>40);
sys/dev/hptnr/hptnr_osm_bsd.c
959
rbuf[3] = (HPT_U8)(cap>>32);
sys/dev/hptnr/hptnr_osm_bsd.c
960
rbuf[4] = (HPT_U8)(cap>>24);
sys/dev/hptnr/hptnr_osm_bsd.c
961
rbuf[5] = (HPT_U8)(cap>>16);
sys/dev/hptnr/hptnr_osm_bsd.c
962
rbuf[6] = (HPT_U8)(cap>>8);
sys/dev/hptnr/hptnr_osm_bsd.c
963
rbuf[7] = (HPT_U8)cap;
sys/dev/hptnr/hptnr_osm_bsd.c
971
rbuf[14] = (HPT_U8)((vd->u.raw.lowest_aligned >> 8) & 0x3f);
sys/dev/hptnr/hptnr_osm_bsd.c
972
rbuf[15] = (HPT_U8)(vd->u.raw.lowest_aligned);
sys/dev/hptnr/hptnr_osm_bsd.c
990
HPT_U8 sector_size_shift = 0;
sys/dev/hptnr/ldm.h
244
HPT_U8 logicalsectors_per_physicalsector;
sys/dev/hptnr/ldm.h
247
HPT_U8 max_queue_depth;
sys/dev/hptnr/ldm.h
248
HPT_U8 user_select_mode;
sys/dev/hptnr/ldm.h
290
HPT_U8 __type;
sys/dev/hptnr/ldm.h
291
HPT_U8 stripped; /* RAID0,3,5,6 */
sys/dev/hptnr/ldm.h
292
HPT_U8 redundancy; /* RAID1-1, RAID3/5-1, RAID6-2 */
sys/dev/hptnr/ldm.h
293
HPT_U8 must_init; /* RAID3,5,6 */
sys/dev/hptnr/ldm.h
294
HPT_U8 docache;
sys/dev/hptnr/ldm.h
356
struct vdev_class *ldm_find_vdev_class(HPT_U8 type);
sys/dev/hptnr/ldm.h
361
HPT_U8 type;
sys/dev/hptnr/ldm.h
376
HPT_U8 vf_online : 1;
sys/dev/hptnr/ldm.h
377
HPT_U8 vf_bootmark : 1;
sys/dev/hptnr/ldm.h
378
HPT_U8 vf_bootable : 1;
sys/dev/hptnr/ldm.h
379
HPT_U8 vf_resetting: 1;
sys/dev/hptnr/ldm.h
380
HPT_U8 vf_quiesced: 1;
sys/dev/hptnr/ldm.h
381
HPT_U8 vf_clslock: 1;
sys/dev/hptnr/ldm.h
383
HPT_U8 cache_policy; /* see CACHE_POLICY_* */
sys/dev/hptnr/ldm.h
448
PVDEV ldm_create_vdev(PVBUS vbus, HPT_U8 type);
sys/dev/hptnr/ldm.h
531
void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);
sys/dev/hptnr/osm.h
125
HPT_U8 os_inb (void *port);
sys/dev/hptnr/osm.h
128
void os_outb (void *port, HPT_U8 value);
sys/dev/hptnr/osm.h
136
#define os_readb(addr) (*(HPT_U8 *)&__dummy_reg = *(volatile HPT_U8 *)(addr))
sys/dev/hptnr/osm.h
140
#define os_writeb(addr, val) *(volatile HPT_U8 *)(addr) = (HPT_U8)(val)
sys/dev/hptnr/osm.h
145
HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
sys/dev/hptnr/osm.h
146
HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
sys/dev/hptnr/osm.h
147
HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
sys/dev/hptnr/osm.h
148
void os_pci_writeb(void *osext, HPT_U8 offset, HPT_U8 value);
sys/dev/hptnr/osm.h
149
void os_pci_writew(void *osext, HPT_U8 offset, HPT_U16 value);
sys/dev/hptnr/osm.h
150
void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
sys/dev/hptnr/osm.h
156
HPT_U8 pcicfg_read_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
sys/dev/hptnr/osm.h
157
HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
sys/dev/hptnr/osm.h
158
void pcicfg_write_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U8 v);
sys/dev/hptnr/osm.h
159
void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v);
sys/dev/hptnr/osm.h
218
HPT_U8 os_get_vbus_seq(void *osext);
sys/dev/hptnr/osm.h
65
HPT_U8 *p = (HPT_U8 *)&x;
sys/dev/hptnr/osm.h
78
HPT_U8 *p = (HPT_U8 *)&x;
sys/dev/hptnr/osm.h
86
return ((HPT_U8)x << 8) | (x>>8);
sys/dev/hptrr/array.h
104
HPT_U8 transform_from_tail;
sys/dev/hptrr/array.h
112
HPT_U8 operation;
sys/dev/hptrr/array.h
113
HPT_U8 disabled;
sys/dev/hptrr/array.h
121
HPT_U8 ndisk;
sys/dev/hptrr/array.h
122
HPT_U8 block_size_shift;
sys/dev/hptrr/array.h
124
HPT_U8 sector_size_shift; /*sector size = 512B<<sector_size_shift*/
sys/dev/hptrr/array.h
125
HPT_U8 jid;
sys/dev/hptrr/array.h
126
HPT_U8 reserved[2];
sys/dev/hptrr/array.h
139
HPT_U8 name[MAX_ARRAY_NAME];
sys/dev/hptrr/array.h
143
HPT_U8 description[64];
sys/dev/hptrr/array.h
144
HPT_U8 create_manager[16];
sys/dev/hptrr/array.h
175
HPT_U8 del_mbr;
sys/dev/hptrr/array.h
176
HPT_U8 reserved[3];
sys/dev/hptrr/him.h
132
HPT_U8 MaximumBlockTransfer;
sys/dev/hptrr/him.h
133
HPT_U8 VendorUnique2;
sys/dev/hptrr/him.h
137
HPT_U8 VendorUnique3;
sys/dev/hptrr/him.h
138
HPT_U8 PioCycleTimingMode;
sys/dev/hptrr/him.h
139
HPT_U8 VendorUnique4;
sys/dev/hptrr/him.h
140
HPT_U8 DmaCycleTimingMode;
sys/dev/hptrr/him.h
148
HPT_U8 SingleWordDMASupport;
sys/dev/hptrr/him.h
149
HPT_U8 SingleWordDMAActive;
sys/dev/hptrr/him.h
150
HPT_U8 MultiWordDMASupport;
sys/dev/hptrr/him.h
151
HPT_U8 MultiWordDMAActive;
sys/dev/hptrr/him.h
152
HPT_U8 AdvancedPIOModes;
sys/dev/hptrr/him.h
153
HPT_U8 Reserved4;
sys/dev/hptrr/him.h
176
HPT_U8 path_id;
sys/dev/hptrr/him.h
177
HPT_U8 target_id;
sys/dev/hptrr/him.h
178
HPT_U8 max_queue_depth;
sys/dev/hptrr/him.h
179
HPT_U8 spin_up_mode;
sys/dev/hptrr/him.h
181
HPT_U8 reserved;
sys/dev/hptrr/him.h
182
HPT_U8 transfer_mode;
sys/dev/hptrr/him.h
183
HPT_U8 bMaxShowMode;
sys/dev/hptrr/him.h
184
HPT_U8 bDeUsable_Mode;
sys/dev/hptrr/him.h
210
HPT_U8 enable;
sys/dev/hptrr/him.h
211
HPT_U8 depth;
sys/dev/hptrr/him.h
215
HPT_U8 enable;
sys/dev/hptrr/him.h
216
HPT_U8 depth;
sys/dev/hptrr/him.h
220
HPT_U8 type;
sys/dev/hptrr/him.h
222
HPT_U8 mode;
sys/dev/hptrr/him.h
223
HPT_U8 enable_read_ahead;
sys/dev/hptrr/him.h
224
HPT_U8 enable_read_cache;
sys/dev/hptrr/him.h
225
HPT_U8 enable_write_cache;
sys/dev/hptrr/him.h
229
HPT_U8 spin_up_mode;
sys/dev/hptrr/him.h
230
HPT_U8 idle_standby_timeout;
sys/dev/hptrr/him.h
231
HPT_U8 identify_indicator;
sys/dev/hptrr/him.h
259
HPT_U8 FAR * _logical;
sys/dev/hptrr/him.h
293
HPT_U8 bDriveHeadReg;
sys/dev/hptrr/him.h
294
HPT_U8 bCommandReg;
sys/dev/hptrr/him.h
295
HPT_U8 nSectors;
sys/dev/hptrr/him.h
296
HPT_U8 *pDataBuffer;
sys/dev/hptrr/him.h
301
HPT_U8 cdbLength;
sys/dev/hptrr/him.h
302
HPT_U8 senseLength;
sys/dev/hptrr/him.h
303
HPT_U8 scsiStatus;
sys/dev/hptrr/him.h
304
HPT_U8 reserve1;
sys/dev/hptrr/him.h
306
HPT_U8 *cdb;
sys/dev/hptrr/him.h
307
HPT_U8 *senseBuffer;
sys/dev/hptrr/him.h
320
HPT_U8 Command;
sys/dev/hptrr/him.h
321
HPT_U8 reserve1;
sys/dev/hptrr/him.h
327
HPT_U8 * logical;
sys/dev/hptrr/him.h
343
HPT_U8 Command; /* CTRL_CMD_XXX */
sys/dev/hptrr/him.h
344
HPT_U8 reserve1;
sys/dev/hptrr/him.h
395
HPT_U8 type; /* CMD_TYPE_* */
sys/dev/hptrr/him.h
398
HPT_U8 physical_sg: 1;
sys/dev/hptrr/him.h
399
HPT_U8 data_in: 1;
sys/dev/hptrr/him.h
400
HPT_U8 data_out: 1;
sys/dev/hptrr/him.h
401
HPT_U8 transform : 1;
sys/dev/hptrr/him.h
402
HPT_U8 hard_flush: 2;
sys/dev/hptrr/him.h
403
HPT_U8 from_cc: 1;
sys/dev/hptrr/him.h
404
HPT_U8 force_cc: 1;
sys/dev/hptrr/him.h
408
HPT_U8 Result;
sys/dev/hptrr/him.h
410
HPT_U8 RetryCount;
sys/dev/hptrr/him.h
53
HPT_U8 rev;
sys/dev/hptrr/him.h
54
HPT_U8 nbase;
sys/dev/hptrr/him.h
61
HPT_U8 tree;
sys/dev/hptrr/him.h
62
HPT_U8 bus;
sys/dev/hptrr/him.h
63
HPT_U8 device;
sys/dev/hptrr/him.h
64
HPT_U8 function;
sys/dev/hptrr/him.h
73
HPT_U8 max_devices;
sys/dev/hptrr/him.h
74
HPT_U8 reserve1;
sys/dev/hptrr/him.h
76
HPT_U8 bDevsPerBus;
sys/dev/hptrr/him.h
77
HPT_U8 first_on_slot;
sys/dev/hptrr/him.h
79
HPT_U8 bChipType;
sys/dev/hptrr/him.h
80
HPT_U8 bChipIntrNum;
sys/dev/hptrr/him.h
81
HPT_U8 bChipFlags;
sys/dev/hptrr/him.h
82
HPT_U8 bNumBuses;
sys/dev/hptrr/him.h
84
HPT_U8 szVendorID[36];
sys/dev/hptrr/him.h
85
HPT_U8 szProductID[36];
sys/dev/hptrr/himfuncs.h
43
_HIM_INTERFACE(HPT_U8, get_controller_count, (PCI_ID *id, HPT_U8 *reached))
sys/dev/hptrr/himfuncs.h
79
_HIM_INTERFACE(int, read_write, (void *dev,HPT_LBA lba, HPT_U16 nsector, HPT_U8 *buffer, HPT_BOOL read))
sys/dev/hptrr/hptintf.h
1001
HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
sys/dev/hptrr/hptintf.h
1002
HPT_U8 Description[64]; /* array description */
sys/dev/hptrr/hptintf.h
1003
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptrr/hptintf.h
1104
HPT_U8 EventType;
sys/dev/hptrr/hptintf.h
1105
HPT_U8 reserved[3];
sys/dev/hptrr/hptintf.h
1107
HPT_U8 Data[32]; /* various data depend on EventType */
sys/dev/hptrr/hptintf.h
1118
HPT_U8 bFeaturesReg; /* feature register */
sys/dev/hptrr/hptintf.h
1119
HPT_U8 bSectorCountReg; /* IDE sector count register. */
sys/dev/hptrr/hptintf.h
1120
HPT_U8 bLbaLowReg; /* IDE LBA low value. */
sys/dev/hptrr/hptintf.h
1121
HPT_U8 bLbaMidReg; /* IDE LBA mid register. */
sys/dev/hptrr/hptintf.h
1122
HPT_U8 bLbaHighReg; /* IDE LBA high value. */
sys/dev/hptrr/hptintf.h
1123
HPT_U8 bDriveHeadReg; /* IDE drive/head register. */
sys/dev/hptrr/hptintf.h
1124
HPT_U8 bCommandReg; /* Actual IDE command. Checked for validity by driver. */
sys/dev/hptrr/hptintf.h
1125
HPT_U8 nSectors; /* data size in sectors, if the command has data transfer */
sys/dev/hptrr/hptintf.h
1126
HPT_U8 protocol; /* IO_COMMAND_(READ,WRITE) or zero for non-DATA */
sys/dev/hptrr/hptintf.h
1127
HPT_U8 reserve[3];
sys/dev/hptrr/hptintf.h
1128
#define IDE_PASS_THROUGH_buffer(p) ((HPT_U8 *)(p) + sizeof(IDE_PASS_THROUGH_HEADER))
sys/dev/hptrr/hptintf.h
1135
HPT_U8 protocol;
sys/dev/hptrr/hptintf.h
1136
HPT_U8 reserve1;
sys/dev/hptrr/hptintf.h
1137
HPT_U8 reserve2;
sys/dev/hptrr/hptintf.h
1138
HPT_U8 cdbLength;
sys/dev/hptrr/hptintf.h
1139
HPT_U8 cdb[16];
sys/dev/hptrr/hptintf.h
1146
HPT_U8 scsiStatus;
sys/dev/hptrr/hptintf.h
1147
HPT_U8 reserve1;
sys/dev/hptrr/hptintf.h
1148
HPT_U8 reserve2;
sys/dev/hptrr/hptintf.h
1149
HPT_U8 reserve3;
sys/dev/hptrr/hptintf.h
1162
HPT_U8 Command; /* IO_COMMAD_xxx */
sys/dev/hptrr/hptintf.h
1163
HPT_U8 BufferType; /* BUFFER_TYPE_xxx, see below */
sys/dev/hptrr/hptintf.h
1178
HPT_U8 value[32];
sys/dev/hptrr/hptintf.h
1179
HPT_U8 type; /* HPT_DRIVER_PARAMETER_TYPE_* */
sys/dev/hptrr/hptintf.h
1180
HPT_U8 persistent;
sys/dev/hptrr/hptintf.h
1181
HPT_U8 reserve2[2];
sys/dev/hptrr/hptintf.h
1182
HPT_U8 location; /* 0 - system */
sys/dev/hptrr/hptintf.h
1183
HPT_U8 controller;
sys/dev/hptrr/hptintf.h
1184
HPT_U8 bus;
sys/dev/hptrr/hptintf.h
1185
HPT_U8 reserve1;
sys/dev/hptrr/hptintf.h
1446
int hpt_rebuild_data_block(DEVICEID idMirror, HPT_U32 Lba, HPT_U8 nSector);
sys/dev/hptrr/hptintf.h
1541
int hpt_lock_device(DEVICEID idDisk, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hptrr/hptintf.h
1588
int hpt_verify_data_block(DEVICEID idArray, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hptrr/hptintf.h
1600
int hpt_initialize_data_block(DEVICEID idArray, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hptrr/hptintf.h
1860
int hpt_i2c_transaction(HPT_U8 *indata, HPT_U32 inlen, HPT_U8 *outdata, HPT_U32 outlen, HPT_U32 *poutlen);
sys/dev/hptrr/hptintf.h
343
HPT_U8 MaximumControllers; /* maximum controllers the driver can support */
sys/dev/hptrr/hptintf.h
344
HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */
sys/dev/hptrr/hptintf.h
345
HPT_U8 MinimumBlockSizeShift; /* minimum block size shift */
sys/dev/hptrr/hptintf.h
346
HPT_U8 MaximumBlockSizeShift; /* maximum block size shift */
sys/dev/hptrr/hptintf.h
348
HPT_U8 SupportDiskModeSetting;
sys/dev/hptrr/hptintf.h
349
HPT_U8 SupportSparePool;
sys/dev/hptrr/hptintf.h
350
HPT_U8 MaximumArrayNameLength;
sys/dev/hptrr/hptintf.h
353
HPT_U8 reserved: 3;
sys/dev/hptrr/hptintf.h
354
HPT_U8 SupportVariableSectorSize: 1;
sys/dev/hptrr/hptintf.h
355
HPT_U8 SupportHotSwap: 1;
sys/dev/hptrr/hptintf.h
356
HPT_U8 HighPerformanceRAID1: 1;
sys/dev/hptrr/hptintf.h
357
HPT_U8 RebuildProcessInDriver: 1;
sys/dev/hptrr/hptintf.h
358
HPT_U8 SupportDedicatedSpare: 1;
sys/dev/hptrr/hptintf.h
360
HPT_U8 SupportDedicatedSpare: 1; /* call hpt_add_dedicated_spare() for dedicated spare. */
sys/dev/hptrr/hptintf.h
361
HPT_U8 RebuildProcessInDriver: 1; /* Windows only. used by mid layer for rebuild control. */
sys/dev/hptrr/hptintf.h
362
HPT_U8 HighPerformanceRAID1: 1;
sys/dev/hptrr/hptintf.h
363
HPT_U8 SupportHotSwap: 1;
sys/dev/hptrr/hptintf.h
364
HPT_U8 SupportVariableSectorSize: 1;
sys/dev/hptrr/hptintf.h
365
HPT_U8 reserved: 3;
sys/dev/hptrr/hptintf.h
369
HPT_U8 SupportedRAIDTypes[16];
sys/dev/hptrr/hptintf.h
371
HPT_U8 MaximumArrayMembers[16];
sys/dev/hptrr/hptintf.h
377
HPT_U8 SupportedCachePolicies[16];
sys/dev/hptrr/hptintf.h
386
HPT_U8 ChipType; /* chip type */
sys/dev/hptrr/hptintf.h
387
HPT_U8 InterruptLevel; /* IRQ level */
sys/dev/hptrr/hptintf.h
388
HPT_U8 NumBuses; /* bus count */
sys/dev/hptrr/hptintf.h
389
HPT_U8 ChipFlags;
sys/dev/hptrr/hptintf.h
391
HPT_U8 szProductID[MAX_NAME_LENGTH];/* product name */
sys/dev/hptrr/hptintf.h
392
HPT_U8 szVendorID[MAX_NAME_LENGTH]; /* vender name */
sys/dev/hptrr/hptintf.h
398
HPT_U8 ChipType; /* chip type */
sys/dev/hptrr/hptintf.h
399
HPT_U8 InterruptLevel; /* IRQ level */
sys/dev/hptrr/hptintf.h
400
HPT_U8 NumBuses; /* bus count */
sys/dev/hptrr/hptintf.h
401
HPT_U8 ChipFlags;
sys/dev/hptrr/hptintf.h
403
HPT_U8 szProductID[MAX_NAME_LENGTH];/* product name */
sys/dev/hptrr/hptintf.h
404
HPT_U8 szVendorID[MAX_NAME_LENGTH]; /* vender name */
sys/dev/hptrr/hptintf.h
408
HPT_U8 pci_tree;
sys/dev/hptrr/hptintf.h
409
HPT_U8 pci_bus;
sys/dev/hptrr/hptintf.h
410
HPT_U8 pci_device;
sys/dev/hptrr/hptintf.h
411
HPT_U8 pci_function;
sys/dev/hptrr/hptintf.h
428
HPT_U8 ChipType;
sys/dev/hptrr/hptintf.h
429
HPT_U8 InterruptLevel;
sys/dev/hptrr/hptintf.h
430
HPT_U8 NumBuses;
sys/dev/hptrr/hptintf.h
431
HPT_U8 ChipFlags;
sys/dev/hptrr/hptintf.h
432
HPT_U8 szProductID[MAX_NAME_LENGTH];
sys/dev/hptrr/hptintf.h
433
HPT_U8 szVendorID[MAX_NAME_LENGTH];
sys/dev/hptrr/hptintf.h
435
HPT_U8 pci_tree;
sys/dev/hptrr/hptintf.h
436
HPT_U8 pci_bus;
sys/dev/hptrr/hptintf.h
437
HPT_U8 pci_device;
sys/dev/hptrr/hptintf.h
438
HPT_U8 pci_function;
sys/dev/hptrr/hptintf.h
440
HPT_U8 IOPModel[32];
sys/dev/hptrr/hptintf.h
442
HPT_U8 BatteryInstalled;
sys/dev/hptrr/hptintf.h
443
HPT_U8 BatteryStatus;
sys/dev/hptrr/hptintf.h
447
HPT_U8 SerialNumber[32];
sys/dev/hptrr/hptintf.h
448
HPT_U8 BatteryMBInstalled;
sys/dev/hptrr/hptintf.h
449
HPT_U8 BatteryTemperature;
sys/dev/hptrr/hptintf.h
450
HPT_U8 reserve[86];
sys/dev/hptrr/hptintf.h
491
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hptrr/hptintf.h
492
HPT_U8 Description[64]; /* array description */
sys/dev/hptrr/hptintf.h
493
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptrr/hptintf.h
496
HPT_U8 ArrayType; /* array type */
sys/dev/hptrr/hptintf.h
497
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hptrr/hptintf.h
498
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hptrr/hptintf.h
499
HPT_U8 SubArrayType;
sys/dev/hptrr/hptintf.h
518
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hptrr/hptintf.h
519
HPT_U8 Description[64]; /* array description */
sys/dev/hptrr/hptintf.h
520
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptrr/hptintf.h
523
HPT_U8 ArrayType; /* array type */
sys/dev/hptrr/hptintf.h
524
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hptrr/hptintf.h
525
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hptrr/hptintf.h
526
HPT_U8 SubArrayType;
sys/dev/hptrr/hptintf.h
540
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hptrr/hptintf.h
541
HPT_U8 Description[64]; /* array description */
sys/dev/hptrr/hptintf.h
542
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptrr/hptintf.h
545
HPT_U8 ArrayType; /* array type */
sys/dev/hptrr/hptintf.h
546
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hptrr/hptintf.h
547
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hptrr/hptintf.h
548
HPT_U8 SubArrayType;
sys/dev/hptrr/hptintf.h
573
HPT_U8 Name[MAX_ARRAYNAME_LEN];/* array name */
sys/dev/hptrr/hptintf.h
574
HPT_U8 Description[64]; /* array description */
sys/dev/hptrr/hptintf.h
575
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptrr/hptintf.h
578
HPT_U8 ArrayType; /* array type */
sys/dev/hptrr/hptintf.h
579
HPT_U8 BlockSizeShift; /* stripe size */
sys/dev/hptrr/hptintf.h
580
HPT_U8 nDisk; /* member count: Number of ID in Members[] */
sys/dev/hptrr/hptintf.h
581
HPT_U8 SubArrayType;
sys/dev/hptrr/hptintf.h
592
HPT_U8 SectorSizeShift; /*sector size = 512B<<SectorSizeShift*/
sys/dev/hptrr/hptintf.h
593
HPT_U8 reserved2[7];
sys/dev/hptrr/hptintf.h
619
HPT_U8 MaximumBlockTransfer;
sys/dev/hptrr/hptintf.h
620
HPT_U8 VendorUnique2;
sys/dev/hptrr/hptintf.h
624
HPT_U8 VendorUnique3;
sys/dev/hptrr/hptintf.h
625
HPT_U8 PioCycleTimingMode;
sys/dev/hptrr/hptintf.h
626
HPT_U8 VendorUnique4;
sys/dev/hptrr/hptintf.h
627
HPT_U8 DmaCycleTimingMode;
sys/dev/hptrr/hptintf.h
635
HPT_U8 SingleWordDMASupport;
sys/dev/hptrr/hptintf.h
636
HPT_U8 SingleWordDMAActive;
sys/dev/hptrr/hptintf.h
637
HPT_U8 MultiWordDMASupport;
sys/dev/hptrr/hptintf.h
638
HPT_U8 MultiWordDMAActive;
sys/dev/hptrr/hptintf.h
639
HPT_U8 AdvancedPIOModes;
sys/dev/hptrr/hptintf.h
640
HPT_U8 Reserved4;
sys/dev/hptrr/hptintf.h
658
HPT_U8 ControllerId; /* controller id */
sys/dev/hptrr/hptintf.h
659
HPT_U8 PathId; /* bus */
sys/dev/hptrr/hptintf.h
660
HPT_U8 TargetId; /* id */
sys/dev/hptrr/hptintf.h
661
HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
sys/dev/hptrr/hptintf.h
663
HPT_U8 DeviceType; /* device type */
sys/dev/hptrr/hptintf.h
664
HPT_U8 UsableMode; /* highest usable mode */
sys/dev/hptrr/hptintf.h
667
HPT_U8 NCQEnabled: 1;
sys/dev/hptrr/hptintf.h
668
HPT_U8 NCQSupported: 1;
sys/dev/hptrr/hptintf.h
669
HPT_U8 TCQEnabled: 1;
sys/dev/hptrr/hptintf.h
670
HPT_U8 TCQSupported: 1;
sys/dev/hptrr/hptintf.h
671
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hptrr/hptintf.h
672
HPT_U8 WriteCacheSupported: 1;
sys/dev/hptrr/hptintf.h
673
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hptrr/hptintf.h
674
HPT_U8 ReadAheadSupported: 1;
sys/dev/hptrr/hptintf.h
675
HPT_U8 reserved6: 6;
sys/dev/hptrr/hptintf.h
676
HPT_U8 SpinUpMode: 2;
sys/dev/hptrr/hptintf.h
678
HPT_U8 ReadAheadSupported: 1;
sys/dev/hptrr/hptintf.h
679
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hptrr/hptintf.h
680
HPT_U8 WriteCacheSupported: 1;
sys/dev/hptrr/hptintf.h
681
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hptrr/hptintf.h
682
HPT_U8 TCQSupported: 1;
sys/dev/hptrr/hptintf.h
683
HPT_U8 TCQEnabled: 1;
sys/dev/hptrr/hptintf.h
684
HPT_U8 NCQSupported: 1;
sys/dev/hptrr/hptintf.h
685
HPT_U8 NCQEnabled: 1;
sys/dev/hptrr/hptintf.h
686
HPT_U8 SpinUpMode: 2;
sys/dev/hptrr/hptintf.h
687
HPT_U8 reserved6: 6;
sys/dev/hptrr/hptintf.h
704
HPT_U8 ControllerId; /* controller id */
sys/dev/hptrr/hptintf.h
705
HPT_U8 PathId; /* bus */
sys/dev/hptrr/hptintf.h
706
HPT_U8 TargetId; /* id */
sys/dev/hptrr/hptintf.h
707
HPT_U8 DeviceModeSetting; /* Current Data Transfer mode: 0-4 PIO 0-4 */
sys/dev/hptrr/hptintf.h
709
HPT_U8 DeviceType; /* device type */
sys/dev/hptrr/hptintf.h
710
HPT_U8 UsableMode; /* highest usable mode */
sys/dev/hptrr/hptintf.h
713
HPT_U8 NCQEnabled: 1;
sys/dev/hptrr/hptintf.h
714
HPT_U8 NCQSupported: 1;
sys/dev/hptrr/hptintf.h
715
HPT_U8 TCQEnabled: 1;
sys/dev/hptrr/hptintf.h
716
HPT_U8 TCQSupported: 1;
sys/dev/hptrr/hptintf.h
717
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hptrr/hptintf.h
718
HPT_U8 WriteCacheSupported: 1;
sys/dev/hptrr/hptintf.h
719
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hptrr/hptintf.h
720
HPT_U8 ReadAheadSupported: 1;
sys/dev/hptrr/hptintf.h
721
HPT_U8 reserved6: 6;
sys/dev/hptrr/hptintf.h
722
HPT_U8 SpinUpMode: 2;
sys/dev/hptrr/hptintf.h
724
HPT_U8 ReadAheadSupported: 1;
sys/dev/hptrr/hptintf.h
725
HPT_U8 ReadAheadEnabled: 1;
sys/dev/hptrr/hptintf.h
726
HPT_U8 WriteCacheSupported: 1;
sys/dev/hptrr/hptintf.h
727
HPT_U8 WriteCacheEnabled: 1;
sys/dev/hptrr/hptintf.h
728
HPT_U8 TCQSupported: 1;
sys/dev/hptrr/hptintf.h
729
HPT_U8 TCQEnabled: 1;
sys/dev/hptrr/hptintf.h
730
HPT_U8 NCQSupported: 1;
sys/dev/hptrr/hptintf.h
731
HPT_U8 NCQEnabled: 1;
sys/dev/hptrr/hptintf.h
732
HPT_U8 SpinUpMode: 2;
sys/dev/hptrr/hptintf.h
733
HPT_U8 reserved6: 6;
sys/dev/hptrr/hptintf.h
789
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hptrr/hptintf.h
790
HPT_U8 reserved[3];
sys/dev/hptrr/hptintf.h
804
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hptrr/hptintf.h
805
HPT_U8 reserved[3];
sys/dev/hptrr/hptintf.h
824
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hptrr/hptintf.h
825
HPT_U8 CachePolicy; /* refer to CACHE_POLICY_xxx */
sys/dev/hptrr/hptintf.h
826
HPT_U8 VBusId; /* vbus sequence in vbus_list */
sys/dev/hptrr/hptintf.h
827
HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
sys/dev/hptrr/hptintf.h
850
HPT_U8 revision;
sys/dev/hptrr/hptintf.h
851
HPT_U8 reserved[7];
sys/dev/hptrr/hptintf.h
853
HPT_U8 Type; /* LDT_ARRAY or LDT_DEVICE */
sys/dev/hptrr/hptintf.h
854
HPT_U8 CachePolicy; /* refer to CACHE_POLICY_xxx */
sys/dev/hptrr/hptintf.h
855
HPT_U8 VBusId; /* vbus sequence in vbus_list */
sys/dev/hptrr/hptintf.h
856
HPT_U8 TargetId; /* OS target id. Value 0xFF is invalid */
sys/dev/hptrr/hptintf.h
899
HPT_U8 Name[MAX_ARRAYNAME_LEN]; /* array name */
sys/dev/hptrr/hptintf.h
900
HPT_U8 Description[64]; /* array description */
sys/dev/hptrr/hptintf.h
905
HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
sys/dev/hptrr/hptintf.h
910
HPT_U8 DeviceModeSetting; /* 0-4 PIO 0-4, 5-7 MW DMA0-2, 8-13 UDMA0-5 */
sys/dev/hptrr/hptintf.h
911
HPT_U8 TCQEnabled;
sys/dev/hptrr/hptintf.h
912
HPT_U8 NCQEnabled;
sys/dev/hptrr/hptintf.h
913
HPT_U8 WriteCacheEnabled;
sys/dev/hptrr/hptintf.h
914
HPT_U8 ReadAheadEnabled;
sys/dev/hptrr/hptintf.h
915
HPT_U8 SpinUpMode;
sys/dev/hptrr/hptintf.h
916
HPT_U8 reserve[2];
sys/dev/hptrr/hptintf.h
940
HPT_U8 target_type;
sys/dev/hptrr/hptintf.h
941
HPT_U8 infor_type;
sys/dev/hptrr/hptintf.h
943
#define SET_VDEV_INFO_param(p) ((HPT_U8 *)(p)+sizeof(SET_VDEV_INFO))
sys/dev/hptrr/hptintf.h
947
typedef HPT_U8 PARAM_ARRAY_NAME[MAX_ARRAYNAME_LEN] ;
sys/dev/hptrr/hptintf.h
948
typedef HPT_U8 PARAM_ARRAY_DES[64];
sys/dev/hptrr/hptintf.h
949
typedef HPT_U8 PARAM_DEVICE_MODE, PARAM_TCQ, PARAM_NCQ, PARAM_READ_AHEAD, PARAM_WRITE_CACHE, PARAM_CACHE_POLICY;
sys/dev/hptrr/hptintf.h
958
HPT_U8 ArrayType; /* 1-level array type */
sys/dev/hptrr/hptintf.h
959
HPT_U8 nDisk; /* number of elements in Members[] array */
sys/dev/hptrr/hptintf.h
960
HPT_U8 BlockSizeShift; /* Stripe size if ArrayType==AT_RAID0 / AT_RAID5 */
sys/dev/hptrr/hptintf.h
961
HPT_U8 CreateFlags; /* See CAF_xxx */
sys/dev/hptrr/hptintf.h
963
HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
sys/dev/hptrr/hptintf.h
964
HPT_U8 Description[64]; /* array description */
sys/dev/hptrr/hptintf.h
965
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptrr/hptintf.h
974
HPT_U8 ArrayType; /* 1-level array type */
sys/dev/hptrr/hptintf.h
975
HPT_U8 nDisk; /* number of elements in Members[] array */
sys/dev/hptrr/hptintf.h
976
HPT_U8 BlockSizeShift; /* Stripe size if ArrayType==AT_RAID0 / AT_RAID5 */
sys/dev/hptrr/hptintf.h
977
HPT_U8 CreateFlags; /* See CAF_xxx */
sys/dev/hptrr/hptintf.h
979
HPT_U8 ArrayName[MAX_ARRAYNAME_LEN];/* Array name */
sys/dev/hptrr/hptintf.h
980
HPT_U8 Description[64]; /* array description */
sys/dev/hptrr/hptintf.h
981
HPT_U8 CreateManager[16]; /* who created it */
sys/dev/hptrr/hptintf.h
993
HPT_U8 revision; /*CREATE_ARRAY_PARAMS_V3_REVISION*/
sys/dev/hptrr/hptintf.h
994
HPT_U8 reserved[6];
sys/dev/hptrr/hptintf.h
995
HPT_U8 SectorSizeShift; /*sector size = 512B<<SectorSizeShift*/
sys/dev/hptrr/hptintf.h
996
HPT_U8 ArrayType; /* 1-level array type */
sys/dev/hptrr/hptintf.h
997
HPT_U8 nDisk; /* number of elements in Members[] array */
sys/dev/hptrr/hptintf.h
998
HPT_U8 BlockSizeShift; /* Stripe size if ArrayType==AT_RAID0 / AT_RAID5 */
sys/dev/hptrr/hptintf.h
999
HPT_U8 CreateFlags; /* See CAF_xxx */
sys/dev/hptrr/hptrr_os_bsd.c
262
HPT_U8 os_get_vbus_seq(void *osext)
sys/dev/hptrr/hptrr_os_bsd.c
38
HPT_U8 os_inb (void *port) { return inb((unsigned)(HPT_UPTR)port); }
sys/dev/hptrr/hptrr_os_bsd.c
42
void os_outb (void *port, HPT_U8 value) { outb((unsigned)(HPT_UPTR)port, (value)); }
sys/dev/hptrr/hptrr_os_bsd.c
55
HPT_U8 os_pci_readb (void *osext, HPT_U8 offset)
sys/dev/hptrr/hptrr_os_bsd.c
60
HPT_U16 os_pci_readw (void *osext, HPT_U8 offset)
sys/dev/hptrr/hptrr_os_bsd.c
65
HPT_U32 os_pci_readl (void *osext, HPT_U8 offset)
sys/dev/hptrr/hptrr_os_bsd.c
70
void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value)
sys/dev/hptrr/hptrr_os_bsd.c
75
void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value)
sys/dev/hptrr/hptrr_os_bsd.c
80
void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value)
sys/dev/hptrr/hptrr_osm_bsd.c
490
os_set_sgptr(pSg, (HPT_U8 *)ccb->csio.data_ptr);
sys/dev/hptrr/hptrr_osm_bsd.c
542
HPT_U8 *cdb;
sys/dev/hptrr/hptrr_osm_bsd.c
606
HPT_U8 *rbuf = ccb->csio.data_ptr;
sys/dev/hptrr/hptrr_osm_bsd.c
614
rbuf[0] = (HPT_U8)(cap>>24);
sys/dev/hptrr/hptrr_osm_bsd.c
615
rbuf[1] = (HPT_U8)(cap>>16);
sys/dev/hptrr/hptrr_osm_bsd.c
616
rbuf[2] = (HPT_U8)(cap>>8);
sys/dev/hptrr/hptrr_osm_bsd.c
617
rbuf[3] = (HPT_U8)cap;
sys/dev/hptrr/hptrr_osm_bsd.c
629
HPT_U8 *rbuf = ccb->csio.data_ptr;
sys/dev/hptrr/hptrr_osm_bsd.c
632
rbuf[0] = (HPT_U8)(cap>>56);
sys/dev/hptrr/hptrr_osm_bsd.c
633
rbuf[1] = (HPT_U8)(cap>>48);
sys/dev/hptrr/hptrr_osm_bsd.c
634
rbuf[2] = (HPT_U8)(cap>>40);
sys/dev/hptrr/hptrr_osm_bsd.c
635
rbuf[3] = (HPT_U8)(cap>>32);
sys/dev/hptrr/hptrr_osm_bsd.c
636
rbuf[4] = (HPT_U8)(cap>>24);
sys/dev/hptrr/hptrr_osm_bsd.c
637
rbuf[5] = (HPT_U8)(cap>>16);
sys/dev/hptrr/hptrr_osm_bsd.c
638
rbuf[6] = (HPT_U8)(cap>>8);
sys/dev/hptrr/hptrr_osm_bsd.c
639
rbuf[7] = (HPT_U8)cap;
sys/dev/hptrr/ldm.h
226
void ldm_set_spindown_disks_timeout(PVBUS vbus, HPT_U8 timeout);
sys/dev/hptrr/ldm.h
245
HPT_U8 max_queue_depth;
sys/dev/hptrr/ldm.h
246
HPT_U8 user_select_mode;
sys/dev/hptrr/ldm.h
285
HPT_U8 __type;
sys/dev/hptrr/ldm.h
286
HPT_U8 stripped; /* RAID0,3,5,6 */
sys/dev/hptrr/ldm.h
287
HPT_U8 redundancy; /* RAID1-1, RAID3/5-1, RAID6-2 */
sys/dev/hptrr/ldm.h
288
HPT_U8 must_init; /* RAID3,5,6 */
sys/dev/hptrr/ldm.h
289
HPT_U8 docache;
sys/dev/hptrr/ldm.h
351
struct vdev_class *ldm_find_vdev_class(HPT_U8 type);
sys/dev/hptrr/ldm.h
356
HPT_U8 type;
sys/dev/hptrr/ldm.h
371
HPT_U8 vf_online : 1;
sys/dev/hptrr/ldm.h
372
HPT_U8 vf_bootmark : 1;
sys/dev/hptrr/ldm.h
373
HPT_U8 vf_bootable : 1;
sys/dev/hptrr/ldm.h
374
HPT_U8 vf_resetting: 1;
sys/dev/hptrr/ldm.h
375
HPT_U8 vf_quiesced: 1;
sys/dev/hptrr/ldm.h
376
HPT_U8 vf_clslock: 1;
sys/dev/hptrr/ldm.h
378
HPT_U8 cache_policy; /* see CACHE_POLICY_* */
sys/dev/hptrr/ldm.h
442
PVDEV ldm_create_vdev(PVBUS vbus, HPT_U8 type);
sys/dev/hptrr/ldm.h
524
void ldm_ide_fixstring (HPT_U8 *s, const int bytecount);
sys/dev/hptrr/osm.h
106
#define os_readb(addr) (*(HPT_U8 *)&__dummy_reg = *(volatile HPT_U8 *)(addr))
sys/dev/hptrr/osm.h
110
#define os_writeb(addr, val) *(volatile HPT_U8 *)(addr) = (HPT_U8)(val)
sys/dev/hptrr/osm.h
115
HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
sys/dev/hptrr/osm.h
116
HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
sys/dev/hptrr/osm.h
117
HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
sys/dev/hptrr/osm.h
118
void os_pci_writeb(void *osext, HPT_U8 offset, HPT_U8 value);
sys/dev/hptrr/osm.h
119
void os_pci_writew(void *osext, HPT_U8 offset, HPT_U16 value);
sys/dev/hptrr/osm.h
120
void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
sys/dev/hptrr/osm.h
185
HPT_U8 os_get_vbus_seq(void *osext);
sys/dev/hptrr/osm.h
95
HPT_U8 os_inb (void *port);
sys/dev/hptrr/osm.h
98
void os_outb (void *port, HPT_U8 value);