Searched refs:ENV_OFFSET_SIZE (Results 1 – 3 of 3) sorted by relevance
286 uint32_t oob_buf[ENV_OFFSET_SIZE / sizeof(uint32_t)]; in get_nand_env_oob()292 ops.ooblen = ENV_OFFSET_SIZE; in get_nand_env_oob()295 ret = mtd->read_oob(mtd, ENV_OFFSET_SIZE, &ops); in get_nand_env_oob()
190 uint32_t oob_buf[ENV_OFFSET_SIZE/sizeof(uint32_t)]; in do_nand_env_oob()233 if (mtd->oobavail < ENV_OFFSET_SIZE) { in do_nand_env_oob()237 mtd->oobavail, ENV_OFFSET_SIZE); in do_nand_env_oob()249 ops.ooblen = ENV_OFFSET_SIZE; in do_nand_env_oob()255 ret = mtd->write_oob(mtd, ENV_OFFSET_SIZE, &ops); in do_nand_env_oob()
138 #define ENV_OFFSET_SIZE 8 macro