Lines Matching refs:hwif
69 if ((drive->hwif->host_flags & IDE_HFLAG_PIO_NO_BLACKLIST) == 0)
115 if (pio == 0 && (drive->hwif->port_flags & IDE_PFLAG_PROBING))
123 ide_hwif_t *hwif = drive->hwif;
124 const struct ide_port_ops *port_ops = hwif->port_ops;
126 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)
138 port_ops->set_pio_mode(hwif, drive);
142 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) {
146 port_ops->set_pio_mode(hwif, drive);
150 port_ops->set_pio_mode(hwif, drive);
157 ide_hwif_t *hwif = drive->hwif;
158 const struct ide_port_ops *port_ops = hwif->port_ops;
160 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)
166 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) {
170 port_ops->set_dma_mode(hwif, drive);
174 port_ops->set_dma_mode(hwif, drive);
183 ide_hwif_t *hwif = drive->hwif;
184 const struct ide_port_ops *port_ops = hwif->port_ops;
188 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE))
191 BUG_ON(hwif->pio_mask == 0x00);
193 host_pio = fls(hwif->pio_mask) - 1;
223 ide_hwif_t *hwif = drive->hwif;
227 if (hwif->pio_mask)
228 mode = fls(hwif->pio_mask) - 1 + XFER_PIO_0;
250 ide_hwif_t *hwif = drive->hwif;
251 const struct ide_port_ops *port_ops = hwif->port_ops;
254 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE))