Home
last modified time | relevance | path

Searched refs:adev (Results 1 – 1 of 1) sorted by relevance

/include/linux/
Dlibata.h984 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() argument
1491 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() argument
1498 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() argument
1505 return (adev->dma_mode == 0xFF ? 0 : 1); in ata_dma_enabled()