Home
last modified time | relevance | path

Searched refs:otg_fsm (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/include/linux/usb/
Dotg-fsm.h137 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);
[all …]
/Linux-v4.19/drivers/usb/phy/
Dphy-fsl-usb.c117 void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on) in fsl_otg_chrg_vbus()
153 void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on) in fsl_otg_drv_vbus()
171 void fsl_otg_loc_conn(struct otg_fsm *fsm, int on) in fsl_otg_loc_conn()
190 void fsl_otg_loc_sof(struct otg_fsm *fsm, int on) in fsl_otg_loc_sof()
205 void fsl_otg_start_pulse(struct otg_fsm *fsm) in fsl_otg_start_pulse()
284 int fsl_otg_init_timers(struct otg_fsm *fsm) in fsl_otg_init_timers()
393 void fsl_otg_add_timer(struct otg_fsm *fsm, void *gtimer) in fsl_otg_add_timer()
411 static void fsl_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in fsl_otg_fsm_add_timer()
423 void fsl_otg_del_timer(struct otg_fsm *fsm, void *gtimer) in fsl_otg_del_timer()
433 static void fsl_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in fsl_otg_fsm_del_timer()
[all …]
Dphy-fsl-usb.h359 struct otg_fsm fsm;
390 void fsl_otg_add_timer(struct otg_fsm *fsm, void *timer);
391 void fsl_otg_del_timer(struct otg_fsm *fsm, void *timer);
/Linux-v4.19/drivers/usb/common/
Dusb-otg-fsm.c29 static int otg_set_protocol(struct otg_fsm *fsm, int protocol) in otg_set_protocol()
60 static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state) in otg_leave_state()
122 struct otg_fsm *fsm = container_of(to_delayed_work(work), in otg_hnp_polling_work()
123 struct otg_fsm, hnp_polling_work); in otg_hnp_polling_work()
187 static void otg_start_hnp_polling(struct otg_fsm *fsm) in otg_start_hnp_polling()
202 static int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state) in otg_set_state()
324 int otg_statemachine(struct otg_fsm *fsm) in otg_statemachine()
/Linux-v4.19/drivers/usb/chipidea/
Dotg_fsm.c434 static void ci_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_add_timer()
443 static void ci_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_del_timer()
456 static void ci_otg_drv_vbus(struct otg_fsm *fsm, int on) in ci_otg_drv_vbus()
491 static void ci_otg_loc_conn(struct otg_fsm *fsm, int on) in ci_otg_loc_conn()
510 static void ci_otg_loc_sof(struct otg_fsm *fsm, int on) in ci_otg_loc_sof()
533 static void ci_otg_start_pulse(struct otg_fsm *fsm) in ci_otg_start_pulse()
544 static int ci_otg_start_host(struct otg_fsm *fsm, int on) in ci_otg_start_host()
558 static int ci_otg_start_gadget(struct otg_fsm *fsm, int on) in ci_otg_start_gadget()
640 struct otg_fsm *fsm = &ci->fsm; in ci_otg_fsm_event()
736 struct otg_fsm *fsm = &ci->fsm; in ci_otg_fsm_irq()
DMakefile7 ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
Dci.h215 struct otg_fsm fsm;
Ddebug.c190 struct otg_fsm *fsm; in ci_otg_show()