.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "USB_CREATE_HCD" "9" "09 October 2005" "" ""
.SH NAME
usb_create_hcd \- create and initialize an HCD structure
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct usb_hcd * usb_create_hcd (const struct hc_driver * \fIdriver\fB, struct device * \fIdev\fB, char * \fIbus_name\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdriver\fB\fR
HC driver that will use this hcd
.TP
\fB\fIdev\fB\fR
device for this HC, stored in hcd->self.controller
.TP
\fB\fIbus_name\fB\fR
value to store in hcd->self.bus_name
.SH "CONTEXT"
.PP
!\fBin_interrupt\fR
.SH "DESCRIPTION"
.PP
Allocate a struct usb_hcd, with extra space at the end for the
HC driver's private data. Initialize the generic members of the
hcd structure.
.PP
If memory is unavailable, returns NULL.