/Linux-v5.10/drivers/ide/ |
D | ide-iops.c | 43 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_ERROR); in ide_read_error() 110 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in __ide_wait_stat() local 117 stat = tp_ops->read_status(hwif); in __ide_wait_stat() 125 while ((stat = tp_ops->read_status(hwif)) & ATA_BUSY) { in __ide_wait_stat() 132 stat = tp_ops->read_status(hwif); in __ide_wait_stat() 154 stat = tp_ops->read_status(hwif); in __ide_wait_stat() 351 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_config_drive_speed() local 374 tp_ops->dev_select(drive); in ide_config_drive_speed() 377 tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); in ide_config_drive_speed() 383 tp_ops->tf_load(drive, &tf, IDE_VALID_FEATURE | IDE_VALID_NSECT); in ide_config_drive_speed() [all …]
|
D | ide-eh.c | 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() [all …]
|
D | ide-probe.c | 203 hwif->tp_ops->input_data(drive, NULL, id, SECTOR_SIZE); in do_identify() 256 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_dev_read_id() local 266 tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); in ide_dev_read_id() 276 a = tp_ops->read_altstatus(hwif); in ide_dev_read_id() 277 s = tp_ops->read_status(hwif); in ide_dev_read_id() 296 tp_ops->tf_load(drive, &tf, IDE_VALID_FEATURE); in ide_dev_read_id() 300 tp_ops->exec_command(hwif, cmd); in ide_dev_read_id() 315 s = tp_ops->read_status(hwif); in ide_dev_read_id() 324 (void)tp_ops->read_status(hwif); in ide_dev_read_id() 341 stat = altstatus ? hwif->tp_ops->read_altstatus(hwif) in ide_busy_sleep() [all …]
|
D | ide-taskfile.c | 32 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_tf_readback() local 35 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_tf_readback() 37 tp_ops->tf_read(drive, &cmd->tf, cmd->valid.in.tf); in ide_tf_readback() 40 tp_ops->write_devctl(hwif, ATA_HOB | ATA_DEVCTL_OBS); in ide_tf_readback() 42 tp_ops->tf_read(drive, &cmd->hob, cmd->valid.in.hob); in ide_tf_readback() 86 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in do_rw_taskfile() local 103 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in do_rw_taskfile() 108 tp_ops->output_data(drive, cmd, data, 2); in do_rw_taskfile() 120 tp_ops->tf_load(drive, &cmd->hob, cmd->valid.out.hob); in do_rw_taskfile() 121 tp_ops->tf_load(drive, &cmd->tf, cmd->valid.out.tf); in do_rw_taskfile() [all …]
|
D | ide-io.c | 86 const struct ide_tp_ops *tp_ops = drive->hwif->tp_ops; in ide_complete_cmd() local 97 tp_ops->input_data(drive, cmd, data, 2); in ide_complete_cmd() 340 drive->hwif->tp_ops->dev_select(drive); in start_request() 502 prev_port->tp_ops->write_devctl(prev_port, in ide_issue_rq() 595 stat = hwif->tp_ops->read_altstatus(hwif); in drive_is_ready() 598 stat = hwif->tp_ops->read_status(hwif); in drive_is_ready() 687 hwif->tp_ops->read_status(hwif)); in ide_timer_expiry() 738 u8 stat = hwif->tp_ops->read_status(hwif); in unexpected_intr() 828 (void)hwif->tp_ops->read_status(hwif); in ide_intr() 895 hwif->tp_ops->output_data(drive, NULL, buf, min(4, len)); in ide_pad_transfer() [all …]
|
D | ide-pm.c | 244 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_check_pm_state() local 253 tp_ops->dev_select(drive); in ide_check_pm_state() 254 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_check_pm_state()
|
D | ide-atapi.c | 354 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_NSECT | in ide_read_bcount_and_ireason() 391 (void)hwif->tp_ops->read_status(hwif); in ide_check_ireason() 422 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_pc_intr() local 434 stat = tp_ops->read_status(hwif); in ide_pc_intr() 574 drive->hwif->tp_ops->tf_read(drive, &tf, IDE_VALID_NSECT); in ide_read_ireason() 604 drive->hwif->tp_ops->output_data(drive, NULL, drive->pc->c, 12); in ide_delayed_transfer_pc() 681 hwif->tp_ops->output_data(drive, NULL, scsi_req(rq)->cmd, cmd_len); in ide_transfer_pc()
|
D | ns87415.c | 256 stat = hwif->tp_ops->read_status(hwif); in init_hwif_ns87415() 300 .tp_ops = &ns87415_tp_ops, 314 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 | q40ide.c | 115 .tp_ops = &q40ide_tp_ops,
|
D | falconide.c | 105 .tp_ops = &falconide_tp_ops,
|
D | trm290.c | 330 .tp_ops = &trm290_tp_ops,
|
D | tx4938ide.c | 123 .tp_ops = &tx4938ide_tp_ops,
|
D | ht6560b.c | 348 .tp_ops = &ht6560b_tp_ops,
|
D | pmac.c | 1002 .tp_ops = &pmac_tp_ops, 1029 d.tp_ops = &pmac_ata6_tp_ops; in pmac_ide_setup_device() 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()
|
D | ide-floppy_ioctl.c | 225 stat = hwif->tp_ops->read_status(hwif); in ide_floppy_get_format_progress()
|
D | qd65xx.c | 341 .tp_ops = &qd65xx_tp_ops,
|
D | tx4939ide.c | 528 .tp_ops = &tx4939ide_tp_ops,
|
D | ide-tape.c | 523 stat = hwif->tp_ops->read_status(hwif); in idetape_media_access_finished() 595 stat = hwif->tp_ops->read_status(hwif); in idetape_do_request()
|
D | ide-cd.c | 637 stat = hwif->tp_ops->read_status(hwif); in cdrom_newpc_intr()
|
/Linux-v5.10/include/linux/ |
D | ide.h | 753 const struct ide_tp_ops *tp_ops; member 1357 const struct ide_tp_ops *tp_ops; member
|