Home
last modified time | relevance | path

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

/Linux-v4.19/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
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 …]
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.c202 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 …]
Dide-taskfile.c31 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 …]
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()
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 …]
Dide-pm.c261 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()
Dide-atapi.c337 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()
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()
463 hwif->tp_ops->read_status(hwif)); in ide_dma_timeout_retry()
471 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,
Dtrm290.c330 .tp_ops = &trm290_tp_ops,
Dtx4938ide.c123 .tp_ops = &tx4938ide_tp_ops,
Dht6560b.c347 .tp_ops = &ht6560b_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()
Dide-floppy_ioctl.c224 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,
Dide-tape.c522 stat = hwif->tp_ops->read_status(hwif); in idetape_media_access_finished()
594 stat = hwif->tp_ops->read_status(hwif); in idetape_do_request()
Dide-cd.c549 stat = hwif->tp_ops->read_status(hwif); in cdrom_newpc_intr()
/Linux-v4.19/include/linux/
Dide.h743 const struct ide_tp_ops *tp_ops; member
1341 const struct ide_tp_ops *tp_ops; member