/* Move every URB to unused list (a reset has occured)  */
void usbd_purge_all_transfer(usbd_device *dev, usbd_transfer_status status)
/* Move every URB to unused list (a reset has occured)  */
void usbd_purge_all_transfer(usbd_device *dev, usbd_transfer_status status)
{
	flush_queue(dev, &dev->urbs.active, status);
	flush_queue(dev, &dev->urbs.waiting, status);
	usbd_put_all_urb_into_unused(dev);
	dev->urbs.ep_free = ~0;
}