Searched refs:size (Results 1 - 25 of 227) sorted by relevance

12345678910

/openwrt/target/linux/ar71xx/image/lzma-loader/src/
H A Dcache.h15 void flush_cache(unsigned long start_addr, unsigned long size);
H A Dcache.c30 void flush_cache(unsigned long start_addr, unsigned long size) argument
34 unsigned long aend = (start_addr + size - 1) & ~(lsize - 1);
/openwrt/target/linux/brcm63xx/image/lzma-loader/src/
H A Dcache.h15 void flush_cache(unsigned long start_addr, unsigned long size);
H A Dcache.c31 void flush_cache(unsigned long start_addr, unsigned long size) argument
35 unsigned long aend = (start_addr + size + (lsize - 1)) & ~(lsize - 1);
37 printf("blasting from 0x%08x to 0x%08x (0x%08x - 0x%08x)\n", start_addr, size, addr, aend);
/openwrt/target/linux/lantiq/image/lzma-loader/src/
H A Dcache.h15 void flush_cache(unsigned long start_addr, unsigned long size);
H A Dcache.c30 void flush_cache(unsigned long start_addr, unsigned long size) argument
34 unsigned long aend = (start_addr + size - 1) & ~(lsize - 1);
/openwrt/target/linux/ramips/image/lzma-loader/src/
H A Dcache.h15 void flush_cache(unsigned long start_addr, unsigned long size);
H A Dcache.c30 void flush_cache(unsigned long start_addr, unsigned long size) argument
34 unsigned long aend = (start_addr + size - 1) & ~(lsize - 1);
/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_nameval.c19 * sizeof(int) bytes record size.
23 * total size stored in record size
36 int size; local
38 memcpy(&size, xb, sizeof(int));
39 while (size > 0 && (size < xb_size) && (pos + size < xb_size)) {
41 name, size)) {
43 *exist_size = size;
60 int size; local
76 int size; local
133 int size; local
170 int size; local
[all...]
/openwrt/package/network/services/ead/src/tinysrp/
H A Dt_conv.c61 * Convert a hex string to a string of bytes; return size of dst
68 register unsigned size = strlen(src); local
70 /* FIXME: handle whitespace and non-hex digits by setting size and src
73 if(size % 2 == 1) {
75 --size;
77 while(size > 0) {
80 size -= 2;
89 t_tohex(dst, src, size)
91 register unsigned size;
96 if (size !
120 unsigned int size; local
[all...]
/openwrt/target/linux/adm5120/files-3.18/arch/mips/adm5120/common/
H A Dmemory.c68 u32 size, maxsize; local
89 /* detect size of the 1st SDRAM bank */
91 for (size = 2<<20; size <= (maxsize >> 1); size <<= 1) {
92 if (mem_check_pattern(p, size)) {
94 mem_dbg("mirrored data found at offset 0x%08X\n", size);
99 mem_dbg("chip size in 1st bank is %uMB\n", size >> 20);
100 adm5120_memsize = size;
[all...]
/openwrt/target/linux/mpc85xx/files/arch/powerpc/boot/
H A Dcuboot-tl-wdr4900-v1.c40 int node, size, i; local
46 /* Find the #address-cells and #size-cells properties */
50 na = fdt_getprop(boot_dtb, node, "#address-cells", &size);
51 if (!na || (size != 4))
54 ns = fdt_getprop(boot_dtb, node, "#size-cells", &size);
55 if (!ns || (size != 4))
56 fatal("Cannot find #size-cells property");
63 reg = fdt_getprop(boot_dtb, node, "reg", &size);
64 if (size < (*n
[all...]
/openwrt/target/linux/at91/files/drivers/mtd/
H A Dat91part.c47 at91_parts[0].size = 0x21000;
52 at91_parts[1].size = 0x8400;
57 at91_parts[2].size = 0;
62 at91_parts[3].size = 0;
73 printk(KERN_INFO "%s: Filesystem type: squashfs, size=0x%x\n",
76 at91_parts[3].size = sb->bytes_used;
78 len = at91_parts[3].offset + at91_parts[3].size;
80 at91_parts[3].size = len - at91_parts[3].offset;
81 at91_parts[2].size = offset - at91_parts[2].offset;
86 if (at91_parts[3].size
[all...]
/openwrt/target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/
H A Dcellvision.c26 .size = 32*1024,
31 .size = 32*1024,
35 .size = 64*1024,
39 .size = 64*1024,
43 .size = MTDPART_SIZ_FULL,
51 .size = 32*1024,
56 .size = 32*1024,
60 .size = 128*1024,
64 .size = MTDPART_SIZ_FULL,
/openwrt/tools/firmware-utils/src/
H A Dmkedimaximg.c34 unsigned int size; member in struct:header
40 off_t size; member in struct:finfo
46 size_t size; member in struct:buf
86 for (i = 0; i < buf->size / 2; i++)
102 buf->size = fread(buf->start, 1, finfo->size, f);
103 if (buf->size != finfo->size) {
123 buf->size = fwrite(buf->start, 1, finfo->size,
[all...]
H A Dseama.h38 * | reserved | meta size | |
40 * | image size (0 bytes) | |
46 * | reserved | meta size | | |
48 * | image size | | |
65 * | reserved | meta size | | |
67 * | image size | | |
92 * | reserved | meta size |
94 * | image size |
103 uint16_t metasize; /* size of the META data */
104 uint32_t size; /* siz member in struct:seama_hdr
[all...]
H A Dmakeamitbin.c38 unsigned int size; member in struct:hdrinfo
124 unsigned short checksum(unsigned char *data, long size) argument
128 for (n = 0; n < size; n += 2)
135 if (size & 1)
165 unsigned char *data, long size, int last)
170 offset = info->addr + info->size - size; /* top align */
175 COPY_LONG(hdr, 0x24, info->size);
177 COPY_LONG(hdr, 0x2c, size);
182 COPY_SHORT(hdr, 0x0e, checksum(data, size));
164 makehdr(unsigned char *hdr, struct hdrinfo *info, unsigned char *data, long size, int last) argument
186 read_file(const char *name, long *size) argument
269 long size; local
[all...]
/openwrt/package/system/mtd/src/
H A Dseama.h38 * | reserved | meta size | |
40 * | image size (0 bytes) | |
46 * | reserved | meta size | | |
48 * | image size | | |
65 * | reserved | meta size | | |
67 * | image size | | |
92 * | reserved | meta size |
94 * | image size |
102 uint16_t metasize; /* size of the META data */
103 uint32_t size; /* siz member in struct:seama_entity_header
[all...]
/openwrt/target/linux/ar71xx/files/arch/mips/ath79/
H A Dmach-wnr2000.c39 .size = 0x040000,
44 .size = 0x010000,
48 .size = 0x240000,
52 .size = 0x010000,
56 .size = 0x120000,
60 .size = 0x020000,
64 .size = 0x010000,
68 .size = 0x010000,
H A Dmach-wrt400n.c43 .size = 0x030000,
48 .size = 0x010000,
53 .size = 0x140000,
57 .size = 0x630000,
61 .size = 0x010000,
66 .size = 0x010000,
71 .size = 0x020000,
76 .size = 0x010000,
81 .size = 0x770000,
/openwrt/target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/
H A Dp-33x.c21 .size = 16*1024,
26 .size = 16*1024,
31 .size = 32*1024,
35 .size = 64*1024,
39 .size = MTDPART_SIZ_FULL,
43 .size = MTDPART_SIZ_FULL,
/openwrt/target/linux/generic/files/drivers/mtd/mtdsplit/
H A Dmtdsplit_seama.c27 __be16 metasize; /* size of the META data */
28 __be32 size; /* size of the image */ member in struct:seama_header
55 kernel_ent_size = hdr_len + be32_to_cpu(hdr.size) +
57 if (kernel_ent_size > master->size)
67 * and rootfs. We can't determine kernel size so we just have to
72 master->size, &rootfs_offset, &type);
83 parts[0].size = rootfs_offset - parts[0].offset;
90 parts[1].size = master->size
[all...]
/openwrt/target/linux/ar71xx/files/drivers/mtd/
H A Dcybertan_part.c143 trx_parts[0].size = uboot_len;
147 trx_parts[1].offset = trx_parts[0].offset + trx_parts[0].size;
148 trx_parts[1].size = kernel_len;
152 trx_parts[2].offset = trx_parts[1].offset + trx_parts[1].size;
153 trx_parts[2].size = master->size - uboot_len - nvram_len - art_len -
154 trx_parts[1].size;
158 trx_parts[3].offset = master->size - nvram_len - art_len;
159 trx_parts[3].size = nvram_len;
163 trx_parts[4].offset = master->size
[all...]
/openwrt/target/linux/ar7/files/drivers/mtd/
H A Dac49xpart.c59 part->size = partend - partstart;
69 if (part.size < 4)
145 unsigned int offset, size, type; local
155 size = parsepart.size;
171 parsepart.size -= ROOTFS_MIN_OFFSET &
174 unsigned int size, offset; local
175 size = parsepart.size;
186 (unsigned int)parsepart.size,
[all...]
/openwrt/package/libs/libnl-tiny/src/
H A Dobject.c80 int size; local
86 size = ops->oo_size - doff;
87 if (size < 0)
93 if (size)
94 memcpy((void *)new + doff, (void *)obj + doff, size);
101 } else if (size && ops->oo_free_data)

Completed in 103 milliseconds

12345678910