Searched refs:adev (Results 1 – 1 of 1) sorted by relevance
984 extern void ata_dev_disable(struct ata_device *adev);1002 extern struct ata_device *ata_dev_pair(struct ata_device *adev);1489 static inline int ata_using_mwdma(struct ata_device *adev) in ata_using_mwdma() argument1491 if (adev->dma_mode >= XFER_MW_DMA_0 && adev->dma_mode <= XFER_MW_DMA_4) in ata_using_mwdma()1496 static inline int ata_using_udma(struct ata_device *adev) in ata_using_udma() argument1498 if (adev->dma_mode >= XFER_UDMA_0 && adev->dma_mode <= XFER_UDMA_7) in ata_using_udma()1503 static inline int ata_dma_enabled(struct ata_device *adev) in ata_dma_enabled() argument1505 return (adev->dma_mode == 0xFF ? 0 : 1); in ata_dma_enabled()