Home
last modified time | relevance | path

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

/openbmc/qemu/hw/block/
H A Dpflash_cfi01.c699 uint64_t blocks_per_device, sector_len_per_device, device_len; in pflash_cfi01_fill_cfi_table() local
708 blocks_per_device = pfl->nb_blocs / num_devices; in pflash_cfi01_fill_cfi_table()
711 blocks_per_device = pfl->nb_blocs; in pflash_cfi01_fill_cfi_table()
714 device_len = sector_len_per_device * blocks_per_device; in pflash_cfi01_fill_cfi_table()
777 pfl->cfi_table[0x2D] = blocks_per_device - 1; in pflash_cfi01_fill_cfi_table()
778 pfl->cfi_table[0x2E] = (blocks_per_device - 1) >> 8; in pflash_cfi01_fill_cfi_table()