Lines Matching refs:hwif
61 ide_hwif_t *hwif = drive->hwif; in ide_rate_filter() local
65 if (hwif->pio_mask) in ide_rate_filter()
66 mode = fls(hwif->pio_mask) - 1 + XFER_PIO_0; in ide_rate_filter()
97 if ((drive->hwif->host_flags & IDE_HFLAG_PIO_NO_BLACKLIST) == 0) in ide_get_best_pio_mode()
138 ide_hwif_t *hwif = drive->hwif; in ide_set_pio() local
139 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_set_pio()
143 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)) in ide_set_pio()
146 BUG_ON(hwif->pio_mask == 0x00); in ide_set_pio()
148 host_pio = fls(hwif->pio_mask) - 1; in ide_set_pio()
181 struct device *dev = drive->hwif->dev; in ide_toggle_bounce()
193 ide_hwif_t *hwif = drive->hwif; in ide_set_pio_mode() local
194 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_set_pio_mode()
196 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE) in ide_set_pio_mode()
211 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) { in ide_set_pio_mode()
224 ide_hwif_t *hwif = drive->hwif; in ide_set_dma_mode() local
225 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_set_dma_mode()
227 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE) in ide_set_dma_mode()
233 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) { in ide_set_dma_mode()
257 ide_hwif_t *hwif = drive->hwif; in ide_set_xfer_rate() local
258 const struct ide_port_ops *port_ops = hwif->port_ops; in ide_set_xfer_rate()
261 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)) in ide_set_xfer_rate()
276 struct request *rq = drive->hwif->rq; in ide_dump_opcode()
320 drive->hwif->tp_ops->tf_read(drive, &task); in ide_dump_sector()
349 struct request *rq = drive->hwif->rq; in ide_dump_ata_error()