Lines Matching refs:image
534 unsigned char *image = data;
545 if(_flash_read_page(flash_cmdlist, flash_ptrlist, page++, image, spare)) {
549 image += 2048;
550 memcpy(image, spare, extra_per_page);
551 image += extra_per_page;
565 const unsigned char *image = data;
574 dprintf("flash_write_image: image undersized (%d < %d)\n", bytes, wsize);
591 r = _flash_write_page(flash_cmdlist, flash_ptrlist, page++, image, image + 2048);
593 r = _flash_write_page(flash_cmdlist, flash_ptrlist, page++, image, spare);
596 dprintf("flash_write_image: write failure @ page %d (src %d)\n", page, image - (const unsigned char *)data);
597 image -= (page & 63) * wsize;
603 dprintf("flash_write_image: restart write @ page %d (src %d)\n", page, image - (const unsigned char *)data);
608 image += wsize;