Lines Matching full:identify
79 * for which to build the IDENTIFY DEVICE command.
96 * @brief This method will construct the ATA identify device command.
102 * for which to build the IDENTIFY DEVICE command.
125 * for which to build the IDENTIFY DEVICE command.
192 * It will perform the byte swap from the 16-bit identify field
288 * values and the sector count 32-bit value from the ATA identify
291 * @param[in] identify This parameter specifies the ATA_IDENTIFY_DEVICE_DATA
306 ATA_IDENTIFY_DEVICE_DATA_T * identify, in sati_ata_identify_device_get_sector_info() argument
314 // 48-bit addressing. Bit 10 of Word 86 of ATA Identify in sati_ata_identify_device_get_sector_info()
315 if (identify->command_set_enabled1 in sati_ata_identify_device_get_sector_info()
320 *lba_high = identify->max_48bit_lba[7] << 24; in sati_ata_identify_device_get_sector_info()
321 *lba_high |= identify->max_48bit_lba[6] << 16; in sati_ata_identify_device_get_sector_info()
322 *lba_high |= identify->max_48bit_lba[5] << 8; in sati_ata_identify_device_get_sector_info()
323 *lba_high |= identify->max_48bit_lba[4]; in sati_ata_identify_device_get_sector_info()
325 *lba_low = identify->max_48bit_lba[3] << 24; in sati_ata_identify_device_get_sector_info()
326 *lba_low |= identify->max_48bit_lba[2] << 16; in sati_ata_identify_device_get_sector_info()
327 *lba_low |= identify->max_48bit_lba[1] << 8; in sati_ata_identify_device_get_sector_info()
328 *lba_low |= identify->max_48bit_lba[0]; in sati_ata_identify_device_get_sector_info()
335 *lba_low = identify->total_num_sectors[3] << 24; in sati_ata_identify_device_get_sector_info()
336 *lba_low |= identify->total_num_sectors[2] << 16; in sati_ata_identify_device_get_sector_info()
337 *lba_low |= identify->total_num_sectors[1] << 8; in sati_ata_identify_device_get_sector_info()
338 *lba_low |= identify->total_num_sectors[0]; in sati_ata_identify_device_get_sector_info()
343 if (identify->physical_logical_sector_info in sati_ata_identify_device_get_sector_info()
346 *sector_size = identify->words_per_logical_sector[3] << 24; in sati_ata_identify_device_get_sector_info()
347 *sector_size |= identify->words_per_logical_sector[2] << 16; in sati_ata_identify_device_get_sector_info()
348 *sector_size |= identify->words_per_logical_sector[1] << 8; in sati_ata_identify_device_get_sector_info()
349 *sector_size |= identify->words_per_logical_sector[0]; in sati_ata_identify_device_get_sector_info()