Lines Matching defs:offset
97 uint32_t romio_offs; /* offset of the firmware within the flash */
753 uint32_t offset;
764 offset = board->romio_offs;
770 offset += sizeof(hdr);
777 offset += bootext_block->file_size;
778 if (offset > (board->romio_offs + board->bootext_size)) {
783 padlen = ALIGN(offset, MMAP_ALIGN) - offset;
788 offset += padlen;
790 mmap.addr = board->flash_base + offset;
795 offset += MMAP_DATA_SIZE;
797 if ((offset - board->romio_offs) < board->bootext_size) {
798 padlen = board->romio_offs + board->bootext_size - offset;
802 offset += padlen;
804 DBG(2, "bootext end at %08x", offset);
813 padlen = ALIGN(offset, block->align) - offset;
817 offset += padlen;
822 offset += block->file_size;
825 padlen = ALIGN(offset, 4) - offset;
829 offset += padlen;
984 calc_block_offsets(int type, uint32_t *offset)
992 *offset);
1001 next_offs = ALIGN(*offset, block->align);
1004 ERR("file %s is too big, offset = %u, size=%u,"
1014 block->padlen = next_offs - *offset;
1015 *offset += block->file_size;
1025 uint32_t offset;
1037 offset = board->romio_offs + bootext_block->file_size;
1038 res = calc_block_offsets(BLOCK_TYPE_RAW, &offset);