Home
last modified time | relevance | path

Searched refs:OOB_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dssfdc.c37 #define OOB_SIZE 16 macro
171 ops.ooblen = OOB_SIZE; in read_raw_oob()
176 if (ret < 0 || ops.oobretlen != OOB_SIZE) in read_raw_oob()
243 uint8_t oob_buf[OOB_SIZE]; in build_logical_block_map()
290 if (!mtd_type_is_nand(mtd) || mtd->oobsize != OOB_SIZE || in ssfdcr_add_mtd()
/openbmc/qemu/hw/block/
H A Dnand.c122 # define PAGE_START(page) (PAGE(page) * (NAND_PAGE_SIZE + OOB_SIZE))
125 # define OOB_SIZE (1 << OOB_SHIFT) macro
694 MIN(OOB_SIZE, off + s->iolen - NAND_PAGE_SIZE));
734 0xff, (NAND_PAGE_SIZE + OOB_SIZE) << s->erase_shift);
737 0xff, OOB_SIZE << s->erase_shift);
760 for (addr += ((NAND_PAGE_SIZE + OOB_SIZE) << s->erase_shift) - 0x200;
788 if (offset > NAND_PAGE_SIZE + OOB_SIZE) {
801 OOB_SIZE);
814 offset, NAND_PAGE_SIZE + OOB_SIZE - offset);