Lines Matching refs:tp_ops
21 hwif->tp_ops->read_status(hwif) == ATA_CMD_INIT_DEV_PARAMS) in ide_ata_error()
47 if (hwif->tp_ops->read_status(hwif) & (ATA_BUSY | ATA_DRQ)) in ide_ata_error()
76 if (hwif->tp_ops->read_status(hwif) & (ATA_BUSY | ATA_DRQ)) in ide_atapi_error()
78 hwif->tp_ops->exec_command(hwif, ATA_CMD_IDLEIMMEDIATE); in ide_atapi_error()
170 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in atapi_reset_pollfunc() local
173 tp_ops->dev_select(drive); in atapi_reset_pollfunc()
175 stat = tp_ops->read_status(hwif); in atapi_reset_pollfunc()
239 tmp = hwif->tp_ops->read_status(hwif); in reset_pollfunc()
338 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in do_reset1() local
353 tp_ops->dev_select(drive); in do_reset1()
355 tp_ops->exec_command(hwif, ATA_CMD_DEV_RESET); in do_reset1()
408 tp_ops->write_devctl(hwif, ATA_SRST | ATA_NIEN | ATA_DEVCTL_OBS); in do_reset1()
412 tp_ops->write_devctl(hwif, in do_reset1()