Lines Matching defs:id
563 #define ata_id_is_ata(id) (((id)[ATA_ID_CONFIG] & (1 << 15)) == 0) argument
564 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9)) argument
565 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8)) argument
566 #define ata_id_has_ncq(id) ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8)) argument
567 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1) argument
568 #define ata_id_removable(id) ((id)[ATA_ID_CONFIG] & (1 << 7)) argument
569 #define ata_id_has_atapi_AN(id) \ argument
573 #define ata_id_has_fpdma_aa(id) \ argument
577 #define ata_id_has_devslp(id) \ argument
581 #define ata_id_has_ncq_autosense(id) \ argument
585 #define ata_id_has_dipm(id) \ argument
589 #define ata_id_iordy_disable(id) ((id)[ATA_ID_CAPABILITY] & (1 << 10)) argument
590 #define ata_id_has_iordy(id) ((id)[ATA_ID_CAPABILITY] & (1 << 11)) argument
591 #define ata_id_u32(id,n) \ argument
593 #define ata_id_u64(id,n) \ argument
599 #define ata_id_cdb_intr(id) (((id)[ATA_ID_CONFIG] & 0x60) == 0x20) argument
600 #define ata_id_has_da(id) ((id)[ATA_ID_SATA_CAPABILITY_2] & (1 << 4)) argument
602 static inline bool ata_id_has_hipm(const u16 *id) in ata_id_has_hipm()
612 static inline bool ata_id_has_fua(const u16 *id) in ata_id_has_fua()
619 static inline bool ata_id_has_flush(const u16 *id) in ata_id_has_flush()
626 static inline bool ata_id_has_flush_ext(const u16 *id) in ata_id_has_flush_ext()
633 static inline u32 ata_id_logical_sector_size(const u16 *id) in ata_id_logical_sector_size()
645 static inline u8 ata_id_log2_per_physical_sector(const u16 *id) in ata_id_log2_per_physical_sector()
665 static inline u16 ata_id_logical_sector_offset(const u16 *id, in ata_id_logical_sector_offset()
678 static inline bool ata_id_has_lba48(const u16 *id) in ata_id_has_lba48()
687 static inline bool ata_id_hpa_enabled(const u16 *id) in ata_id_hpa_enabled()
701 static inline bool ata_id_has_wcache(const u16 *id) in ata_id_has_wcache()
709 static inline bool ata_id_has_pm(const u16 *id) in ata_id_has_pm()
716 static inline bool ata_id_rahead_enabled(const u16 *id) in ata_id_rahead_enabled()
723 static inline bool ata_id_wcache_enabled(const u16 *id) in ata_id_wcache_enabled()
730 static inline bool ata_id_has_read_log_dma_ext(const u16 *id) in ata_id_has_read_log_dma_ext()
747 static inline bool ata_id_has_sense_reporting(const u16 *id) in ata_id_has_sense_reporting()
756 static inline bool ata_id_sense_reporting_enabled(const u16 *id) in ata_id_sense_reporting_enabled()
778 static inline bool ata_id_sct_data_tables(const u16 *id) in ata_id_sct_data_tables()
783 static inline bool ata_id_sct_features_ctrl(const u16 *id) in ata_id_sct_features_ctrl()
788 static inline bool ata_id_sct_error_recovery_ctrl(const u16 *id) in ata_id_sct_error_recovery_ctrl()
793 static inline bool ata_id_sct_long_sector_access(const u16 *id) in ata_id_sct_long_sector_access()
798 static inline bool ata_id_sct_supported(const u16 *id) in ata_id_sct_supported()
816 static inline unsigned int ata_id_major_version(const u16 *id) in ata_id_major_version()
829 static inline bool ata_id_is_sata(const u16 *id) in ata_id_is_sata()
842 static inline bool ata_id_has_tpm(const u16 *id) in ata_id_has_tpm()
852 static inline bool ata_id_has_dword_io(const u16 *id) in ata_id_has_dword_io()
860 static inline bool ata_id_has_trusted(const u16 *id) in ata_id_has_trusted()
867 static inline bool ata_id_has_unload(const u16 *id) in ata_id_has_unload()
876 static inline bool ata_id_has_wwn(const u16 *id) in ata_id_has_wwn()
881 static inline int ata_id_form_factor(const u16 *id) in ata_id_form_factor()
896 static inline int ata_id_rotation_rate(const u16 *id) in ata_id_rotation_rate()
909 static inline bool ata_id_has_ncq_send_and_recv(const u16 *id) in ata_id_has_ncq_send_and_recv()
914 static inline bool ata_id_has_ncq_non_data(const u16 *id) in ata_id_has_ncq_non_data()
919 static inline bool ata_id_has_ncq_prio(const u16 *id) in ata_id_has_ncq_prio()
924 static inline bool ata_id_has_trim(const u16 *id) in ata_id_has_trim()
932 static inline bool ata_id_has_zero_after_trim(const u16 *id) in ata_id_has_zero_after_trim()
942 static inline bool ata_id_current_chs_valid(const u16 *id) in ata_id_current_chs_valid()
954 static inline bool ata_id_is_cfa(const u16 *id) in ata_id_is_cfa()
970 static inline bool ata_id_is_ssd(const u16 *id) in ata_id_is_ssd()
975 static inline u8 ata_id_zoned_cap(const u16 *id) in ata_id_zoned_cap()
980 static inline bool ata_id_pio_need_iordy(const u16 *id, const u8 pio) in ata_id_pio_need_iordy()