Lines Matching refs:tfd

147 	uint32_t tfd;
299 ahci_write_fis_sdb(struct ahci_port *p, int slot, uint32_t tfd)
304 error = (tfd >> 8) & 0xff;
307 fis[2] = tfd & 0x77;
311 p->tfd = tfd;
316 ahci_write_fis_d2h(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t tfd)
321 error = (tfd >> 8) & 0xff;
325 fis[2] = tfd & 0xff;
341 p->tfd = tfd;
374 pr->tfd = 0x7F;
379 pr->tfd = (1 << 8) | ATA_S_DSC | ATA_S_DMA;
382 pr->tfd |= ATA_S_READY;
597 p->tfd = (ATA_E_ABORT << 8) | ATA_S_READY | ATA_S_ERROR;
653 p->tfd = ATA_S_DSC | ATA_S_READY;
664 p->tfd = (ATA_E_ABORT << 8) | ATA_S_READY | ATA_S_ERROR;
696 p->tfd = ATA_S_DSC | ATA_S_READY;
767 uint32_t tfd;
770 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR;
772 ahci_write_fis_d2h(p, slot, cfis, tfd);
915 uint32_t tfd;
919 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR;
921 ahci_write_fis_d2h(p, slot, cfis, tfd);
1021 uint32_t tfd;
1028 tfd = ATA_S_READY | ATA_S_DSC;
1035 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR;
1038 ahci_write_fis_d2h(p, slot, cfis, tfd);
1045 uint32_t tfd;
1071 tfd = ATA_S_READY | ATA_S_DSC;
1091 tfd = ATA_S_READY | ATA_S_DSC;
1102 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR;
1109 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR;
1113 ahci_write_fis_d2h(p, slot, cfis, tfd);
1121 uint32_t tfd;
1129 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR;
1144 tfd = ATA_S_READY | ATA_S_DSC;
1147 ahci_write_fis_d2h(p, slot, cfis, tfd);
1226 p->tfd = ATA_S_DSC | ATA_S_READY;
1229 p->tfd = ATA_S_ERROR | ATA_S_READY;
1230 p->tfd |= (ATA_ERROR_ABORT << 8);
1238 p->tfd = ATA_S_DSC | ATA_S_READY;
1251 p->tfd = ATA_S_DSC | ATA_S_READY;
1255 p->tfd = ATA_S_ERROR | ATA_S_READY;
1256 p->tfd |= (ATA_ERROR_ABORT << 8);
1259 ahci_write_fis_d2h(p, slot, cfis, p->tfd);
1265 p->tfd = ATA_S_ERROR | ATA_S_READY;
1266 p->tfd |= (ATA_ERROR_ABORT << 8);
1269 p->tfd = ATA_S_DSC | ATA_S_READY;
1300 p->tfd = (ATA_E_ABORT << 8) | ATA_S_READY | ATA_S_ERROR;
1308 p->tfd = (ATA_E_ABORT << 8) | ATA_S_READY | ATA_S_ERROR;
1396 uint32_t tfd;
1429 tfd = ATA_S_READY | ATA_S_DSC;
1435 tfd = (ATA_E_ABORT << 8) | ATA_S_READY | ATA_S_ERROR;
1448 ahci_write_fis_sdb(p, slot, tfd);
1450 ahci_write_fis_d2h(p, slot, cfis, tfd);
1465 uint32_t tfd;
1491 tfd = ATA_S_READY | ATA_S_DSC;
1496 tfd = (p->sense_key << 12) | ATA_S_READY | ATA_S_ERROR;
1501 ahci_write_fis_d2h(p, slot, cfis, tfd);
1592 p->tfd = 0;