/openbmc/u-boot/include/linux/mtd/ |
H A D | nand.h | 76 unsigned int eraseblock; member 435 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos() 436 pos->plane = pos->eraseblock % nand->memorg.planes_per_lun; in nanddev_offs_to_pos() 461 if (a->eraseblock != b->eraseblock) in nanddev_pos_cmp() 462 return a->eraseblock < b->eraseblock ? -1 : 1; in nanddev_pos_cmp() 487 ((pos->eraseblock + in nanddev_pos_to_offs() 510 (pos->eraseblock << nand->rowconv.eraseblock_addr_shift) | in nanddev_pos_to_row() 527 pos->eraseblock = 0; in nanddev_pos_next_target() 549 pos->eraseblock = 0; in nanddev_pos_next_lun() 563 if (pos->eraseblock >= nand->memorg.eraseblocks_per_lun - 1) in nanddev_pos_next_eraseblock() [all …]
|
/openbmc/linux/include/linux/mtd/ |
H A D | nand.h | 81 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 …]
|
H A D | rawnand.h | 1548 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-class-ubi | 38 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
|
/openbmc/linux/drivers/mtd/tests/ |
H A D | nandbiterrs.c | 60 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()
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | Kconfig | 32 wear leveling by means of moving data from eraseblock with low erase 36 other flashes which have eraseblock life-cycle 100000 or more. 37 However, in case of MLC NAND flashes which typically have eraseblock 42 int "Maximum expected bad eraseblock count per 1024 eraseblocks"
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | Kconfig | 22 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"
|
/openbmc/u-boot/doc/ |
H A D | README.ubi | 54 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
|
/openbmc/linux/Documentation/filesystems/ |
H A D | ubifs.rst | 25 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 D | ubifs-authentication.rst | 233 eraseblock to another and does not atomically erase the first eraseblock.
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-mtd | 51 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
|
/openbmc/linux/fs/jffs2/ |
H A D | README.Locking | 74 This is used to serialise access to the eraseblock lists, to the 75 per-eraseblock lists of physical jffs2_raw_node_ref structures, and
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | Kconfig | 262 hex "NAND chip eraseblock size" 265 Number of data bytes in one eraseblock for the NAND chip on the
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/ |
H A D | 0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch | 136 /* Seek to the beginning of the eraseblock */ 148 /* Seek to the beginning of the eraseblock */
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | image_types.bbclass | 273 EXTRA_IMAGECMD:jffs2 ?= "--pad ${JFFS2_ENDIANNESS} --eraseblock=${JFFS2_ERASEBLOCK} --no-cleanmarke…
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 1938 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock) in nand_erase_op() argument 1940 unsigned int page = eraseblock << in nand_erase_op()
|
/openbmc/u-boot/ |
H A D | README | 2350 wear leveling by means of moving data from eraseblock with low erase 2354 other flashes which have eraseblock life-cycle 100000 or more. 2355 However, in case of MLC NAND flashes which typically have eraseblock
|