Searched refs:eraseblock (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/linux/mtd/
H A Dnand.h22 * @pages_per_eraseblock: number of pages per eraseblock
58 * @eraseblock_addr_shift: position of the eraseblock identifier in the row
71 * @eraseblock: the eraseblock within the LUN
81 unsigned int eraseblock; member in struct:nand_pos
501 * nanddev_pages_per_eraseblock() - Get the number of pages per eraseblock
504 * Return: the number of pages per eraseblock.
530 * Return: the eraseblock size.
755 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun);
756 pos->plane = pos->eraseblock
[all...]
H A Drawnand.h1256 * @phys_erase_shift: Number of address bits in a physical eraseblock
1403 * defined the chip, including the geometry (chip size, eraseblock size, page
1412 * eraseblock size via the extended ID bytes.
1417 * buswidth), and the page size, eraseblock size, and OOB size could vary while
1439 * well as the eraseblock size) is determined from the extended NAND
1442 * @erasesize: eraseblock size in bytes (determined from the extended ID if 0)
1561 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
/linux-master/drivers/mtd/tests/
H A Dnandbiterrs.c60 static unsigned eraseblock; /* Eraseblock number for our page. */ variable
349 pr_info("MTD device size %llu, eraseblock=%u, page=%u, oob=%u\n",
359 eraseblock = mtd_div_by_eb(offset, mtd);
361 pr_info("Using page=%u, offset=%llu, eraseblock=%u\n",
362 page_offset, offset, eraseblock);
376 err = mtdtest_erase_eraseblock(mtd, eraseblock);
389 err = mtdtest_erase_eraseblock(mtd, eraseblock);
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c1941 * @eraseblock: block to erase
1949 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock) argument
1951 unsigned int page = eraseblock <<

Completed in 142 milliseconds