/* Assumes that the dwc2_core_params struct contains only integers.  */
void dwc2_set_all_params(struct dwc2_core_params *params, int value)
/* Assumes that the dwc2_core_params struct contains only integers.  */
void dwc2_set_all_params(struct dwc2_core_params *params, int value)
{
	int *p = (int *)params;
	size_t size = sizeof(*params) / sizeof(*p);
	int i;
	for (i = 0; i < size; i++)
		p[i] = value;
}