Home
last modified time | relevance | path

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

/qemu/hw/block/
H A Dnand.c122 # define PAGE_START(page) (PAGE(page) * (NAND_PAGE_SIZE + OOB_SIZE))
129 # define NAND_PAGE_SIZE 256 macro
134 # define NAND_PAGE_SIZE 512 macro
139 # define NAND_PAGE_SIZE 2048 macro
691 if (off + s->iolen > NAND_PAGE_SIZE) {
788 if (offset > NAND_PAGE_SIZE + OOB_SIZE) {
821 static void glue(nand_init_, NAND_PAGE_SIZE)(NANDFlashState *s)
827 s->blk_erase = glue(nand_blk_erase_, NAND_PAGE_SIZE);
828 s->blk_write = glue(nand_blk_write_, NAND_PAGE_SIZE);
829 s->blk_load = glue(nand_blk_load_, NAND_PAGE_SIZE);
[all …]