Home | History | Annotate | Download | only in ic

Lines Matching defs:ata_c

936 	struct ata_command *ata_c = &xfer->c_ata_c;
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;
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,
986 ata_c->bcount,
987 (ata_c->flags & AT_READ) ? BUS_DMA_READ : BUS_DMA_WRITE)) {
988 ata_c->flags |= AT_DF;
1001 if ((ata_c->flags & AT_POLL) == 0) {
1002 callout_reset(&chp->c_timo_callout, mstohz(ata_c->timeout),
1048 struct ata_command *ata_c = &xfer->c_ata_c;
1057 ata_c->flags |= AT_GONE;
1060 ata_c->flags |= AT_RESET;
1082 struct ata_command *ata_c = &xfer->c_ata_c;
1097 ata_c->flags |= AT_TIMEOU;
1100 ata_c->flags |= AT_TIMEOU;
1102 ata_c->r_error = ATACH_ERR(tfd);
1103 ata_c->flags |= AT_ERROR;
1111 if ((ata_c->flags & (AT_TIMEOU|AT_ERROR)) == 0)
1123 struct ata_command *ata_c = &xfer->c_ata_c;
1128 ata_c->flags, ata_c->r_error), DEBUG_FUNCS|DEBUG_XFERS);
1130 if (ata_c->flags & (AT_READ | AT_WRITE)) {
1133 (ata_c->flags & AT_READ) ? BUS_DMASYNC_POSTREAD :
1138 if (ata_c->flags & AT_READREG) {
1142 satafis_rdh_cmd_readreg(ata_c, (uint8_t *)fis);
1146 if (ata_c->r_command == WDCC_IDENTIFY ||
1147 ata_c->r_command == ATAPI_IDENTIFY_DEVICE) {
1155 ata_c->flags |= AT_XFDONE;
1163 struct ata_command *ata_c = &xfer->c_ata_c;
1165 ata_c->flags |= AT_DONE;