Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ohci-pnx8550.c File Reference
#include <linux/device.h>
#include <linux/platform_device.h>
#include <asm/mach-pnx8550/usb.h>
#include <asm/mach-pnx8550/int.h>
#include <asm/mach-pnx8550/pci.h>

Go to the source code of this file.

Functions

int usb_disabled (void)
 
int usb_hcd_pnx8550_probe (const struct hc_driver *driver, struct platform_device *dev)
 
void usb_hcd_pnx8550_remove (struct usb_hcd *hcd, struct platform_device *dev)
 
 MODULE_ALIAS ("platform:pnx8550-ohci")
 

Function Documentation

MODULE_ALIAS ( "platform:pnx8550-ohci )
int usb_disabled ( void  )

Definition at line 939 of file usb.c.

int usb_hcd_pnx8550_probe ( const struct hc_driver *  driver,
struct platform_device dev 
)

usb_hcd_pnx8550_probe - initialize pnx8550-based HCDs Context: !in_interrupt()

Allocates basic resources for this USB host controller, and then invokes the start() method for the HCD associated with it through the hotplug entry's driver_data.

Definition at line 73 of file ohci-pnx8550.c.

void usb_hcd_pnx8550_remove ( struct usb_hcd *  hcd,
struct platform_device dev 
)

usb_hcd_pnx8550_remove - shutdown processing for pnx8550-based HCDs : USB Host Controller being removed Context: !in_interrupt()

Reverses the effect of usb_hcd_pnx8550_probe(), first invoking the HCD's stop() method. It is always called from a thread context, normally "rmmod", "apmd", or something similar.

Definition at line 137 of file ohci-pnx8550.c.