Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/mtd/
Dnand.h81 unsigned int eraseblock; member
755 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos()
756 pos->plane = pos->eraseblock % nand->memorg.planes_per_lun; in nanddev_offs_to_pos()
781 if (a->eraseblock != b->eraseblock) in nanddev_pos_cmp()
782 return a->eraseblock < b->eraseblock ? -1 : 1; in nanddev_pos_cmp()
807 ((pos->eraseblock + in nanddev_pos_to_offs()
830 (pos->eraseblock << nand->rowconv.eraseblock_addr_shift) | in nanddev_pos_to_row()
847 pos->eraseblock = 0; in nanddev_pos_next_target()
869 pos->eraseblock = 0; in nanddev_pos_next_lun()
883 if (pos->eraseblock >= nand->memorg.eraseblocks_per_lun - 1) in nanddev_pos_next_eraseblock()
[all …]
Drawnand.h1522 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
/linux-6.1.9/Documentation/devicetree/bindings/mtd/partitions/
Dredboot-fis.yaml11 It uses one single flash eraseblock in the flash to store an index of
25 description: a index to the eraseblock containing the FIS directory on this
27 eraseblock at 0x00000000, 1 means the second eraseblock at 0x00008000 and so on.
/linux-6.1.9/Documentation/ABI/stable/
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-6.1.9/drivers/mtd/tests/
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-6.1.9/drivers/mtd/ubi/
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-6.1.9/Documentation/filesystems/
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
Dubifs-authentication.rst233 eraseblock to another and does not atomically erase the first eraseblock.
/linux-6.1.9/Documentation/ABI/testing/
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-6.1.9/fs/jffs2/
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-6.1.9/drivers/mtd/nand/raw/
Dnand_base.c1827 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock) in nand_erase_op() argument
1829 unsigned int page = eraseblock << in nand_erase_op()