Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ata/
H A Dlibata-core.c1241 static int ata_set_max_sectors(struct ata_device *dev, u64 new_sectors) in ata_set_max_sectors() argument
1247 new_sectors--; in ata_set_max_sectors()
1257 tf.hob_lbal = (new_sectors >> 24) & 0xff; in ata_set_max_sectors()
1258 tf.hob_lbam = (new_sectors >> 32) & 0xff; in ata_set_max_sectors()
1259 tf.hob_lbah = (new_sectors >> 40) & 0xff; in ata_set_max_sectors()
1263 tf.device |= (new_sectors >> 24) & 0xf; in ata_set_max_sectors()
1269 tf.lbal = (new_sectors >> 0) & 0xff; in ata_set_max_sectors()
1270 tf.lbam = (new_sectors >> 8) & 0xff; in ata_set_max_sectors()
1271 tf.lbah = (new_sectors >> 16) & 0xff; in ata_set_max_sectors()
1372 u64 new_sectors = ata_id_n_sectors(dev->id); in ata_hpa_resize() local
[all …]
/openbmc/linux/drivers/md/
H A Draid5.c2496 static int resize_chunks(struct r5conf *conf, int new_disks, int new_sectors) in resize_chunks() argument
2507 conf->scribble_sectors >= new_sectors) in resize_chunks()
2517 new_sectors / RAID5_STRIPE_SECTORS(conf)); in resize_chunks()
2526 conf->scribble_sectors = new_sectors; in resize_chunks()