Home
last modified time | relevance | path

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

/openbmc/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);
200 int (*start_host)(struct otg_fsm *fsm, int on);
201 int (*start_gadget)(struct otg_fsm *fsm, int on);
[all …]
/openbmc/linux/drivers/usb/phy/
H A 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()
457 int fsl_otg_start_host(struct otg_fsm *fsm, int on) in fsl_otg_start_host()
524 int fsl_otg_start_gadget(struct otg_fsm *fsm, int on) in fsl_otg_start_gadget()
584 struct otg_fsm *fsm = &otg_dev->fsm; in fsl_otg_set_host()
652 struct otg_fsm *fsm = &og->fsm; in fsl_otg_event()
[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);
/openbmc/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()
/openbmc/linux/drivers/usb/chipidea/
H A Dotg_fsm.c436 static void ci_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_add_timer()
445 static void ci_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_del_timer()
458 static void ci_otg_drv_vbus(struct otg_fsm *fsm, int on) in ci_otg_drv_vbus()
500 static void ci_otg_loc_conn(struct otg_fsm *fsm, int on) in ci_otg_loc_conn()
519 static void ci_otg_loc_sof(struct otg_fsm *fsm, int on) in ci_otg_loc_sof()
542 static void ci_otg_start_pulse(struct otg_fsm *fsm) in ci_otg_start_pulse()
553 static int ci_otg_start_host(struct otg_fsm *fsm, int on) in ci_otg_start_host()
567 static int ci_otg_start_gadget(struct otg_fsm *fsm, int on) in ci_otg_start_gadget()
649 struct otg_fsm *fsm = &ci->fsm; in ci_otg_fsm_event()
745 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 Dci.h223 struct otg_fsm fsm;
H A Ddebug.c190 struct otg_fsm *fsm; in ci_otg_show()