/Linux-v4.19/drivers/bcma/ |
D | driver_chipcommon_sflash.c | 30 u16 numblocks; member 150 sflash->numblocks = e->numblocks; in bcma_sflash_init() 151 sflash->size = sflash->blocksize * sflash->numblocks; in bcma_sflash_init() 156 sflash->numblocks); in bcma_sflash_init()
|
/Linux-v4.19/drivers/ssb/ |
D | driver_chipcommon_sflash.c | 29 u16 numblocks; member 150 sflash->numblocks = e->numblocks; in ssb_sflash_init() 151 sflash->size = sflash->blocksize * sflash->numblocks; in ssb_sflash_init() 155 e->name, sflash->size / 1024, e->blocksize, e->numblocks); in ssb_sflash_init()
|
/Linux-v4.19/drivers/mtd/maps/ |
D | vmu-flash.c | 33 u16 numblocks; member 71 if (src_ofs >= card->parts[partition].numblocks * card->blocklen) in ofs_to_block() 75 if (num > card->parts[partition].numblocks) in ofs_to_block() 360 int index = 0, retval, partition, leftover, numblocks; in vmu_flash_read() local 368 numblocks = card->parts[partition].numblocks; in vmu_flash_read() 369 if (from + len > numblocks * card->blocklen) in vmu_flash_read() 370 len = numblocks * card->blocklen - from; in vmu_flash_read() 424 int index = 0, partition, error = 0, numblocks; in vmu_flash_write() local 434 numblocks = card->parts[partition].numblocks; in vmu_flash_write() 435 if (to + len > numblocks * card->blocklen) in vmu_flash_write() [all …]
|
D | scb2_flash.c | 118 if (region->numblocks * region->erasesize > mtd->size) { in scb2_fixup_mtd() 119 region->numblocks = ((unsigned long)mtd->size / in scb2_fixup_mtd() 123 region->numblocks = 0; in scb2_fixup_mtd()
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 458 int i, numblocks, numpages; in create_bbt() local 470 numblocks = mtd->size >> this->bbt_erase_shift; in create_bbt() 479 numblocks = this->chipsize >> this->bbt_erase_shift; in create_bbt() 480 startblock = chip * numblocks; in create_bbt() 481 numblocks += startblock; in create_bbt() 488 for (i = startblock; i < numblocks; i++) { in create_bbt() 623 int startblock, dir, page, numblocks, i; in get_bbt_block() local 634 numblocks = (int)(this->chipsize >> this->bbt_erase_shift); in get_bbt_block() 636 numblocks *= this->numchips; in get_bbt_block() 643 startblock = numblocks * (chip + 1) - 1; in get_bbt_block() [all …]
|
/Linux-v4.19/drivers/usb/storage/ |
D | sddr55.c | 641 int numblocks; in sddr55_read_map() local 652 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map() 654 buffer = kmalloc_array(numblocks, 2, GFP_NOIO ); in sddr55_read_map() 661 command[6] = numblocks * 2 / 256; in sddr55_read_map() 671 result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, buffer, numblocks * 2); in sddr55_read_map() 687 info->lba_to_pba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr55_read_map() 688 info->pba_to_lba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr55_read_map() 699 memset(info->lba_to_pba, 0xff, numblocks*sizeof(int)); in sddr55_read_map() 700 memset(info->pba_to_lba, 0xff, numblocks*sizeof(int)); in sddr55_read_map() 712 for (i=0; i<numblocks; i++) { in sddr55_read_map()
|
D | sddr09.c | 1199 int numblocks, alloc_len, alloc_blocks; in sddr09_read_map() local 1212 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr09_read_map() 1221 alloc_blocks = min(numblocks, SDDR09_READ_MAP_BUFSZ >> CONTROL_SHIFT); in sddr09_read_map() 1234 info->lba_to_pba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr09_read_map() 1235 info->pba_to_lba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr09_read_map() 1243 for (i = 0; i < numblocks; i++) in sddr09_read_map() 1251 for (i = 0; i < numblocks; i++) { in sddr09_read_map() 1259 min(alloc_blocks, numblocks - i), in sddr09_read_map() 1370 for (i = 0; i < numblocks; i += 1024) { in sddr09_read_map() 1373 for (j = 0; j < 1024 && i+j < numblocks; j++) { in sddr09_read_map()
|
/Linux-v4.19/drivers/mtd/nand/onenand/ |
D | onenand_bbt.c | 60 int i, j, numblocks, len, scanlen; in create_bbt() local 79 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt() 88 for (i = startblock; i < numblocks; ) { in create_bbt()
|
D | onenand_base.c | 2285 region_end = region->offset + region->erasesize * region->numblocks; in onenand_block_by_block_erase() 2322 region_end = region->offset + region->erasesize * region->numblocks; in onenand_block_by_block_erase() 3453 mtd->eraseregions[i].numblocks = in flexonenand_get_size() 3455 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size() 3459 mtd->eraseregions[i].numblocks += in flexonenand_get_size() 3467 mtd->eraseregions[i].numblocks = maxbdry ^ in flexonenand_get_size() 3469 ofs += mtd->eraseregions[i].numblocks << eraseshift; in flexonenand_get_size() 3486 mtd->eraseregions[i].numblocks); in flexonenand_get_size()
|
/Linux-v4.19/fs/jffs2/ |
D | debug.c | 502 int numblocks = 0; in __jffs2_dbg_dump_block_lists_nolock() local 507 numblocks ++; in __jffs2_dbg_dump_block_lists_nolock() 517 numblocks, dirty, dirty / numblocks); in __jffs2_dbg_dump_block_lists_nolock() 524 int numblocks = 0; in __jffs2_dbg_dump_block_lists_nolock() local 530 numblocks ++; in __jffs2_dbg_dump_block_lists_nolock() 540 numblocks, dirty, dirty / numblocks); in __jffs2_dbg_dump_block_lists_nolock() 547 int numblocks = 0; in __jffs2_dbg_dump_block_lists_nolock() local 553 numblocks ++; in __jffs2_dbg_dump_block_lists_nolock() 563 numblocks, dirty, dirty / numblocks); in __jffs2_dbg_dump_block_lists_nolock()
|
/Linux-v4.19/fs/omfs/ |
D | file.c | 197 int numblocks = clus_to_blk(OMFS_SB(inode->i_sb), in find_block() local 201 block < searched + numblocks) { in find_block() 206 *left = numblocks - (block - searched); in find_block() 211 searched += numblocks; in find_block()
|
/Linux-v4.19/drivers/mtd/devices/ |
D | lart.c | 422 …d->eraseregions[i].offset + (mtd->eraseregions[i].erasesize * mtd->eraseregions[i].numblocks)) i++; in flash_erase() 570 .numblocks = FLASH_NUMBLOCKS_16m_PARAM, 576 .numblocks = FLASH_NUMBLOCKS_16m_MAIN, 648 result,mtd.eraseregions[result].numblocks); in lart_flash_init()
|
D | bcm47xxsflash.h | 75 u16 numblocks; member
|
D | bcm47xxsflash.c | 340 b47s->numblocks = sflash->numblocks; in bcm47xxsflash_bcma_probe()
|
/Linux-v4.19/include/linux/ssb/ |
D | ssb_driver_mips.h | 29 u16 numblocks; member
|
/Linux-v4.19/drivers/mtd/ |
D | mtdconcat.c | 811 erase_region_p->numblocks = tmp64; in mtd_concat_create() 830 erase_region_p->numblocks = tmp64; in mtd_concat_create() 840 numblocks * (uint64_t)curr_erasesize; in mtd_concat_create() 849 erase_region_p->numblocks = tmp64; in mtd_concat_create()
|
D | mtdchar.c | 680 || put_user(kr->numblocks, &(ur->numblocks))) in mtdchar_ioctl()
|
/Linux-v4.19/include/uapi/mtd/ |
D | mtd-abi.h | 141 __u32 numblocks; /* Number of blocks in this region */ member
|
/Linux-v4.19/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 207 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_staa_setup() 225 mtd->eraseregions[i].numblocks); in cfi_staa_setup() 957 …(((unsigned long)regions[i].offset + (regions[i].erasesize * regions[i].numblocks)) %( 1<< cfi->ch… in cfi_staa_erase_varsize()
|
D | cfi_util.c | 422 if (ofs == regions[i].offset + size * regions[i].numblocks) in cfi_varsize_frob()
|
D | cfi_cmdset_0001.c | 628 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_intelext_setup() 646 mtd->eraseregions[i].numblocks); in cfi_intelext_setup() 2489 for (block = 0; block < region->numblocks; block++){ in cfi_intelext_save_locks() 2589 for_each_clear_bit(block, region->lockmap, region->numblocks) { in cfi_intelext_restore_locks()
|
D | cfi_cmdset_0002.c | 712 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum; in cfi_amdstd_setup() 2673 if (offset == regions[i].offset + size * regions[i].numblocks) in cfi_ppb_unlock()
|
/Linux-v4.19/drivers/atm/ |
D | solos-pci.c | 641 int numblocks = 0; in flash_upgrade() local 697 numblocks = fw->size / blocksize; in flash_upgrade() 699 dev_info(&card->dev->dev, "Number of blocks: %d\n", numblocks); in flash_upgrade()
|
/Linux-v4.19/include/linux/bcma/ |
D | bcma_driver_chipcommon.h | 595 u16 numblocks; member
|
/Linux-v4.19/include/linux/mtd/ |
D | mtd.h | 51 uint32_t numblocks; /* Number of blocks of erasesize in this region */ member
|