| /src/sys/dev/ata/ |
| ata_wdc.c | 168 xfer->c_drive = drvp->drive; 182 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive]; 193 device_xname(atac->atac_dev), chp->ch_channel, xfer->c_drive, 218 wdc->select(chp, xfer->c_drive); 220 WDSD_IBM | (xfer->c_drive << 4)); 226 wdccommandshort(chp, xfer->c_drive, WDCC_RECAL); 272 wdccommand(chp, xfer->c_drive, WDCC_IDP, 286 wdccommand(chp, xfer->c_drive, WDCC_SETMULTI, 0, 0, 0, 308 device_xname(atac->atac_dev), chp->ch_channel, xfer->c_drive, 314 device_xname(atac->atac_dev), chp->ch_channel, xfer->c_drive, [all...] |
| ata.c | 1018 chp->ch_channel, xfer->c_drive), DEBUG_XFERS); 1118 "wait active\n", xfer, chp->ch_channel, xfer->c_drive), 1134 __func__, chp, chp->ch_channel, xfer->c_drive, 1154 xfer->c_drive != axfer->c_drive) 1158 struct ata_drive_datas * const drvp = &chp->ch_drive[xfer->c_drive]; 1194 __func__, chp, xfer, chp->ch_channel, xfer->c_drive), DEBUG_XFERS); 1326 chp->ch_channel, xfer->c_drive); 1381 int drive = xfer->c_drive; 1409 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive]; [all...] |
| ata_recovery.c | 241 if (drive != xfer->c_drive)
|
| satafis_subr.c | 104 struct ata_drive_datas *drvp = &xfer->c_chp->ch_drive[xfer->c_drive];
|
| ata_subr.c | 150 if (xfer->c_drive == drive)
|
| atavar.h | 139 uint16_t c_drive; member in struct:ata_xfer
|
| /src/sys/dev/scsipi/ |
| atapi_wdc.c | 415 xfer->c_drive = drive; 484 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive]; 512 wdc->select(chp, xfer->c_drive); 514 WDSD_IBM | (xfer->c_drive << 4)); 540 chp->ch_channel, xfer->c_drive, 579 chp->ch_channel, xfer->c_drive, 600 wdc->select(chp, xfer->c_drive); 602 WDSD_IBM | (xfer->c_drive << 4)); 624 wdccommand(chp, xfer->c_drive, ATAPI_PKT_CMD, 644 chp->ch_channel, xfer->c_drive, [all...] |
| /src/sys/dev/ic/ |
| mvsata.c | 1007 xfer->c_drive = drvp->drive; 1022 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive]; 1029 device_xname(atac->atac_dev), chp->ch_channel, xfer->c_drive)); 1149 mvsata_pmp_select(mvport, xfer->c_drive); 1167 if (mvsata_bio_ready(mvport, ata_bio, xfer->c_drive, 1209 chp->ch_channel, xfer->c_drive, ATACH_ST(tfd), 1243 chp->ch_channel, xfer->c_drive, ATACH_ST(tfd), ATACH_ERR(tfd)); 1273 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive]; 1292 xfer->c_drive)); 1319 chp->ch_channel, xfer->c_drive, drvp->state, __func__) [all...] |
| siisata.c | 946 xfer->c_drive = drvp->drive; 967 chp->ch_channel, xfer->c_drive, ata_c->r_command, xfer->c_slot), 976 KASSERT(xfer->c_drive <= PMP_PORT_CTL); 977 prb->prb_fis[rhd_c] |= xfer->c_drive; 1188 xfer->c_drive = drvp->drive; 1204 chp->ch_channel, xfer->c_slot, xfer->c_drive), DEBUG_FUNCS); 1212 KASSERT(xfer->c_drive <= PMP_PORT_CTL); 1213 prb->prb_fis[rhd_c] |= xfer->c_drive; 1278 int drive = xfer->c_drive; 1319 int drive = xfer->c_drive; [all...] |
| wdc.c | 928 xfer->c_drive, WDC_DMAEND_END); 981 wdccommandshort(chp, xfer->c_drive, ATAPI_SOFT_RESET); 1015 chp->ch_channel, xfer->c_drive, 1257 chp->ch_channel, xfer->c_drive, 1326 chp->ch_channel, xfer->c_drive, WDC_DMAEND_END); 1333 chp->ch_channel, xfer->c_drive, WDC_DMAEND_ABRT); 1375 xfer->c_drive, WDC_DMAEND_ABRT); 1418 xfer->c_drive = drvp->drive; 1431 int drive = xfer->c_drive; 1438 xfer->c_drive), DEBUG_FUNCS) [all...] |
| ahcisata_core.c | 1161 xfer->c_drive = drvp->drive; 1191 cmd_tbl->cmdt_cfis[rhd_c] |= xfer->c_drive; 1206 RHD_FISLEN / 4 | (xfer->c_drive << AHCI_CMDH_F_PMP_SHIFT)); 1415 xfer->c_drive = drvp->drive; 1441 cmd_tbl->cmdt_cfis[rhd_c] |= xfer->c_drive; 1454 RHD_FISLEN / 4 | (xfer->c_drive << AHCI_CMDH_F_PMP_SHIFT)); 1519 int drive = xfer->c_drive; 1556 int drive = xfer->c_drive; 1894 xfer->c_drive = drive; 1936 cmd_tbl->cmdt_cfis[rhd_c] |= xfer->c_drive; [all...] |