Lines Matching refs:ata
480 union ata_cdb ata; in isd200_action() local
487 memset(&ata, 0, sizeof(ata)); in isd200_action()
491 ata.generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; in isd200_action()
492 ata.generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; in isd200_action()
493 ata.generic.TransferBlockSize = 1; in isd200_action()
498 ata.generic.ActionSelect = ACTION_SELECT_0|ACTION_SELECT_2; in isd200_action()
499 ata.generic.RegisterSelect = in isd200_action()
507 ata.generic.ActionSelect = ACTION_SELECT_1|ACTION_SELECT_2| in isd200_action()
510 ata.generic.RegisterSelect = REG_DEVICE_HEAD; in isd200_action()
511 ata.write.DeviceHeadByte = value; in isd200_action()
517 ata.generic.ActionSelect = ACTION_SELECT_1|ACTION_SELECT_2| in isd200_action()
519 ata.generic.RegisterSelect = REG_DEVICE_CONTROL; in isd200_action()
520 ata.write.DeviceControlByte = ATA_DC_RESET_CONTROLLER; in isd200_action()
526 ata.generic.ActionSelect = ACTION_SELECT_1|ACTION_SELECT_2| in isd200_action()
528 ata.generic.RegisterSelect = REG_DEVICE_CONTROL; in isd200_action()
529 ata.write.DeviceControlByte = ATA_DC_REENABLE_CONTROLLER; in isd200_action()
535 ata.generic.ActionSelect = ACTION_SELECT_1|ACTION_SELECT_5; in isd200_action()
536 ata.generic.RegisterSelect = REG_DEVICE_HEAD | REG_COMMAND; in isd200_action()
537 ata.write.DeviceHeadByte = info->DeviceHead; in isd200_action()
538 ata.write.CommandByte = ATA_CMD_DEV_RESET; in isd200_action()
544 ata.generic.RegisterSelect = REG_COMMAND; in isd200_action()
545 ata.write.CommandByte = ATA_CMD_ID_ATA; in isd200_action()
555 memcpy(srb->cmnd, &ata, sizeof(ata.generic)); in isd200_action()
556 srb->cmd_len = sizeof(ata.generic); in isd200_action()