otg_fsm
struct otg_fsm fsm;
struct otg_fsm *fsm;
static void ci_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t)
static void ci_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t)
static void ci_otg_drv_vbus(struct otg_fsm *fsm, int on)
static void ci_otg_loc_conn(struct otg_fsm *fsm, int on)
static void ci_otg_loc_sof(struct otg_fsm *fsm, int on)
static void ci_otg_start_pulse(struct otg_fsm *fsm)
static int ci_otg_start_host(struct otg_fsm *fsm, int on)
static int ci_otg_start_gadget(struct otg_fsm *fsm, int on)
struct otg_fsm *fsm = &ci->fsm;
struct otg_fsm *fsm = &ci->fsm;
struct otg_fsm *fsm = container_of(to_delayed_work(work),
struct otg_fsm, hnp_polling_work);
static void otg_start_hnp_polling(struct otg_fsm *fsm)
static int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state)
static int otg_set_protocol(struct otg_fsm *fsm, int protocol)
int otg_statemachine(struct otg_fsm *fsm)
static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state)
void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on)
void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on)
void fsl_otg_loc_conn(struct otg_fsm *fsm, int on)
void fsl_otg_loc_sof(struct otg_fsm *fsm, int on)
void fsl_otg_start_pulse(struct otg_fsm *fsm)
int fsl_otg_init_timers(struct otg_fsm *fsm)
void fsl_otg_add_timer(struct otg_fsm *fsm, void *gtimer)
static void fsl_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t)
void fsl_otg_del_timer(struct otg_fsm *fsm, void *gtimer)
static void fsl_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t)
int fsl_otg_start_host(struct otg_fsm *fsm, int on)
int fsl_otg_start_gadget(struct otg_fsm *fsm, int on)
struct otg_fsm *fsm = &otg_dev->fsm;
struct otg_fsm *fsm = &og->fsm;
struct otg_fsm *fsm = &((struct fsl_otg *)dev_id)->fsm;
struct otg_fsm *fsm;
struct otg_fsm fsm;
void fsl_otg_add_timer(struct otg_fsm *fsm, void *timer);
void fsl_otg_del_timer(struct otg_fsm *fsm, void *timer);
void (*chrg_vbus)(struct otg_fsm *fsm, int on);
void (*drv_vbus)(struct otg_fsm *fsm, int on);
void (*loc_conn)(struct otg_fsm *fsm, int on);
void (*loc_sof)(struct otg_fsm *fsm, int on);
void (*start_pulse)(struct otg_fsm *fsm);
void (*start_adp_prb)(struct otg_fsm *fsm);
void (*start_adp_sns)(struct otg_fsm *fsm);
void (*add_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
void (*del_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
int (*start_host)(struct otg_fsm *fsm, int on);
int (*start_gadget)(struct otg_fsm *fsm, int on);
static inline int otg_chrg_vbus(struct otg_fsm *fsm, int on)
static inline int otg_drv_vbus(struct otg_fsm *fsm, int on)
static inline int otg_loc_conn(struct otg_fsm *fsm, int on)
static inline int otg_loc_sof(struct otg_fsm *fsm, int on)
static inline int otg_start_pulse(struct otg_fsm *fsm)
static inline int otg_start_adp_prb(struct otg_fsm *fsm)
static inline int otg_start_adp_sns(struct otg_fsm *fsm)
static inline int otg_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer)
static inline int otg_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer)
static inline int otg_start_host(struct otg_fsm *fsm, int on)
static inline int otg_start_gadget(struct otg_fsm *fsm, int on)
int otg_statemachine(struct otg_fsm *fsm);