Lines Matching +full:tf +full:- +full:a
1 // SPDX-License-Identifier: GPL-2.0-only
12 struct ide_taskfile *tf = &cmd->tf; in ide_get_lba_addr() local
15 low = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
17 tf = &cmd->hob; in ide_get_lba_addr()
18 high = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
20 high = tf->device & 0xf; in ide_get_lba_addr()
29 struct ide_taskfile *tf = &cmd.tf; in ide_dump_sector() local
30 u8 lba48 = !!(drive->dev_flags & IDE_DFLAG_LBA48); in ide_dump_sector()
34 cmd.valid.in.tf = IDE_VALID_LBA; in ide_dump_sector()
38 cmd.valid.in.tf = IDE_VALID_LBA | IDE_VALID_DEVICE; in ide_dump_sector()
42 if (lba48 || (tf->device & ATA_LBA)) in ide_dump_sector()
46 printk(KERN_CONT ", CHS=%d/%d/%d", (tf->lbah << 8) + tf->lbam, in ide_dump_sector()
47 tf->device & 0xf, tf->lbal); in ide_dump_sector()
69 struct request *rq = drive->hwif->rq; in ide_dump_ata_error()
98 * ide_dump_status - translate ATA/ATAPI error
103 * Error reporting, in human readable form (luxurious, but a memory hog).
104 * Combines the drive name, message and status byte to provide a
112 printk(KERN_ERR "%s: %s: status=0x%02x { ", drive->name, msg, stat); in ide_dump_status()
134 printk(KERN_ERR "%s: %s: error=0x%02x ", drive->name, msg, err); in ide_dump_status()
135 if (drive->media == ide_disk) in ide_dump_status()
142 drive->name, drive->hwif->cmd.tf.command); in ide_dump_status()