Home | History | Annotate | Download | only in ic

Lines Matching defs:tfd

514 	uint32_t pss, pis, tfd = 0;
540 tfd = ATACH_ERR_ST(WDCE_CRC, WDCS_ERR);
557 tfd = ntfd;
594 xfer->ops->c_intr(chp, xfer, tfd);
619 ata_thread_run(chp, 0, ATACH_TH_RECOVERY, tfd);
626 siisata_channel_recover(struct ata_channel *chp, int flags, uint32_t tfd)
649 if ((ATACH_ST(tfd) & (WDCS_BSY|WDCS_DRQ)) != 0) {
657 ata_recovery_resume(chp, drive, tfd, flags);
1079 siisata_cmd_complete(struct ata_channel *chp, struct ata_xfer *xfer, int tfd)
1099 if (ATACH_ST(tfd) & WDCS_BSY) {
1101 } else if (ATACH_ST(tfd) & WDCS_ERR) {
1102 ata_c->r_error = ATACH_ERR(tfd);
1106 siisata_cmd_done(chp, xfer, tfd);
1118 siisata_cmd_done(struct ata_channel *chp, struct ata_xfer *xfer, int tfd)
1314 siisata_bio_complete(struct ata_channel *chp, struct ata_xfer *xfer, int tfd)
1321 SIISATA_DEBUG_PRINT(("%s: %s: port %d slot %d drive %d tfd %x\n",
1323 chp->ch_channel, xfer->c_slot, xfer->c_drive, tfd), DEBUG_FUNCS);
1339 if (ATACH_ST(tfd) & WDCS_DWF) {
1341 } else if (ATACH_ST(tfd) & WDCS_ERR) {
1343 ata_bio->r_error = ATACH_ERR(tfd);
1344 } else if (ATACH_ST(tfd) & WDCS_CORR)
1362 if ((ATACH_ST(tfd) & WDCS_ERR) == 0)
1877 int tfd)
1904 if ((ATACH_ST(tfd) & WDCS_ERR) &&
1908 sc_xfer->sense.atapi_sense = ATACH_ERR(tfd);
1922 if ((ATACH_ST(tfd) & WDCS_ERR) == 0)