D | otg-fsm.h | 204 void (*chrg_vbus)(struct otg_fsm *fsm, int on); 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); 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() argument 222 fsm->ops->chrg_vbus(fsm, on); in otg_chrg_vbus() 226 static inline int otg_drv_vbus(struct otg_fsm *fsm, int on) in otg_drv_vbus() argument 230 if (fsm->drv_vbus != on) { in otg_drv_vbus() [all …]
|