Searched refs:STORE32_LE (Results 1 - 4 of 4) sorted by relevance

/netgear-R7800-V1.0.2.28/package/mtd/src/
H A Dtrx.c47 #define STORE32_LE(X) ((((X) & 0x000000FF) << 24) | (((X) & 0x0000FF00) << 8) | (((X) & 0x00FF0000) >> 8) | (((X) & 0xFF000000) >> 24)) macro
49 #define STORE32_LE(X) (X) macro
184 if (trx->magic != STORE32_LE(0x30524448)) {
189 if (trx->len == STORE32_LE(erasesize - offset)) {
196 trx->len = STORE32_LE(erasesize - offset);
198 trx->crc32 = STORE32_LE(crc32buf((char*) &trx->flag_version, erasesize - offset - 3*4));
H A Dseama.c43 #define STORE32_LE(X) ((((X) & 0x000000FF) << 24) | (((X) & 0x0000FF00) << 8) | (((X) & 0x00FF0000) >> 8) | (((X) & 0xFF000000) >> 24)) macro
45 #define STORE32_LE(X) (X) macro
/netgear-R7800-V1.0.2.28/tools/firmware-utils/src/
H A Dtrx2edips.c10 #define STORE32_LE(X) bswap_32(X) macro
13 #define STORE32_LE(X) (X) macro
160 p->crc32 = STORE32_LE(crc32buf((char *) &p->flag_version, length - offsetof(struct trx_header, flag_version)));
162 eh.sign = STORE32_LE(EDIMAX_PS16);
163 eh.length = STORE32_LE(length);
164 eh.start_addr = STORE32_LE(0x80500000);
H A Dtrx.c55 #define STORE32_LE(X) bswap_32(X) macro
58 #define STORE32_LE(X) (X) macro
118 p->magic = STORE32_LE(TRX_MAGIC);
144 p->offsets[i++] = STORE32_LE(cur_len);
250 p->flag_version = STORE32_LE((trx_version << 16));
277 p->crc32 = STORE32_LE(p->crc32);
279 p->len = STORE32_LE((fsmark) ? fsmark : cur_len);
280 p->len = STORE32_LE(p->len);

Completed in 86 milliseconds