Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/usb/
Dotg-fsm.h63 struct otg_fsm { struct
125 void (*chrg_vbus)(struct otg_fsm *fsm, int on); argument
126 void (*drv_vbus)(struct otg_fsm *fsm, int on);
127 void (*loc_conn)(struct otg_fsm *fsm, int on);
128 void (*loc_sof)(struct otg_fsm *fsm, int on);
129 void (*start_pulse)(struct otg_fsm *fsm);
130 void (*start_adp_prb)(struct otg_fsm *fsm);
131 void (*start_adp_sns)(struct otg_fsm *fsm);
132 void (*add_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
133 void (*del_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer);
[all …]
/linux-4.4.14/drivers/usb/phy/
Dphy-fsl-usb.c123 void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on) in fsl_otg_chrg_vbus()
159 void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on) in fsl_otg_drv_vbus()
177 void fsl_otg_loc_conn(struct otg_fsm *fsm, int on) in fsl_otg_loc_conn()
196 void fsl_otg_loc_sof(struct otg_fsm *fsm, int on) in fsl_otg_loc_sof()
211 void fsl_otg_start_pulse(struct otg_fsm *fsm) in fsl_otg_start_pulse()
290 int fsl_otg_init_timers(struct otg_fsm *fsm) in fsl_otg_init_timers()
399 void fsl_otg_add_timer(struct otg_fsm *fsm, void *gtimer) in fsl_otg_add_timer()
417 static void fsl_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in fsl_otg_fsm_add_timer()
429 void fsl_otg_del_timer(struct otg_fsm *fsm, void *gtimer) in fsl_otg_del_timer()
439 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.h373 struct otg_fsm fsm;
404 void fsl_otg_add_timer(struct otg_fsm *fsm, void *timer);
405 void fsl_otg_del_timer(struct otg_fsm *fsm, void *timer);
/linux-4.4.14/drivers/usb/chipidea/
Dotg_fsm.c419 static void ci_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_add_timer()
428 static void ci_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_del_timer()
441 static void ci_otg_drv_vbus(struct otg_fsm *fsm, int on) in ci_otg_drv_vbus()
476 static void ci_otg_loc_conn(struct otg_fsm *fsm, int on) in ci_otg_loc_conn()
492 static void ci_otg_loc_sof(struct otg_fsm *fsm, int on) in ci_otg_loc_sof()
508 static void ci_otg_start_pulse(struct otg_fsm *fsm) in ci_otg_start_pulse()
519 static int ci_otg_start_host(struct otg_fsm *fsm, int on) in ci_otg_start_host()
533 static int ci_otg_start_gadget(struct otg_fsm *fsm, int on) in ci_otg_start_gadget()
615 struct otg_fsm *fsm = &ci->fsm; in ci_otg_fsm_event()
711 struct otg_fsm *fsm = &ci->fsm; in ci_otg_fsm_irq()
DMakefile9 ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
Dci.h212 struct otg_fsm fsm;
Ddebug.c223 struct otg_fsm *fsm; in ci_otg_show()
/linux-4.4.14/drivers/usb/common/
Dusb-otg-fsm.c34 static int otg_set_protocol(struct otg_fsm *fsm, int protocol) in otg_set_protocol()
67 static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state) in otg_leave_state()
124 static int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state) in otg_set_state()
244 int otg_statemachine(struct otg_fsm *fsm) in otg_statemachine()