Lines Matching defs:fotg210_hcd

75 struct fotg210_hcd {			/* one per controller */  struct
77 enum fotg210_hrtimer_event next_hrtimer_event;
78 unsigned enabled_hrtimer_events;
79 ktime_t hr_timeouts[FOTG210_HRTIMER_NUM_EVENTS];
80 struct hrtimer hrtimer;
82 int PSS_poll_count;
83 int ASS_poll_count;
84 int died_poll_count;
87 struct fotg210_caps __iomem *caps;
88 struct fotg210_regs __iomem *regs;
89 struct ehci_dbg_port __iomem *debug;
91 __u32 hcs_params; /* cached register copy */
92 spinlock_t lock;
93 enum fotg210_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 fotg210_qh *qh_scan_next;
104 struct fotg210_qh *async;
105 struct fotg210_qh *dummy; /* For AMD quirk use */
106 struct fotg210_qh *async_unlink;
107 struct fotg210_qh *async_unlink_last;
108 struct fotg210_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 fotg210_shadow *pshadow; /* mirror hw periodic table */
121 struct fotg210_qh *intr_unlink;
122 struct fotg210_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 */
130 unsigned uframe_periodic_max;
134 struct list_head cached_itd_list;
135 struct fotg210_itd *last_itd_to_free;
138 unsigned long reset_done[FOTG210_MAX_ROOT_PORTS];
141 unsigned long bus_suspended; /* which ports were
143 unsigned long companion_ports; /* which ports are
145 unsigned long owned_ports; /* which ports are
147 unsigned long port_c_suspend; /* which ports have
149 unsigned long suspended_ports; /* which ports are
151 unsigned long resuming_ports; /* which ports have
155 struct dma_pool *qh_pool; /* qh per active urb */
156 struct dma_pool *qtd_pool; /* one or more per qh */
157 struct dma_pool *itd_pool; /* itd per iso urb */
159 unsigned random_frame;
183 static inline struct fotg210_hcd *hcd_to_fotg210(struct usb_hcd *hcd) in hcd_to_fotg210() argument