Lines Matching defs:mv_udc
169 struct mv_udc { struct
170 struct usb_gadget gadget;
171 struct usb_gadget_driver *driver;
172 spinlock_t lock;
173 struct completion *done;
174 struct platform_device *dev;
175 int irq;
177 struct mv_cap_regs __iomem *cap_regs;
178 struct mv_op_regs __iomem *op_regs;
179 void __iomem *phy_regs;
180 unsigned int max_eps;
181 struct mv_dqh *ep_dqh;
182 size_t ep_dqh_size;
183 dma_addr_t ep_dqh_dma;
185 struct dma_pool *dtd_pool;
186 struct mv_ep *eps;
188 struct mv_dtd *dtd_head;
189 struct mv_dtd *dtd_tail;
190 unsigned int dtd_entries;
192 struct mv_req *status_req;
193 struct usb_ctrlrequest local_setup_buff;
195 unsigned int resume_state; /* USB state to resume */
196 unsigned int usb_state; /* USB current state */
197 unsigned int ep0_state; /* Endpoint zero state */
198 unsigned int ep0_dir;
200 unsigned int dev_addr;
201 unsigned int test_mode;
203 int errors;
227 struct mv_udc *udc; argument