OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:trx
(Results
1 - 2
of
2
) sorted by null
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
trxhdr.h
2
*
TRX
image file header format.
28
#define TRX_NO_HEADER 1 /* Do not write
TRX
header */
30
#define TRX_EMBED_UCODE 0x8 /*
Trx
contains embedded ucode image */
31
#define TRX_ROMSIM_IMAGE 0x10 /*
Trx
contains ROM simulation image */
32
#define TRX_UNCOMP_IMAGE 0x20 /*
Trx
contains uncompressed rtecdc.bin image */
44
* Ver 2 of
trx
header. To make it generic, trx_header is structure is modified
45
* as below where size of "offsets" field will vary as per the
TRX
version.
74
#define TRX_VER(
trx
) (
trx
->flag_version>>16)
75
#define ISTRX_V1(
trx
) (TRX_VER(trx) == TRX_V1
[
all
...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/
ucode_download.c
115
struct trx_header *
trx
;
local
118
/* Extract
trx
header */
119
trx
= (struct trx_header *)headers;
120
if (
trx
->magic != TRX_MAGIC) {
121
printf("Error:
trx
bad hdr\n");
124
actual_data_len = ROUNDUP(
trx
->offsets[0], 4) + ROUNDUP(
trx
->offsets[1], 4);
186
printf("not a valid ucode.
trx
\n");
Completed in 489 milliseconds