Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
renesas_usbhs.h File Reference
#include <linux/platform_device.h>
#include <linux/usb/ch9.h>

Go to the source code of this file.

Data Structures

struct  renesas_usbhs_driver_callback
 
struct  renesas_usbhs_platform_callback
 
struct  renesas_usbhs_driver_param
 
struct  renesas_usbhs_platform_info
 

Macros

#define renesas_usbhs_get_info(pdev)   ((struct renesas_usbhs_platform_info *)(pdev)->dev.platform_data)
 
#define renesas_usbhs_call_notify_hotplug(pdev)
 

Enumerations

enum  { USBHS_HOST = 0, USBHS_GADGET, USBHS_MAX }
 

Macro Definition Documentation

#define renesas_usbhs_call_notify_hotplug (   pdev)
Value:
({ \
dc = &(renesas_usbhs_get_info(pdev)->driver_callback); \
if (dc && dc->notify_hotplug) \
dc->notify_hotplug(pdev); \
})

Definition at line 197 of file renesas_usbhs.h.

#define renesas_usbhs_get_info (   pdev)    ((struct renesas_usbhs_platform_info *)(pdev)->dev.platform_data)

Definition at line 194 of file renesas_usbhs.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
USBHS_HOST 
USBHS_GADGET 
USBHS_MAX 

Definition at line 27 of file renesas_usbhs.h.