Lines Matching defs:stat
117 u8 stat;
123 stat = INB(ide_status);
124 result = (stat & (ones|zeros)) != ones;
127 *stat_r = stat;
135 u8 stat;
137 if (wait_for_status(ones, zeros, &stat, timeout)) {
138 fprintf(stderr, "status timeout: %s, stat=0x%02x\n", msg, stat);
143 *stat_r = stat;
161 u8 stat, err;
166 if (require_status(READY_STAT, BUSY_STAT|DRQ_STAT, &stat, 40, "do_nondata_command2"))
168 if ((stat & ERR_STAT)) {
170 fprintf(stderr, "command 0x%02x failed, status=0x%02x, error=0x%02x\n", command, stat, err);
206 u8 stat;
213 stat = INB(ide_altstatus);
214 if (stat == 0xff || stat == 0x00) {
219 if ((stat & (BUSY_STAT|DRQ_STAT))) {