Searched refs:ataCdb (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/storage/
H A Disd200.c618 union ata_cdb *ataCdb ) isd200_invoke_transport()
625 memcpy(srb->cmnd, ataCdb, sizeof(ataCdb->generic)); isd200_invoke_transport()
626 srb->cmd_len = sizeof(ataCdb->generic); isd200_invoke_transport()
1221 union ata_cdb * ataCdb) isd200_scsi_to_ata()
1232 memset(ataCdb, 0, sizeof(union ata_cdb)); isd200_scsi_to_ata()
1254 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; isd200_scsi_to_ata()
1255 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; isd200_scsi_to_ata()
1256 ataCdb->generic.TransferBlockSize = 1; isd200_scsi_to_ata()
1257 ataCdb->generic.RegisterSelect = REG_COMMAND; isd200_scsi_to_ata()
1258 ataCdb->write.CommandByte = ATA_COMMAND_GET_MEDIA_STATUS; isd200_scsi_to_ata()
1272 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; isd200_scsi_to_ata()
1273 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; isd200_scsi_to_ata()
1274 ataCdb->generic.TransferBlockSize = 1; isd200_scsi_to_ata()
1275 ataCdb->generic.RegisterSelect = REG_COMMAND; isd200_scsi_to_ata()
1276 ataCdb->write.CommandByte = ATA_COMMAND_GET_MEDIA_STATUS; isd200_scsi_to_ata()
1325 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; isd200_scsi_to_ata()
1326 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; isd200_scsi_to_ata()
1327 ataCdb->generic.TransferBlockSize = 1; isd200_scsi_to_ata()
1328 ataCdb->generic.RegisterSelect = isd200_scsi_to_ata()
1332 ataCdb->write.SectorCountByte = (unsigned char)blockCount; isd200_scsi_to_ata()
1333 ataCdb->write.SectorNumberByte = sectnum; isd200_scsi_to_ata()
1334 ataCdb->write.CylinderHighByte = (unsigned char)(cylinder>>8); isd200_scsi_to_ata()
1335 ataCdb->write.CylinderLowByte = (unsigned char)cylinder; isd200_scsi_to_ata()
1336 ataCdb->write.DeviceHeadByte = (head | ATA_ADDRESS_DEVHEAD_STD); isd200_scsi_to_ata()
1337 ataCdb->write.CommandByte = ATA_CMD_PIO_READ; isd200_scsi_to_ata()
1357 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; isd200_scsi_to_ata()
1358 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; isd200_scsi_to_ata()
1359 ataCdb->generic.TransferBlockSize = 1; isd200_scsi_to_ata()
1360 ataCdb->generic.RegisterSelect = isd200_scsi_to_ata()
1364 ataCdb->write.SectorCountByte = (unsigned char)blockCount; isd200_scsi_to_ata()
1365 ataCdb->write.SectorNumberByte = sectnum; isd200_scsi_to_ata()
1366 ataCdb->write.CylinderHighByte = (unsigned char)(cylinder>>8); isd200_scsi_to_ata()
1367 ataCdb->write.CylinderLowByte = (unsigned char)cylinder; isd200_scsi_to_ata()
1368 ataCdb->write.DeviceHeadByte = (head | ATA_ADDRESS_DEVHEAD_STD); isd200_scsi_to_ata()
1369 ataCdb->write.CommandByte = ATA_CMD_PIO_WRITE; isd200_scsi_to_ata()
1379 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; isd200_scsi_to_ata()
1380 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; isd200_scsi_to_ata()
1381 ataCdb->generic.TransferBlockSize = 1; isd200_scsi_to_ata()
1382 ataCdb->generic.RegisterSelect = REG_COMMAND; isd200_scsi_to_ata()
1383 ataCdb->write.CommandByte = (srb->cmnd[4] & 0x1) ? isd200_scsi_to_ata()
1399 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; isd200_scsi_to_ata()
1400 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; isd200_scsi_to_ata()
1401 ataCdb->generic.TransferBlockSize = 0; isd200_scsi_to_ata()
1402 ataCdb->generic.RegisterSelect = REG_COMMAND; isd200_scsi_to_ata()
1403 ataCdb->write.CommandByte = ATA_COMMAND_MEDIA_EJECT; isd200_scsi_to_ata()
1406 ataCdb->generic.SignatureByte0 = info->ConfigData.ATAMajorCommand; isd200_scsi_to_ata()
1407 ataCdb->generic.SignatureByte1 = info->ConfigData.ATAMinorCommand; isd200_scsi_to_ata()
1408 ataCdb->generic.TransferBlockSize = 1; isd200_scsi_to_ata()
1409 ataCdb->generic.RegisterSelect = REG_COMMAND; isd200_scsi_to_ata()
1410 ataCdb->write.CommandByte = ATA_COMMAND_GET_MEDIA_STATUS; isd200_scsi_to_ata()
1521 union ata_cdb ataCdb; isd200_ata_command() local
1531 sendToTransport = isd200_scsi_to_ata(srb, us, &ataCdb); isd200_ata_command()
1535 isd200_invoke_transport(us, srb, &ataCdb); isd200_ata_command()
1220 isd200_scsi_to_ata(struct scsi_cmnd *srb, struct us_data *us, union ata_cdb * ataCdb) isd200_scsi_to_ata() argument

Completed in 40 milliseconds