void init_reg_param(struct reg_param *param, char *reg_name, uint32_t size, enum param_direction direction)
void destroy_mem_param(struct mem_param *param)
void destroy_reg_param(struct reg_param *param)
void init_mem_param(struct mem_param *param, uint32_t address, uint32_t size, enum param_direction direction)
Support functions to access arbitrary bits in a byte array.
static uint16_t direction
size_t size
Size of the control block search area.
enum param_direction direction
enum param_direction direction
#define DIV_ROUND_UP(m, n)
Rounds m up to the nearest multiple of n using division.