Lines Matching defs:drvp
180 struct ata_drive_datas *drvp;
191 drvp = &chp->ch_drive[drive];
192 if (drvp->drive_type == ATA_DRIVET_NONE)
194 if (drvp->drive_flags & ATA_DRIVE_UDMA) {
196 drvp->drive_flags &= ~ATA_DRIVE_DMA;
199 IXP_SET_MODE(udma, chp->ch_channel, drive, drvp->UDMA_mode);
200 } else if (drvp->drive_flags & ATA_DRIVE_DMA) {
203 ixp_mdma_timings[drvp->DMA_mode]);
211 if (drvp->PIO_mode == 1)
212 drvp->PIO_mode = 0;
214 IXP_SET_MODE(pio, chp->ch_channel, drive, drvp->PIO_mode);
216 ixp_pio_timings[drvp->PIO_mode]);