/linux-4.1.27/drivers/ata/ |
H A D | libata-acpi.c | 385 * @gtf: output parameter for buffer containing _GTF taskfile arrays 402 static int ata_dev_get_GTF(struct ata_device *dev, struct ata_acpi_gtf **gtf) ata_dev_get_GTF() argument 464 if (gtf) { ata_dev_get_GTF() 465 *gtf = (void *)out_obj->buffer.pointer; ata_dev_get_GTF() 467 ata_dev_dbg(dev, "%s: returning gtf=%p, gtf_count=%d\n", ata_dev_get_GTF() 468 __func__, *gtf, rc); ata_dev_get_GTF() 549 const struct ata_acpi_gtf *gtf, ata_acpi_gtf_to_tf() 556 tf->feature = gtf->tf[0]; /* 0x1f1 */ ata_acpi_gtf_to_tf() 557 tf->nsect = gtf->tf[1]; /* 0x1f2 */ ata_acpi_gtf_to_tf() 558 tf->lbal = gtf->tf[2]; /* 0x1f3 */ ata_acpi_gtf_to_tf() 559 tf->lbam = gtf->tf[3]; /* 0x1f4 */ ata_acpi_gtf_to_tf() 560 tf->lbah = gtf->tf[4]; /* 0x1f5 */ ata_acpi_gtf_to_tf() 561 tf->device = gtf->tf[5]; /* 0x1f6 */ ata_acpi_gtf_to_tf() 562 tf->command = gtf->tf[6]; /* 0x1f7 */ ata_acpi_gtf_to_tf() 625 * @gtf: raw ATA taskfile register set (0x1f1 - 0x1f7) 645 const struct ata_acpi_gtf *gtf, ata_acpi_run_tf() 656 if ((gtf->tf[0] == 0) && (gtf->tf[1] == 0) && (gtf->tf[2] == 0) ata_acpi_run_tf() 657 && (gtf->tf[3] == 0) && (gtf->tf[4] == 0) && (gtf->tf[5] == 0) ata_acpi_run_tf() 658 && (gtf->tf[6] == 0)) ata_acpi_run_tf() 661 ata_acpi_gtf_to_tf(dev, gtf, &tf); ata_acpi_run_tf() 727 struct ata_acpi_gtf *gtf = NULL, *pgtf = NULL; ata_acpi_exec_tfs() local 731 rc = ata_dev_get_GTF(dev, >f); ata_acpi_exec_tfs() 737 for (i = 0; i < gtf_count; i++, gtf++) { ata_acpi_exec_tfs() 738 rc = ata_acpi_run_tf(dev, gtf, pgtf); ata_acpi_exec_tfs() 743 pgtf = gtf; ata_acpi_exec_tfs() 548 ata_acpi_gtf_to_tf(struct ata_device *dev, const struct ata_acpi_gtf *gtf, struct ata_taskfile *tf) ata_acpi_gtf_to_tf() argument 644 ata_acpi_run_tf(struct ata_device *dev, const struct ata_acpi_gtf *gtf, const struct ata_acpi_gtf *prev_gtf) ata_acpi_run_tf() argument
|
H A D | ahci.c | 1570 /* apply gtf filter quirk */ ahci_init_one()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-acpi.c | 319 u8 *gtf = (u8 *)(gtf_address + ix * REGS_PER_GTF); do_drive_set_taskfiles() local 324 gtf[0], gtf[1], gtf[2], do_drive_set_taskfiles() 325 gtf[3], gtf[4], gtf[5], gtf[6]); do_drive_set_taskfiles() 334 memcpy(&cmd.tf.feature, gtf, REGS_PER_GTF); do_drive_set_taskfiles()
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | uvesafb.c | 604 if (info->monspecs.gtf) { uvesafb_is_valid_mode() 672 info->monspecs.gtf = 1; uvesafb_vbe_getedid() 696 info->monspecs.gtf = 0; uvesafb_vbe_getmonspecs() 712 if (info->monspecs.gtf == 0 && maxclk && maxvf && maxhf) { uvesafb_vbe_getmonspecs() 716 info->monspecs.gtf = 1; uvesafb_vbe_getmonspecs() 720 if (info->monspecs.gtf) uvesafb_vbe_getmonspecs() 1370 if (info->monspecs.gtf && !fb_get_mode(FB_MAXTIMINGS, 0, var, info)) uvesafb_check_limits()
|
/linux-4.1.27/drivers/video/fbdev/core/ |
H A D | fbmon.c | 710 specs->gtf = (GTF_SUPPORT) ? 1 : 0; fb_get_monitor_limits() 889 specs->gtf = 1; get_monspecs()
|
/linux-4.1.27/drivers/video/fbdev/nvidia/ |
H A D | nvidia.c | 830 if (!mode_valid && info->monspecs.gtf) { nvidiafb_check_var()
|
/linux-4.1.27/include/linux/ |
H A D | fb.h | 84 __u16 gtf : 1; /* supports GTF */ member in struct:fb_monspecs
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_edid.c | 2120 case 0x02: /* secondary gtf, XXX could do more */ do_inferred_modes() 2121 case 0x00: /* default gtf */ do_inferred_modes()
|
/linux-4.1.27/drivers/video/fbdev/i810/ |
H A D | i810_main.c | 1048 if (!mode_valid && info->monspecs.gtf && i810_check_params()
|
/linux-4.1.27/drivers/video/fbdev/riva/ |
H A D | fbdev.c | 1155 if (!mode_valid && info->monspecs.gtf) { rivafb_check_var()
|
/linux-4.1.27/drivers/video/fbdev/savage/ |
H A D | savagefb_driver.c | 913 if (!mode_valid && info->monspecs.gtf) { savagefb_check_var()
|