sys/dev/hpt27xx/array.h
116
HPT_U32 array_stamp;
sys/dev/hpt27xx/array.h
117
HPT_U32 data_stamp;
sys/dev/hpt27xx/array.h
118
HPT_U32 array_sn;
sys/dev/hpt27xx/array.h
49
typedef HPT_U32 HPT_MMASK;
sys/dev/hpt27xx/array.h
98
HPT_U32 stamp;
sys/dev/hpt27xx/him.h
106
HPT_U32 io_port;
sys/dev/hpt27xx/him.h
107
HPT_U32 ctl_port;
sys/dev/hpt27xx/him.h
162
HPT_U32 CurrentSectorCapacity;
sys/dev/hpt27xx/him.h
164
HPT_U32 UserAddressableSectors;
sys/dev/hpt27xx/him.h
187
HPT_U32 Lba48BitLow;
sys/dev/hpt27xx/him.h
188
HPT_U32 Lba48BitHigh;
sys/dev/hpt27xx/him.h
202
HPT_U32 logical_sector_size;
sys/dev/hpt27xx/him.h
288
HPT_U32 size;
sys/dev/hpt27xx/him.h
350
HPT_U32 dataLength;
sys/dev/hpt27xx/him.h
361
HPT_U32 dataLength;
sys/dev/hpt27xx/him.h
43
#define SECTOR_TO_BYTE(x) ((HPT_U32)(x) << SECTOR_TO_BYTE_SHIFT)
sys/dev/hpt27xx/him.h
50
HPT_U32 subsys;
sys/dev/hpt27xx/him.h
93
HPT_U32 nvramSize;
sys/dev/hpt27xx/himfuncs.h
106
_HIM_INTERFACE(HPT_BOOL, flash_access, (void *adapter, HPT_U32 offset, void *value, int size, HPT_BOOL reading))
sys/dev/hpt27xx/himfuncs.h
73
_HIM_INTERFACE(HPT_U32, get_cmdext_size, (void))
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
111
HPT_U32 offset,
sys/dev/hpt27xx/hpt27xx_os_bsd.c
112
HPT_U32 length
sys/dev/hpt27xx/hpt27xx_os_bsd.c
116
HPT_U32 base;
sys/dev/hpt27xx/hpt27xx_os_bsd.c
228
HPT_U32 os_get_stamp(void)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
230
HPT_U32 stamp;
sys/dev/hpt27xx/hpt27xx_os_bsd.c
235
void os_stallexec(HPT_U32 microseconds)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
246
void os_request_timer(void * osext, HPT_U32 interval)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
40
HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
sys/dev/hpt27xx/hpt27xx_os_bsd.c
44
void os_outl (void *port, HPT_U32 value) { outl((unsigned)(HPT_UPTR)port, (value)); }
sys/dev/hpt27xx/hpt27xx_os_bsd.c
46
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
49
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hpt27xx/hpt27xx_os_bsd.c
52
HPT_U32 __dummy_reg = 0;
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
80
void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value)
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
97
return (HPT_U32)pci_cfgregread(0, bus, dev, func, reg, 4);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
1292
HPT_U32 bytesReturned = 0;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
1332
(void*)piop->lpBytesReturned, sizeof(HPT_U32)))
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
546
*(HPT_U32 *)&cdb[0], *(HPT_U32 *)&cdb[4], *(HPT_U32 *)&cdb[8]
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
601
HPT_U32 cap;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
604
HPT_U32 sector_size = 0;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
654
HPT_U32 sector_size = 0;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
702
HPT_U32 sector_size = 0;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
714
pCmd->uCmd.Ide.Lba = ((HPT_U32)cdb[1] << 16) | ((HPT_U32)cdb[2] << 8) | (HPT_U32)cdb[3];
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
736
pCmd->uCmd.Ide.Lba = (HPT_U32)cdb[5] | ((HPT_U32)cdb[4] << 8) | ((HPT_U32)cdb[3] << 16) | ((HPT_U32)cdb[2] << 24);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
93
pci_id.subsys = (HPT_U32)(pci_get_subdevice(dev)) << 16 | pci_get_subvendor(dev);
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
957
#define DEVICEID_VALID(id) ((id) && ((HPT_U32)(id)!=0xffffffff))
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
962
HPT_U32 count = nMaxCount-1;
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
965
&count, sizeof(HPT_U32), pIds, sizeof(DEVICEID)*nMaxCount))
sys/dev/hpt27xx/hptintf.h
1025
HPT_U32 TotalIOs;
sys/dev/hpt27xx/hptintf.h
1026
HPT_U32 TobalMBs;
sys/dev/hpt27xx/hptintf.h
1027
HPT_U32 IOPerSec;
sys/dev/hpt27xx/hptintf.h
1028
HPT_U32 MBPerSec;
sys/dev/hpt27xx/hptintf.h
1041
HPT_U32 dwSize;
sys/dev/hpt27xx/hptintf.h
1054
HPT_U32 TotalIOs;
sys/dev/hpt27xx/hptintf.h
1055
HPT_U32 TobalMBs;
sys/dev/hpt27xx/hptintf.h
1056
HPT_U32 IOPerSec;
sys/dev/hpt27xx/hptintf.h
1057
HPT_U32 MBPerSec;
sys/dev/hpt27xx/hptintf.h
1091
HPT_U32 ValidFields; /* mark valid fields below */
sys/dev/hpt27xx/hptintf.h
1097
HPT_U32 ValidFields; /* mark valid fields below */
sys/dev/hpt27xx/hptintf.h
1102
HPT_U32 ValidFields; /* mark valid fields below */
sys/dev/hpt27xx/hptintf.h
1111
HPT_U32 reserve2[13]; /* pad to 64 bytes */
sys/dev/hpt27xx/hptintf.h
1167
HPT_U32 Members[MAX_ARRAY_MEMBERS_V1];/* ID of array members, a member can be an array */
sys/dev/hpt27xx/hptintf.h
1184
HPT_U32 Members[MAX_ARRAY_MEMBERS_V2];/* ID of array members, a member can be an array */
sys/dev/hpt27xx/hptintf.h
1191
HPT_U32 dwSize;
sys/dev/hpt27xx/hptintf.h
1208
HPT_U32 Members[MAX_ARRAY_MEMBERS_V3];/* ID of array members, a member can be an array */
sys/dev/hpt27xx/hptintf.h
1355
HPT_U32 dataLength;
sys/dev/hpt27xx/hptintf.h
1365
HPT_U32 dataLength;
sys/dev/hpt27xx/hptintf.h
1375
HPT_U32 Lba;
sys/dev/hpt27xx/hptintf.h
1379
HPT_U32 BufferPtr;
sys/dev/hpt27xx/hptintf.h
1413
HPT_U32 rspTime;
sys/dev/hpt27xx/hptintf.h
1422
HPT_U32 rspTimeHistogram[RSPTIME_HISTOGRAM_SEGMENT_COUNT];
sys/dev/hpt27xx/hptintf.h
1425
HPT_U32 instantKBPs;
sys/dev/hpt27xx/hptintf.h
1426
HPT_U32 averageKBPs;
sys/dev/hpt27xx/hptintf.h
1427
HPT_U32 instantIOPs;
sys/dev/hpt27xx/hptintf.h
1428
HPT_U32 averageIOPs;
sys/dev/hpt27xx/hptintf.h
1440
HPT_U32 Reserved;
sys/dev/hpt27xx/hptintf.h
1464
HPT_U32 Magic; /* used to check if it's a valid ioctl packet */
sys/dev/hpt27xx/hptintf.h
1465
HPT_U32 dwIoControlCode; /* operation control code */
sys/dev/hpt27xx/hptintf.h
1467
HPT_U32 nInBufferSize; /* size of input data buffer */
sys/dev/hpt27xx/hptintf.h
1469
HPT_U32 nOutBufferSize; /* size of output data buffer */
sys/dev/hpt27xx/hptintf.h
1476
HPT_U32 Magic;
sys/dev/hpt27xx/hptintf.h
1477
HPT_U32 dwIoControlCode;
sys/dev/hpt27xx/hptintf.h
1478
HPT_U32 lpInBuffer;
sys/dev/hpt27xx/hptintf.h
1479
HPT_U32 nInBufferSize;
sys/dev/hpt27xx/hptintf.h
1480
HPT_U32 lpOutBuffer;
sys/dev/hpt27xx/hptintf.h
1481
HPT_U32 nOutBufferSize;
sys/dev/hpt27xx/hptintf.h
1482
HPT_U32 lpBytesReturned;
sys/dev/hpt27xx/hptintf.h
1511
HPT_U32 hpt_get_version(void);
sys/dev/hpt27xx/hptintf.h
1648
int hpt_delete_array(DEVICEID id, HPT_U32 options);
sys/dev/hpt27xx/hptintf.h
1662
int hpt_device_io(DEVICEID id, int cmd, HPT_U32 lba, HPT_U32 nSector, void * buffer);
sys/dev/hpt27xx/hptintf.h
1728
int hpt_rebuild_data_block(DEVICEID idMirror, HPT_U32 Lba, HPT_U8 nSector);
sys/dev/hpt27xx/hptintf.h
1748
int hpt_set_array_state(DEVICEID idArray, HPT_U32 state);
sys/dev/hpt27xx/hptintf.h
1823
int hpt_lock_device(DEVICEID idDisk, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hpt27xx/hptintf.h
1856
int hpt_scsi_passthrough(PHPT_SCSI_PASSTHROUGH_IN in, HPT_U32 insize,
sys/dev/hpt27xx/hptintf.h
1857
PHPT_SCSI_PASSTHROUGH_OUT out, HPT_U32 outsize);
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
1919
int hpt_query_remove(HPT_U32 ndev, DEVICEID *pIds);
sys/dev/hpt27xx/hptintf.h
1932
int hpt_remove_devices(HPT_U32 ndev, DEVICEID *pIds);
sys/dev/hpt27xx/hptintf.h
2058
int hpt_init_disks(HPT_U32 ndev, DEVICEID * pIds);
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
2158
int hpt_get_parameter_list(HPT_U32 location, char *outBuffer, HPT_U32 outBufferSize);
sys/dev/hpt27xx/hptintf.h
2209
int hpt_get_controller_venid(int ctlr_id, HPT_U32 *venid);
sys/dev/hpt27xx/hptintf.h
381
HPT_U32 dwSize;
sys/dev/hpt27xx/hptintf.h
420
HPT_U32 ConfigRegSize; /* max sectors */
sys/dev/hpt27xx/hptintf.h
421
HPT_U32 SupportDiskCachePolicy; /* disable/enable disk cache policy */
sys/dev/hpt27xx/hptintf.h
422
HPT_U32 Flags;
sys/dev/hpt27xx/hptintf.h
423
HPT_U32 reserved[14];
sys/dev/hpt27xx/hptintf.h
451
HPT_U32 GroupId; /* low 32bit of vbus pointer the controller belongs
sys/dev/hpt27xx/hptintf.h
458
HPT_U32 ExFlags;
sys/dev/hpt27xx/hptintf.h
504
HPT_U32 GroupId;
sys/dev/hpt27xx/hptintf.h
509
HPT_U32 ExFlags;
sys/dev/hpt27xx/hptintf.h
511
HPT_U32 SDRAMSize;
sys/dev/hpt27xx/hptintf.h
515
HPT_U32 BatteryBackupTime;
sys/dev/hpt27xx/hptintf.h
516
HPT_U32 FirmwareVersion;
sys/dev/hpt27xx/hptintf.h
546
HPT_U32 IoPort; /* IDE Base Port Address */
sys/dev/hpt27xx/hptintf.h
547
HPT_U32 ControlPort; /* IDE Control Port Address */
sys/dev/hpt27xx/hptintf.h
554
HPT_U32 IoPort; /* IDE Base Port Address */
sys/dev/hpt27xx/hptintf.h
555
HPT_U32 ControlPort; /* IDE Control Port Address */
sys/dev/hpt27xx/hptintf.h
568
HPT_U32 PortPhyMap;
sys/dev/hpt27xx/hptintf.h
569
HPT_U32 reserve[55];
sys/dev/hpt27xx/hptintf.h
578
HPT_U32 ElementValue;
sys/dev/hpt27xx/hptintf.h
630
HPT_U32 PortPhyMap;
sys/dev/hpt27xx/hptintf.h
642
HPT_U32 PortPhyMap;
sys/dev/hpt27xx/hptintf.h
643
HPT_U32 UnitId; /*272x card has two Cores, unitId is used to distinguish them */
sys/dev/hpt27xx/hptintf.h
644
HPT_U32 reserved[32];
sys/dev/hpt27xx/hptintf.h
656
HPT_U32 PortPhyMap;
sys/dev/hpt27xx/hptintf.h
657
HPT_U32 UnitId; /*272x card has two Cores, unitId is used to distinguish them */
sys/dev/hpt27xx/hptintf.h
658
HPT_U32 ElementCount;
sys/dev/hpt27xx/hptintf.h
659
HPT_U32 reserved[32];
sys/dev/hpt27xx/hptintf.h
673
HPT_U32 seconds:6; /* 0 - 59 */
sys/dev/hpt27xx/hptintf.h
674
HPT_U32 minutes:6; /* 0 - 59 */
sys/dev/hpt27xx/hptintf.h
675
HPT_U32 month:4; /* 1 - 12 */
sys/dev/hpt27xx/hptintf.h
676
HPT_U32 hours:6; /* 0 - 59 */
sys/dev/hpt27xx/hptintf.h
677
HPT_U32 day:5; /* 1 - 31 */
sys/dev/hpt27xx/hptintf.h
678
HPT_U32 year:5; /* 0=2000, 31=2031 */
sys/dev/hpt27xx/hptintf.h
696
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hpt27xx/hptintf.h
697
HPT_U32 Members[MAX_ARRAY_MEMBERS_V1]; /* member array/disks */
sys/dev/hpt27xx/hptintf.h
706
HPT_U32 RebuildingProgress;
sys/dev/hpt27xx/hptintf.h
707
HPT_U32 RebuiltSectors; /* rebuilding point (LBA) for single member */
sys/dev/hpt27xx/hptintf.h
723
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hpt27xx/hptintf.h
724
HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
sys/dev/hpt27xx/hptintf.h
726
HPT_U32 RebuildingProgress;
sys/dev/hpt27xx/hptintf.h
729
HPT_U32 reserve4[4];
sys/dev/hpt27xx/hptintf.h
745
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hpt27xx/hptintf.h
746
HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
sys/dev/hpt27xx/hptintf.h
748
HPT_U32 RebuildingProgress;
sys/dev/hpt27xx/hptintf.h
753
HPT_U32 TransformingProgress;
sys/dev/hpt27xx/hptintf.h
754
HPT_U32 Signature; /* persistent identification*/
sys/dev/hpt27xx/hptintf.h
758
HPT_U32 reserve;
sys/dev/hpt27xx/hptintf.h
760
HPT_U32 Critical_Members;
sys/dev/hpt27xx/hptintf.h
761
HPT_U32 reserve;
sys/dev/hpt27xx/hptintf.h
778
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hpt27xx/hptintf.h
780
HPT_U32 RebuildingProgress;
sys/dev/hpt27xx/hptintf.h
785
HPT_U32 TransformingProgress;
sys/dev/hpt27xx/hptintf.h
786
HPT_U32 Signature; /* persistent identification*/
sys/dev/hpt27xx/hptintf.h
790
HPT_U32 Members[MAX_ARRAY_MEMBERS_V3]; /* member array/disks */
sys/dev/hpt27xx/hptintf.h
825
HPT_U32 CurrentSectorCapacity; /*word58,59 the value indecate the logical sector size. */
sys/dev/hpt27xx/hptintf.h
827
HPT_U32 UserAddressableSectors;
sys/dev/hpt27xx/hptintf.h
83
typedef HPT_U32 DEVICEID;
sys/dev/hpt27xx/hptintf.h
882
HPT_U32 Flags; /* working flags, see DEVICE_FLAG_XXX */
sys/dev/hpt27xx/hptintf.h
928
HPT_U32 Flags; /* working flags, see DEVICE_FLAG_XXX */
sys/dev/hpt27xx/hptintf.h
984
HPT_U32 Capacity; /* array capacity */
sys/dev/hpt27xx/ldm.h
166
HPT_U32 interval; /*microseconds*/
sys/dev/hpt27xx/ldm.h
206
HPT_U32 dwIoControlCode;
sys/dev/hpt27xx/ldm.h
207
HPT_U32 nInBufferSize;
sys/dev/hpt27xx/ldm.h
208
HPT_U32 nOutBufferSize;
sys/dev/hpt27xx/ldm.h
211
HPT_U32 *lpBytesReturned;
sys/dev/hpt27xx/ldm.h
226
HPT_U32 ldm_get_device_id(PVDEV vd); /* for ioctl */
sys/dev/hpt27xx/ldm.h
243
HPT_U32 logical_sector_size;
sys/dev/hpt27xx/ldm.h
393
HPT_U32 last_active;
sys/dev/hpt27xx/ldm.h
398
HPT_U32 ioctl_id;
sys/dev/hpt27xx/ldm.h
453
PVDEV ldm_find_stamp(PVBUS vbus, HPT_U32 stamp, int seq);
sys/dev/hpt27xx/ldm.h
524
void ldm_event_notify(HPT_U32 event, void *arg1, void *arg2);
sys/dev/hpt27xx/osm.h
105
#define LO_LBA(x) ((HPT_U32)(x))
sys/dev/hpt27xx/osm.h
106
#define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
sys/dev/hpt27xx/osm.h
110
#define LO_BUSADDR(x) ((HPT_U32)(x))
sys/dev/hpt27xx/osm.h
118
HPT_U32 seconds:6; /* 0 - 59 */
sys/dev/hpt27xx/osm.h
119
HPT_U32 minutes:6; /* 0 - 59 */
sys/dev/hpt27xx/osm.h
120
HPT_U32 month:4; /* 1 - 12 */
sys/dev/hpt27xx/osm.h
121
HPT_U32 hours:6; /* 0 - 59 */
sys/dev/hpt27xx/osm.h
122
HPT_U32 day:5; /* 1 - 31 */
sys/dev/hpt27xx/osm.h
123
HPT_U32 year:5; /* 0=2000, 31=2031 */
sys/dev/hpt27xx/osm.h
129
HPT_U32 os_inl (void *port);
sys/dev/hpt27xx/osm.h
132
void os_outl (void *port, HPT_U32 value);
sys/dev/hpt27xx/osm.h
133
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hpt27xx/osm.h
134
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hpt27xx/osm.h
136
extern HPT_U32 __dummy_reg; /* to avoid the compiler warning */
sys/dev/hpt27xx/osm.h
140
#define os_readl(addr) (*(HPT_U32 *)&__dummy_reg = *(volatile HPT_U32 *)(addr))
sys/dev/hpt27xx/osm.h
144
#define os_writel(addr, val) *(volatile HPT_U32 *)(addr) = (HPT_U32)(val)
sys/dev/hpt27xx/osm.h
149
HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
sys/dev/hpt27xx/osm.h
152
void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
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
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
167
HPT_U32 offset,
sys/dev/hpt27xx/osm.h
168
HPT_U32 length
sys/dev/hpt27xx/osm.h
179
void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
sys/dev/hpt27xx/osm.h
181
void os_request_timer(void * osext, HPT_U32 interval);
sys/dev/hpt27xx/osm.h
197
HPT_U32 os_get_stamp(void);
sys/dev/hpt27xx/osm.h
198
void os_stallexec(HPT_U32 microseconds);
sys/dev/hpt27xx/osm.h
212
#define farMemoryCopy(a,b,c) memcpy((char *)(a), (char *)(b), (HPT_U32)c)
sys/dev/hpt27xx/osm.h
78
static __inline HPT_U32 CPU_TO_BE32(HPT_U32 x)
sys/dev/hpt27xx/osm.h
81
return ((HPT_U32)p[0] << 24) |
sys/dev/hpt27xx/osm.h
82
((HPT_U32)p[1] << 16) |
sys/dev/hpt27xx/osm.h
83
((HPT_U32)p[2] << 8) | p[3];
sys/dev/hpt27xx/wj.h
39
void wj_init(PVBUS vbus, void *nvram_addr, HPT_U32 nvram_size);
sys/dev/hptnr/array.h
116
HPT_U32 array_stamp;
sys/dev/hptnr/array.h
117
HPT_U32 data_stamp;
sys/dev/hptnr/array.h
118
HPT_U32 array_sn;
sys/dev/hptnr/array.h
49
typedef HPT_U32 HPT_MMASK;
sys/dev/hptnr/array.h
98
HPT_U32 stamp;
sys/dev/hptnr/him.h
105
HPT_U32 io_port;
sys/dev/hptnr/him.h
106
HPT_U32 ctl_port;
sys/dev/hptnr/him.h
160
HPT_U32 CurrentSectorCapacity;
sys/dev/hptnr/him.h
162
HPT_U32 UserAddressableSectors;
sys/dev/hptnr/him.h
185
HPT_U32 Lba48BitLow;
sys/dev/hptnr/him.h
186
HPT_U32 Lba48BitHigh;
sys/dev/hptnr/him.h
200
HPT_U32 logical_sector_size;
sys/dev/hptnr/him.h
288
HPT_U32 size;
sys/dev/hptnr/him.h
350
HPT_U32 dataLength;
sys/dev/hptnr/him.h
42
#define SECTOR_TO_BYTE(x) ((HPT_U32)(x) << SECTOR_TO_BYTE_SHIFT)
sys/dev/hptnr/him.h
49
HPT_U32 subsys;
sys/dev/hptnr/him.h
92
HPT_U32 nvramSize;
sys/dev/hptnr/himfuncs.h
106
_HIM_INTERFACE(HPT_BOOL, flash_access, (void *adapter, HPT_U32 offset, void *value, int size, HPT_BOOL reading))
sys/dev/hptnr/himfuncs.h
73
_HIM_INTERFACE(HPT_U32, get_cmdext_size, (void))
sys/dev/hptnr/hptintf.h
1021
HPT_U32 TotalIOs;
sys/dev/hptnr/hptintf.h
1022
HPT_U32 TobalMBs;
sys/dev/hptnr/hptintf.h
1023
HPT_U32 IOPerSec;
sys/dev/hptnr/hptintf.h
1024
HPT_U32 MBPerSec;
sys/dev/hptnr/hptintf.h
1037
HPT_U32 dwSize;
sys/dev/hptnr/hptintf.h
1050
HPT_U32 TotalIOs;
sys/dev/hptnr/hptintf.h
1051
HPT_U32 TobalMBs;
sys/dev/hptnr/hptintf.h
1052
HPT_U32 IOPerSec;
sys/dev/hptnr/hptintf.h
1053
HPT_U32 MBPerSec;
sys/dev/hptnr/hptintf.h
1087
HPT_U32 ValidFields; /* mark valid fields below */
sys/dev/hptnr/hptintf.h
1093
HPT_U32 ValidFields; /* mark valid fields below */
sys/dev/hptnr/hptintf.h
1098
HPT_U32 ValidFields; /* mark valid fields below */
sys/dev/hptnr/hptintf.h
1107
HPT_U32 reserve2[13]; /* pad to 64 bytes */
sys/dev/hptnr/hptintf.h
1163
HPT_U32 Members[MAX_ARRAY_MEMBERS_V1];/* ID of array members, a member can be an array */
sys/dev/hptnr/hptintf.h
1180
HPT_U32 Members[MAX_ARRAY_MEMBERS_V2];/* ID of array members, a member can be an array */
sys/dev/hptnr/hptintf.h
1187
HPT_U32 dwSize;
sys/dev/hptnr/hptintf.h
1204
HPT_U32 Members[MAX_ARRAY_MEMBERS_V3];/* ID of array members, a member can be an array */
sys/dev/hptnr/hptintf.h
1351
HPT_U32 dataLength;
sys/dev/hptnr/hptintf.h
1361
HPT_U32 dataLength;
sys/dev/hptnr/hptintf.h
1371
HPT_U32 Lba;
sys/dev/hptnr/hptintf.h
1375
HPT_U32 BufferPtr;
sys/dev/hptnr/hptintf.h
1409
HPT_U32 rspTime;
sys/dev/hptnr/hptintf.h
1418
HPT_U32 rspTimeHistogram[RSPTIME_HISTOGRAM_SEGMENT_COUNT];
sys/dev/hptnr/hptintf.h
1421
HPT_U32 instantKBPs;
sys/dev/hptnr/hptintf.h
1422
HPT_U32 averageKBPs;
sys/dev/hptnr/hptintf.h
1423
HPT_U32 instantIOPs;
sys/dev/hptnr/hptintf.h
1424
HPT_U32 averageIOPs;
sys/dev/hptnr/hptintf.h
1436
HPT_U32 Reserved;
sys/dev/hptnr/hptintf.h
1460
HPT_U32 Magic; /* used to check if it's a valid ioctl packet */
sys/dev/hptnr/hptintf.h
1461
HPT_U32 dwIoControlCode; /* operation control code */
sys/dev/hptnr/hptintf.h
1463
HPT_U32 nInBufferSize; /* size of input data buffer */
sys/dev/hptnr/hptintf.h
1465
HPT_U32 nOutBufferSize; /* size of output data buffer */
sys/dev/hptnr/hptintf.h
1472
HPT_U32 Magic;
sys/dev/hptnr/hptintf.h
1473
HPT_U32 dwIoControlCode;
sys/dev/hptnr/hptintf.h
1474
HPT_U32 lpInBuffer;
sys/dev/hptnr/hptintf.h
1475
HPT_U32 nInBufferSize;
sys/dev/hptnr/hptintf.h
1476
HPT_U32 lpOutBuffer;
sys/dev/hptnr/hptintf.h
1477
HPT_U32 nOutBufferSize;
sys/dev/hptnr/hptintf.h
1478
HPT_U32 lpBytesReturned;
sys/dev/hptnr/hptintf.h
1507
HPT_U32 hpt_get_version(void);
sys/dev/hptnr/hptintf.h
1644
int hpt_delete_array(DEVICEID id, HPT_U32 options);
sys/dev/hptnr/hptintf.h
1658
int hpt_device_io(DEVICEID id, int cmd, HPT_U32 lba, HPT_U32 nSector, void * buffer);
sys/dev/hptnr/hptintf.h
1724
int hpt_rebuild_data_block(DEVICEID idMirror, HPT_U32 Lba, HPT_U8 nSector);
sys/dev/hptnr/hptintf.h
1744
int hpt_set_array_state(DEVICEID idArray, HPT_U32 state);
sys/dev/hptnr/hptintf.h
1819
int hpt_lock_device(DEVICEID idDisk, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hptnr/hptintf.h
1852
int hpt_scsi_passthrough(PHPT_SCSI_PASSTHROUGH_IN in, HPT_U32 insize,
sys/dev/hptnr/hptintf.h
1853
PHPT_SCSI_PASSTHROUGH_OUT out, HPT_U32 outsize);
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
1915
int hpt_query_remove(HPT_U32 ndev, DEVICEID *pIds);
sys/dev/hptnr/hptintf.h
1928
int hpt_remove_devices(HPT_U32 ndev, DEVICEID *pIds);
sys/dev/hptnr/hptintf.h
2054
int hpt_init_disks(HPT_U32 ndev, DEVICEID * pIds);
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
2154
int hpt_get_parameter_list(HPT_U32 location, char *outBuffer, HPT_U32 outBufferSize);
sys/dev/hptnr/hptintf.h
2205
int hpt_get_controller_venid(int ctlr_id, HPT_U32 *venid);
sys/dev/hptnr/hptintf.h
377
HPT_U32 dwSize;
sys/dev/hptnr/hptintf.h
416
HPT_U32 ConfigRegSize; /* max sectors */
sys/dev/hptnr/hptintf.h
417
HPT_U32 SupportDiskCachePolicy; /* disable/enable disk cache policy */
sys/dev/hptnr/hptintf.h
418
HPT_U32 Flags;
sys/dev/hptnr/hptintf.h
419
HPT_U32 reserved[14];
sys/dev/hptnr/hptintf.h
447
HPT_U32 GroupId; /* low 32bit of vbus pointer the controller belongs
sys/dev/hptnr/hptintf.h
454
HPT_U32 ExFlags;
sys/dev/hptnr/hptintf.h
500
HPT_U32 GroupId;
sys/dev/hptnr/hptintf.h
505
HPT_U32 ExFlags;
sys/dev/hptnr/hptintf.h
507
HPT_U32 SDRAMSize;
sys/dev/hptnr/hptintf.h
511
HPT_U32 BatteryBackupTime;
sys/dev/hptnr/hptintf.h
512
HPT_U32 FirmwareVersion;
sys/dev/hptnr/hptintf.h
542
HPT_U32 IoPort; /* IDE Base Port Address */
sys/dev/hptnr/hptintf.h
543
HPT_U32 ControlPort; /* IDE Control Port Address */
sys/dev/hptnr/hptintf.h
550
HPT_U32 IoPort; /* IDE Base Port Address */
sys/dev/hptnr/hptintf.h
551
HPT_U32 ControlPort; /* IDE Control Port Address */
sys/dev/hptnr/hptintf.h
564
HPT_U32 PortPhyMap;
sys/dev/hptnr/hptintf.h
565
HPT_U32 reserve[55];
sys/dev/hptnr/hptintf.h
574
HPT_U32 ElementValue;
sys/dev/hptnr/hptintf.h
626
HPT_U32 PortPhyMap;
sys/dev/hptnr/hptintf.h
638
HPT_U32 PortPhyMap;
sys/dev/hptnr/hptintf.h
639
HPT_U32 UnitId; /*272x card has two Cores, unitId is used to distinguish them */
sys/dev/hptnr/hptintf.h
640
HPT_U32 reserved[32];
sys/dev/hptnr/hptintf.h
652
HPT_U32 PortPhyMap;
sys/dev/hptnr/hptintf.h
653
HPT_U32 UnitId; /*272x card has two Cores, unitId is used to distinguish them */
sys/dev/hptnr/hptintf.h
654
HPT_U32 ElementCount;
sys/dev/hptnr/hptintf.h
655
HPT_U32 reserved[32];
sys/dev/hptnr/hptintf.h
669
HPT_U32 seconds:6; /* 0 - 59 */
sys/dev/hptnr/hptintf.h
670
HPT_U32 minutes:6; /* 0 - 59 */
sys/dev/hptnr/hptintf.h
671
HPT_U32 month:4; /* 1 - 12 */
sys/dev/hptnr/hptintf.h
672
HPT_U32 hours:6; /* 0 - 59 */
sys/dev/hptnr/hptintf.h
673
HPT_U32 day:5; /* 1 - 31 */
sys/dev/hptnr/hptintf.h
674
HPT_U32 year:5; /* 0=2000, 31=2031 */
sys/dev/hptnr/hptintf.h
692
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hptnr/hptintf.h
693
HPT_U32 Members[MAX_ARRAY_MEMBERS_V1]; /* member array/disks */
sys/dev/hptnr/hptintf.h
702
HPT_U32 RebuildingProgress;
sys/dev/hptnr/hptintf.h
703
HPT_U32 RebuiltSectors; /* rebuilding point (LBA) for single member */
sys/dev/hptnr/hptintf.h
719
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hptnr/hptintf.h
720
HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
sys/dev/hptnr/hptintf.h
722
HPT_U32 RebuildingProgress;
sys/dev/hptnr/hptintf.h
725
HPT_U32 reserve4[4];
sys/dev/hptnr/hptintf.h
741
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hptnr/hptintf.h
742
HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
sys/dev/hptnr/hptintf.h
744
HPT_U32 RebuildingProgress;
sys/dev/hptnr/hptintf.h
749
HPT_U32 TransformingProgress;
sys/dev/hptnr/hptintf.h
750
HPT_U32 Signature; /* persistent identification*/
sys/dev/hptnr/hptintf.h
754
HPT_U32 reserve;
sys/dev/hptnr/hptintf.h
756
HPT_U32 Critical_Members;
sys/dev/hptnr/hptintf.h
757
HPT_U32 reserve;
sys/dev/hptnr/hptintf.h
774
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hptnr/hptintf.h
776
HPT_U32 RebuildingProgress;
sys/dev/hptnr/hptintf.h
781
HPT_U32 TransformingProgress;
sys/dev/hptnr/hptintf.h
782
HPT_U32 Signature; /* persistent identification*/
sys/dev/hptnr/hptintf.h
786
HPT_U32 Members[MAX_ARRAY_MEMBERS_V3]; /* member array/disks */
sys/dev/hptnr/hptintf.h
82
typedef HPT_U32 DEVICEID;
sys/dev/hptnr/hptintf.h
821
HPT_U32 CurrentSectorCapacity;
sys/dev/hptnr/hptintf.h
823
HPT_U32 UserAddressableSectors;
sys/dev/hptnr/hptintf.h
878
HPT_U32 Flags; /* working flags, see DEVICE_FLAG_XXX */
sys/dev/hptnr/hptintf.h
924
HPT_U32 Flags; /* working flags, see DEVICE_FLAG_XXX */
sys/dev/hptnr/hptintf.h
980
HPT_U32 Capacity; /* array capacity */
sys/dev/hptnr/hptnr_os_bsd.c
102
HPT_U32 base;
sys/dev/hptnr/hptnr_os_bsd.c
214
HPT_U32 os_get_stamp(void)
sys/dev/hptnr/hptnr_os_bsd.c
216
HPT_U32 stamp;
sys/dev/hptnr/hptnr_os_bsd.c
221
void os_stallexec(HPT_U32 microseconds)
sys/dev/hptnr/hptnr_os_bsd.c
232
void os_request_timer(void * osext, HPT_U32 interval)
sys/dev/hptnr/hptnr_os_bsd.c
39
HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
sys/dev/hptnr/hptnr_os_bsd.c
43
void os_outl (void *port, HPT_U32 value) { outl((unsigned)(HPT_UPTR)port, (value)); }
sys/dev/hptnr/hptnr_os_bsd.c
45
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hptnr/hptnr_os_bsd.c
48
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hptnr/hptnr_os_bsd.c
51
HPT_U32 __dummy_reg = 0;
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
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_os_bsd.c
91
return (HPT_U32)pci_cfgregread(0, bus, dev, func, reg, 4);
sys/dev/hptnr/hptnr_os_bsd.c
97
HPT_U32 offset,
sys/dev/hptnr/hptnr_os_bsd.c
98
HPT_U32 length
sys/dev/hptnr/hptnr_osm_bsd.c
1003
pCmd->uCmd.Ide.Lba = ((HPT_U32)cdb[1] << 16) | ((HPT_U32)cdb[2] << 8) | (HPT_U32)cdb[3];
sys/dev/hptnr/hptnr_osm_bsd.c
1025
pCmd->uCmd.Ide.Lba = (HPT_U32)cdb[5] | ((HPT_U32)cdb[4] << 8) | ((HPT_U32)cdb[3] << 16) | ((HPT_U32)cdb[2] << 24);
sys/dev/hptnr/hptnr_osm_bsd.c
1244
#define DEVICEID_VALID(id) ((id) && ((HPT_U32)(id)!=0xffffffff))
sys/dev/hptnr/hptnr_osm_bsd.c
1249
HPT_U32 count = nMaxCount-1;
sys/dev/hptnr/hptnr_osm_bsd.c
1252
&count, sizeof(HPT_U32), pIds, sizeof(DEVICEID)*nMaxCount))
sys/dev/hptnr/hptnr_osm_bsd.c
1582
HPT_U32 bytesReturned = 0;
sys/dev/hptnr/hptnr_osm_bsd.c
1622
(void*)piop->lpBytesReturned, sizeof(HPT_U32)))
sys/dev/hptnr/hptnr_osm_bsd.c
592
*(HPT_U32 *)&cdb[0], *(HPT_U32 *)&cdb[4], *(HPT_U32 *)&cdb[8]
sys/dev/hptnr/hptnr_osm_bsd.c
882
HPT_U32 cap;
sys/dev/hptnr/hptnr_osm_bsd.c
885
HPT_U32 sector_size = 0;
sys/dev/hptnr/hptnr_osm_bsd.c
936
HPT_U32 sector_size = 0;
sys/dev/hptnr/hptnr_osm_bsd.c
96
pci_id.subsys = (HPT_U32)(pci_get_subdevice(dev)) << 16 | pci_get_subvendor(dev);
sys/dev/hptnr/hptnr_osm_bsd.c
991
HPT_U32 sector_size = 0;
sys/dev/hptnr/ldm.h
166
HPT_U32 interval; /*microseconds*/
sys/dev/hptnr/ldm.h
206
HPT_U32 dwIoControlCode;
sys/dev/hptnr/ldm.h
207
HPT_U32 nInBufferSize;
sys/dev/hptnr/ldm.h
208
HPT_U32 nOutBufferSize;
sys/dev/hptnr/ldm.h
211
HPT_U32 *lpBytesReturned;
sys/dev/hptnr/ldm.h
226
HPT_U32 ldm_get_device_id(PVDEV vd); /* for ioctl */
sys/dev/hptnr/ldm.h
243
HPT_U32 logical_sector_size;
sys/dev/hptnr/ldm.h
392
HPT_U32 last_active;
sys/dev/hptnr/ldm.h
397
HPT_U32 ioctl_id;
sys/dev/hptnr/ldm.h
452
PVDEV ldm_find_stamp(PVBUS vbus, HPT_U32 stamp, int seq);
sys/dev/hptnr/ldm.h
523
void ldm_event_notify(HPT_U32 event, void *arg1, void *arg2);
sys/dev/hptnr/osm.h
103
#define LO_LBA(x) ((HPT_U32)(x))
sys/dev/hptnr/osm.h
104
#define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
sys/dev/hptnr/osm.h
108
#define LO_BUSADDR(x) ((HPT_U32)(x))
sys/dev/hptnr/osm.h
116
HPT_U32 seconds:6; /* 0 - 59 */
sys/dev/hptnr/osm.h
117
HPT_U32 minutes:6; /* 0 - 59 */
sys/dev/hptnr/osm.h
118
HPT_U32 month:4; /* 1 - 12 */
sys/dev/hptnr/osm.h
119
HPT_U32 hours:6; /* 0 - 59 */
sys/dev/hptnr/osm.h
120
HPT_U32 day:5; /* 1 - 31 */
sys/dev/hptnr/osm.h
121
HPT_U32 year:5; /* 0=2000, 31=2031 */
sys/dev/hptnr/osm.h
127
HPT_U32 os_inl (void *port);
sys/dev/hptnr/osm.h
130
void os_outl (void *port, HPT_U32 value);
sys/dev/hptnr/osm.h
131
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hptnr/osm.h
132
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hptnr/osm.h
134
extern HPT_U32 __dummy_reg; /* to avoid the compiler warning */
sys/dev/hptnr/osm.h
138
#define os_readl(addr) (*(HPT_U32 *)&__dummy_reg = *(volatile HPT_U32 *)(addr))
sys/dev/hptnr/osm.h
142
#define os_writel(addr, val) *(volatile HPT_U32 *)(addr) = (HPT_U32)(val)
sys/dev/hptnr/osm.h
147
HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
sys/dev/hptnr/osm.h
150
void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
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
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
165
HPT_U32 offset,
sys/dev/hptnr/osm.h
166
HPT_U32 length
sys/dev/hptnr/osm.h
177
void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
sys/dev/hptnr/osm.h
179
void os_request_timer(void * osext, HPT_U32 interval);
sys/dev/hptnr/osm.h
195
HPT_U32 os_get_stamp(void);
sys/dev/hptnr/osm.h
196
void os_stallexec(HPT_U32 microseconds);
sys/dev/hptnr/osm.h
210
#define farMemoryCopy(a,b,c) memcpy((char *)(a), (char *)(b), (HPT_U32)c)
sys/dev/hptnr/osm.h
76
static __inline HPT_U32 CPU_TO_BE32(HPT_U32 x)
sys/dev/hptnr/osm.h
79
return ((HPT_U32)p[0] << 24) |
sys/dev/hptnr/osm.h
80
((HPT_U32)p[1] << 16) |
sys/dev/hptnr/osm.h
81
((HPT_U32)p[2] << 8) | p[3];
sys/dev/hptnr/wj.h
40
void wj_init(PVBUS vbus, void *nvram_addr, HPT_U32 nvram_size);
sys/dev/hptrr/array.h
100
HPT_U32 stamp;
sys/dev/hptrr/array.h
118
HPT_U32 array_stamp;
sys/dev/hptrr/array.h
119
HPT_U32 data_stamp;
sys/dev/hptrr/array.h
51
typedef HPT_U32 HPT_MMASK;
sys/dev/hptrr/him.h
145
HPT_U32 CurrentSectorCapacity;
sys/dev/hptrr/him.h
147
HPT_U32 UserAddressableSectors;
sys/dev/hptrr/him.h
256
HPT_U32 size;
sys/dev/hptrr/him.h
305
HPT_U32 dataLength;
sys/dev/hptrr/him.h
45
#define SECTOR_TO_BYTE(x) ((HPT_U32)(x) << SECTOR_TO_BYTE_SHIFT)
sys/dev/hptrr/him.h
52
HPT_U32 subsys;
sys/dev/hptrr/him.h
91
HPT_U32 io_port;
sys/dev/hptrr/him.h
92
HPT_U32 ctl_port;
sys/dev/hptrr/himfuncs.h
103
_HIM_INTERFACE(HPT_BOOL, flash_access, (void *adapter, HPT_U32 offset, void *value, int size, HPT_BOOL reading))
sys/dev/hptrr/himfuncs.h
74
_HIM_INTERFACE(HPT_U32, get_cmdext_size, (void))
sys/dev/hptrr/hptintf.h
1007
HPT_U32 Members[MAX_ARRAY_MEMBERS_V3];/* ID of array members, a member can be an array */
sys/dev/hptrr/hptintf.h
1140
HPT_U32 dataLength;
sys/dev/hptrr/hptintf.h
1150
HPT_U32 dataLength;
sys/dev/hptrr/hptintf.h
1160
HPT_U32 Lba;
sys/dev/hptrr/hptintf.h
1164
HPT_U32 BufferPtr;
sys/dev/hptrr/hptintf.h
1202
HPT_U32 Magic; /* used to check if it's a valid ioctl packet */
sys/dev/hptrr/hptintf.h
1203
HPT_U32 dwIoControlCode; /* operation control code */
sys/dev/hptrr/hptintf.h
1205
HPT_U32 nInBufferSize; /* size of input data buffer */
sys/dev/hptrr/hptintf.h
1207
HPT_U32 nOutBufferSize; /* size of output data buffer */
sys/dev/hptrr/hptintf.h
1214
HPT_U32 Magic;
sys/dev/hptrr/hptintf.h
1215
HPT_U32 dwIoControlCode;
sys/dev/hptrr/hptintf.h
1216
HPT_U32 lpInBuffer;
sys/dev/hptrr/hptintf.h
1217
HPT_U32 nInBufferSize;
sys/dev/hptrr/hptintf.h
1218
HPT_U32 lpOutBuffer;
sys/dev/hptrr/hptintf.h
1219
HPT_U32 nOutBufferSize;
sys/dev/hptrr/hptintf.h
1220
HPT_U32 lpBytesReturned;
sys/dev/hptrr/hptintf.h
1249
HPT_U32 hpt_get_version(void);
sys/dev/hptrr/hptintf.h
1366
int hpt_delete_array(DEVICEID id, HPT_U32 options);
sys/dev/hptrr/hptintf.h
1380
int hpt_device_io(DEVICEID id, int cmd, HPT_U32 lba, HPT_U32 nSector, void * buffer);
sys/dev/hptrr/hptintf.h
1446
int hpt_rebuild_data_block(DEVICEID idMirror, HPT_U32 Lba, HPT_U8 nSector);
sys/dev/hptrr/hptintf.h
1466
int hpt_set_array_state(DEVICEID idArray, HPT_U32 state);
sys/dev/hptrr/hptintf.h
1541
int hpt_lock_device(DEVICEID idDisk, HPT_U32 Lba, HPT_U8 nSectors);
sys/dev/hptrr/hptintf.h
1573
int hpt_scsi_passthrough(PHPT_SCSI_PASSTHROUGH_IN in, HPT_U32 insize,
sys/dev/hptrr/hptintf.h
1574
PHPT_SCSI_PASSTHROUGH_OUT out, HPT_U32 outsize);
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
1636
int hpt_query_remove(HPT_U32 ndev, DEVICEID *pIds);
sys/dev/hptrr/hptintf.h
1649
int hpt_remove_devices(HPT_U32 ndev, DEVICEID *pIds);
sys/dev/hptrr/hptintf.h
1775
int hpt_init_disks(HPT_U32 ndev, DEVICEID * pIds);
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
1875
int hpt_get_parameter_list(HPT_U32 location, char *outBuffer, HPT_U32 outBufferSize);
sys/dev/hptrr/hptintf.h
341
HPT_U32 dwSize;
sys/dev/hptrr/hptintf.h
378
HPT_U32 reserved[17];
sys/dev/hptrr/hptintf.h
406
HPT_U32 GroupId; /* low 32bit of vbus pointer the controller belongs
sys/dev/hptrr/hptintf.h
413
HPT_U32 ExFlags;
sys/dev/hptrr/hptintf.h
434
HPT_U32 GroupId;
sys/dev/hptrr/hptintf.h
439
HPT_U32 ExFlags;
sys/dev/hptrr/hptintf.h
441
HPT_U32 SDRAMSize;
sys/dev/hptrr/hptintf.h
445
HPT_U32 BatteryBackupTime;
sys/dev/hptrr/hptintf.h
446
HPT_U32 FirmwareVersion;
sys/dev/hptrr/hptintf.h
459
HPT_U32 IoPort; /* IDE Base Port Address */
sys/dev/hptrr/hptintf.h
460
HPT_U32 ControlPort; /* IDE Control Port Address */
sys/dev/hptrr/hptintf.h
467
HPT_U32 IoPort; /* IDE Base Port Address */
sys/dev/hptrr/hptintf.h
468
HPT_U32 ControlPort; /* IDE Control Port Address */
sys/dev/hptrr/hptintf.h
478
HPT_U32 seconds:6; /* 0 - 59 */
sys/dev/hptrr/hptintf.h
479
HPT_U32 minutes:6; /* 0 - 59 */
sys/dev/hptrr/hptintf.h
480
HPT_U32 month:4; /* 1 - 12 */
sys/dev/hptrr/hptintf.h
481
HPT_U32 hours:6; /* 0 - 59 */
sys/dev/hptrr/hptintf.h
482
HPT_U32 day:5; /* 1 - 31 */
sys/dev/hptrr/hptintf.h
483
HPT_U32 year:5; /* 0=2000, 31=2031 */
sys/dev/hptrr/hptintf.h
501
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hptrr/hptintf.h
502
HPT_U32 Members[MAX_ARRAY_MEMBERS_V1]; /* member array/disks */
sys/dev/hptrr/hptintf.h
511
HPT_U32 RebuildingProgress;
sys/dev/hptrr/hptintf.h
512
HPT_U32 RebuiltSectors; /* rebuilding point (LBA) for single member */
sys/dev/hptrr/hptintf.h
528
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hptrr/hptintf.h
529
HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
sys/dev/hptrr/hptintf.h
531
HPT_U32 RebuildingProgress;
sys/dev/hptrr/hptintf.h
534
HPT_U32 reserve4[4];
sys/dev/hptrr/hptintf.h
550
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hptrr/hptintf.h
551
HPT_U32 Members[MAX_ARRAY_MEMBERS_V2]; /* member array/disks */
sys/dev/hptrr/hptintf.h
553
HPT_U32 RebuildingProgress;
sys/dev/hptrr/hptintf.h
558
HPT_U32 TransformingProgress;
sys/dev/hptrr/hptintf.h
559
HPT_U32 Signature; /* persistent identification*/
sys/dev/hptrr/hptintf.h
563
HPT_U32 reserve;
sys/dev/hptrr/hptintf.h
565
HPT_U32 Critical_Members;
sys/dev/hptrr/hptintf.h
566
HPT_U32 reserve;
sys/dev/hptrr/hptintf.h
583
HPT_U32 Flags; /* working flags, see ARRAY_FLAG_XXX */
sys/dev/hptrr/hptintf.h
585
HPT_U32 RebuildingProgress;
sys/dev/hptrr/hptintf.h
590
HPT_U32 TransformingProgress;
sys/dev/hptrr/hptintf.h
591
HPT_U32 Signature; /* persistent identification*/
sys/dev/hptrr/hptintf.h
595
HPT_U32 Members[MAX_ARRAY_MEMBERS_V3]; /* member array/disks */
sys/dev/hptrr/hptintf.h
632
HPT_U32 CurrentSectorCapacity;
sys/dev/hptrr/hptintf.h
634
HPT_U32 UserAddressableSectors;
sys/dev/hptrr/hptintf.h
690
HPT_U32 Flags; /* working flags, see DEVICE_FLAG_XXX */
sys/dev/hptrr/hptintf.h
736
HPT_U32 Flags; /* working flags, see DEVICE_FLAG_XXX */
sys/dev/hptrr/hptintf.h
792
HPT_U32 Capacity; /* array capacity */
sys/dev/hptrr/hptintf.h
82
typedef HPT_U32 DEVICEID;
sys/dev/hptrr/hptintf.h
833
HPT_U32 TotalIOs;
sys/dev/hptrr/hptintf.h
834
HPT_U32 TobalMBs;
sys/dev/hptrr/hptintf.h
835
HPT_U32 IOPerSec;
sys/dev/hptrr/hptintf.h
836
HPT_U32 MBPerSec;
sys/dev/hptrr/hptintf.h
849
HPT_U32 dwSize;
sys/dev/hptrr/hptintf.h
862
HPT_U32 TotalIOs;
sys/dev/hptrr/hptintf.h
863
HPT_U32 TobalMBs;
sys/dev/hptrr/hptintf.h
864
HPT_U32 IOPerSec;
sys/dev/hptrr/hptintf.h
865
HPT_U32 MBPerSec;
sys/dev/hptrr/hptintf.h
898
HPT_U32 ValidFields; /* mark valid fields below */
sys/dev/hptrr/hptintf.h
904
HPT_U32 ValidFields; /* mark valid fields below */
sys/dev/hptrr/hptintf.h
909
HPT_U32 ValidFields; /* mark valid fields below */
sys/dev/hptrr/hptintf.h
917
HPT_U32 reserve2[13]; /* pad to 64 bytes */
sys/dev/hptrr/hptintf.h
968
HPT_U32 Members[MAX_ARRAY_MEMBERS_V1];/* ID of array members, a member can be an array */
sys/dev/hptrr/hptintf.h
985
HPT_U32 Members[MAX_ARRAY_MEMBERS_V2];/* ID of array members, a member can be an array */
sys/dev/hptrr/hptintf.h
992
HPT_U32 dwSize;
sys/dev/hptrr/hptrr_os_bsd.c
200
HPT_U32 os_get_stamp(void)
sys/dev/hptrr/hptrr_os_bsd.c
202
HPT_U32 stamp;
sys/dev/hptrr/hptrr_os_bsd.c
207
void os_stallexec(HPT_U32 microseconds)
sys/dev/hptrr/hptrr_os_bsd.c
218
void os_request_timer(void * osext, HPT_U32 interval)
sys/dev/hptrr/hptrr_os_bsd.c
40
HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
sys/dev/hptrr/hptrr_os_bsd.c
44
void os_outl (void *port, HPT_U32 value) { outl((unsigned)(HPT_UPTR)port, (value)); }
sys/dev/hptrr/hptrr_os_bsd.c
46
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hptrr/hptrr_os_bsd.c
49
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count)
sys/dev/hptrr/hptrr_os_bsd.c
52
HPT_U32 __dummy_reg = 0;
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
80
void os_pci_writel (void *osext, HPT_U8 offset, HPT_U32 value)
sys/dev/hptrr/hptrr_os_bsd.c
88
HPT_U32 offset,
sys/dev/hptrr/hptrr_os_bsd.c
89
HPT_U32 length
sys/dev/hptrr/hptrr_osm_bsd.c
1225
HPT_U32 bytesReturned = 0;
sys/dev/hptrr/hptrr_osm_bsd.c
1265
(void*)piop->lpBytesReturned, sizeof(HPT_U32)))
sys/dev/hptrr/hptrr_osm_bsd.c
552
*(HPT_U32 *)&cdb[0], *(HPT_U32 *)&cdb[4], *(HPT_U32 *)&cdb[8]
sys/dev/hptrr/hptrr_osm_bsd.c
607
HPT_U32 cap;
sys/dev/hptrr/hptrr_osm_bsd.c
671
pCmd->uCmd.Ide.Lba = ((HPT_U32)cdb[1] << 16) | ((HPT_U32)cdb[2] << 8) | (HPT_U32)cdb[3];
sys/dev/hptrr/hptrr_osm_bsd.c
692
pCmd->uCmd.Ide.Lba = (HPT_U32)cdb[5] | ((HPT_U32)cdb[4] << 8) | ((HPT_U32)cdb[3] << 16) | ((HPT_U32)cdb[2] << 24);
sys/dev/hptrr/hptrr_osm_bsd.c
888
#define DEVICEID_VALID(id) ((id) && ((HPT_U32)(id)!=0xffffffff))
sys/dev/hptrr/hptrr_osm_bsd.c
893
HPT_U32 count = nMaxCount-1;
sys/dev/hptrr/hptrr_osm_bsd.c
896
&count, sizeof(HPT_U32), pIds, sizeof(DEVICEID)*nMaxCount))
sys/dev/hptrr/ldm.h
165
HPT_U32 interval; /*microseconds*/
sys/dev/hptrr/ldm.h
204
HPT_U32 dwIoControlCode;
sys/dev/hptrr/ldm.h
205
HPT_U32 nInBufferSize;
sys/dev/hptrr/ldm.h
206
HPT_U32 nOutBufferSize;
sys/dev/hptrr/ldm.h
209
HPT_U32 *lpBytesReturned;
sys/dev/hptrr/ldm.h
223
HPT_U32 ldm_get_device_id(PVDEV vd); /* for ioctl */
sys/dev/hptrr/ldm.h
391
HPT_U32 ioctl_id;
sys/dev/hptrr/ldm.h
446
PVDEV ldm_find_stamp(PVBUS vbus, HPT_U32 stamp, int seq);
sys/dev/hptrr/ldm.h
516
void ldm_event_notify(HPT_U32 event, void *arg1, void *arg2);
sys/dev/hptrr/osm.h
100
void os_outl (void *port, HPT_U32 value);
sys/dev/hptrr/osm.h
101
void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hptrr/osm.h
102
void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
sys/dev/hptrr/osm.h
104
extern HPT_U32 __dummy_reg; /* to avoid the compiler warning */
sys/dev/hptrr/osm.h
108
#define os_readl(addr) (*(HPT_U32 *)&__dummy_reg = *(volatile HPT_U32 *)(addr))
sys/dev/hptrr/osm.h
112
#define os_writel(addr, val) *(volatile HPT_U32 *)(addr) = (HPT_U32)(val)
sys/dev/hptrr/osm.h
117
HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
sys/dev/hptrr/osm.h
120
void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
sys/dev/hptrr/osm.h
132
HPT_U32 offset,
sys/dev/hptrr/osm.h
133
HPT_U32 length
sys/dev/hptrr/osm.h
144
void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
sys/dev/hptrr/osm.h
146
void os_request_timer(void * osext, HPT_U32 interval);
sys/dev/hptrr/osm.h
162
HPT_U32 os_get_stamp(void);
sys/dev/hptrr/osm.h
163
void os_stallexec(HPT_U32 microseconds);
sys/dev/hptrr/osm.h
177
#define farMemoryCopy(a,b,c) memcpy((char *)(a), (char *)(b), (HPT_U32)c)
sys/dev/hptrr/osm.h
73
#define LO_LBA(x) ((HPT_U32)(x))
sys/dev/hptrr/osm.h
74
#define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
sys/dev/hptrr/osm.h
78
#define LO_BUSADDR(x) ((HPT_U32)(x))
sys/dev/hptrr/osm.h
86
HPT_U32 seconds:6; /* 0 - 59 */
sys/dev/hptrr/osm.h
87
HPT_U32 minutes:6; /* 0 - 59 */
sys/dev/hptrr/osm.h
88
HPT_U32 month:4; /* 1 - 12 */
sys/dev/hptrr/osm.h
89
HPT_U32 hours:6; /* 0 - 59 */
sys/dev/hptrr/osm.h
90
HPT_U32 day:5; /* 1 - 31 */
sys/dev/hptrr/osm.h
91
HPT_U32 year:5; /* 0=2000, 31=2031 */
sys/dev/hptrr/osm.h
97
HPT_U32 os_inl (void *port);