Lines Matching refs:tf
12 struct ide_taskfile *tf = &cmd.tf; in smart_enable() local
15 tf->feature = ATA_SMART_ENABLE; in smart_enable()
16 tf->lbam = ATA_SMART_LBAM_PASS; in smart_enable()
17 tf->lbah = ATA_SMART_LBAH_PASS; in smart_enable()
18 tf->command = ATA_CMD_SMART; in smart_enable()
19 cmd.valid.out.tf = IDE_VALID_OUT_TF | IDE_VALID_DEVICE; in smart_enable()
20 cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in smart_enable()
28 struct ide_taskfile *tf = &cmd.tf; in get_smart_data() local
31 tf->feature = sub_cmd; in get_smart_data()
32 tf->nsect = 0x01; in get_smart_data()
33 tf->lbam = ATA_SMART_LBAM_PASS; in get_smart_data()
34 tf->lbah = ATA_SMART_LBAH_PASS; in get_smart_data()
35 tf->command = ATA_CMD_SMART; in get_smart_data()
36 cmd.valid.out.tf = IDE_VALID_OUT_TF | IDE_VALID_DEVICE; in get_smart_data()
37 cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in get_smart_data()