Searched refs:NB_OF (Results 1 – 6 of 6) sorted by relevance
583 #define NB_OF(x) (sizeof (x) / sizeof (x[0])) macro647 mtd.numeraseregions = NB_OF (erase_regions); in lart_flash_init()677 printk ("\npartitions = %d\n",NB_OF (lart_partitions)); in lart_flash_init()679 for (result = 0; result < NB_OF (lart_partitions); result++) in lart_flash_init()694 result = add_mtd_partitions (&mtd,lart_partitions,NB_OF (lart_partitions)); in lart_flash_init()
152 #define NB_OF(x) (sizeof(x)/sizeof(x[0])) macro234 part_banks[0].nums = NB_OF(tqm8xxl_partitions); in init_tqm_mtd()237 part_banks[1].nums = NB_OF(tqm8xxl_fs_partitions); in init_tqm_mtd()
105 #define NB_OF(x) (sizeof(x)/sizeof(x[0])) macro147 nb_parts = NB_OF(iq80310_partitions); in init_iq80310()
119 #define NB_OF(x) (sizeof (x) / sizeof (x[0])) macro165 mtd_parts_nb = NB_OF(static_partitions); in init_edb7312nor()
126 #define NB_OF(x) (sizeof (x) / sizeof (x[0])) macro187 mtd_parts_nb = NB_OF(static_partitions); in init_impa7()
200 #define NB_OF(x) (sizeof(x)/sizeof(x[0])) macro219 nb_parts = NB_OF(pb1xxx_partitions); in pb1xxx_mtd_init()