Lines Matching defs:fusbh200_hcd
75 struct fusbh200_hcd { /* one per controller */ struct
77 enum fusbh200_hrtimer_event next_hrtimer_event;
78 unsigned enabled_hrtimer_events;
79 ktime_t hr_timeouts[FUSBH200_HRTIMER_NUM_EVENTS];
80 struct hrtimer hrtimer;
82 int PSS_poll_count;
83 int ASS_poll_count;
84 int died_poll_count;
87 struct fusbh200_caps __iomem *caps;
88 struct fusbh200_regs __iomem *regs;
89 struct ehci_dbg_port __iomem *debug;
91 __u32 hcs_params; /* cached register copy */
92 spinlock_t lock;
93 enum fusbh200_rh_state rh_state;
96 bool scanning:1;
97 bool need_rescan:1;
98 bool intr_unlinking:1;
99 bool async_unlinking:1;
100 bool shutdown:1;
101 struct fusbh200_qh *qh_scan_next;
104 struct fusbh200_qh *async;
105 struct fusbh200_qh *dummy; /* For AMD quirk use */
106 struct fusbh200_qh *async_unlink;
107 struct fusbh200_qh *async_unlink_last;
108 struct fusbh200_qh *async_iaa;
109 unsigned async_unlink_cycle;
110 unsigned async_count; /* async activity count */
114 unsigned periodic_size;
115 __hc32 *periodic; /* hw periodic table */
116 dma_addr_t periodic_dma;
117 struct list_head intr_qh_list;
118 unsigned i_thresh; /* uframes HC might cache */
120 union fusbh200_shadow *pshadow; /* mirror hw periodic table */
121 struct fusbh200_qh *intr_unlink;
122 struct fusbh200_qh *intr_unlink_last;
123 unsigned intr_unlink_cycle;
124 unsigned now_frame; /* frame from HC hardware */
125 unsigned next_frame; /* scan periodic, start here */
126 unsigned intr_count; /* intr activity count */
127 unsigned isoc_count; /* isoc activity count */
128 unsigned periodic_count; /* periodic activity count */
129 unsigned uframe_periodic_max; /* max periodic time per uframe */
133 struct list_head cached_itd_list;
134 struct fusbh200_itd *last_itd_to_free;
137 unsigned long reset_done [FUSBH200_MAX_ROOT_PORTS];
140 unsigned long bus_suspended; /* which ports were
142 unsigned long companion_ports; /* which ports are
144 unsigned long owned_ports; /* which ports are
146 unsigned long port_c_suspend; /* which ports have
148 unsigned long suspended_ports; /* which ports are
150 unsigned long resuming_ports; /* which ports have
154 struct dma_pool *qh_pool; /* qh per active urb */
178 static inline struct fusbh200_hcd *hcd_to_fusbh200 (struct usb_hcd *hcd) in hcd_to_fusbh200() argument