ECAP_CAP_REG
*cap = ecap_cnt_count_get_val(counter, ECAP_CAP_REG(idx));
ecap_cnt_count_set_val(counter, ECAP_CAP_REG(idx), cap);