Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
otg_fsm.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/delay.h>
#include <linux/usb.h>
#include <linux/usb/gadget.h>
#include <linux/usb/otg.h>
#include "otg_fsm.h"

Go to the source code of this file.

Functions

void otg_leave_state (struct otg_fsm *fsm, enum usb_otg_state old_state)
 
int otg_set_state (struct otg_fsm *fsm, enum usb_otg_state new_state)
 
int otg_statemachine (struct otg_fsm *fsm)
 

Function Documentation

void otg_leave_state ( struct otg_fsm fsm,
enum usb_otg_state  old_state 
)

Definition at line 68 of file otg_fsm.c.

int otg_set_state ( struct otg_fsm fsm,
enum usb_otg_state  new_state 
)

Definition at line 117 of file otg_fsm.c.

int otg_statemachine ( struct otg_fsm fsm)

Definition at line 229 of file otg_fsm.c.