Lines Matching refs:tp_ops
22 hwif->tp_ops->read_status(hwif) == ATA_CMD_INIT_DEV_PARAMS) in ide_ata_error()
48 if (hwif->tp_ops->read_status(hwif) & (ATA_BUSY | ATA_DRQ)) in ide_ata_error()
77 if (hwif->tp_ops->read_status(hwif) & (ATA_BUSY | ATA_DRQ)) in ide_atapi_error()
79 hwif->tp_ops->exec_command(hwif, ATA_CMD_IDLEIMMEDIATE); in ide_atapi_error()
171 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in atapi_reset_pollfunc() local
174 tp_ops->dev_select(drive); in atapi_reset_pollfunc()
176 stat = tp_ops->read_status(hwif); in atapi_reset_pollfunc()
240 tmp = hwif->tp_ops->read_status(hwif); in reset_pollfunc()
339 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in do_reset1() local
354 tp_ops->dev_select(drive); in do_reset1()
356 tp_ops->exec_command(hwif, ATA_CMD_DEV_RESET); in do_reset1()
409 tp_ops->write_devctl(hwif, ATA_SRST | ATA_NIEN | ATA_DEVCTL_OBS); in do_reset1()
413 tp_ops->write_devctl(hwif, in do_reset1()