Lines Matching refs:otg_fsm

137 struct otg_fsm {  struct
204 void (*chrg_vbus)(struct otg_fsm *fsm, int on); argument
205 void (*drv_vbus)(struct otg_fsm *fsm, int on);
206 void (*loc_conn)(struct otg_fsm *fsm, int on);
207 void (*loc_sof)(struct otg_fsm *fsm, int on);
208 void (*start_pulse)(struct otg_fsm *fsm);
209 void (*start_adp_prb)(struct otg_fsm *fsm);
210 void (*start_adp_sns)(struct otg_fsm *fsm);
211 void (*add_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
212 void (*del_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
213 int (*start_host)(struct otg_fsm *fsm, int on);
214 int (*start_gadget)(struct otg_fsm *fsm, int on);
218 static inline int otg_chrg_vbus(struct otg_fsm *fsm, int on) in otg_chrg_vbus()
226 static inline int otg_drv_vbus(struct otg_fsm *fsm, int on) in otg_drv_vbus()
237 static inline int otg_loc_conn(struct otg_fsm *fsm, int on) in otg_loc_conn()
248 static inline int otg_loc_sof(struct otg_fsm *fsm, int on) in otg_loc_sof()
259 static inline int otg_start_pulse(struct otg_fsm *fsm) in otg_start_pulse()
270 static inline int otg_start_adp_prb(struct otg_fsm *fsm) in otg_start_adp_prb()
282 static inline int otg_start_adp_sns(struct otg_fsm *fsm) in otg_start_adp_sns()
293 static inline int otg_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_add_timer()
301 static inline int otg_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_del_timer()
309 static inline int otg_start_host(struct otg_fsm *fsm, int on) in otg_start_host()
316 static inline int otg_start_gadget(struct otg_fsm *fsm, int on) in otg_start_gadget()
323 int otg_statemachine(struct otg_fsm *fsm);