Home | History | Annotate | Download | only in pci

Lines Matching defs:drvp

329 	struct ata_drive_datas *drvp;
392 drvp = &chp->ch_drive[drive];
394 if (drvp->drive_type == ATA_DRIVET_NONE)
397 if (drvp->drive_flags & ATA_DRIVE_UDMA) {
400 drvp->drive_flags &= ~ATA_DRIVE_DMA;
403 pdc2xx_udma_mb[drvp->UDMA_mode]);
405 pdc2xx_udma_mc[drvp->UDMA_mode]);
407 } else if (drvp->drive_flags & ATA_DRIVE_DMA) {
409 pdc2xx_dma_mb[drvp->DMA_mode]);
411 pdc2xx_dma_mc[drvp->DMA_mode]);
419 mode = PDC2xx_TIM_SET_PA(mode, pdc2xx_pa[drvp->PIO_mode]);
420 mode = PDC2xx_TIM_SET_PB(mode, pdc2xx_pb[drvp->PIO_mode]);
421 if (drvp->drive_type == ATA_DRIVET_ATA)
424 if (drvp->PIO_mode >= 3) {
446 struct ata_drive_datas *drvp;
470 drvp = &chp->ch_drive[drive];
472 if (drvp->drive_type == ATA_DRIVET_NONE)
474 if (drvp->drive_flags & ATA_DRIVE_UDMA) {
477 drvp->drive_flags &= ~ATA_DRIVE_DMA;
480 if (drvp->UDMA_mode > 2 && u100 == 0)
481 drvp->UDMA_mode = 2;
482 } else if (drvp->drive_flags & ATA_DRIVE_DMA) {