Lines Matching refs:otg_fsm
137 struct otg_fsm { struct
203 void (*chrg_vbus)(struct otg_fsm *fsm, int on); argument
204 void (*drv_vbus)(struct otg_fsm *fsm, int on);
205 void (*loc_conn)(struct otg_fsm *fsm, int on);
206 void (*loc_sof)(struct otg_fsm *fsm, int on);
207 void (*start_pulse)(struct otg_fsm *fsm);
208 void (*start_adp_prb)(struct otg_fsm *fsm);
209 void (*start_adp_sns)(struct otg_fsm *fsm);
210 void (*add_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
211 void (*del_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
212 int (*start_host)(struct otg_fsm *fsm, int on);
213 int (*start_gadget)(struct otg_fsm *fsm, int on);
217 static inline int otg_chrg_vbus(struct otg_fsm *fsm, int on) in otg_chrg_vbus()
225 static inline int otg_drv_vbus(struct otg_fsm *fsm, int on) in otg_drv_vbus()
236 static inline int otg_loc_conn(struct otg_fsm *fsm, int on) in otg_loc_conn()
247 static inline int otg_loc_sof(struct otg_fsm *fsm, int on) in otg_loc_sof()
258 static inline int otg_start_pulse(struct otg_fsm *fsm) in otg_start_pulse()
269 static inline int otg_start_adp_prb(struct otg_fsm *fsm) in otg_start_adp_prb()
281 static inline int otg_start_adp_sns(struct otg_fsm *fsm) in otg_start_adp_sns()
292 static inline int otg_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_add_timer()
300 static inline int otg_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_del_timer()
308 static inline int otg_start_host(struct otg_fsm *fsm, int on) in otg_start_host()
315 static inline int otg_start_gadget(struct otg_fsm *fsm, int on) in otg_start_gadget()
322 int otg_statemachine(struct otg_fsm *fsm);