Home
last modified time | relevance | path

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

/drivers/ata/
Dlibata-core.c1335 u64 native_sectors; in ata_hpa_resize() local
1345 rc = ata_read_native_max_address(dev, &native_sectors); in ata_hpa_resize()
1362 dev->n_native_sectors = native_sectors; in ata_hpa_resize()
1365 if (native_sectors <= sectors || !unlock_hpa) { in ata_hpa_resize()
1366 if (!print_info || native_sectors == sectors) in ata_hpa_resize()
1369 if (native_sectors > sectors) in ata_hpa_resize()
1373 (unsigned long long)native_sectors); in ata_hpa_resize()
1374 else if (native_sectors < sectors) in ata_hpa_resize()
1377 (unsigned long long)native_sectors, in ata_hpa_resize()
1383 rc = ata_set_max_sectors(dev, native_sectors); in ata_hpa_resize()
[all …]