.\" 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_ALLOC_BUS" "" "06 October 2005" "" ""
.SH NAME
usb_alloc_bus \- creates a new USB host controller structure
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct usb_bus * usb_alloc_bus (struct usb_operations * \fIop\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIop\fB\fR
pointer to a struct usb_operations that this bus structure should use
.SH "CONTEXT"
.PP
!\fBin_interrupt\fR
.SH "DESCRIPTION"
.PP
Creates a USB host controller bus structure with the specified
usb_operations and initializes all the necessary internal objects.
.PP
If no memory is available, NULL is returned.
.PP
The caller should call \fBusb_put_bus\fR when it is finished with the structure.