Lines Matching refs:dev_id
579 static inline int ata_drive_40wire(const u16 *dev_id) in ata_drive_40wire() argument
581 if (ata_id_is_sata(dev_id)) in ata_drive_40wire()
583 if ((dev_id[93] & 0xE000) == 0x6000) in ata_drive_40wire()
588 static inline int ata_drive_40wire_relaxed(const u16 *dev_id) in ata_drive_40wire_relaxed() argument
590 if ((dev_id[93] & 0x2000) == 0x2000) in ata_drive_40wire_relaxed()
595 static inline int atapi_cdb_len(const u16 *dev_id) in atapi_cdb_len() argument
597 u16 tmp = dev_id[0] & 0x3; in atapi_cdb_len()
605 static inline int atapi_command_packet_set(const u16 *dev_id) in atapi_command_packet_set() argument
607 return (dev_id[0] >> 8) & 0x1f; in atapi_command_packet_set()
610 static inline int atapi_id_dmadir(const u16 *dev_id) in atapi_id_dmadir() argument
612 return ata_id_major_version(dev_id) >= 7 && (dev_id[62] & 0x8000); in atapi_id_dmadir()