Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
blackfin.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/gpio.h>
#include <linux/io.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/prefetch.h>
#include <linux/usb/nop-usb-xceiv.h>
#include <asm/cacheflush.h>
#include "musb_core.h"
#include "musbhsdma.h"
#include "blackfin.h"

Go to the source code of this file.

Data Structures

struct  bfin_glue
 

Macros

#define glue_to_musb(g)   platform_get_drvdata(g->musb)
 
#define DEV_PM_OPS   NULL
 

Functions

void musb_write_fifo (struct musb_hw_ep *hw_ep, u16 len, const u8 *src)
 
void musb_read_fifo (struct musb_hw_ep *hw_ep, u16 len, u8 *dst)
 
 MODULE_DESCRIPTION ("Blackfin MUSB Glue Layer")
 
 MODULE_AUTHOR ("Bryan Wy <[email protected]>")
 
 MODULE_LICENSE ("GPL v2")
 
 module_init (bfin_init)
 
 module_exit (bfin_exit)
 

Macro Definition Documentation

#define DEV_PM_OPS   NULL

Definition at line 573 of file blackfin.c.

#define glue_to_musb (   g)    platform_get_drvdata(g->musb)

Definition at line 34 of file blackfin.c.

Function Documentation

MODULE_AUTHOR ( "Bryan Wy <[email protected]>"  )
MODULE_DESCRIPTION ( "Blackfin MUSB Glue Layer"  )
module_exit ( bfin_exit  )
module_init ( bfin_init  )
MODULE_LICENSE ( "GPL v2 )
void musb_read_fifo ( struct musb_hw_ep hw_ep,
u16  len,
u8 dst 
)

Definition at line 103 of file blackfin.c.

void musb_write_fifo ( struct musb_hw_ep hw_ep,
u16  len,
const u8 src 
)

Definition at line 39 of file blackfin.c.