Searched refs:trx (Results 1 – 2 of 2) sorted by relevance
74 #define TRX_VER(trx) (trx->flag_version>>16) argument75 #define ISTRX_V1(trx) (TRX_VER(trx) == TRX_V1) argument76 #define ISTRX_V2(trx) (TRX_VER(trx) == TRX_V2) argument78 #define SIZEOF_TRX(trx) (ISTRX_V2(trx) ? SIZEOF_TRXHDR_V2: SIZEOF_TRXHDR_V1) argument80 #define SIZEOF_TRX(trx) (sizeof(struct trx_header)) argument
115 struct trx_header *trx; in check_ucode_file() local119 trx = (struct trx_header *)headers; in check_ucode_file()120 if (trx->magic != TRX_MAGIC) { in check_ucode_file()124 actual_data_len = ROUNDUP(trx->offsets[0], 4) + ROUNDUP(trx->offsets[1], 4); in check_ucode_file()