Lines Matching refs:_dio_hw_error

107 extern unsigned long        _dio_hw_error;
112 #define HW_OK() ((unsigned char)_dio_hw_error == 0x00)
113 #define HW_BAD_CMD() ((unsigned char)_dio_hw_error == 0x01)
114 #define HW_NO_ADDR_MARK() ((unsigned char)_dio_hw_error == 0x02)
115 #define HW_WRITE_PROT() ((unsigned char)_dio_hw_error == 0x03)
116 #define HW_NO_SECTOR() ((unsigned char)_dio_hw_error == 0x04)
117 #define HW_RESET_FAIL() ((unsigned char)_dio_hw_error == 0x05)
118 #define HW_DISK_CHANGED() ((unsigned char)_dio_hw_error == 0x06)
119 #define HW_DRIVE_FAIL() ((unsigned char)_dio_hw_error == 0x07)
120 #define HW_DMA_OVERRUN() ((unsigned char)_dio_hw_error == 0x08)
121 #define HW_DMA_BOUNDARY() ((unsigned char)_dio_hw_error == 0x09)
122 #define HW_BAD_SECTOR() ((unsigned char)_dio_hw_error == 0x0A)
123 #define HW_BAD_TRACK() ((unsigned char)_dio_hw_error == 0x0B)
124 #define HW_UNSUPP_TRACK() ((unsigned char)_dio_hw_error == 0x0C)
125 #define HW_BAD_CRC_ECC() ((unsigned char)_dio_hw_error == 0x10)
126 #define HW_CRC_ECC_CORR() ((unsigned char)_dio_hw_error == 0x11)
127 #define HW_CONTR_FAIL() ((unsigned char)_dio_hw_error == 0x20)
128 #define HW_SEEK_FAIL() ((unsigned char)_dio_hw_error == 0x40)
129 #define HW_ATTACH_FAIL() ((unsigned char)_dio_hw_error == 0x80)
130 #define HW_DRIVE_NREADY() ((unsigned char)_dio_hw_error == 0xAA)
131 #define HW_UNDEF_ERROR() ((unsigned char)_dio_hw_error == 0xBB)
132 #define HW_WRITE_FAULT() ((unsigned char)_dio_hw_error == 0xCC)
133 #define HW_STATUS_ERROR() ((unsigned char)_dio_hw_error == 0xE0)
134 #define HW_SENSE_FAIL() ((unsigned char)_dio_hw_error == 0xFF)