---
name: "usb_reset_endpoint"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_reset_endpoint"
---

# usb\_reset\_endpoint(9)

Reset an endpoint's state.

## NAME

usb\_reset\_endpoint - Reset an endpoint's state.

## SYNOPSIS

**void usb\_reset\_endpoint(struct usb\_device \*** *dev***, unsigned int** *epaddr***);**

## ARGUMENTS

*dev*

the device whose endpoint is to be reset

*epaddr*

the endpoint's address. Endpoint number for output, endpoint number + USB\_DIR\_IN for input

## DESCRIPTION

Resets any host-side endpoint state such as the toggle bit, sequence number or current window.

## COPYRIGHT
