Searched refs:nand_cache_off (Results 1 – 1 of 1) sorted by relevance
173 static u32 nand_cache_off = (u32)-1; variable188 if ((off + bytes_read < nand_cache_off) || in read_nand_cached()189 (off + bytes_read >= nand_cache_off+NAND_CACHE_SIZE)) { in read_nand_cached()190 nand_cache_off = (off + bytes_read) & NAND_PAGE_MASK; in read_nand_cached()203 if (nand_read(mtd, nand_cache_off, in read_nand_cached()207 nand_cache_off, NAND_CACHE_SIZE); in read_nand_cached()211 cpy_bytes = nand_cache_off + NAND_CACHE_SIZE - (off + bytes_read); in read_nand_cached()215 nand_cache + off + bytes_read - nand_cache_off, in read_nand_cached()