Home
last modified time | relevance | path

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

/drivers/ata/
Dlibata-core.c1327 u64 native_sectors; in ata_hpa_resize() local
1337 rc = ata_read_native_max_address(dev, &native_sectors); in ata_hpa_resize()
1354 dev->n_native_sectors = native_sectors; in ata_hpa_resize()
1357 if (native_sectors <= sectors || !unlock_hpa) { in ata_hpa_resize()
1358 if (!print_info || native_sectors == sectors) in ata_hpa_resize()
1361 if (native_sectors > sectors) in ata_hpa_resize()
1365 (unsigned long long)native_sectors); in ata_hpa_resize()
1366 else if (native_sectors < sectors) in ata_hpa_resize()
1369 (unsigned long long)native_sectors, in ata_hpa_resize()
1375 rc = ata_set_max_sectors(dev, native_sectors); in ata_hpa_resize()
[all …]