ata_format_dsm_trim_descr — SATL Write Same to DSM Trim
|struct scsi_cmnd * cmd,|
struct scsi_cmnd * cmd
SCSI command being translated
Maximum number of entries that will fit in sector_size bytes.
Total Range of request in logical sectors
Rewrite the WRITE SAME descriptor to be a DSM TRIM little-endian formatted descriptor.
Upto 64 entries of the format: 63:48 Range Length 47:0 LBA
Range Length of 0 is ignored. LBA's should be sorted order and not overlap.