Lines Matching refs:hwif
29 ide_hwif_t *hwif = drive->hwif; in ide_tf_readback() local
30 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_tf_readback()
33 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_tf_readback()
38 tp_ops->write_devctl(hwif, ATA_HOB | ATA_DEVCTL_OBS); in ide_tf_readback()
80 ide_hwif_t *hwif = drive->hwif; in do_rw_taskfile() local
81 struct ide_cmd *cmd = &hwif->cmd; in do_rw_taskfile()
84 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in do_rw_taskfile()
85 const struct ide_dma_ops *dma_ops = hwif->dma_ops; in do_rw_taskfile()
101 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in do_rw_taskfile()
125 tp_ops->exec_command(hwif, tf->command); in do_rw_taskfile()
139 hwif->expiry = dma_ops->dma_timer_expiry; in do_rw_taskfile()
150 ide_hwif_t *hwif = drive->hwif; in task_no_data_intr() local
151 struct ide_cmd *cmd = &hwif->cmd; in task_no_data_intr()
160 stat = hwif->tp_ops->read_status(hwif); in task_no_data_intr()
187 struct request *rq = hwif->rq; in task_no_data_intr()
200 ide_hwif_t *hwif = drive->hwif; in wait_drive_not_busy() local
209 stat = hwif->tp_ops->read_status(hwif); in wait_drive_not_busy()
226 ide_hwif_t *hwif = drive->hwif; in ide_pio_bytes() local
227 struct scatterlist *sg = hwif->sg_table; in ide_pio_bytes()
267 hwif->tp_ops->output_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes()
269 hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); in ide_pio_bytes()
326 struct request *rq = drive->hwif->rq; in ide_finish_cmd()
346 ide_hwif_t *hwif = drive->hwif; in task_pio_intr() local
347 struct ide_cmd *cmd = &drive->hwif->cmd; in task_pio_intr()
348 u8 stat = hwif->tp_ops->read_status(hwif); in task_pio_intr()