Merge tag 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux...
[deliverable/linux.git] / drivers / usb / chipidea / otg_fsm.h
index 94c085f456a9cdc999697df7266b9261fac665a7..2689375ae5da33cf5c339222a6c2d211843b2a11 100644 (file)
 /* SSEND time before SRP */
 #define TB_SSEND_SRP         (1500)    /* minimum 1.5 sec, section:5.1.2 */
 
-#define TB_SESS_VLD          (1000)
-
-enum ci_otg_fsm_timer_index {
-       /*
-        * CI specific timers, start from the end
-        * of standard and auxiliary OTG timers
-        */
-       B_DATA_PLS = NUM_OTG_FSM_TIMERS,
-       B_SSEND_SRP,
-       B_SESS_VLD,
-
-       NUM_CI_OTG_FSM_TIMERS,
-};
-
-struct ci_otg_fsm_timer {
-       unsigned long expires;  /* Number of count increase to timeout */
-       unsigned long count;    /* Tick counter */
-       void (*function)(void *, unsigned long);        /* Timeout function */
-       unsigned long data;     /* Data passed to function */
-       struct list_head list;
-};
-
-struct ci_otg_fsm_timer_list {
-       struct ci_otg_fsm_timer *timer_list[NUM_CI_OTG_FSM_TIMERS];
-       struct list_head active_timers;
-};
-
 #ifdef CONFIG_USB_OTG_FSM
 
 int ci_hdrc_otg_fsm_init(struct ci_hdrc *ci);
This page took 0.025895 seconds and 5 git commands to generate.