Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/ide/
Dide-disk.c57 u8 index, lba48, write; in ide_tf_set_cmd() local
59 lba48 = (cmd->tf_flags & IDE_TFLAG_LBA48) ? 2 : 0; in ide_tf_set_cmd()
74 cmd->tf.command = ide_rw_cmds[index + lba48 + write]; in ide_tf_set_cmd()
86 u8 lba48 = !!(drive->dev_flags & IDE_DFLAG_LBA48); in __ide_do_rw_disk() local
92 if ((hwif->host_flags & IDE_HFLAG_NO_LBA48_DMA) && lba48 && dma) { in __ide_do_rw_disk()
96 lba48 = 0; in __ide_do_rw_disk()
104 if (lba48) { in __ide_do_rw_disk()
206 static u64 idedisk_read_native_max_address(ide_drive_t *drive, int lba48) in idedisk_read_native_max_address() argument
213 if (lba48) in idedisk_read_native_max_address()
221 if (lba48) { in idedisk_read_native_max_address()
[all …]
Dide-lib.c35 u64 ide_get_lba_addr(struct ide_cmd *cmd, int lba48) in ide_get_lba_addr() argument
41 if (lba48) { in ide_get_lba_addr()
55 u8 lba48 = !!(drive->dev_flags & IDE_DFLAG_LBA48); in ide_dump_sector() local
58 if (lba48) { in ide_dump_sector()
67 if (lba48 || (tf->device & ATA_LBA)) in ide_dump_sector()
69 (unsigned long long)ide_get_lba_addr(&cmd, lba48)); in ide_dump_sector()
/linux-3.4.99/drivers/ata/
Dlibata-core.c649 int index, fua, lba48, write; in ata_rwcmd_protocol() local
652 lba48 = (tf->flags & ATA_TFLAG_LBA48) ? 2 : 0; in ata_rwcmd_protocol()
658 } else if (lba48 && (dev->link->ap->flags & ATA_FLAG_PIO_LBA48)) { in ata_rwcmd_protocol()
667 cmd = ata_rw_cmds[index + fua + lba48 + write]; in ata_rwcmd_protocol()
1214 int lba48 = ata_id_has_lba48(dev->id); in ata_read_native_max_address() local
1221 if (lba48) { in ata_read_native_max_address()
1240 if (lba48) in ata_read_native_max_address()
1265 int lba48 = ata_id_has_lba48(dev->id); in ata_set_max_sectors() local
1273 if (lba48) { in ata_set_max_sectors()
/linux-3.4.99/Documentation/ioctl/
Dhdio.txt1044 EIO Drive does not support lba48 mode.