#include <linux/init.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/usb/nop-usb-xceiv.h>
#include <plat/usb.h>
#include "musb_core.h"
Go to the source code of this file.
| #define AM35X_INTR_DRVVBUS 0x100 |
| #define AM35X_INTR_RX_SHIFT 16 |
| #define AM35X_INTR_TX_SHIFT 0 |
| #define AM35X_INTR_USB_MASK (0x1ff << AM35X_INTR_USB_SHIFT) |
| #define AM35X_INTR_USB_SHIFT 16 |
| #define AM35X_RX_EP_MASK 0xfffe /* 15 Rx EPs */ |
| #define AM35X_SOFT_RESET_MASK 1 |
| #define AM35X_TX_EP_MASK 0xffff /* EP0 + 15 Tx EPs */ |
| #define CORE_INTR_MASK_CLEAR_REG 0x54 |
| #define CORE_INTR_MASK_REG 0x4c |
| #define CORE_INTR_MASK_SET_REG 0x50 |
| #define CORE_INTR_SRC_CLEAR_REG 0x48 |
| #define CORE_INTR_SRC_MASKED_REG 0x58 |
| #define CORE_INTR_SRC_REG 0x40 |
| #define CORE_INTR_SRC_SET_REG 0x44 |
| #define EP_INTR_MASK_CLEAR_REG 0x34 |
| #define EP_INTR_MASK_REG 0x2c |
| #define EP_INTR_MASK_SET_REG 0x30 |
| #define EP_INTR_SRC_CLEAR_REG 0x28 |
| #define EP_INTR_SRC_MASKED_REG 0x38 |
| #define EP_INTR_SRC_REG 0x20 |
| #define EP_INTR_SRC_SET_REG 0x24 |
| #define glue_to_musb |
( |
|
g | ) |
platform_get_drvdata(g->musb) |
| #define portstate |
( |
|
stmt | ) |
stmt |
| #define USB_AUTOREQ_REG 0x14 |
| #define USB_CTRL_REG 0x04 |
| #define USB_EMULATION_REG 0x0c |
| #define USB_END_OF_INTR_REG 0x60 |
| #define USB_MENTOR_CORE_OFFSET 0x400 |
| #define USB_REVISION_REG 0x00 |
| #define USB_SRP_FIX_TIME_REG 0x18 |
| #define USB_STAT_REG 0x08 |
| #define USB_TEARDOWN_REG 0x1c |
| MODULE_DESCRIPTION |
( |
"AM35x MUSB Glue Layer" |
| ) |
|
| module_exit |
( |
am35x_exit |
| ) |
|
| module_init |
( |
am35x_init |
| ) |
|
| MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|