Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
403 * nanddev_pages_per_eraseblock() - Get the number of pages per eraseblock
406 * Return: the number of pages per eraseblock.
432 * Return: the eraseblock size.
637 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos()
638 pos->plane = pos->eraseblock in nanddev_offs_to_pos()
[all...]
H A Drawnand.h1193 * @phys_erase_shift: Number of address bits in a physical eraseblock
1325 * defined the chip, including the geometry (chip size, eraseblock size, page
1334 * eraseblock size via the extended ID bytes.
1339 * buswidth), and the page size, eraseblock size, and OOB size could vary while
1361 * well as the eraseblock size) is determined from the extended NAND
1364 * @erasesize: eraseblock size in bytes (determined from the extended ID if 0)
1467 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
/kernel/linux/linux-6.6/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
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); in nanddev_offs_to_pos()
756 pos->plane = pos->eraseblock in nanddev_offs_to_pos()
[all...]
H A Drawnand.h1243 * @phys_erase_shift: Number of address bits in a physical eraseblock
1390 * defined the chip, including the geometry (chip size, eraseblock size, page
1399 * eraseblock size via the extended ID bytes.
1404 * buswidth), and the page size, eraseblock size, and OOB size could vary while
1426 * well as the eraseblock size) is determined from the extended NAND
1429 * @erasesize: eraseblock size in bytes (determined from the extended ID if 0)
1548 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
/kernel/linux/linux-5.10/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", in mtd_nandbiterrs_init()
359 eraseblock = mtd_div_by_eb(offset, mtd); in mtd_nandbiterrs_init()
361 pr_info("Using page=%u, offset=%llu, eraseblock=%u\n", in mtd_nandbiterrs_init()
362 page_offset, offset, eraseblock); in mtd_nandbiterrs_init()
376 err = mtdtest_erase_eraseblock(mtd, eraseblock); in mtd_nandbiterrs_init()
389 err = mtdtest_erase_eraseblock(mtd, eraseblock); in mtd_nandbiterrs_init()
/kernel/linux/linux-6.6/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", in mtd_nandbiterrs_init()
359 eraseblock = mtd_div_by_eb(offset, mtd); in mtd_nandbiterrs_init()
361 pr_info("Using page=%u, offset=%llu, eraseblock=%u\n", in mtd_nandbiterrs_init()
362 page_offset, offset, eraseblock); in mtd_nandbiterrs_init()
376 err = mtdtest_erase_eraseblock(mtd, eraseblock); in mtd_nandbiterrs_init()
389 err = mtdtest_erase_eraseblock(mtd, eraseblock); in mtd_nandbiterrs_init()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dnand_base.c1657 * @eraseblock: block to erase
1665 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock) in nand_erase_op() argument
1667 unsigned int page = eraseblock << in nand_erase_op()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dnand_base.c1923 * @eraseblock: block to erase
1931 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock) in nand_erase_op() argument
1933 unsigned int page = eraseblock << in nand_erase_op()

Completed in 23 milliseconds