Lines Matching refs:ataCdb

609 			      union ata_cdb *ataCdb )  in isd200_invoke_transport()  argument
616 memcpy(srb->cmnd, ataCdb, sizeof(ataCdb->generic)); in isd200_invoke_transport()
617 srb->cmd_len = sizeof(ataCdb->generic); in isd200_invoke_transport()
1228 union ata_cdb * ataCdb) in isd200_scsi_to_ata() argument
1239 memset(ataCdb, 0, sizeof(union ata_cdb)); in isd200_scsi_to_ata()
1261 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; in isd200_scsi_to_ata()
1262 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; in isd200_scsi_to_ata()
1263 ataCdb->generic.TransferBlockSize = 1; in isd200_scsi_to_ata()
1264 ataCdb->generic.RegisterSelect = REG_COMMAND; in isd200_scsi_to_ata()
1265 ataCdb->write.CommandByte = ATA_COMMAND_GET_MEDIA_STATUS; in isd200_scsi_to_ata()
1279 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; in isd200_scsi_to_ata()
1280 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; in isd200_scsi_to_ata()
1281 ataCdb->generic.TransferBlockSize = 1; in isd200_scsi_to_ata()
1282 ataCdb->generic.RegisterSelect = REG_COMMAND; in isd200_scsi_to_ata()
1283 ataCdb->write.CommandByte = ATA_COMMAND_GET_MEDIA_STATUS; in isd200_scsi_to_ata()
1332 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; in isd200_scsi_to_ata()
1333 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; in isd200_scsi_to_ata()
1334 ataCdb->generic.TransferBlockSize = 1; in isd200_scsi_to_ata()
1335 ataCdb->generic.RegisterSelect = in isd200_scsi_to_ata()
1339 ataCdb->write.SectorCountByte = (unsigned char)blockCount; in isd200_scsi_to_ata()
1340 ataCdb->write.SectorNumberByte = sectnum; in isd200_scsi_to_ata()
1341 ataCdb->write.CylinderHighByte = (unsigned char)(cylinder>>8); in isd200_scsi_to_ata()
1342 ataCdb->write.CylinderLowByte = (unsigned char)cylinder; in isd200_scsi_to_ata()
1343 ataCdb->write.DeviceHeadByte = (head | ATA_ADDRESS_DEVHEAD_STD); in isd200_scsi_to_ata()
1344 ataCdb->write.CommandByte = ATA_CMD_PIO_READ; in isd200_scsi_to_ata()
1364 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; in isd200_scsi_to_ata()
1365 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; in isd200_scsi_to_ata()
1366 ataCdb->generic.TransferBlockSize = 1; in isd200_scsi_to_ata()
1367 ataCdb->generic.RegisterSelect = in isd200_scsi_to_ata()
1371 ataCdb->write.SectorCountByte = (unsigned char)blockCount; in isd200_scsi_to_ata()
1372 ataCdb->write.SectorNumberByte = sectnum; in isd200_scsi_to_ata()
1373 ataCdb->write.CylinderHighByte = (unsigned char)(cylinder>>8); in isd200_scsi_to_ata()
1374 ataCdb->write.CylinderLowByte = (unsigned char)cylinder; in isd200_scsi_to_ata()
1375 ataCdb->write.DeviceHeadByte = (head | ATA_ADDRESS_DEVHEAD_STD); in isd200_scsi_to_ata()
1376 ataCdb->write.CommandByte = ATA_CMD_PIO_WRITE; in isd200_scsi_to_ata()
1386 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; in isd200_scsi_to_ata()
1387 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; in isd200_scsi_to_ata()
1388 ataCdb->generic.TransferBlockSize = 1; in isd200_scsi_to_ata()
1389 ataCdb->generic.RegisterSelect = REG_COMMAND; in isd200_scsi_to_ata()
1390 ataCdb->write.CommandByte = (srb->cmnd[4] & 0x1) ? in isd200_scsi_to_ata()
1406 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; in isd200_scsi_to_ata()
1407 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; in isd200_scsi_to_ata()
1408 ataCdb->generic.TransferBlockSize = 0; in isd200_scsi_to_ata()
1409 ataCdb->generic.RegisterSelect = REG_COMMAND; in isd200_scsi_to_ata()
1410 ataCdb->write.CommandByte = ATA_COMMAND_MEDIA_EJECT; in isd200_scsi_to_ata()
1413 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; in isd200_scsi_to_ata()
1414 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; in isd200_scsi_to_ata()
1415 ataCdb->generic.TransferBlockSize = 1; in isd200_scsi_to_ata()
1416 ataCdb->generic.RegisterSelect = REG_COMMAND; in isd200_scsi_to_ata()
1417 ataCdb->write.CommandByte = ATA_COMMAND_GET_MEDIA_STATUS; in isd200_scsi_to_ata()
1529 union ata_cdb ataCdb; in isd200_ata_command() local
1542 sendToTransport = isd200_scsi_to_ata(srb, us, &ataCdb); in isd200_ata_command()
1546 isd200_invoke_transport(us, srb, &ataCdb); in isd200_ata_command()