---
name: "usb_add_hcd"
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_add_hcd"
---

# usb\_add\_hcd(9)

finish generic HCD structure initialization and register

## NAME

usb\_add\_hcd - finish generic HCD structure initialization and register

## SYNOPSIS

**int usb\_add\_hcd(struct usb\_hcd \*** *hcd***, unsigned int** *irqnum***, unsigned long** *irqflags***);**

## ARGUMENTS

*hcd*

the usb\_hcd structure to initialize

*irqnum*

Interrupt line to allocate

*irqflags*

Interrupt type flags

## DESCRIPTION

Finish the remaining parts of generic HCD initialization: allocate the buffers of consistent memory, register the bus, request the IRQ line, and call the driver's **reset** and **start** routines.

## COPYRIGHT
