Home | History | Annotate | Download | only in pci

Lines Matching defs:drvp

207 	struct ata_drive_datas *drvp = cp->ata_channel.ch_drive;
228 if (drvp[drive].drive_type == ATA_DRIVET_NONE)
230 if (drvp[drive].drive_type == ATA_DRIVET_ATAPI)
234 rdcide_setup[drvp[drive].PIO_mode],
237 rdcide_hold[drvp[drive].PIO_mode],
242 rdcide_setup[drvp[drive].PIO_mode],
245 rdcide_hold[drvp[drive].PIO_mode],
248 if (drvp[drive].PIO_mode > 0) {
252 if (drvp[drive].drive_flags & ATA_DRIVE_DMA) {
255 if ((drvp[drive].drive_flags & ATA_DRIVE_UDMA) == 0)
259 && drvp[drive].UDMA_mode > 2)
260 drvp[drive].UDMA_mode = 2;
263 rdcide_udmatim[drvp[drive].UDMA_mode],
266 rdcide_udmaclk[drvp[drive].UDMA_mode],