Home
last modified time | relevance | path

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

/linux/drivers/ata/
H A Dlibata-core.c1290 u64 native_sectors; in ata_hpa_resize() local
1300 rc = ata_read_native_max_address(dev, &native_sectors); in ata_hpa_resize()
1317 dev->n_native_sectors = native_sectors; in ata_hpa_resize()
1320 if (native_sectors <= sectors || !unlock_hpa) { in ata_hpa_resize()
1321 if (!print_info || native_sectors == sectors) in ata_hpa_resize()
1324 if (native_sectors > sectors) in ata_hpa_resize()
1328 (unsigned long long)native_sectors); in ata_hpa_resize()
1329 else if (native_sectors < sectors) in ata_hpa_resize()
1332 (unsigned long long)native_sectors, in ata_hpa_resize()
1338 rc = ata_set_max_sectors(dev, native_sectors); in ata_hpa_resize()
[all …]