linux/arch/arm/plat-mxc/usb_common.c File Reference

platform related part of usb driver. More...

Typedefs

typedef void(* driver_vbus_func )(bool)

Functions

static int usb_register_remote_wakeup (struct platform_device *pdev)

Variables

static int usb_mxc_instance_id

Detailed Description

platform related part of usb driver.


Typedef Documentation

typedef void(* driver_vbus_func)(bool)

Include files


Function Documentation

static int usb_register_remote_wakeup ( struct platform_device *  pdev  )  [static]

Register remote wakeup by this usb controller

Parameters:
pdev,: platform_device for this usb controller
Returns:
0 or negative error code in case not supportted.

Variable Documentation

int usb_mxc_instance_id [static]

Register an instance of a USB host platform device.

Parameters:
res,: resource pointer
n_res,: number of resources
config,: config pointer
Returns:
newly-registered platform_device

The USB controller supports 3 host interfaces, and the kernel can be configured to support some number of them. Each supported host interface is registered as an instance of the "fsl-ehci" device. Call this function multiple times to register each host interface.

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen