Searched refs:sz_remain (Results 1 – 1 of 1) sorted by relevance
416 unsigned int sz_remain = 0; in flashRead() local433 sz_remain = sz % max_size; in flashRead()440 if (sz_remain) { in flashRead()441 __readByCMD(0xEB, flash_addr, (unsigned char *)buf_tmp, sz_remain); in flashRead()457 sz_remain = (sz - (INSIDE_FLS_PAGE_SIZE - page_offset)) % INSIDE_FLS_PAGE_SIZE; in flashRead()465 if (sz_remain) { in flashRead()466 __readByCMD(0xEB, flash_addr, (unsigned char *)cache, sz_remain + (4- sz_remain%4)); in flashRead()467 MEMCPY(buf_tmp, cache, sz_remain); in flashRead()