| /src/sys/dev/ata/ |
| satafis_subr.c | 70 satafis_rhd_construct_cmd(struct ata_command *ata_c, uint8_t *fis) 77 fis[rhd_command] = ata_c->r_command; 78 fis[rhd_features0] = (ata_c->r_features >> 0) & 0xff; 80 fis[rhd_lba0] = (ata_c->r_lba >> 0) & 0xff; 81 fis[rhd_lba1] = (ata_c->r_lba >> 8) & 0xff; 82 fis[rhd_lba2] = (ata_c->r_lba >> 16) & 0xff; 83 if ((ata_c->flags & AT_LBA48) != 0) { 84 fis[rhd_dh] = ata_c->r_device; 85 fis[rhd_lba3] = (ata_c->r_lba >> 24) & 0xff; 86 fis[rhd_lba4] = (ata_c->r_lba >> 32) & 0xff [all...] |
| ata.c | 858 ATADEBUG_PRINT(("ata_get_parms: ata_c.flags=0x%x\n", 2365 struct ata_command *ata_c = &xfer->c_ata_c; local 2369 while ((ata_c->flags & AT_DONE) == 0) 2374 KASSERT((ata_c->flags & AT_DONE) != 0);
|
| /src/sys/dev/ic/ |
| wdc.c | 1405 struct ata_command *ata_c = &xfer->c_ata_c; local 1413 ata_c->flags |= AT_POLL; 1414 if (ata_c->flags & AT_POLL) 1416 if (ata_c->flags & AT_WAIT) 1419 xfer->c_databuf = ata_c->data; 1420 xfer->c_bcount = ata_c->bcount; 1433 struct ata_command *ata_c = &xfer->c_ata_c; local 1444 switch(wdcwait(chp, ata_c->r_st_bmask | WDCS_DRQ, 1445 ata_c->r_st_bmask, ata_c->timeout, wait_flags, &tfd)) 1502 struct ata_command *ata_c = &xfer->c_ata_c; local 1629 struct ata_command *ata_c = &xfer->c_ata_c; local 1715 struct ata_command *ata_c = &xfer->c_ata_c; local 1724 struct ata_command *ata_c = &xfer->c_ata_c; local [all...] |
| mvsata.c | 1603 struct ata_command *ata_c = &xfer->c_ata_c; local 1611 drvp->drive, ata_c->bcount, ata_c->r_lba, ata_c->r_count, 1612 ata_c->r_features, ata_c->r_device, ata_c->r_command)); 1614 if (ata_c->flags & AT_POLL) 1616 if (ata_c->flags & AT_WAIT) 1619 xfer->c_databuf = ata_c->data 1632 struct ata_command *ata_c = &xfer->c_ata_c; local 1702 struct ata_command *ata_c = &xfer->c_ata_c; local 1822 struct ata_command *ata_c = &xfer->c_ata_c; local 1859 struct ata_command *ata_c = &xfer->c_ata_c; local 1926 struct ata_command *ata_c = &xfer->c_ata_c; local [all...] |
| siisata.c | 936 struct ata_command *ata_c = &xfer->c_ata_c; local 942 if (ata_c->flags & AT_POLL) 944 if (ata_c->flags & AT_WAIT) 947 xfer->c_databuf = ata_c->data; 948 xfer->c_bcount = ata_c->bcount; 962 struct ata_command *ata_c = &xfer->c_ata_c; local 967 chp->ch_channel, xfer->c_drive, ata_c->r_command, xfer->c_slot), 975 satafis_rhd_construct_cmd(ata_c, prb->prb_fis); 979 if (ata_c->r_command == ATA_DATA_SET_MANAGEMENT) { 985 (ata_c->flags & (AT_READ | AT_WRITE)) ? ata_c->data : NULL 1048 struct ata_command *ata_c = &xfer->c_ata_c; local 1082 struct ata_command *ata_c = &xfer->c_ata_c; local 1123 struct ata_command *ata_c = &xfer->c_ata_c; local 1163 struct ata_command *ata_c = &xfer->c_ata_c; local [all...] |
| ahcisata_core.c | 1151 struct ata_command *ata_c = &xfer->c_ata_c; local 1157 if (ata_c->flags & AT_POLL) 1159 if (ata_c->flags & AT_WAIT) 1162 xfer->c_databuf = ata_c->data; 1163 xfer->c_bcount = ata_c->bcount; 1174 struct ata_command *ata_c = &xfer->c_ata_c; local 1181 ata_c->timeout, slot), 1190 satafis_rhd_construct_cmd(ata_c, cmd_tbl->cmdt_cfis); 1197 (ata_c->flags & (AT_READ|AT_WRITE) && ata_c->bcount > 0) 1277 struct ata_command *ata_c = &xfer->c_ata_c; local 1310 struct ata_command *ata_c = &xfer->c_ata_c; local 1354 struct ata_command *ata_c = &xfer->c_ata_c; local 1390 struct ata_command *ata_c = &xfer->c_ata_c; local [all...] |