Searched refs:lba48 (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/drivers/ide/ |
H A D | ide-disk.c | 57 u8 index, lba48, write; ide_tf_set_cmd() local 59 lba48 = (cmd->tf_flags & IDE_TFLAG_LBA48) ? 2 : 0; ide_tf_set_cmd() 74 cmd->tf.command = ide_rw_cmds[index + lba48 + write]; ide_tf_set_cmd() 86 u8 lba48 = !!(drive->dev_flags & IDE_DFLAG_LBA48); __ide_do_rw_disk() local 92 if ((hwif->host_flags & IDE_HFLAG_NO_LBA48_DMA) && lba48 && dma) { __ide_do_rw_disk() 96 lba48 = 0; __ide_do_rw_disk() 104 if (lba48) { __ide_do_rw_disk() 205 static u64 idedisk_read_native_max_address(ide_drive_t *drive, int lba48) idedisk_read_native_max_address() argument 212 if (lba48) idedisk_read_native_max_address() 220 if (lba48) { idedisk_read_native_max_address() 230 addr = ide_get_lba_addr(&cmd, lba48) + 1; idedisk_read_native_max_address() 239 static u64 idedisk_set_max_address(ide_drive_t *drive, u64 addr_req, int lba48) idedisk_set_max_address() argument 251 if (lba48) { idedisk_set_max_address() 264 if (lba48) { idedisk_set_max_address() 274 addr_set = ide_get_lba_addr(&cmd, lba48) + 1; idedisk_set_max_address() 297 static u64 ide_disk_hpa_get_native_capacity(ide_drive_t *drive, int lba48) ide_disk_hpa_get_native_capacity() argument 302 set_max = idedisk_read_native_max_address(drive, lba48); ide_disk_hpa_get_native_capacity() 316 static u64 ide_disk_hpa_set_capacity(ide_drive_t *drive, u64 set_max, int lba48) ide_disk_hpa_set_capacity() argument 318 set_max = idedisk_set_max_address(drive, set_max, lba48); ide_disk_hpa_set_capacity() 328 int lba48 = ata_id_lba48_enabled(drive->id); idedisk_check_hpa() local 331 set_max = ide_disk_hpa_get_native_capacity(drive, lba48); idedisk_check_hpa() 348 set_max = ide_disk_hpa_set_capacity(drive, set_max, lba48); idedisk_check_hpa() 412 int lba48 = ata_id_lba48_enabled(id); ide_disk_unlock_native_capacity() local 422 if (!ide_disk_hpa_get_native_capacity(drive, lba48)) ide_disk_unlock_native_capacity() 425 if (ide_disk_hpa_set_capacity(drive, drive->probed_capacity, lba48)) ide_disk_unlock_native_capacity()
|
H A D | ide-lib.c | 35 u64 ide_get_lba_addr(struct ide_cmd *cmd, int lba48) ide_get_lba_addr() argument 41 if (lba48) { ide_get_lba_addr() 55 u8 lba48 = !!(drive->dev_flags & IDE_DFLAG_LBA48); ide_dump_sector() local 58 if (lba48) { ide_dump_sector() 67 if (lba48 || (tf->device & ATA_LBA)) ide_dump_sector() 69 (unsigned long long)ide_get_lba_addr(&cmd, lba48)); ide_dump_sector()
|
/linux-4.4.14/drivers/block/aoe/ |
H A D | aoe.h | 74 DEVFL_EXT = (1<<2), /* device accepts lba48 commands */
|
H A D | aoecmd.c | 1005 /* word 100: number lba48 sectors */ ataid_complete()
|
/linux-4.4.14/drivers/ata/ |
H A D | libata-core.c | 656 int index, fua, lba48, write; ata_rwcmd_protocol() local 659 lba48 = (tf->flags & ATA_TFLAG_LBA48) ? 2 : 0; ata_rwcmd_protocol() 665 } else if (lba48 && (dev->link->ap->flags & ATA_FLAG_PIO_LBA48)) { ata_rwcmd_protocol() 674 cmd = ata_rw_cmds[index + fua + lba48 + write]; ata_rwcmd_protocol() 1226 int lba48 = ata_id_has_lba48(dev->id); ata_read_native_max_address() local 1233 if (lba48) { ata_read_native_max_address() 1252 if (lba48) ata_read_native_max_address() 1277 int lba48 = ata_id_has_lba48(dev->id); ata_set_max_sectors() local 1285 if (lba48) { ata_set_max_sectors()
|
H A D | sata_qstor.c | 96 QS_DF_ELBA = (1 << 3), /* Extended LBA (lba48) */
|
Completed in 393 milliseconds