Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Dnand.h76 unsigned int eraseblock; member
445 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos()
446 pos->plane = pos->eraseblock % nand->memorg.planes_per_lun; in nanddev_offs_to_pos()
471 if (a->eraseblock != b->eraseblock) in nanddev_pos_cmp()
472 return a->eraseblock < b->eraseblock ? -1 : 1; in nanddev_pos_cmp()
497 ((pos->eraseblock + in nanddev_pos_to_offs()
520 (pos->eraseblock << nand->rowconv.eraseblock_addr_shift) | in nanddev_pos_to_row()
537 pos->eraseblock = 0; in nanddev_pos_next_target()
559 pos->eraseblock = 0; in nanddev_pos_next_lun()
573 if (pos->eraseblock >= nand->memorg.eraseblocks_per_lun - 1) in nanddev_pos_next_eraseblock()
[all …]
H A Drawnand.h1255 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dnand.h81 unsigned int eraseblock; member
649 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos()
650 pos->plane = pos->eraseblock % nand->memorg.planes_per_lun; in nanddev_offs_to_pos()
675 if (a->eraseblock != b->eraseblock) in nanddev_pos_cmp()
676 return a->eraseblock < b->eraseblock ? -1 : 1; in nanddev_pos_cmp()
701 ((pos->eraseblock + in nanddev_pos_to_offs()
724 (pos->eraseblock << nand->rowconv.eraseblock_addr_shift) | in nanddev_pos_to_row()
741 pos->eraseblock = 0; in nanddev_pos_next_target()
763 pos->eraseblock = 0; in nanddev_pos_next_lun()
777 if (pos->eraseblock >= nand->memorg.eraseblocks_per_lun - 1) in nanddev_pos_next_eraseblock()
[all …]
H A Drawnand.h1467 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/partitions/
H A Dredboot-fis.txt7 It uses one single flash eraseblock in the flash to store an index of
15 - fis-index-block : (required) a index to the eraseblock containing
17 eraseblocks, 0 means the first eraseblock at 0x00000000, 1 means the
18 second eraseblock at 0x00008000 and so on.
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/buildroot/fs/ubifs/
H A DConfig.in9 hex "logical eraseblock size"
12 Logical eraseblock (LEB) size. The value provided here is
23 int "maximum logical eraseblock count"
26 Maximum logical eraseblock (LEB) count. The value provided
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A DKconfig31 wear leveling by means of moving data from eraseblock with low erase
35 other flashes which have eraseblock life-cycle 100000 or more.
36 However, in case of MLC NAND flashes which typically have eraseblock
41 int "Maximum expected bad eraseblock count per 1024 eraseblocks"
/OK3568_Linux_fs/kernel/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"
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.ubi54 UBI: physical eraseblock size: 262144 bytes (256 KiB)
55 UBI: logical eraseblock size: 262016 bytes
124 UBI: physical eraseblock size: 262144 bytes (256 KiB)
125 UBI: logical eraseblock size: 262016 bytes
/OK3568_Linux_fs/kernel/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.
/OK3568_Linux_fs/buildroot/fs/ubi/
H A DConfig.in36 hex "physical eraseblock size"
39 Tells ubinize the physical eraseblock (PEB) size of the
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/mtd/mtd-utils/
H A Dadd-exclusion-to-mkfs-jffs2-git-2.patch47 {"eraseblock", 1, NULL, 'e'},
55 " -n, --no-cleanmarkers Don't add a cleanmarker to every eraseblock\n"
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/yocto/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/
H A D0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch136 /* Seek to the beginning of the eraseblock */
148 /* Seek to the beginning of the eraseblock */
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A DKconfig321 hex "NAND chip eraseblock size"
324 Number of data bytes in one eraseblock for the NAND chip on the
H A Dnand_base.c1424 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock) in nand_erase_op() argument
1427 unsigned int page = eraseblock << in nand_erase_op()
3480 unsigned int eraseblock; in single_erase() local
3483 eraseblock = page >> (chip->phys_erase_shift - chip->page_shift); in single_erase()
3485 return nand_erase_op(chip, eraseblock); in single_erase()
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dimage_types.bbclass233 EXTRA_IMAGECMD:jffs2 ?= "--pad ${JFFS2_ENDIANNESS} --eraseblock=${JFFS2_ERASEBLOCK} --no-cleanmarke…
/OK3568_Linux_fs/buildroot/boot/uboot/
H A DConfig.in348 The NAND eraseblock size of the targets NAND flash in bytes as
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dnand_base.c1665 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()
/OK3568_Linux_fs/u-boot/
H A DREADME2619 wear leveling by means of moving data from eraseblock with low erase
2623 other flashes which have eraseblock life-cycle 100000 or more.
2624 However, in case of MLC NAND flashes which typically have eraseblock
/OK3568_Linux_fs/buildroot/output/OK3568/target/usr/lib/modules/5.10.160/
H A Dmodules.builtin.modinfo