Lines Matching defs:fotg210_hcd

76 struct fotg210_hcd {			/* one per controller */  struct
78 enum fotg210_hrtimer_event next_hrtimer_event;
79 unsigned enabled_hrtimer_events;
80 ktime_t hr_timeouts[FOTG210_HRTIMER_NUM_EVENTS];
81 struct hrtimer hrtimer;
83 int PSS_poll_count;
84 int ASS_poll_count;
85 int died_poll_count;
88 struct fotg210_caps __iomem *caps;
89 struct fotg210_regs __iomem *regs;
90 struct ehci_dbg_port __iomem *debug;
92 __u32 hcs_params; /* cached register copy */
93 spinlock_t lock;
94 enum fotg210_rh_state rh_state;
97 bool scanning:1;
98 bool need_rescan:1;
99 bool intr_unlinking:1;
100 bool async_unlinking:1;
101 bool shutdown:1;
102 struct fotg210_qh *qh_scan_next;
105 struct fotg210_qh *async;
106 struct fotg210_qh *dummy; /* For AMD quirk use */
107 struct fotg210_qh *async_unlink;
108 struct fotg210_qh *async_unlink_last;
109 struct fotg210_qh *async_iaa;
110 unsigned async_unlink_cycle;
111 unsigned async_count; /* async activity count */
115 unsigned periodic_size;
116 __hc32 *periodic; /* hw periodic table */
117 dma_addr_t periodic_dma;
118 struct list_head intr_qh_list;
119 unsigned i_thresh; /* uframes HC might cache */
121 union fotg210_shadow *pshadow; /* mirror hw periodic table */
122 struct fotg210_qh *intr_unlink;
123 struct fotg210_qh *intr_unlink_last;
124 unsigned intr_unlink_cycle;
125 unsigned now_frame; /* frame from HC hardware */
126 unsigned next_frame; /* scan periodic, start here */
127 unsigned intr_count; /* intr activity count */
128 unsigned isoc_count; /* isoc activity count */
129 unsigned periodic_count; /* periodic activity count */
131 unsigned uframe_periodic_max;
135 struct list_head cached_itd_list;
136 struct fotg210_itd *last_itd_to_free;
139 unsigned long reset_done[FOTG210_MAX_ROOT_PORTS];
144 unsigned long bus_suspended;
147 unsigned long companion_ports;
150 unsigned long owned_ports;
153 unsigned long port_c_suspend;
156 unsigned long suspended_ports;
159 unsigned long resuming_ports;
162 struct dma_pool *qh_pool; /* qh per active urb */
163 struct dma_pool *qtd_pool; /* one or more per qh */
164 struct dma_pool *itd_pool; /* itd per iso urb */
166 unsigned random_frame;
167 unsigned long next_statechange;
191 static inline struct fotg210_hcd *hcd_to_fotg210(struct usb_hcd *hcd) in hcd_to_fotg210() argument