Lines Matching refs:class
707 unsigned int class; /* ATA_DEV_xxx */ member
1089 extern int sata_std_hardreset(struct ata_link *link, unsigned int *class,
1605 static inline unsigned int ata_class_enabled(unsigned int class) in ata_class_enabled() argument
1607 return class == ATA_DEV_ATA || class == ATA_DEV_ATAPI || in ata_class_enabled()
1608 class == ATA_DEV_PMP || class == ATA_DEV_SEMB || in ata_class_enabled()
1609 class == ATA_DEV_ZAC; in ata_class_enabled()
1612 static inline unsigned int ata_class_disabled(unsigned int class) in ata_class_disabled() argument
1614 return class == ATA_DEV_ATA_UNSUP || class == ATA_DEV_ATAPI_UNSUP || in ata_class_disabled()
1615 class == ATA_DEV_PMP_UNSUP || class == ATA_DEV_SEMB_UNSUP || in ata_class_disabled()
1616 class == ATA_DEV_ZAC_UNSUP; in ata_class_disabled()
1619 static inline unsigned int ata_class_absent(unsigned int class) in ata_class_absent() argument
1621 return !ata_class_enabled(class) && !ata_class_disabled(class); in ata_class_absent()
1626 return ata_class_enabled(dev->class); in ata_dev_enabled()
1631 return ata_class_disabled(dev->class); in ata_dev_disabled()
1636 return ata_class_absent(dev->class); in ata_dev_absent()
1974 extern int sata_sff_hardreset(struct ata_link *link, unsigned int *class,