Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/mtd/maps/
Ddilnetpc.c346 #define NUM_PARTITIONS (sizeof(partition_info)/sizeof(partition_info[0])) macro
349 static struct mtd_info *lowlvl_parts[NUM_PARTITIONS];
441 for(i = 0; i < NUM_PARTITIONS; i++) in init_dnpc()
498 add_mtd_partitions(mymtd, partition_info, NUM_PARTITIONS); in init_dnpc()
504 merged_mtd = mtd_concat_create(lowlvl_parts, NUM_PARTITIONS, "(A)DNP Flash Concatenated"); in init_dnpc()
Dphysmap.c113 #define NUM_PARTITIONS (sizeof(physmap_partitions)/sizeof(struct mtd_partition)) macro
151 if (NUM_PARTITIONS != 0) in init_physmap()
155 add_mtd_partitions (mymtd, physmap_partitions, NUM_PARTITIONS); in init_physmap()
Dphysmap64.c127 #define NUM_PARTITIONS (sizeof(physmap_partitions)/sizeof(struct mtd_partition)) macro
165 if (NUM_PARTITIONS != 0) in init_physmap()
169 add_mtd_partitions (mymtd, physmap_partitions, NUM_PARTITIONS); in init_physmap()
Dmbx860.c33 #define NUM_PARTITIONS 3 macro
119 add_mtd_partitions(mymtd, partition_info, NUM_PARTITIONS); in init_mbx()
Dnetsc520.c118 #define NUM_PARTITIONS (sizeof(partition_info)/sizeof(partition_info[0])) macro
169 add_mtd_partitions( mymtd, partition_info, NUM_PARTITIONS ); in init_netsc520()
Ddbox2-flash.c36 #define NUM_PARTITIONS (sizeof(partition_info) / sizeof(partition_info[0])) macro
123 add_mtd_partitions(mymtd, partition_info, NUM_PARTITIONS); in init_dbox2_flash()
Duclinux.c89 #define NUM_PARTITIONS (sizeof(uclinux_romfs) / sizeof(uclinux_romfs[0])) macro
138 add_mtd_partitions(mtd, uclinux_romfs, NUM_PARTITIONS); in uclinux_mtd_init()
Dsbc_gxx.c104 #define NUM_PARTITIONS 3 macro
267 add_mtd_partitions(all_mtd, partition_info, NUM_PARTITIONS ); in init_sbc_gxx()
Delan-104nc.c71 #define NUM_PARTITIONS (sizeof(partition_info)/sizeof(partition_info[0])) macro
266 add_mtd_partitions( all_mtd, partition_info, NUM_PARTITIONS ); in init_elan_104nc()
Dscx200_docflash.c75 #define NUM_PARTITIONS (sizeof(partition_info)/sizeof(partition_info[0])) macro
239 add_mtd_partitions(mymtd, partition_info, NUM_PARTITIONS); in init_scx200_docflash()
/linux-2.4.37.9/drivers/mtd/nand/
Dspia.c81 #define NUM_PARTITIONS 2 macro
166 add_mtd_partitions(spia_mtd, partition_info, NUM_PARTITIONS); in spia_init()
Dedb7312.c78 #define NUM_PARTITIONS 1 macro
214 mtd_parts_nb = NUM_PARTITIONS; in ep7312_init()