Lines Matching defs:tfd
300 int i, j, error, tfd;
451 if (wdc_wait_for_ready(chp, 10000, 0, &tfd) ==
463 if (wdc_wait_for_ready(chp, 10000, 0, &tfd) ==
1205 __wdcwait(struct ata_channel *chp, int mask, int bits, int timeout, int *tfd)
1216 *tfd = 0;
1264 *tfd = ATACH_ERR_ST(error, status);
1274 int *tfd)
1282 error = __wdcwait(chp, mask, bits, timeout, tfd);
1284 error = __wdcwait(chp, mask, bits, WDCDELAY_POLL, tfd);
1293 WDCDELAY_POLL, tfd) == 0) {
1434 int tfd;
1445 ata_c->r_st_bmask, ata_c->timeout, wait_flags, &tfd)) {
1505 int wflags, tfd;
1560 wflags, &tfd) == WDCWAIT_TOUT) {
1570 (irq == 0) ? ata_c->timeout : 0, wflags, &tfd) == WDCWAIT_TOUT) {
1581 if ((ATACH_ST(tfd) & WDCS_DRQ) == 0) {
1593 if ((ATACH_ST(tfd) & WDCS_DRQ) == 0) {
1610 if (ATACH_ST(tfd) & WDCS_DWF)
1612 if (ATACH_ST(tfd) & WDCS_ERR) {
1614 ata_c->r_error = ATACH_ST(tfd);