Home
last modified time | relevance | path

Searched refs:numblocks (Results 1 – 13 of 13) sorted by relevance

/linux-2.4.37.9/drivers/mtd/chips/
Damd_flash.c266 eraseblocks = merip->numblocks; in amd_flash_do_unlock()
438 { offset: 0x000000, erasesize: 0x10000, numblocks: 31 }, in amd_flash_probe()
439 { offset: 0x1F0000, erasesize: 0x08000, numblocks: 1 }, in amd_flash_probe()
440 { offset: 0x1F8000, erasesize: 0x02000, numblocks: 2 }, in amd_flash_probe()
441 { offset: 0x1FC000, erasesize: 0x04000, numblocks: 1 } in amd_flash_probe()
450 { offset: 0x000000, erasesize: 0x04000, numblocks: 1 }, in amd_flash_probe()
451 { offset: 0x004000, erasesize: 0x02000, numblocks: 2 }, in amd_flash_probe()
452 { offset: 0x008000, erasesize: 0x08000, numblocks: 1 }, in amd_flash_probe()
453 { offset: 0x010000, erasesize: 0x10000, numblocks: 31 } in amd_flash_probe()
462 { offset: 0x000000, erasesize: 0x10000, numblocks: 31 }, in amd_flash_probe()
[all …]
Dcfi_cmdset_0020.c225 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_staa_setup()
242 mtd->eraseregions[i].numblocks); in cfi_staa_setup()
988 …>chipshift) == ((regions[i].offset + (regions[i].erasesize * regions[i].numblocks)) %( 1<< cfi->ch… in cfi_staa_erase_varsize()
Dcfi_cmdset_0002.c191 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_amdstd_setup()
206 mtd->eraseregions[i].numblocks); in cfi_amdstd_setup()
1056 …>chipshift) == ((regions[i].offset + (regions[i].erasesize * regions[i].numblocks)) %( 1<< cfi->ch… in cfi_amdstd_erase_varsize()
Dcfi_cmdset_0001.c242 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum;
257 mtd->eraseregions[i].numblocks);
1456 …>chipshift) == ((regions[i].offset + (regions[i].erasesize * regions[i].numblocks)) %( 1<< cfi->ch…
/linux-2.4.37.9/drivers/usb/storage/
Dsddr55.c776 int numblocks; in sddr55_read_map() local
787 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map()
789 buffer = kmalloc( numblocks * 2, GFP_NOIO ); in sddr55_read_map()
794 command[6] = numblocks * 2 / 256; in sddr55_read_map()
803 result = sddr55_bulk_transport(us, SCSI_DATA_READ, buffer, numblocks * 2); in sddr55_read_map()
821 info->lba_to_pba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr55_read_map()
822 info->pba_to_lba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr55_read_map()
835 memset(info->lba_to_pba, 0xff, numblocks*sizeof(int)); in sddr55_read_map()
836 memset(info->pba_to_lba, 0xff, numblocks*sizeof(int)); in sddr55_read_map()
846 for (i=0; i<numblocks; i++) { in sddr55_read_map()
Dsddr09.c929 int numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr09_find_unused_pba() local
932 for (i = lastpba+1; i < numblocks; i++) { in sddr09_find_unused_pba()
1280 int numblocks, alloc_len, alloc_blocks; in sddr09_read_map() local
1330 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr09_read_map()
1332 result = sddr09_read_control(us, 0, numblocks, in sddr09_read_map()
1343 info->lba_to_pba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr09_read_map()
1344 info->pba_to_lba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr09_read_map()
1357 for (i = 0; i < numblocks; i++) in sddr09_read_map()
1370 for (i=0; i<numblocks; i++) { in sddr09_read_map()
1377 for (i=0; i<numblocks; i++) { in sddr09_read_map()
[all …]
/linux-2.4.37.9/fs/minix/
Dbitmap.c22 static unsigned long count_free(struct buffer_head *map[], unsigned numblocks, __u32 numbits) in count_free() argument
27 for (i=0; i<numblocks-1; i++) { in count_free()
35 if (numblocks==0 || !(bh=map[numblocks-1])) in count_free()
37 i = ((numbits-(numblocks-1)*BLOCK_SIZE*8)/16)*2; in count_free()
/linux-2.4.37.9/drivers/mtd/maps/
Dscb2_flash.c171 if (region->numblocks * region->erasesize > mtd->size) { in scb2_fixup_mtd()
172 region->numblocks = (mtd->size / region->erasesize); in scb2_fixup_mtd()
175 region->numblocks = 0; in scb2_fixup_mtd()
Depxa10db-flash.c132 for(j=0;j<mymtd->eraseregions[i].numblocks;j++){ in epxa_mtd_init()
/linux-2.4.37.9/drivers/mtd/devices/
Dlart.c432 …d->eraseregions[i].offset + (mtd->eraseregions[i].erasesize * mtd->eraseregions[i].numblocks)) i++; in flash_erase()
593 numblocks: FLASH_NUMBLOCKS_16m_PARAM
599 numblocks: FLASH_NUMBLOCKS_16m_MAIN
674 result,mtd.eraseregions[result].numblocks); in lart_flash_init()
Dblkmtd.c437 einfo->offset, einfo->erasesize, einfo->numblocks); in blkmtd_erase()
439 && from < einfo->offset + (einfo->erasesize * einfo->numblocks)) { in blkmtd_erase()
757 (info+regcnt)->numblocks = count; in calc_erase_regions()
/linux-2.4.37.9/drivers/mtd/
Dmtdconcat.c620 erase_region_p->numblocks = (position - begin) / curr_erasesize; in mtd_concat_create()
637 erase_region_p->numblocks = (position - begin) / curr_erasesize; in mtd_concat_create()
643 position += subdev[i]->eraseregions[j].numblocks * curr_erasesize; in mtd_concat_create()
650 erase_region_p->numblocks = (position - begin) / curr_erasesize; in mtd_concat_create()
/linux-2.4.37.9/include/linux/mtd/
Dmtd.h84 u_int32_t numblocks; /* Number of blocks in this region */ member
134 u_int32_t numblocks; /* Number of blocks of erasesize in this region */ member