Lines Matching refs:ops
191 struct otg_fsm_ops *ops; member
220 if (!fsm->ops->chrg_vbus) in otg_chrg_vbus()
222 fsm->ops->chrg_vbus(fsm, on); in otg_chrg_vbus()
228 if (!fsm->ops->drv_vbus) in otg_drv_vbus()
232 fsm->ops->drv_vbus(fsm, on); in otg_drv_vbus()
239 if (!fsm->ops->loc_conn) in otg_loc_conn()
243 fsm->ops->loc_conn(fsm, on); in otg_loc_conn()
250 if (!fsm->ops->loc_sof) in otg_loc_sof()
254 fsm->ops->loc_sof(fsm, on); in otg_loc_sof()
261 if (!fsm->ops->start_pulse) in otg_start_pulse()
265 fsm->ops->start_pulse(fsm); in otg_start_pulse()
272 if (!fsm->ops->start_adp_prb) in otg_start_adp_prb()
277 fsm->ops->start_adp_prb(fsm); in otg_start_adp_prb()
284 if (!fsm->ops->start_adp_sns) in otg_start_adp_sns()
288 fsm->ops->start_adp_sns(fsm); in otg_start_adp_sns()
295 if (!fsm->ops->add_timer) in otg_add_timer()
297 fsm->ops->add_timer(fsm, timer); in otg_add_timer()
303 if (!fsm->ops->del_timer) in otg_del_timer()
305 fsm->ops->del_timer(fsm, timer); in otg_del_timer()
311 if (!fsm->ops->start_host) in otg_start_host()
313 return fsm->ops->start_host(fsm, on); in otg_start_host()
318 if (!fsm->ops->start_gadget) in otg_start_gadget()
320 return fsm->ops->start_gadget(fsm, on); in otg_start_gadget()