Lines Matching refs:UCHAR
43 UCHAR BlockCount; /* RW: Sector count */
44 UCHAR BlockNumber; /* RW: Sector number & LBA 0-7 */
45 UCHAR CylinderLow; /* RW: Cylinder low & LBA 8-15 */
46 UCHAR CylinderHigh; /* RW: Cylinder hign & LBA 16-23 */
47 UCHAR DriveSelect; /* RW: Drive/head & LBA 24-27 */
48 UCHAR Command; /* RO: Status WR:Command */
160 UCHAR AlternateStatus; /* RW: device control port */
201 UCHAR MaximumBlockTransfer; /* 5E 47 */
202 UCHAR VendorUnique2; /* 5F */
206 UCHAR VendorUnique3; /* 66 51 */
207 UCHAR PioCycleTimingMode; /* 67 */
208 UCHAR VendorUnique4; /* 68 52 */
209 UCHAR DmaCycleTimingMode; /* 69 */
217 UCHAR SingleWordDMASupport; /* 7C 62 */
218 UCHAR SingleWordDMAActive; /* 7D */
219 UCHAR MultiWordDMASupport; /* 7E 63 */
220 UCHAR MultiWordDMAActive; /* 7F */
221 UCHAR AdvancedPIOModes; /* 80 64 */
222 UCHAR Reserved4; /* 81 */
255 UCHAR Signature; /* 0xA5 */
256 UCHAR CheckSum;
278 UCHAR MaximumBlockTransfer; /* 5E 47 */
279 UCHAR VendorUnique2; /* 5F */
283 UCHAR VendorUnique3; /* 66 51 */
284 UCHAR PioCycleTimingMode; /* 67 */
285 UCHAR VendorUnique4; /* 68 52 */
286 UCHAR DmaCycleTimingMode; /* 69 */
294 UCHAR SingleWordDMASupport; /* 62 */
295 UCHAR SingleWordDMAActive;
296 UCHAR MultiWordDMASupport; /* 63 */
297 UCHAR MultiWordDMAActive;
298 UCHAR AdvancedPIOModes; /* 64 */
299 UCHAR Reserved4;
355 #define mGetStatus(IOPort2) (UCHAR)InPort(&IOPort2->AlternateStatus)
356 #define mUnitControl(IOPort2, Value) OutPort(&IOPort2->AlternateStatus,(UCHAR)(Value))
358 #define mGetErrorCode(IOPort) (UCHAR)InPort((PUCHAR)&IOPort->Data+1)
361 #define mGetBlockCount(IOPort) (UCHAR)InPort(&IOPort->BlockCount)
362 #define mGetInterruptReason(IOPort) (UCHAR)InPort(&IOPort->BlockCount)
364 #define mGetBlockNumber(IOPort) (UCHAR)InPort((PUCHAR)&IOPort->BlockNumber)
365 #define mGetByteLow(IOPort) (UCHAR)InPort(&IOPort->CylinderLow)
367 #define mGetByteHigh(IOPort) (UCHAR)InPort(&IOPort->CylinderHigh)
369 #define mGetBaseStatus(IOPort) (UCHAR)InPort(&IOPort->Command)
372 OutPort(&IOPort->DriveSelect, (UCHAR)(UnitId));\
373 OutPort(&IOPort->DriveSelect, (UCHAR)(UnitId));\
376 #define mSelectUnit(IOPort,UnitId) OutPort(&IOPort->DriveSelect, (UCHAR)(UnitId))
379 #define mIssueCommand(IOPort,Cmd) OutPort(&IOPort->Command, (UCHAR)(Cmd))