STRUCTURES
------------------------------------------------------------------------------*/
/** \brief Structure of the microcode block headers */
-typedef struct {
+struct drxu_code_block_hdr {
u32 addr;
/**< Destination address of the data in this block */
u16 size;
- bit[1]= compression on/off
- bit[15..2]=reserved */
u16 CRC;/**< CRC value of the data block, only valid if CRC flag is
- set. */
-} drxu_code_block_hdr_t, *pdrxu_code_block_hdr_t;
+ set. */};
/*------------------------------------------------------------------------------
FUNCTIONS
DRX_ATTR_MCRECORD(demod).mc_version = 0;
DRX_ATTR_MCRECORD(demod).mc_base_version = 0;
for (i = 0; i < mc_nr_of_blks; i++) {
- drxu_code_block_hdr_t block_hdr;
+ struct drxu_code_block_hdr block_hdr;
/* Process block header */
block_hdr.addr = u_code_read32(mc_data);
/* Process microcode blocks */
for (i = 0; i < mc_nr_of_blks; i++) {
- drxu_code_block_hdr_t block_hdr;
+ struct drxu_code_block_hdr block_hdr;
u16 mc_block_nr_bytes = 0;
/* Process block header */