• Home
  • Raw
  • Download

Lines Matching refs:tp_ops

201 	hwif->tp_ops->input_data(drive, NULL, id, SECTOR_SIZE);  in do_identify()
254 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_dev_read_id() local
264 tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); in ide_dev_read_id()
274 a = tp_ops->read_altstatus(hwif); in ide_dev_read_id()
275 s = tp_ops->read_status(hwif); in ide_dev_read_id()
294 tp_ops->tf_load(drive, &tf, IDE_VALID_FEATURE); in ide_dev_read_id()
298 tp_ops->exec_command(hwif, cmd); in ide_dev_read_id()
313 s = tp_ops->read_status(hwif); in ide_dev_read_id()
322 (void)tp_ops->read_status(hwif); in ide_dev_read_id()
339 stat = altstatus ? hwif->tp_ops->read_altstatus(hwif) in ide_busy_sleep()
340 : hwif->tp_ops->read_status(hwif); in ide_busy_sleep()
354 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_DEVICE); in ide_read_device()
383 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in do_probe() local
402 tp_ops->dev_select(drive); in do_probe()
408 tp_ops->dev_select(hwif->devices[0]); in do_probe()
416 stat = tp_ops->read_status(hwif); in do_probe()
425 stat = tp_ops->read_status(hwif); in do_probe()
434 tp_ops->dev_select(drive); in do_probe()
436 tp_ops->exec_command(hwif, ATA_CMD_DEV_RESET); in do_probe()
442 stat = tp_ops->read_status(hwif); in do_probe()
453 tp_ops->dev_select(hwif->devices[0]); in do_probe()
456 (void)tp_ops->read_status(hwif); in do_probe()
599 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_port_wait_ready() local
622 tp_ops->dev_select(drive); in ide_port_wait_ready()
623 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_port_wait_ready()
635 tp_ops->dev_select(hwif->devices[0]); in ide_port_wait_ready()
835 hwif->tp_ops->read_status(hwif); in ide_host_enable_irqs()
839 hwif->tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_host_enable_irqs()
1061 if (d->tp_ops) in ide_init_port()
1062 hwif->tp_ops = d->tp_ops; in ide_init_port()
1175 hwif->tp_ops = &default_tp_ops; in ide_init_port_data()