Home
last modified time | relevance | path

Searched refs:apt_cdb (Results 1 – 1 of 1) sorted by relevance

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_extra.c1732 unsigned char apt_cdb[ATA_PT_32_CMDLEN]; in sg_ll_ata_pt() local
1740 memset(apt_cdb, 0, sizeof(apt_cdb)); in sg_ll_ata_pt()
1745 apt_cdb[0] = ATA_PT_12_CMD; in sg_ll_ata_pt()
1746 memcpy(apt_cdb + 1, cdbp + 1, 10); in sg_ll_ata_pt()
1751 apt_cdb[0] = ATA_PT_16_CMD; in sg_ll_ata_pt()
1752 memcpy(apt_cdb + 1, cdbp + 1, 14); in sg_ll_ata_pt()
1757 apt_cdb[0] = SG_VARIABLE_LENGTH_CMD; in sg_ll_ata_pt()
1759 apt_cdb[7] = 0x18; /* length starting at next byte */ in sg_ll_ata_pt()
1760 sg_put_unaligned_be16(ATA_PT_32_SA, apt_cdb + 8); in sg_ll_ata_pt()
1761 memcpy(apt_cdb + 10, cdbp + 10, 32 - 10); in sg_ll_ata_pt()
[all …]