Lines Matching refs:drive_flags

353 		    (chp->ch_drive[0].drive_flags & ATA_DRIVE_UDMA &&  in pdc202xx_setup_channel()
355 (chp->ch_drive[1].drive_flags & ATA_DRIVE_UDMA && in pdc202xx_setup_channel()
363 if ((chp->ch_drive[0].drive_flags & ATA_DRIVE_UDMA && in pdc202xx_setup_channel()
365 (chp->ch_drive[1].drive_flags & ATA_DRIVE_UDMA && in pdc202xx_setup_channel()
378 if (((chp->ch_drive[0].drive_flags & ATA_DRIVE_UDMA) && in pdc202xx_setup_channel()
379 !(chp->ch_drive[1].drive_flags & ATA_DRIVE_UDMA) && in pdc202xx_setup_channel()
380 (chp->ch_drive[1].drive_flags & ATA_DRIVE_DMA)) || in pdc202xx_setup_channel()
381 ((chp->ch_drive[1].drive_flags & ATA_DRIVE_UDMA) && in pdc202xx_setup_channel()
382 !(chp->ch_drive[0].drive_flags & ATA_DRIVE_UDMA) && in pdc202xx_setup_channel()
383 (chp->ch_drive[0].drive_flags & ATA_DRIVE_DMA))) in pdc202xx_setup_channel()
397 if (drvp->drive_flags & ATA_DRIVE_UDMA) { in pdc202xx_setup_channel()
400 drvp->drive_flags &= ~ATA_DRIVE_DMA; in pdc202xx_setup_channel()
407 } else if (drvp->drive_flags & ATA_DRIVE_DMA) { in pdc202xx_setup_channel()
474 if (drvp->drive_flags & ATA_DRIVE_UDMA) { in pdc20268_setup_channel()
477 drvp->drive_flags &= ~ATA_DRIVE_DMA; in pdc20268_setup_channel()
482 } else if (drvp->drive_flags & ATA_DRIVE_DMA) { in pdc20268_setup_channel()
600 if ((!(chp->ch_drive[0].drive_flags & ATA_DRIVE_UDMA) || in pdc20262_dma_finish()
601 (chp->ch_drive[1].drive_flags & ATA_DRIVE_UDMA) || in pdc20262_dma_finish()
602 !(chp->ch_drive[1].drive_flags & ATA_DRIVE_DMA)) && in pdc20262_dma_finish()
603 (!(chp->ch_drive[1].drive_flags & ATA_DRIVE_UDMA) || in pdc20262_dma_finish()
604 (chp->ch_drive[0].drive_flags & ATA_DRIVE_UDMA) || in pdc20262_dma_finish()
605 !(chp->ch_drive[0].drive_flags & ATA_DRIVE_DMA))) in pdc20262_dma_finish()