arch/arm/mach-omap1/usb.h

Source file repositories/reference/linux-study-clean/arch/arm/mach-omap1/usb.h

File Facts

System
Linux kernel
Corpus path
arch/arm/mach-omap1/usb.h
Extension
.h
Size
636 bytes
Lines
26
Domain
Architecture Layer
Bucket
arch/arm
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#include <linux/platform_data/usb-omap1.h>
#include <linux/soc/ti/omap1-usb.h>

#if IS_ENABLED(CONFIG_USB_OMAP)
#define	is_usb0_device(config)	1
#else
#define	is_usb0_device(config)	0
#endif

#if IS_ENABLED(CONFIG_USB_SUPPORT)
void omap1_usb_init(struct omap_usb_config *pdata);
#else
static inline void omap1_usb_init(struct omap_usb_config *pdata)
{
}
#endif

#define OMAP1_OHCI_BASE			0xfffba000
#define OMAP2_OHCI_BASE			0x4805e000
#define OMAP_OHCI_BASE			OMAP1_OHCI_BASE

Annotation

Implementation Notes