Home | History | Annotate | Download | only in linux

Lines Matching refs:id

241 #define ata_id_is_ata(id) (((id)[0] & (1 << 15)) == 0)
242 #define ata_id_is_cfa(id) ((id)[0] == 0x848A)
243 #define ata_id_is_sata(id) ((id)[93] == 0)
244 #define ata_id_rahead_enabled(id) ((id)[85] & (1 << 6))
245 #define ata_id_wcache_enabled(id) ((id)[85] & (1 << 5))
246 #define ata_id_hpa_enabled(id) ((id)[85] & (1 << 10))
247 #define ata_id_has_fua(id) ((id)[84] & (1 << 6))
248 #define ata_id_has_flush(id) ((id)[83] & (1 << 12))
249 #define ata_id_has_flush_ext(id) ((id)[83] & (1 << 13))
250 #define ata_id_has_lba48(id) ((id)[83] & (1 << 10))
251 #define ata_id_has_hpa(id) ((id)[82] & (1 << 10))
252 #define ata_id_has_wcache(id) ((id)[82] & (1 << 5))
253 #define ata_id_has_pm(id) ((id)[82] & (1 << 3))
254 #define ata_id_has_lba(id) ((id)[49] & (1 << 9))
255 #define ata_id_has_dma(id) ((id)[49] & (1 << 8))
256 #define ata_id_has_ncq(id) ((id)[76] & (1 << 8))
257 #define ata_id_queue_depth(id) (((id)[75] & 0x1f) + 1)
258 #define ata_id_removeable(id) ((id)[0] & (1 << 7))
259 #define ata_id_has_dword_io(id) ((id)[50] & (1 << 0))
260 #define ata_id_u32(id,n) (((u32) (id)[(n) + 1] << 16) | ((u32) (id)[(n)]))
261 #define ata_id_u64(id,n) ( ((u64) (id)[(n) + 3] << 48) | ((u64) (id)[(n) + 2] << 32) | ((u64) (id)[(n) + 1] << 16) | ((u64) (id)[(n) + 0]) )
263 #define ata_id_cdb_intr(id) (((id)[0] & 0x60) == 0x20)