Lines Matching refs:hwif
70 if ((drive->hwif->host_flags & IDE_HFLAG_PIO_NO_BLACKLIST) == 0)
116 if (pio == 0 && (drive->hwif->port_flags & IDE_PFLAG_PROBING))
124 ide_hwif_t *hwif = drive->hwif;
125 const struct ide_port_ops *port_ops = hwif->port_ops;
127 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)
139 port_ops->set_pio_mode(hwif, drive);
143 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) {
147 port_ops->set_pio_mode(hwif, drive);
151 port_ops->set_pio_mode(hwif, drive);
158 ide_hwif_t *hwif = drive->hwif;
159 const struct ide_port_ops *port_ops = hwif->port_ops;
161 if (hwif->host_flags & IDE_HFLAG_NO_SET_MODE)
167 if (hwif->host_flags & IDE_HFLAG_POST_SET_MODE) {
171 port_ops->set_dma_mode(hwif, drive);
175 port_ops->set_dma_mode(hwif, drive);
184 ide_hwif_t *hwif = drive->hwif;
185 const struct ide_port_ops *port_ops = hwif->port_ops;
189 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE))
192 BUG_ON(hwif->pio_mask == 0x00);
194 host_pio = fls(hwif->pio_mask) - 1;
224 ide_hwif_t *hwif = drive->hwif;
228 if (hwif->pio_mask)
229 mode = fls(hwif->pio_mask) - 1 + XFER_PIO_0;
251 ide_hwif_t *hwif = drive->hwif;
252 const struct ide_port_ops *port_ops = hwif->port_ops;
255 (hwif->host_flags & IDE_HFLAG_NO_SET_MODE))