Home
last modified time | relevance | path

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

/linux/include/linux/usb/
H A Dotg-fsm.h124 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);
[all …]
/linux/drivers/usb/phy/
H A Dphy-fsl-usb.c118 void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on) in fsl_otg_chrg_vbus()
154 void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on) in fsl_otg_drv_vbus()
172 void fsl_otg_loc_conn(struct otg_fsm *fsm, int on) in fsl_otg_loc_conn()
191 void fsl_otg_loc_sof(struct otg_fsm *fsm, int on) in fsl_otg_loc_sof()
206 void fsl_otg_start_pulse(struct otg_fsm *fsm) in fsl_otg_start_pulse()
285 int fsl_otg_init_timers(struct otg_fsm *fsm) in fsl_otg_init_timers()
394 void fsl_otg_add_timer(struct otg_fsm *fsm, void *gtimer) in fsl_otg_add_timer()
412 static void fsl_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in fsl_otg_fsm_add_timer()
424 void fsl_otg_del_timer(struct otg_fsm *fsm, void *gtimer) in fsl_otg_del_timer()
434 static void fsl_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in fsl_otg_fsm_del_timer()
[all …]
H A Dphy-fsl-usb.h359 struct otg_fsm fsm;
376 void fsl_otg_add_timer(struct otg_fsm *fsm, void *timer);
377 void fsl_otg_del_timer(struct otg_fsm *fsm, void *timer);
/linux/drivers/usb/common/
H A 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()
206 static int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state) in otg_set_state()
328 int otg_statemachine(struct otg_fsm *fsm) in otg_statemachine()
/linux/drivers/usb/chipidea/
H A Dotg_fsm.c435 static void ci_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_add_timer()
444 static void ci_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_del_timer()
457 static void ci_otg_drv_vbus(struct otg_fsm *fsm, int on) in ci_otg_drv_vbus()
499 static void ci_otg_loc_conn(struct otg_fsm *fsm, int on) in ci_otg_loc_conn()
518 static void ci_otg_loc_sof(struct otg_fsm *fsm, int on) in ci_otg_loc_sof()
541 static void ci_otg_start_pulse(struct otg_fsm *fsm) in ci_otg_start_pulse()
552 static int ci_otg_start_host(struct otg_fsm *fsm, int on) in ci_otg_start_host()
566 static int ci_otg_start_gadget(struct otg_fsm *fsm, int on) in ci_otg_start_gadget()
647 struct otg_fsm *fsm = &ci->fsm; in ci_otg_fsm_event()
743 struct otg_fsm *fsm = &ci->fsm; in ci_otg_fsm_irq()
H A DMakefile10 ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
H A Ddebug.c190 struct otg_fsm *fsm; in ci_otg_show()