• Home
  • Raw
  • Download

Lines Matching refs:tf

35 	tp_ops->tf_read(drive, &cmd->tf, cmd->valid.in.tf);  in ide_tf_readback()
49 s, cmd->tf.feature, cmd->tf.nsect, in ide_tf_dump()
50 cmd->tf.lbal, cmd->tf.lbam, cmd->tf.lbah, in ide_tf_dump()
51 cmd->tf.device, cmd->tf.command); in ide_tf_dump()
62 cmd.tf.nsect = 0x01; in taskfile_lib_get_identify()
64 cmd.tf.command = ATA_CMD_ID_ATA; in taskfile_lib_get_identify()
66 cmd.tf.command = ATA_CMD_ID_ATAPI; in taskfile_lib_get_identify()
67 cmd.valid.out.tf = IDE_VALID_OUT_TF | IDE_VALID_DEVICE; in taskfile_lib_get_identify()
68 cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in taskfile_lib_get_identify()
82 struct ide_taskfile *tf = &cmd->tf; in do_rw_taskfile() local
104 u8 data[2] = { cmd->tf.data, cmd->hob.data }; in do_rw_taskfile()
109 if (cmd->valid.out.tf & IDE_VALID_DEVICE) { in do_rw_taskfile()
114 cmd->tf.device &= HIHI; in do_rw_taskfile()
115 cmd->tf.device |= drive->select; in do_rw_taskfile()
119 tp_ops->tf_load(drive, &cmd->tf, cmd->valid.out.tf); in do_rw_taskfile()
125 tp_ops->exec_command(hwif, tf->command); in do_rw_taskfile()
152 struct ide_taskfile *tf = &cmd->tf; in task_no_data_intr() local
154 int retries = (custom && tf->command == ATA_CMD_INIT_DEV_PARAMS) ? 5 : 1; in task_no_data_intr()
167 if (custom && tf->command == ATA_CMD_SET_MULTI) { in task_no_data_intr()
172 } else if (custom && tf->command == ATA_CMD_INIT_DEV_PARAMS) { in task_no_data_intr()
182 if (custom && tf->command == ATA_CMD_SET_MULTI) in task_no_data_intr()
185 if (custom == 0 || tf->command == ATA_CMD_IDLEIMMEDIATE || in task_no_data_intr()
186 tf->command == ATA_CMD_CHK_POWER) { in task_no_data_intr()
328 u8 err = ide_read_error(drive), nsect = cmd->tf.nsect; in ide_finish_cmd()
525 memcpy(&cmd.tf, req_task->io_ports, HDIO_DRIVE_TASK_HDR_SIZE); in ide_taskfile_ioctl()
527 cmd.valid.out.tf = IDE_VALID_DEVICE; in ide_taskfile_ioctl()
528 cmd.valid.in.tf = IDE_VALID_DEVICE | IDE_VALID_IN_TF; in ide_taskfile_ioctl()
552 cmd.valid.out.tf |= IDE_VALID_FEATURE; in ide_taskfile_ioctl()
554 cmd.valid.out.tf |= IDE_VALID_NSECT; in ide_taskfile_ioctl()
556 cmd.valid.out.tf |= IDE_VALID_LBAL; in ide_taskfile_ioctl()
558 cmd.valid.out.tf |= IDE_VALID_LBAM; in ide_taskfile_ioctl()
560 cmd.valid.out.tf |= IDE_VALID_LBAH; in ide_taskfile_ioctl()
562 cmd.valid.out.tf |= IDE_VALID_OUT_TF; in ide_taskfile_ioctl()
628 nsect = (cmd.hob.nsect << 8) | cmd.tf.nsect; in ide_taskfile_ioctl()
641 memcpy(req_task->io_ports, &cmd.tf, HDIO_DRIVE_TASK_HDR_SIZE); in ide_taskfile_ioctl()