Logo Search packages:      
Sourcecode: linux version File versions

usb_common.c File Reference

Detailed Description

platform related part of usb driver.

Definition in file usb_common.c.

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/fsl_devices.h>
#include <linux/usb/otg.h>
#include <linux/usb/fsl_xcvr.h>
#include <linux/regulator/consumer.h>
#include <mach/arc_otg.h>
#include <asm/mach-types.h>

Go to the source code of this file.




 EXPORT_SYMBOL (usbotg_uninit)
 EXPORT_SYMBOL (usbotg_init)
 EXPORT_SYMBOL (fsl_usb_xcvr_suspend)
 EXPORT_SYMBOL (otg_set_serial_peripheral)
 EXPORT_SYMBOL (otg_set_serial_host)
 EXPORT_SYMBOL (fsl_usb_host_uninit)
 EXPORT_SYMBOL (fsl_usb_host_init)
 EXPORT_SYMBOL (fsl_platform_perform_remote_wakeup)
 EXPORT_SYMBOL (fsl_platform_set_vbus_power)
 EXPORT_SYMBOL (fsl_usb_xcvr_unregister)
 EXPORT_SYMBOL (fsl_platform_set_test_mode)
 EXPORT_SYMBOL (fsl_usb_xcvr_register)
static int fsl_check_usbclk (void)
void fsl_platform_perform_remote_wakeup (struct fsl_usb2_platform_data *pdata)
void fsl_platform_set_test_mode (struct fsl_usb2_platform_data *pdata, enum usb_test_mode mode)
void fsl_platform_set_vbus_power (struct fsl_usb2_platform_data *pdata, int on)
static struct fsl_xcvr_ops * fsl_usb_get_xcvr (char *name)
int fsl_usb_host_init (struct platform_device *pdev)
void fsl_usb_host_uninit (struct fsl_usb2_platform_data *pdata)
void fsl_usb_xcvr_register (struct fsl_xcvr_ops *xcvr_ops)
int fsl_usb_xcvr_suspend (struct fsl_xcvr_ops *xcvr_ops)
void fsl_usb_xcvr_unregister (struct fsl_xcvr_ops *xcvr_ops)
void gpio_usbh1_setback_stp (void)
void gpio_usbh2_setback_stp (void)
int gpio_usbotg_hs_active (void)
int gpio_usbotg_hs_inactive (void)
struct platform_device * host_pdev_register (struct resource *res, int n_res, struct fsl_usb2_platform_data *config)
void otg_set_serial_host (void)
void otg_set_serial_peripheral (void)
static void otg_set_serial_xcvr (void)
static void otg_set_ulpi_xcvr (void)
static void otg_set_utmi_xcvr (void)
static void usbh1_set_serial_xcvr (void)
static void usbh1_set_ulpi_xcvr (void)
static void usbh2_set_serial_xcvr (void)
static void usbh2_set_ulpi_xcvr (void)
int usbotg_init (struct platform_device *pdev)
void usbotg_uninit (struct fsl_usb2_platform_data *pdata)


static u64 ehci_dmamask = ~(u32) 0
struct fsl_xcvr_ops * g_xc_ops [MXC_NUMBER_USB_TRANSCEIVER] = { NULL }
static int instance_id = 0
static int otg_used = 0
static struct clk * usb_ahb_clk
static struct clk * usb_clk

Generated by  Doxygen 1.6.0   Back to index