• Home
  • Raw
  • Download

Lines Matching defs:id

554 #define ata_id_is_ata(id)	(((id)[ATA_ID_CONFIG] & (1 << 15)) == 0)  argument
555 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9)) argument
556 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8)) argument
557 #define ata_id_has_ncq(id) ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8)) argument
558 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1) argument
559 #define ata_id_removable(id) ((id)[ATA_ID_CONFIG] & (1 << 7)) argument
560 #define ata_id_has_atapi_AN(id) \ argument
564 #define ata_id_has_fpdma_aa(id) \ argument
568 #define ata_id_iordy_disable(id) ((id)[ATA_ID_CAPABILITY] & (1 << 10)) argument
569 #define ata_id_has_iordy(id) ((id)[ATA_ID_CAPABILITY] & (1 << 11)) argument
570 #define ata_id_u32(id,n) \ argument
572 #define ata_id_u64(id,n) \ argument
578 #define ata_id_cdb_intr(id) (((id)[ATA_ID_CONFIG] & 0x60) == 0x20) argument
579 #define ata_id_has_da(id) ((id)[ATA_ID_SATA_CAPABILITY_2] & (1 << 4)) argument
580 #define ata_id_has_devslp(id) ((id)[ATA_ID_FEATURE_SUPP] & (1 << 8)) argument
581 #define ata_id_has_ncq_autosense(id) \ argument
584 static inline bool ata_id_has_hipm(const u16 *id) in ata_id_has_hipm()
594 static inline bool ata_id_has_dipm(const u16 *id) in ata_id_has_dipm()
605 static inline bool ata_id_has_fua(const u16 *id) in ata_id_has_fua()
612 static inline bool ata_id_has_flush(const u16 *id) in ata_id_has_flush()
619 static inline bool ata_id_flush_enabled(const u16 *id) in ata_id_flush_enabled()
628 static inline bool ata_id_has_flush_ext(const u16 *id) in ata_id_has_flush_ext()
635 static inline bool ata_id_flush_ext_enabled(const u16 *id) in ata_id_flush_ext_enabled()
648 static inline u32 ata_id_logical_sector_size(const u16 *id) in ata_id_logical_sector_size()
660 static inline u8 ata_id_log2_per_physical_sector(const u16 *id) in ata_id_log2_per_physical_sector()
680 static inline u16 ata_id_logical_sector_offset(const u16 *id, in ata_id_logical_sector_offset()
693 static inline bool ata_id_has_lba48(const u16 *id) in ata_id_has_lba48()
702 static inline bool ata_id_lba48_enabled(const u16 *id) in ata_id_lba48_enabled()
711 static inline bool ata_id_hpa_enabled(const u16 *id) in ata_id_hpa_enabled()
725 static inline bool ata_id_has_wcache(const u16 *id) in ata_id_has_wcache()
733 static inline bool ata_id_has_pm(const u16 *id) in ata_id_has_pm()
740 static inline bool ata_id_rahead_enabled(const u16 *id) in ata_id_rahead_enabled()
747 static inline bool ata_id_wcache_enabled(const u16 *id) in ata_id_wcache_enabled()
754 static inline bool ata_id_has_read_log_dma_ext(const u16 *id) in ata_id_has_read_log_dma_ext()
771 static inline bool ata_id_has_sense_reporting(const u16 *id) in ata_id_has_sense_reporting()
778 static inline bool ata_id_sense_reporting_enabled(const u16 *id) in ata_id_sense_reporting_enabled()
797 static inline bool ata_id_sct_data_tables(const u16 *id) in ata_id_sct_data_tables()
802 static inline bool ata_id_sct_features_ctrl(const u16 *id) in ata_id_sct_features_ctrl()
807 static inline bool ata_id_sct_error_recovery_ctrl(const u16 *id) in ata_id_sct_error_recovery_ctrl()
812 static inline bool ata_id_sct_long_sector_access(const u16 *id) in ata_id_sct_long_sector_access()
817 static inline bool ata_id_sct_supported(const u16 *id) in ata_id_sct_supported()
835 static inline unsigned int ata_id_major_version(const u16 *id) in ata_id_major_version()
848 static inline bool ata_id_is_sata(const u16 *id) in ata_id_is_sata()
861 static inline bool ata_id_has_tpm(const u16 *id) in ata_id_has_tpm()
871 static inline bool ata_id_has_dword_io(const u16 *id) in ata_id_has_dword_io()
879 static inline bool ata_id_has_trusted(const u16 *id) in ata_id_has_trusted()
886 static inline bool ata_id_has_unload(const u16 *id) in ata_id_has_unload()
895 static inline bool ata_id_has_wwn(const u16 *id) in ata_id_has_wwn()
900 static inline int ata_id_form_factor(const u16 *id) in ata_id_form_factor()
915 static inline int ata_id_rotation_rate(const u16 *id) in ata_id_rotation_rate()
928 static inline bool ata_id_has_ncq_send_and_recv(const u16 *id) in ata_id_has_ncq_send_and_recv()
933 static inline bool ata_id_has_ncq_non_data(const u16 *id) in ata_id_has_ncq_non_data()
938 static inline bool ata_id_has_ncq_prio(const u16 *id) in ata_id_has_ncq_prio()
943 static inline bool ata_id_has_trim(const u16 *id) in ata_id_has_trim()
951 static inline bool ata_id_has_zero_after_trim(const u16 *id) in ata_id_has_zero_after_trim()
961 static inline bool ata_id_current_chs_valid(const u16 *id) in ata_id_current_chs_valid()
973 static inline bool ata_id_is_cfa(const u16 *id) in ata_id_is_cfa()
989 static inline bool ata_id_is_ssd(const u16 *id) in ata_id_is_ssd()
994 static inline u8 ata_id_zoned_cap(const u16 *id) in ata_id_zoned_cap()
999 static inline bool ata_id_pio_need_iordy(const u16 *id, const u8 pio) in ata_id_pio_need_iordy()
1055 static inline bool ata_id_is_lba_capacity_ok(u16 *id) in ata_id_is_lba_capacity_ok()
1097 static inline void ata_id_to_hd_driveid(u16 *id) in ata_id_to_hd_driveid()