Searched refs:page_ptr (Results 1 – 1 of 1) sorted by relevance
201 rt_uint8_t *page_ptr; in mtd_nand_read() local212 page_ptr = rt_malloc(nand->page_size + nand->oob_size); in mtd_nand_read()213 if (page_ptr == RT_NULL) in mtd_nand_read()219 oob_ptr = page_ptr + nand->page_size; in mtd_nand_read()228 mtd_dump_hex(page_ptr, nand->page_size); in mtd_nand_read()231 rt_free(page_ptr); in mtd_nand_read()267 rt_uint8_t *page_ptr; in mtd_nand_write() local280 if (page_ptr == RT_NULL) in mtd_nand_write()286 oob_ptr = page_ptr + nand->page_size; in mtd_nand_write()290 page_ptr[index] = index & 0xff; in mtd_nand_write()[all …]
Completed in 3 milliseconds