Lines Matching refs:otg_fsm

124 struct otg_fsm {  struct
191 void (*chrg_vbus)(struct otg_fsm *fsm, int on); argument
192 void (*drv_vbus)(struct otg_fsm *fsm, int on);
193 void (*loc_conn)(struct otg_fsm *fsm, int on);
194 void (*loc_sof)(struct otg_fsm *fsm, int on);
195 void (*start_pulse)(struct otg_fsm *fsm);
196 void (*start_adp_prb)(struct otg_fsm *fsm);
197 void (*start_adp_sns)(struct otg_fsm *fsm);
198 void (*add_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
199 void (*del_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
200 int (*start_host)(struct otg_fsm *fsm, int on);
201 int (*start_gadget)(struct otg_fsm *fsm, int on);
205 static inline int otg_chrg_vbus(struct otg_fsm *fsm, int on) in otg_chrg_vbus()
213 static inline int otg_drv_vbus(struct otg_fsm *fsm, int on) in otg_drv_vbus()
224 static inline int otg_loc_conn(struct otg_fsm *fsm, int on) in otg_loc_conn()
235 static inline int otg_loc_sof(struct otg_fsm *fsm, int on) in otg_loc_sof()
246 static inline int otg_start_pulse(struct otg_fsm *fsm) in otg_start_pulse()
257 static inline int otg_start_adp_prb(struct otg_fsm *fsm) in otg_start_adp_prb()
269 static inline int otg_start_adp_sns(struct otg_fsm *fsm) in otg_start_adp_sns()
280 static inline int otg_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_add_timer()
288 static inline int otg_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_del_timer()
296 static inline int otg_start_host(struct otg_fsm *fsm, int on) in otg_start_host()
303 static inline int otg_start_gadget(struct otg_fsm *fsm, int on) in otg_start_gadget()
310 int otg_statemachine(struct otg_fsm *fsm);