Searched refs:offsets (Results 1 - 11 of 11) sorted by relevance

/openwrt/target/linux/adm5120/files-3.18/drivers/mtd/
H A Dtrxsplit.c38 u32 offsets[TRX_MAX_OFFSET]; /* Offsets of partitions */ member in struct:trx_header
71 trx_hdr.offsets[0] = le32_to_cpu(trx_hdr.offsets[0]);
72 trx_hdr.offsets[1] = le32_to_cpu(trx_hdr.offsets[1]);
73 trx_hdr.offsets[2] = le32_to_cpu(trx_hdr.offsets[2]);
121 if (trx_hdr.offsets[i] == 0)
123 part->offset = trx_offset + trx_hdr.offsets[i];
/openwrt/target/linux/brcm47xx/image/lzma-loader/src/
H A Ddecompress.c87 unsigned int offsets[3]; /* Offsets of partitions from start of header */ member in struct:trx_header
148 if (((struct trx_header *)data)->offsets[1] > 65536)
149 data += ((struct trx_header *)data)->offsets[0];
151 data += ((struct trx_header *)data)->offsets[1];
/openwrt/target/linux/at91/image/dfboot/src/
H A Dmain.c468 unsigned int offsets[3]; member in struct:trx_header
512 i = ((p->offsets[1] - p->offsets[0])/ 512) + 1 + (NbPage << 13) + (dataflash_info[0].Device.pages_size << 17);
513 *(int *)(buffer + p->offsets[0] + AT91C_OFFSET_VECT6) = i;
518 write_dataflash(0xc0000000, buffer + p->offsets[0], p->offsets[1] - p->offsets[0]);
522 write_dataflash(0xc0008000, buffer + p->offsets[1], p->offsets[2] - p->offsets[
[all...]
/openwrt/target/linux/adm5120/image/lzma-loader/src/
H A Ddecompress.c109 unsigned int offsets[3]; /* Offsets of partitions from start of header */ member in struct:trx_header
249 kofs = read_le32(&hdr->offsets[1]);
251 klen = kofs-read_le32(&hdr->offsets[0]);
252 kofs = read_le32(&hdr->offsets[0]);
254 klen = read_le32(&hdr->offsets[2]);
/openwrt/tools/firmware-utils/src/
H A Dtrx2edips.c32 uint32_t offsets[3]; /* Offsets of partitions from start of header */ member in struct:trx_header
158 memcpy(buf + LOAD32_LE(p->offsets[2]) - EDIMAX_HDR_LEN, buf + LOAD32_LE(p->offsets[2]), length - LOAD32_LE(p->offsets[2]));
H A Dtrx.c33 * TODO: Support '-b' option to specify offsets for each file.
78 uint32_t offsets[4]; /* Offsets of partitions from start of header */ member in struct:trx_header
144 p->offsets[i++] = STORE32_LE(cur_len);
267 if(cur_len - LOAD32_LE(p->offsets[3]) < sizeof(binheader)) {
271 memcpy(binheader, buf + LOAD32_LE(p->offsets[3]), sizeof(binheader)); /* save header */
272 memset(buf + LOAD32_LE(p->offsets[3]) + 22, 0xFF, 8); /* set stable and try1-3 to 0xFF */
283 memcpy(buf + LOAD32_LE(p->offsets[3]), binheader, sizeof(binheader));
/openwrt/target/linux/ar71xx/files/drivers/mtd/
H A Dcybertan_part.c53 uint32_t offsets[TRX_MAX_OFFSET]; /* Offsets of partitions from start of header */ member in struct:trx_header
138 kernel_len = le32_to_cpu(theader->offsets[1]) +
/openwrt/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/
H A Dcns3xxx_fiq.S11 #include <asm/asm-offsets.h>
/openwrt/target/linux/oxnas/files/arch/arm/mach-oxnas/
H A Dfiq.S11 #include <asm/asm-offsets.h>
/openwrt/package/system/mtd/src/
H A Dtrx.c46 uint32_t offsets[3]; /* Offsets of partitions from start of header */ member in struct:trx_header
/openwrt/target/sdk/
H A DMakefile52 kernel/asm-offsets.s

Completed in 170 milliseconds