Lines Matching defs:ehci_hcd
71 struct ehci_hcd { /* one per controller */ struct
73 struct ehci_caps __iomem *caps;
74 struct ehci_regs __iomem *regs;
75 struct ehci_dbg_port __iomem *debug;
77 __u32 hcs_params; /* cached register copy */
78 spinlock_t lock;
79 enum ehci_rh_state rh_state;
82 struct ehci_qh *async;
83 struct ehci_qh *dummy; /* For AMD quirk use */
84 struct ehci_qh *reclaim;
85 struct ehci_qh *qh_scan_next;
86 unsigned scanning : 1;
90 unsigned periodic_size;
91 __hc32 *periodic; /* hw periodic table */
92 dma_addr_t periodic_dma;
93 unsigned i_thresh; /* uframes HC might cache */
95 union ehci_shadow *pshadow; /* mirror hw periodic table */
96 int next_uframe; /* scan periodic, start here */
97 unsigned periodic_sched; /* periodic activity count */
98 unsigned uframe_periodic_max; /* max periodic time per uframe */
102 struct list_head cached_itd_list;
103 struct list_head cached_sitd_list;
104 unsigned clock_frame;
107 unsigned long reset_done [EHCI_MAX_ROOT_PORTS];
110 unsigned long bus_suspended; /* which ports were
112 unsigned long companion_ports; /* which ports are
114 unsigned long owned_ports; /* which ports are
116 unsigned long port_c_suspend; /* which ports have
118 unsigned long suspended_ports; /* which ports are
122 struct dma_pool *qh_pool; /* qh per active urb */
123 struct dma_pool *qtd_pool; /* one or more per qh */
124 struct dma_pool *itd_pool; /* itd per iso urb */
125 struct dma_pool *sitd_pool; /* sitd per split iso urb */
127 struct timer_list iaa_watchdog;
128 struct timer_list watchdog;
129 unsigned long actions;
130 unsigned periodic_stamp;
131 unsigned random_frame;
132 unsigned long next_statechange;
133 ktime_t last_periodic_enable;
134 u32 command;
137 unsigned no_selective_suspend:1;
138 unsigned has_fsl_port_bug:1; /* FreeScale */
139 unsigned big_endian_mmio:1;
140 unsigned big_endian_desc:1;
141 unsigned big_endian_capbase:1;
142 unsigned has_amcc_usb23:1;
143 unsigned need_io_watchdog:1;
144 unsigned broken_periodic:1;
145 unsigned amd_pll_fix:1;
146 unsigned fs_i_thresh:1; /* Intel iso scheduling */
147 unsigned use_dummy_qh:1; /* AMD Frame List table quirk*/
148 unsigned has_synopsys_hc_bug:1; /* Synopsys HC */
149 unsigned frame_index_bug:1; /* MosChip (AKA NetMos) */
158 __hc32 *ohci_hcctrl_reg;
159 unsigned has_hostpc:1;
183 static inline struct ehci_hcd *hcd_to_ehci (struct usb_hcd *hcd) in hcd_to_ehci() argument