• Home
  • Raw
  • Download

Lines Matching refs:tf

37 	tp_ops->tf_read(drive, &cmd->tf, cmd->valid.in.tf);  in ide_tf_readback()
51 s, cmd->tf.feature, cmd->tf.nsect, in ide_tf_dump()
52 cmd->tf.lbal, cmd->tf.lbam, cmd->tf.lbah, in ide_tf_dump()
53 cmd->tf.device, cmd->tf.command); in ide_tf_dump()
64 cmd.tf.nsect = 0x01; in taskfile_lib_get_identify()
66 cmd.tf.command = ATA_CMD_ID_ATA; in taskfile_lib_get_identify()
68 cmd.tf.command = ATA_CMD_ID_ATAPI; in taskfile_lib_get_identify()
69 cmd.valid.out.tf = IDE_VALID_OUT_TF | IDE_VALID_DEVICE; in taskfile_lib_get_identify()
70 cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in taskfile_lib_get_identify()
84 struct ide_taskfile *tf = &cmd->tf; in do_rw_taskfile() local
106 u8 data[2] = { cmd->tf.data, cmd->hob.data }; in do_rw_taskfile()
111 if (cmd->valid.out.tf & IDE_VALID_DEVICE) { in do_rw_taskfile()
116 cmd->tf.device &= HIHI; in do_rw_taskfile()
117 cmd->tf.device |= drive->select; in do_rw_taskfile()
121 tp_ops->tf_load(drive, &cmd->tf, cmd->valid.out.tf); in do_rw_taskfile()
127 tp_ops->exec_command(hwif, tf->command); in do_rw_taskfile()
155 struct ide_taskfile *tf = &cmd->tf; in task_no_data_intr() local
157 int retries = (custom && tf->command == ATA_CMD_INIT_DEV_PARAMS) ? 5 : 1; in task_no_data_intr()
170 if (custom && tf->command == ATA_CMD_SET_MULTI) { in task_no_data_intr()
175 } else if (custom && tf->command == ATA_CMD_INIT_DEV_PARAMS) { in task_no_data_intr()
185 if (custom && tf->command == ATA_CMD_SET_MULTI) in task_no_data_intr()
188 if (custom == 0 || tf->command == ATA_CMD_IDLEIMMEDIATE || in task_no_data_intr()
189 tf->command == ATA_CMD_CHK_POWER) { in task_no_data_intr()
320 u8 err = ide_read_error(drive), nsect = cmd->tf.nsect; in ide_finish_cmd()
518 memcpy(&cmd.tf, req_task->io_ports, HDIO_DRIVE_TASK_HDR_SIZE); in ide_taskfile_ioctl()
520 cmd.valid.out.tf = IDE_VALID_DEVICE; in ide_taskfile_ioctl()
521 cmd.valid.in.tf = IDE_VALID_DEVICE | IDE_VALID_IN_TF; in ide_taskfile_ioctl()
545 cmd.valid.out.tf |= IDE_VALID_FEATURE; in ide_taskfile_ioctl()
547 cmd.valid.out.tf |= IDE_VALID_NSECT; in ide_taskfile_ioctl()
549 cmd.valid.out.tf |= IDE_VALID_LBAL; in ide_taskfile_ioctl()
551 cmd.valid.out.tf |= IDE_VALID_LBAM; in ide_taskfile_ioctl()
553 cmd.valid.out.tf |= IDE_VALID_LBAH; in ide_taskfile_ioctl()
555 cmd.valid.out.tf |= IDE_VALID_OUT_TF; in ide_taskfile_ioctl()
621 nsect = (cmd.hob.nsect << 8) | cmd.tf.nsect; in ide_taskfile_ioctl()
634 memcpy(req_task->io_ports, &cmd.tf, HDIO_DRIVE_TASK_HDR_SIZE); in ide_taskfile_ioctl()