Home
last modified time | relevance | path

Searched refs:eraseblock (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/mtd/
H A Dnand.h81 unsigned int eraseblock; member
758 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos()
759 pos->plane = pos->eraseblock % nand->memorg.planes_per_lun; in nanddev_offs_to_pos()
784 if (a->eraseblock != b->eraseblock) in nanddev_pos_cmp()
785 return a->eraseblock < b->eraseblock ? -1 : 1; in nanddev_pos_cmp()
810 ((pos->eraseblock + in nanddev_pos_to_offs()
833 (pos->eraseblock << nand->rowconv.eraseblock_addr_shift) | in nanddev_pos_to_row()
850 pos->eraseblock = 0; in nanddev_pos_next_target()
872 pos->eraseblock = 0; in nanddev_pos_next_lun()
886 if (pos->eraseblock >= nand->memorg.eraseblocks_per_lun - 1) in nanddev_pos_next_eraseblock()
[all …]
H A Drawnand.h1561 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
/linux/Documentation/ABI/stable/
H A Dsysfs-class-ubi38 Amount of available logical eraseblock. For example, one may
70 Maximum logical eraseblock size this UBI device may provide. UBI
71 volumes may have smaller logical eraseblock size because of their
79 Maximum physical eraseblock erase counter value.
148 Volume alignment - the value the logical eraseblock size of
150 logical eraseblock size is multiple of 2048. In other words,
151 volume logical eraseblock size is UBI device logical eraseblock
191 Count of physical eraseblock reserved for this volume.
219 Logical eraseblock size of this volume. Equivalent to logical
220 eraseblock size of the device aligned on the volume alignment
/linux/drivers/mtd/tests/
H A Dnandbiterrs.c60 static unsigned eraseblock; /* Eraseblock number for our page. */ variable
359 eraseblock = mtd_div_by_eb(offset, mtd); 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()
/linux/drivers/mtd/ubi/
H A DKconfig22 wear leveling by means of moving data from eraseblock with low erase
26 other flashes which have eraseblock life-cycle 100000 or more.
27 However, in case of MLC NAND flashes which typically have eraseblock
32 int "Maximum expected bad eraseblock count per 1024 eraseblocks"
/linux/Documentation/filesystems/
H A Dubifs.rst25 eraseblock, write to some offset within an eraseblock, and erase a whole
26 eraseblock. Block devices support 2 main operations - read a whole
28 3 The whole eraseblock has to be erased before it becomes possible to
H A Dubifs-authentication.rst233 eraseblock to another and does not atomically erase the first eraseblock.
/linux/Documentation/ABI/testing/
H A Dsysfs-class-mtd51 zero, this is the eraseblock size for the entire device.
53 can be used to determine the actual eraseblock layout.
81 For devices that have variable eraseblock sizes, this
/linux/fs/jffs2/
H A DREADME.Locking74 This is used to serialise access to the eraseblock lists, to the
75 per-eraseblock lists of physical jffs2_raw_node_ref structures, and
/linux/drivers/mtd/nand/spi/
H A Dcore.c823 start_pos.eraseblock != end_pos.eraseblock) in spinand_use_cont_read()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c1956 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock) in nand_erase_op() argument
1958 unsigned int page = eraseblock << in nand_erase_op()