Lines Matching refs:tp_ops
203 hwif->tp_ops->input_data(drive, NULL, id, SECTOR_SIZE); in do_identify()
256 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_dev_read_id() local
266 tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); in ide_dev_read_id()
276 a = tp_ops->read_altstatus(hwif); in ide_dev_read_id()
277 s = tp_ops->read_status(hwif); in ide_dev_read_id()
296 tp_ops->tf_load(drive, &tf, IDE_VALID_FEATURE); in ide_dev_read_id()
300 tp_ops->exec_command(hwif, cmd); in ide_dev_read_id()
315 s = tp_ops->read_status(hwif); in ide_dev_read_id()
324 (void)tp_ops->read_status(hwif); in ide_dev_read_id()
341 stat = altstatus ? hwif->tp_ops->read_altstatus(hwif) in ide_busy_sleep()
342 : hwif->tp_ops->read_status(hwif); in ide_busy_sleep()
356 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_DEVICE); in ide_read_device()
385 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in do_probe() local
404 tp_ops->dev_select(drive); in do_probe()
410 tp_ops->dev_select(hwif->devices[0]); in do_probe()
418 stat = tp_ops->read_status(hwif); in do_probe()
427 stat = tp_ops->read_status(hwif); in do_probe()
436 tp_ops->dev_select(drive); in do_probe()
438 tp_ops->exec_command(hwif, ATA_CMD_DEV_RESET); in do_probe()
444 stat = tp_ops->read_status(hwif); in do_probe()
455 tp_ops->dev_select(hwif->devices[0]); in do_probe()
458 (void)tp_ops->read_status(hwif); in do_probe()
601 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_port_wait_ready() local
624 tp_ops->dev_select(drive); in ide_port_wait_ready()
625 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_port_wait_ready()
637 tp_ops->dev_select(hwif->devices[0]); in ide_port_wait_ready()
863 hwif->tp_ops->read_status(hwif); in ide_host_enable_irqs()
867 hwif->tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_host_enable_irqs()
1094 if (d->tp_ops) in ide_init_port()
1095 hwif->tp_ops = d->tp_ops; in ide_init_port()
1240 hwif->tp_ops = &default_tp_ops; in ide_init_port_data()