/drivers/ide/ |
D | ide-iops.c | 42 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_ERROR); in ide_read_error() 109 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in __ide_wait_stat() local 115 stat = tp_ops->read_status(hwif); in __ide_wait_stat() 121 while ((stat = tp_ops->read_status(hwif)) & ATA_BUSY) { in __ide_wait_stat() 128 stat = tp_ops->read_status(hwif); in __ide_wait_stat() 148 stat = tp_ops->read_status(hwif); in __ide_wait_stat() 345 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_config_drive_speed() local 368 tp_ops->dev_select(drive); in ide_config_drive_speed() 371 tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); in ide_config_drive_speed() 377 tp_ops->tf_load(drive, &tf, IDE_VALID_FEATURE | IDE_VALID_NSECT); in ide_config_drive_speed() [all …]
|
D | ide-eh.c | 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() [all …]
|
D | ide-probe.c | 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() [all …]
|
D | ide-taskfile.c | 30 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_tf_readback() local 33 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_tf_readback() 35 tp_ops->tf_read(drive, &cmd->tf, cmd->valid.in.tf); in ide_tf_readback() 38 tp_ops->write_devctl(hwif, ATA_HOB | ATA_DEVCTL_OBS); in ide_tf_readback() 40 tp_ops->tf_read(drive, &cmd->hob, cmd->valid.in.hob); in ide_tf_readback() 84 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in do_rw_taskfile() local 101 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in do_rw_taskfile() 106 tp_ops->output_data(drive, cmd, data, 2); in do_rw_taskfile() 118 tp_ops->tf_load(drive, &cmd->hob, cmd->valid.out.hob); in do_rw_taskfile() 119 tp_ops->tf_load(drive, &cmd->tf, cmd->valid.out.tf); in do_rw_taskfile() [all …]
|
D | ide-io.c | 76 const struct ide_tp_ops *tp_ops = drive->hwif->tp_ops; in ide_complete_cmd() local 87 tp_ops->input_data(drive, cmd, data, 2); in ide_complete_cmd() 326 drive->hwif->tp_ops->dev_select(drive); in start_request() 501 prev_port->tp_ops->write_devctl(prev_port, in do_ide_request() 586 stat = hwif->tp_ops->read_altstatus(hwif); in drive_is_ready() 589 stat = hwif->tp_ops->read_status(hwif); in drive_is_ready() 679 hwif->tp_ops->read_status(hwif)); in ide_timer_expiry() 729 u8 stat = hwif->tp_ops->read_status(hwif); in unexpected_intr() 819 (void)hwif->tp_ops->read_status(hwif); in ide_intr() 886 hwif->tp_ops->output_data(drive, NULL, buf, min(4, len)); in ide_pad_transfer() [all …]
|
D | ide-pm.c | 228 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_check_pm_state() local 238 tp_ops->dev_select(drive); in ide_check_pm_state() 239 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_check_pm_state()
|
D | ide-atapi.c | 327 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_NSECT | in ide_read_bcount_and_ireason() 364 (void)hwif->tp_ops->read_status(hwif); in ide_check_ireason() 395 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_pc_intr() local 407 stat = tp_ops->read_status(hwif); in ide_pc_intr() 546 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_NSECT); in ide_read_ireason() 576 drive->hwif->tp_ops->output_data(drive, NULL, drive->pc->c, 12); in ide_delayed_transfer_pc() 653 hwif->tp_ops->output_data(drive, NULL, rq->cmd, cmd_len); in ide_transfer_pc()
|
D | ns87415.c | 255 stat = hwif->tp_ops->read_status(hwif); in init_hwif_ns87415() 299 .tp_ops = &ns87415_tp_ops, 313 d.tp_ops = &superio_tp_ops; in ns87415_init_one()
|
D | ide-dma.c | 100 stat = hwif->tp_ops->read_status(hwif); in ide_dma_intr() 465 hwif->tp_ops->read_status(hwif)); in ide_dma_timeout_retry() 473 hwif->tp_ops->read_status(hwif)); in ide_dma_timeout_retry()
|
D | falconide.c | 110 .tp_ops = &falconide_tp_ops,
|
D | q40ide.c | 115 .tp_ops = &q40ide_tp_ops,
|
D | pmac.c | 1006 .tp_ops = &pmac_tp_ops, 1034 d.tp_ops = &pmac_ata6_tp_ops; in pmac_ide_setup_device() 1039 d.tp_ops = &pmac_ata6_tp_ops; in pmac_ide_setup_device() 1044 d.tp_ops = &pmac_ata6_tp_ops; in pmac_ide_setup_device()
|
D | ht6560b.c | 347 .tp_ops = &ht6560b_tp_ops,
|
D | tx4938ide.c | 123 .tp_ops = &tx4938ide_tp_ops,
|
D | trm290.c | 330 .tp_ops = &trm290_tp_ops,
|
D | ide-floppy_ioctl.c | 223 stat = hwif->tp_ops->read_status(hwif); in ide_floppy_get_format_progress()
|
D | qd65xx.c | 340 .tp_ops = &qd65xx_tp_ops,
|
D | sgiioc4.c | 526 .tp_ops = &sgiioc4_tp_ops,
|
D | au1xxx-ide.c | 485 .tp_ops = &au1xxx_tp_ops,
|
D | tx4939ide.c | 530 .tp_ops = &tx4939ide_tp_ops,
|
D | scc_pata.c | 817 .tp_ops = &scc_tp_ops,
|
D | ide-tape.c | 522 stat = hwif->tp_ops->read_status(hwif); in idetape_media_access_finished() 592 stat = hwif->tp_ops->read_status(hwif); in idetape_do_request()
|
D | ide-cd.c | 551 stat = hwif->tp_ops->read_status(hwif); in cdrom_newpc_intr()
|