Lines Matching defs:offset
163 { name: "linux", offset: 0x40000, size: WINDOW_SIZE-0x40000, },
164 { name: "rootfs", offset: 0xe0000, size: 0x140000, },
165 { name: "uboot_env", offset: 0x20000, size: 0x20000, },
188 for (off = adm8668_parts[PART_LINUX].offset; off < size; off += blocksize) {
204 adm8668_parts[PART_ROOTFS].offset = off;
206 adm8668_parts[PART_ROOTFS].offset;
210 linux_len = adm8668_parts[PART_LINUX+1].offset -
211 adm8668_parts[PART_LINUX].offset;
214 adm8668_parts[PART_LINUX].offset;
228 if (mtd->_read(mtd, adm8668_parts[PART_LINUX].offset, sizeof(uhdr), &len, (char *)&uhdr) ||
238 unsigned int offset;
240 offset = adm8668_parts[PART_LINUX].offset +
242 data = (unsigned char *)(WINDOW_ADDR | 0xA0000000 | offset);
264 if (mtd->_read(mtd, adm8668_parts[PART_LINUX].offset, mtd->erasesize, &len, block) || len != mtd->erasesize) {
273 erase_write(mtd, adm8668_parts[PART_LINUX].offset, mtd->erasesize, block);