Searched refs:otg_fsm (Results 1 – 8 of 8) sorted by relevance
/linux/include/linux/usb/ |
H A D | otg-fsm.h | 124 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 D | phy-fsl-usb.c | 117 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 …]
|
H A D | phy-fsl-usb.h | 359 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 D | usb-otg-fsm.c | 29 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 D | otg_fsm.c | 436 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 D | Makefile | 10 ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
|
H A D | ci.h | 223 struct otg_fsm fsm;
|
H A D | debug.c | 190 struct otg_fsm *fsm; in ci_otg_show()
|