Home | History | Annotate | Download | only in pci

Lines Matching defs:drvp

190 	struct ata_drive_datas *drvp;
209 drvp = &chp->ch_drive[drive];
211 if (drvp->drive_type == ATA_DRIVET_NONE) {
216 if (drvp->drive_flags & ATA_DRIVE_DMA) {
221 if (drvp->PIO_mode >= 3) {
222 if ((drvp->DMA_mode + 2) > drvp->PIO_mode)
223 drvp->DMA_mode = drvp->PIO_mode - 2;
224 if (drvp->DMA_mode < 1) {
230 drvp->drive_flags &= ~ATA_DRIVE_DMA;
239 drvp->drive_flags &= ~ATA_DRIVE_DMA;
244 if (drvp->drive_flags & ATA_DRIVE_DMA) {
246 pxdx |= symph_mw_dma_times[drvp->DMA_mode].cmd_on <<
248 pxdx |= symph_mw_dma_times[drvp->DMA_mode].cmd_off;
250 pxdx |= symph_pio_times[drvp->PIO_mode].cmd_on <<
252 pxdx |= symph_pio_times[drvp->PIO_mode].cmd_off;