Lines Matching refs:otg_fsm

63 struct otg_fsm {  struct
125 void (*chrg_vbus)(struct otg_fsm *fsm, int on); argument
126 void (*drv_vbus)(struct otg_fsm *fsm, int on);
127 void (*loc_conn)(struct otg_fsm *fsm, int on);
128 void (*loc_sof)(struct otg_fsm *fsm, int on);
129 void (*start_pulse)(struct otg_fsm *fsm);
130 void (*start_adp_prb)(struct otg_fsm *fsm);
131 void (*start_adp_sns)(struct otg_fsm *fsm);
132 void (*add_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
133 void (*del_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
134 int (*start_host)(struct otg_fsm *fsm, int on);
135 int (*start_gadget)(struct otg_fsm *fsm, int on);
139 static inline int otg_chrg_vbus(struct otg_fsm *fsm, int on) in otg_chrg_vbus()
147 static inline int otg_drv_vbus(struct otg_fsm *fsm, int on) in otg_drv_vbus()
158 static inline int otg_loc_conn(struct otg_fsm *fsm, int on) in otg_loc_conn()
169 static inline int otg_loc_sof(struct otg_fsm *fsm, int on) in otg_loc_sof()
180 static inline int otg_start_pulse(struct otg_fsm *fsm) in otg_start_pulse()
191 static inline int otg_start_adp_prb(struct otg_fsm *fsm) in otg_start_adp_prb()
203 static inline int otg_start_adp_sns(struct otg_fsm *fsm) in otg_start_adp_sns()
214 static inline int otg_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_add_timer()
222 static inline int otg_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_del_timer()
230 static inline int otg_start_host(struct otg_fsm *fsm, int on) in otg_start_host()
237 static inline int otg_start_gadget(struct otg_fsm *fsm, int on) in otg_start_gadget()
244 int otg_statemachine(struct otg_fsm *fsm);