Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/mtd/devices/
Dlart.c583 #define NB_OF(x) (sizeof (x) / sizeof (x[0])) macro
647 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()
/linux-2.4.37.9/drivers/mtd/maps/
Dtqm8xxl.c152 #define NB_OF(x) (sizeof(x)/sizeof(x[0])) macro
234 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()
Diq80310.c105 #define NB_OF(x) (sizeof(x)/sizeof(x[0])) macro
147 nb_parts = NB_OF(iq80310_partitions); in init_iq80310()
Dedb7312.c119 #define NB_OF(x) (sizeof (x) / sizeof (x[0])) macro
165 mtd_parts_nb = NB_OF(static_partitions); in init_edb7312nor()
Dimpa7.c126 #define NB_OF(x) (sizeof (x) / sizeof (x[0])) macro
187 mtd_parts_nb = NB_OF(static_partitions); in init_impa7()
Dpb1xxx-flash.c200 #define NB_OF(x) (sizeof(x)/sizeof(x[0])) macro
219 nb_parts = NB_OF(pb1xxx_partitions); in pb1xxx_mtd_init()