Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/mtd/chips/
Damd_flash.c109 const int numeraseregions; member
261 for(i = 0; i < mtd->numeraseregions; i++) { in amd_flash_do_unlock()
399 mtd->numeraseregions += table[i].numeraseregions; in probe_new_chip()
436 numeraseregions: 4, in amd_flash_probe()
448 numeraseregions: 4, in amd_flash_probe()
460 numeraseregions: 4, in amd_flash_probe()
472 numeraseregions: 4, in amd_flash_probe()
484 numeraseregions: 4, in amd_flash_probe()
496 numeraseregions: 4, in amd_flash_probe()
508 numeraseregions: 4, in amd_flash_probe()
[all …]
Dcfi_cmdset_0002.c173 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_amdstd_setup()
174 …mtd->eraseregions = kmalloc(sizeof(struct mtd_erase_region_info) * mtd->numeraseregions, GFP_KERNE… in cfi_amdstd_setup()
202 for (i=0; i<mtd->numeraseregions;i++){ in cfi_amdstd_setup()
217 if (mtd->numeraseregions > 1) in cfi_amdstd_setup()
1010 while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) in cfi_amdstd_erase_varsize()
1030 while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) in cfi_amdstd_erase_varsize()
Dcfi_cmdset_0020.c205 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips; in cfi_staa_setup()
207 * mtd->numeraseregions, GFP_KERNEL); in cfi_staa_setup()
238 for (i=0; i<mtd->numeraseregions;i++){ in cfi_staa_setup()
942 while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) in cfi_staa_erase_varsize()
962 while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) in cfi_staa_erase_varsize()
Dcfi_cmdset_0001.c223 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips;
225 * mtd->numeraseregions, GFP_KERNEL);
253 for (i=0; i<mtd->numeraseregions;i++){
1411 while (i < mtd->numeraseregions && ofs >= regions[i].offset)
1431 while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset)
/linux-2.4.37.9/drivers/mtd/
Dmtdconcat.c207 if (!concat->mtd.numeraseregions) in concat_erase()
221 for(i = 0; i < concat->mtd.numeraseregions && in concat_erase()
237 for(; i < concat->mtd.numeraseregions && in concat_erase()
549 if(subdev[i]->numeraseregions == 0) in mtd_concat_create()
562 for(j = 0; j < subdev[i]->numeraseregions; j++) in mtd_concat_create()
581 concat->mtd.numeraseregions = 0; in mtd_concat_create()
592 concat->mtd.numeraseregions = num_erase_region; in mtd_concat_create()
611 if(subdev[i]->numeraseregions == 0) in mtd_concat_create()
631 for(j = 0; j < subdev[i]->numeraseregions; j++) in mtd_concat_create()
663 if(concat->mtd.numeraseregions) in mtd_concat_destroy()
Dmtdpart.c402 if (master->numeraseregions>1) { in add_mtd_partitions()
408 for (i=0; i < master->numeraseregions && slave->offset >= regions[i].offset; i++) in add_mtd_partitions()
411 …for (i--; i < master->numeraseregions && slave->offset + slave->mtd.size > regions[i].offset; i++)… in add_mtd_partitions()
Dmtdchar.c267 if (copy_to_user((int *) arg, &(mtd->numeraseregions), sizeof(int))) in mtd_ioctl()
281 if (ur.regionindex >= mtd->numeraseregions) in mtd_ioctl()
/linux-2.4.37.9/drivers/mtd/devices/
Dlart.c388 for (i = 0; i < mtd->numeraseregions && instr->addr >= mtd->eraseregions[i].offset; i++) ; in flash_erase()
409 … for (; i < mtd->numeraseregions && instr->addr + instr->len >= mtd->eraseregions[i].offset; i++) ; in flash_erase()
647 mtd.numeraseregions = NB_OF (erase_regions); in lart_flash_init()
663 mtd.numeraseregions); in lart_flash_init()
665 if (mtd.numeraseregions) in lart_flash_init()
666 for (result = 0; result < mtd.numeraseregions; result++) in lart_flash_init()
Dblkmtd.c414 int numregions = mtd->numeraseregions; in blkmtd_erase()
894 &dev->mtd_info.numeraseregions); in add_device()
900 dev->mtd_info.numeraseregions); in add_device()
/linux-2.4.37.9/drivers/mtd/maps/
Dscb2_flash.c157 for (i = 0; i < mtd->numeraseregions; i++) { in scb2_fixup_mtd()
168 for (i = 0; !done && i < mtd->numeraseregions; i++) { in scb2_fixup_mtd()
Depxa10db-flash.c130 for (i=0; i<mymtd->numeraseregions;i++){ in epxa_mtd_init()
/linux-2.4.37.9/include/linux/mtd/
Dmtd.h160 int numeraseregions; member