Lines Matching defs:desc
204 "WITHOUT desc. update)\n");
208 "WITH desc. update)\n");
322 udc_ep_enable(struct usb_ep *usbep, const struct usb_endpoint_descriptor *desc)
333 || !desc
334 || desc->bDescriptorType != USB_DT_ENDPOINT)
346 ep->desc = desc;
352 tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_EPCTL_ET);
356 maxpacket = le16_to_cpu(desc->wMaxPacketSize);
412 tmp = AMD_ADDBITS(tmp, desc->bEndpointAddress, UDC_CSR_NE_NUM);
416 tmp = AMD_ADDBITS(tmp, desc->bmAttributes, UDC_CSR_NE_TYPE);
433 * avoid BNA for OUT DMA, don't clear NAK until DMA desc. written
442 tmp = desc->bEndpointAddress;
455 ep->desc = NULL;
487 /* reset desc pointer */
501 if (usbep->name == ep0_string || !ep->desc)
549 /* prevent from using desc. - set HOST BUSY */
604 pr_debug("bna desc = %p, sts = %08x\n",
887 /* do not free first desc., will be done by free for request */
959 /* unset L bit in first desc for OUT */
964 /* alloc only new desc's if not already available */
982 /* create or determine next desc. */
1024 /* first desc */
1029 /* second desc */
1052 /* last desc. points to itself */
1096 if (!ep->desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX))
1165 /* write desc pointer to enable DMA */
1188 * if BNA occurred then let BNA dummy desc.
1189 * point to current desc.
1192 VDBG(dev, "copy to BNA dummy desc.\n");
1198 /* write desc pointer */
1296 if (!usbep || !usbreq || (!ep->desc && (ep->num != 0
1356 if (!ep->desc && (ep->num != 0 && ep->num != UDC_EP0OUT_IX))
1576 if (!ep->desc) {
1887 /* write dma desc address */
2184 * if BNA occurred then recover desc. from
2185 * BNA dummy desc.
2188 VDBG(dev, "Recover desc. from BNA dummy\n");
2207 VDBG(dev, "last desc = %p\n", td);
2210 /* every desc. counts bytes */
2213 /* last desc. counts bytes */
2225 VDBG(dev, "last desc rx bytes=%u\n", count);
2257 /* write desc pointer */
2270 /* write desc pointer */
2297 * RX DMA must be reenabled for each desc in PPBDU mode
2372 * check dma done of last desc. in PPBDU mode
2437 * unset L bit of first desc.
2447 /* write desc pointer */
2558 /* write desc pointer */
2662 /* re-program desc. pointer for possible ZLPs */
2745 /* write desc pointer */
3128 /* cleanup DMA desc's for ep0in */
3184 /* dma desc for setup data */