Lines Matching defs:id
501 #define ata_id_is_ata(id) (((id)[ATA_ID_CONFIG] & (1 << 15)) == 0) argument
502 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9)) argument
503 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8)) argument
504 #define ata_id_has_ncq(id) ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8)) argument
505 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1) argument
506 #define ata_id_removeable(id) ((id)[ATA_ID_CONFIG] & (1 << 7)) argument
507 #define ata_id_has_atapi_AN(id) \ argument
511 #define ata_id_has_fpdma_aa(id) \ argument
515 #define ata_id_iordy_disable(id) ((id)[ATA_ID_CAPABILITY] & (1 << 10)) argument
516 #define ata_id_has_iordy(id) ((id)[ATA_ID_CAPABILITY] & (1 << 11)) argument
517 #define ata_id_u32(id,n) \ argument
519 #define ata_id_u64(id,n) \ argument
525 #define ata_id_cdb_intr(id) (((id)[ATA_ID_CONFIG] & 0x60) == 0x20) argument
526 #define ata_id_has_da(id) ((id)[ATA_ID_SATA_CAPABILITY_2] & (1 << 4)) argument
527 #define ata_id_has_devslp(id) ((id)[ATA_ID_FEATURE_SUPP] & (1 << 8)) argument
529 static inline bool ata_id_has_hipm(const u16 *id) in ata_id_has_hipm()
539 static inline bool ata_id_has_dipm(const u16 *id) in ata_id_has_dipm()
550 static inline bool ata_id_has_fua(const u16 *id) in ata_id_has_fua()
557 static inline bool ata_id_has_flush(const u16 *id) in ata_id_has_flush()
564 static inline bool ata_id_flush_enabled(const u16 *id) in ata_id_flush_enabled()
573 static inline bool ata_id_has_flush_ext(const u16 *id) in ata_id_has_flush_ext()
580 static inline bool ata_id_flush_ext_enabled(const u16 *id) in ata_id_flush_ext_enabled()
593 static inline u32 ata_id_logical_sector_size(const u16 *id) in ata_id_logical_sector_size()
605 static inline u8 ata_id_log2_per_physical_sector(const u16 *id) in ata_id_log2_per_physical_sector()
625 static inline u16 ata_id_logical_sector_offset(const u16 *id, in ata_id_logical_sector_offset()
638 static inline bool ata_id_has_lba48(const u16 *id) in ata_id_has_lba48()
647 static inline bool ata_id_lba48_enabled(const u16 *id) in ata_id_lba48_enabled()
656 static inline bool ata_id_hpa_enabled(const u16 *id) in ata_id_hpa_enabled()
670 static inline bool ata_id_has_wcache(const u16 *id) in ata_id_has_wcache()
678 static inline bool ata_id_has_pm(const u16 *id) in ata_id_has_pm()
685 static inline bool ata_id_rahead_enabled(const u16 *id) in ata_id_rahead_enabled()
692 static inline bool ata_id_wcache_enabled(const u16 *id) in ata_id_wcache_enabled()
712 static inline unsigned int ata_id_major_version(const u16 *id) in ata_id_major_version()
725 static inline bool ata_id_is_sata(const u16 *id) in ata_id_is_sata()
738 static inline bool ata_id_has_tpm(const u16 *id) in ata_id_has_tpm()
748 static inline bool ata_id_has_dword_io(const u16 *id) in ata_id_has_dword_io()
756 static inline bool ata_id_has_unload(const u16 *id) in ata_id_has_unload()
765 static inline bool ata_id_has_wwn(const u16 *id) in ata_id_has_wwn()
770 static inline int ata_id_form_factor(const u16 *id) in ata_id_form_factor()
785 static inline int ata_id_rotation_rate(const u16 *id) in ata_id_rotation_rate()
798 static inline bool ata_id_has_ncq_send_and_recv(const u16 *id) in ata_id_has_ncq_send_and_recv()
803 static inline bool ata_id_has_trim(const u16 *id) in ata_id_has_trim()
811 static inline bool ata_id_has_zero_after_trim(const u16 *id) in ata_id_has_zero_after_trim()
821 static inline bool ata_id_current_chs_valid(const u16 *id) in ata_id_current_chs_valid()
833 static inline bool ata_id_is_cfa(const u16 *id) in ata_id_is_cfa()
849 static inline bool ata_id_is_ssd(const u16 *id) in ata_id_is_ssd()
854 static inline bool ata_id_pio_need_iordy(const u16 *id, const u8 pio) in ata_id_pio_need_iordy()
910 static inline bool ata_id_is_lba_capacity_ok(u16 *id) in ata_id_is_lba_capacity_ok()
952 static inline void ata_id_to_hd_driveid(u16 *id) in ata_id_to_hd_driveid()