Home
last modified time | relevance | path

Searched refs:ata_id_major_version (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/linux/
Data.h839 static inline unsigned int ata_id_major_version(const u16 *id) in ata_id_major_version() function
868 if (ata_id_major_version(id) < 8) in ata_id_has_tpm()
878 if (ata_id_major_version(id) > 7) in ata_id_has_dword_io()
885 if (ata_id_major_version(id) <= 7) in ata_id_has_trusted()
892 if (ata_id_major_version(id) >= 7 && in ata_id_has_unload()
908 if (ata_id_major_version(id) < 7 || val == 0 || val == 0xffff) in ata_id_form_factor()
923 if (ata_id_major_version(id) < 7 || val == 0 || val == 0xffff) in ata_id_rotation_rate()
949 if (ata_id_major_version(id) >= 7 && in ata_id_has_trim()
1048 return ata_id_major_version(dev_id) >= 7 && (dev_id[62] & 0x8000); in atapi_id_dmadir()
/linux-6.1.9/drivers/ata/
Dlibata-core.c1920 if (ata_id_major_version(id) < 4 || !ata_id_has_lba(id)) { in ata_dev_read_id()
2039 if (ata_id_major_version(dev->id) >= 10) in ata_identify_page_supported()
2458 if (ata_id_major_version(dev->id) < 11) in ata_dev_config_cpr()
2638 snprintf(revbuf, 7, "ATA-%d", ata_id_major_version(id)); in ata_dev_configure()
3317 if (ata_id_major_version(dev->id) == 0 && in ata_dev_set_mode()