Home
last modified time | relevance | path

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

/openbmc/qemu/hw/block/
H A Dpflash_cfi02.c774 pfl->cfi_table[0x2c] = nb_regions; in pflash_cfi02_fill_cfi_table()
776 for (int i = 0; i < nb_regions; ++i) { in pflash_cfi02_fill_cfi_table()
783 assert(0x2c + 4 * nb_regions < pri_ofs); in pflash_cfi02_fill_cfi_table()
834 int nb_regions; in pflash_cfi02_realize() local
837 for (nb_regions = 0; nb_regions < PFLASH_MAX_ERASE_REGIONS; ++nb_regions) { in pflash_cfi02_realize()
838 if (pfl->nb_blocs[nb_regions] == 0) { in pflash_cfi02_realize()
860 nb_regions); in pflash_cfi02_realize()
865 pfl->nb_blocs[nb_regions]; in pflash_cfi02_realize()
870 if (nb_regions == 0) { in pflash_cfi02_realize()
871 nb_regions = 1; in pflash_cfi02_realize()
[all …]
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0004-ffmpeg-4.3.4-rpi_14.patch64980 int nb_regions;
65008 - for (i = 0; i < map->nb_regions; i++)
65009 + for (i = 0; i < map->nb_regions; i++) {