Searched refs:toread (Results 1 - 3 of 3) sorted by relevance
/netgear-R7800-V1.0.2.28/package/disktype/src/ |
H A D | buffer.c | 233 u8 toread, result, curr_chunk; local 305 toread = s->size - c->end; 306 /* toread cannot be zero or negative due to the preconditions */ 308 toread = CHUNKSIZE - c->len; 310 result = s->read_bytes(s, c->start + c->len, toread, 319 if (result < toread) {
|
/netgear-R7800-V1.0.2.28/target/linux/ubicom32/files/drivers/mtd/devices/ |
H A D | ubi32-nand-spi-er.c | 492 size_t toread; local 502 toread = len; 503 if (toread > (chip->device->page_size - column)) { 504 toread = chip->device->page_size - column; 507 DEBUG(MTD_DEBUG_LEVEL3, "%s: buf=%p toread=%x row=%x column=%x last_row=%x\n", chip->name, pbuf, toread, row, column, chip->last_row); 565 tmp = toread & (~0x03); 575 tmp = toread & (~0x03); 586 tmp = toread & 0x03; 598 len -= toread; [all...] |
H A D | nand-spi-er.c | 326 size_t toread; local 334 toread = len; 335 if (toread > (chip->device->page_size - column)) { 336 toread = chip->device->page_size - column; 339 DEBUG(MTD_DEBUG_LEVEL3, "%s: buf=%p toread=%x row=%x column=%x last_row=%x\n", chip->name, buf, toread, row, column, chip->last_row); 416 x[1].len = toread; 425 buf += toread; 426 len -= toread; 427 *retlen += toread; [all...] |
Completed in 36 milliseconds