/Linux-v4.19/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 116 stat = tp_ops->read_status(hwif); in __ide_wait_stat() 124 while ((stat = tp_ops->read_status(hwif)) & ATA_BUSY) { in __ide_wait_stat() 131 stat = tp_ops->read_status(hwif); in __ide_wait_stat() 153 stat = tp_ops->read_status(hwif); in __ide_wait_stat() 350 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_config_drive_speed() local 373 tp_ops->dev_select(drive); in ide_config_drive_speed() 376 tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); in ide_config_drive_speed() 382 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 | 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() [all …]
|
D | ide-taskfile.c | 31 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_tf_readback() local 34 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_tf_readback() 36 tp_ops->tf_read(drive, &cmd->tf, cmd->valid.in.tf); in ide_tf_readback() 39 tp_ops->write_devctl(hwif, ATA_HOB | ATA_DEVCTL_OBS); in ide_tf_readback() 41 tp_ops->tf_read(drive, &cmd->hob, cmd->valid.in.hob); in ide_tf_readback() 85 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in do_rw_taskfile() local 102 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in do_rw_taskfile() 107 tp_ops->output_data(drive, cmd, data, 2); in do_rw_taskfile() 119 tp_ops->tf_load(drive, &cmd->hob, cmd->valid.out.hob); in do_rw_taskfile() 120 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() 497 prev_port->tp_ops->write_devctl(prev_port, in do_ide_request() 583 stat = hwif->tp_ops->read_altstatus(hwif); in drive_is_ready() 586 stat = hwif->tp_ops->read_status(hwif); in drive_is_ready() 675 hwif->tp_ops->read_status(hwif)); in ide_timer_expiry() 726 u8 stat = hwif->tp_ops->read_status(hwif); in unexpected_intr() 816 (void)hwif->tp_ops->read_status(hwif); in ide_intr() 883 hwif->tp_ops->output_data(drive, NULL, buf, min(4, len)); in ide_pad_transfer() [all …]
|
D | ide-pm.c | 261 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_check_pm_state() local 271 tp_ops->dev_select(drive); in ide_check_pm_state() 272 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_check_pm_state()
|
D | ide-atapi.c | 337 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_NSECT | in ide_read_bcount_and_ireason() 374 (void)hwif->tp_ops->read_status(hwif); in ide_check_ireason() 405 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_pc_intr() local 417 stat = tp_ops->read_status(hwif); in ide_pc_intr() 557 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_NSECT); in ide_read_ireason() 587 drive->hwif->tp_ops->output_data(drive, NULL, drive->pc->c, 12); in ide_delayed_transfer_pc() 664 hwif->tp_ops->output_data(drive, NULL, scsi_req(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() 463 hwif->tp_ops->read_status(hwif)); in ide_dma_timeout_retry() 471 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 | trm290.c | 330 .tp_ops = &trm290_tp_ops,
|
D | tx4938ide.c | 123 .tp_ops = &tx4938ide_tp_ops,
|
D | ht6560b.c | 347 .tp_ops = &ht6560b_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 | ide-floppy_ioctl.c | 224 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 | ide-tape.c | 522 stat = hwif->tp_ops->read_status(hwif); in idetape_media_access_finished() 594 stat = hwif->tp_ops->read_status(hwif); in idetape_do_request()
|
D | ide-cd.c | 549 stat = hwif->tp_ops->read_status(hwif); in cdrom_newpc_intr()
|
/Linux-v4.19/include/linux/ |
D | ide.h | 743 const struct ide_tp_ops *tp_ops; member 1341 const struct ide_tp_ops *tp_ops; member
|