Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ide/
Dide-acpi.c23 #define REGS_PER_GTF 7 macro
278 out_obj->buffer.length % REGS_PER_GTF) { in do_drive_get_GTF()
312 int gtf_count = gtf_length / REGS_PER_GTF; in do_drive_set_taskfiles()
320 u8 *gtf = (u8 *)(gtf_address + ix * REGS_PER_GTF); in do_drive_set_taskfiles()
335 memcpy(&cmd.tf.feature, gtf, REGS_PER_GTF); in do_drive_set_taskfiles()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-acpi.c31 #define REGS_PER_GTF 7 macro
33 u8 tf[REGS_PER_GTF]; /* regs. 0x1f1 - 0x1f7 */
456 if (out_obj->buffer.length % REGS_PER_GTF) { in ata_dev_get_GTF()
464 rc = out_obj->buffer.length / REGS_PER_GTF; in ata_dev_get_GTF()