Home
last modified time | relevance | path

Searched refs:tp_ops (Results 1 – 23 of 23) sorted by relevance

/drivers/ide/
Dide-iops.c42 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 …]
Dide-eh.c21 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 …]
Dide-probe.c201 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 …]
Dide-taskfile.c30 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 …]
Dide-io.c76 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 …]
Dide-pm.c228 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()
Dide-atapi.c327 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()
Dns87415.c255 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()
Dide-dma.c100 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()
Dfalconide.c110 .tp_ops = &falconide_tp_ops,
Dq40ide.c115 .tp_ops = &q40ide_tp_ops,
Dpmac.c1006 .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()
Dht6560b.c347 .tp_ops = &ht6560b_tp_ops,
Dtx4938ide.c123 .tp_ops = &tx4938ide_tp_ops,
Dtrm290.c330 .tp_ops = &trm290_tp_ops,
Dide-floppy_ioctl.c223 stat = hwif->tp_ops->read_status(hwif); in ide_floppy_get_format_progress()
Dqd65xx.c340 .tp_ops = &qd65xx_tp_ops,
Dsgiioc4.c526 .tp_ops = &sgiioc4_tp_ops,
Dau1xxx-ide.c485 .tp_ops = &au1xxx_tp_ops,
Dtx4939ide.c530 .tp_ops = &tx4939ide_tp_ops,
Dscc_pata.c817 .tp_ops = &scc_tp_ops,
Dide-tape.c522 stat = hwif->tp_ops->read_status(hwif); in idetape_media_access_finished()
592 stat = hwif->tp_ops->read_status(hwif); in idetape_do_request()
Dide-cd.c551 stat = hwif->tp_ops->read_status(hwif); in cdrom_newpc_intr()