'\" t .\" Title: usb_add_hcd .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Host Controller APIs .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "USB_ADD_HCD" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Host Controller APIs" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" usb_add_hcd \- finish generic HCD structure initialization and register .SH "SYNOPSIS" .HP \w'int\ usb_add_hcd('u .BI "int usb_add_hcd(struct\ usb_hcd\ *\ " "hcd" ", unsigned\ int\ " "irqnum" ", unsigned\ long\ " "irqflags" ");" .SH "ARGUMENTS" .PP \fIhcd\fR .RS 4 the usb_hcd structure to initialize .RE .PP \fIirqnum\fR .RS 4 Interrupt line to allocate .RE .PP \fIirqflags\fR .RS 4 Interrupt type flags .RE .SH "DESCRIPTION" .PP 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\*(Aqs \fBreset\fR and \fBstart\fR routines\&. .SH "COPYRIGHT" .br