USB_CREATE_HCD

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

usb_create_hcd - create and initialize an HCD structure  

SYNOPSIS

"SYNOPSIS"

struct usb_hcd * usb_create_hcd (const struct hc_driver * driver, struct device * dev, char * bus_name);  

ARGUMENTS

driver
HC driver that will use this hcd
dev
device for this HC, stored in hcd->self.controller
bus_name
value to store in hcd->self.bus_name
 

CONTEXT

!in_interrupt  

DESCRIPTION

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.

If memory is unavailable, returns NULL.


 

Index

NAME
SYNOPSIS
ARGUMENTS
CONTEXT
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:56 GMT, October 09, 2005