Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fusb300_udc.c File Reference
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include "fusb300_udc.h"

Go to the source code of this file.

Macros

#define DRIVER_VERSION   "20 October 2010"
 
#define UVC_COPY_DESCRIPTORS(mem, src)
 

Functions

 MODULE_DESCRIPTION ("FUSB300 USB gadget driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Yuan Hsin Chen <[email protected]>")
 
 MODULE_ALIAS ("platform:fusb300_udc")
 
void fusb300_rdcxf (struct fusb300 *fusb300, u8 *buffer, u32 length)
 
 module_init (fusb300_udc_init)
 
 module_exit (fusb300_udc_cleanup)
 

Macro Definition Documentation

#define DRIVER_VERSION   "20 October 2010"

Definition at line 28 of file fusb300_udc.c.

#define UVC_COPY_DESCRIPTORS (   mem,
  src 
)
Value:
do { \
const struct usb_descriptor_header * const *__src; \
for (__src = src; *__src; ++__src) { \
memcpy(mem, *__src, (*__src)->bLength); \
mem += (*__src)->bLength; \
} \
} while (0)

Definition at line 814 of file fusb300_udc.c.

Function Documentation

void fusb300_rdcxf ( struct fusb300 fusb300,
u8 buffer,
u32  length 
)

Definition at line 560 of file fusb300_udc.c.

MODULE_ALIAS ( "platform:fusb300_udc"  )
MODULE_AUTHOR ( "Yuan Hsin Chen <[email protected]>"  )
MODULE_DESCRIPTION ( "FUSB300 USB gadget driver )
module_exit ( fusb300_udc_cleanup  )
module_init ( fusb300_udc_init  )
MODULE_LICENSE ( "GPL"  )