/* cdns3_hw_reset_eps_config - reset endpoints configuration kept by controller. @priv_dev: extended gadget object  */
void cdns3_hw_reset_eps_config(struct cdns3_device *priv_dev)
/* cdns3_hw_reset_eps_config - reset endpoints configuration kept by controller. @priv_dev: extended gadget object  */
void cdns3_hw_reset_eps_config(struct cdns3_device *priv_dev)
{
	writel(USB_CONF_CFGRST, &priv_dev->regs->usb_conf);
	cdns3_allow_enable_l1(priv_dev, 0);
	priv_dev->hw_configured_flag = 0;
	priv_dev->onchip_used_size = 0;
	priv_dev->out_mem_is_allocated = 0;
	priv_dev->wait_for_setup = 0;
}