Searched refs:ata_prot_flags (Results 1 – 1 of 1) sorted by relevance
371 static inline unsigned int ata_prot_flags(u8 prot) in ata_prot_flags() function394 return ata_prot_flags(prot) & ATA_PROT_FLAG_ATAPI; in ata_is_atapi()399 return !(ata_prot_flags(prot) & ATA_PROT_FLAG_DATA); in ata_is_nodata()404 return ata_prot_flags(prot) & ATA_PROT_FLAG_PIO; in ata_is_pio()409 return ata_prot_flags(prot) & ATA_PROT_FLAG_DMA; in ata_is_dma()414 return ata_prot_flags(prot) & ATA_PROT_FLAG_NCQ; in ata_is_ncq()419 return ata_prot_flags(prot) & ATA_PROT_FLAG_DATA; in ata_is_data()