Lines Matching refs:tp_ops

202 	hwif->tp_ops->input_data(drive, NULL, id, SECTOR_SIZE);  in do_identify()
255 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_dev_read_id() local
265 tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); in ide_dev_read_id()
275 a = tp_ops->read_altstatus(hwif); in ide_dev_read_id()
276 s = tp_ops->read_status(hwif); in ide_dev_read_id()
295 tp_ops->tf_load(drive, &tf, IDE_VALID_FEATURE); in ide_dev_read_id()
299 tp_ops->exec_command(hwif, cmd); in ide_dev_read_id()
314 s = tp_ops->read_status(hwif); in ide_dev_read_id()
323 (void)tp_ops->read_status(hwif); in ide_dev_read_id()
340 stat = altstatus ? hwif->tp_ops->read_altstatus(hwif) in ide_busy_sleep()
341 : hwif->tp_ops->read_status(hwif); in ide_busy_sleep()
355 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_DEVICE); in ide_read_device()
384 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in do_probe() local
403 tp_ops->dev_select(drive); in do_probe()
409 tp_ops->dev_select(hwif->devices[0]); in do_probe()
417 stat = tp_ops->read_status(hwif); in do_probe()
426 stat = tp_ops->read_status(hwif); in do_probe()
435 tp_ops->dev_select(drive); in do_probe()
437 tp_ops->exec_command(hwif, ATA_CMD_DEV_RESET); in do_probe()
443 stat = tp_ops->read_status(hwif); in do_probe()
454 tp_ops->dev_select(hwif->devices[0]); in do_probe()
457 (void)tp_ops->read_status(hwif); in do_probe()
600 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_port_wait_ready() local
623 tp_ops->dev_select(drive); in ide_port_wait_ready()
624 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_port_wait_ready()
636 tp_ops->dev_select(hwif->devices[0]); in ide_port_wait_ready()
848 hwif->tp_ops->read_status(hwif); in ide_host_enable_irqs()
852 hwif->tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_host_enable_irqs()
1075 if (d->tp_ops) in ide_init_port()
1076 hwif->tp_ops = d->tp_ops; in ide_init_port()
1189 hwif->tp_ops = &default_tp_ops; in ide_init_port_data()