Lines Matching refs:queue
157 if (list_empty(&ep->queue)) {
162 list_for_each_entry(req, &ep->queue, queue) {
662 INIT_LIST_HEAD(&req->queue);
681 WARN_ON(!list_empty(&req->queue));
686 * ep_add_request - add a request to the endpoint's queue
692 * Queues the request in the endpoint's queue, and enables the interrupts
703 list_add_tail(&req->queue, &ep->queue);
708 * ep_del_request - removes a request from the endpoint's queue
714 * Unqueue the request from the endpoint's queue. If there are no more requests
725 list_del_init(&req->queue);
727 if (!is_ep0(ep) && list_empty(&ep->queue))
854 while (!list_empty(&ep->queue)) {
855 req = list_entry(ep->queue.next, struct pxa27x_request, queue);
1170 is_first_req = list_empty(&ep->queue);
1171 ep_dbg(ep, "queue req %p(first=%s), len %d buf %p\n",
1182 ep_err(ep, "refusing to queue req %p (already queued)\n", req);
1261 list_for_each_entry(req, &ep->queue, queue) {
1310 if (ep->dir_in && (ep_is_full(ep) || !list_empty(&ep->queue)))
1371 if (unlikely(!list_empty(&ep->queue)))
1372 ep_dbg(ep, "called while queue list not empty\n");
1471 if (!ep || is_ep0(ep) || !list_empty(&ep->queue))
1491 .queue = pxa_ep_queue,
1735 INIT_LIST_HEAD(&ep->queue);
2006 if (!list_empty(&ep->queue))
2007 req = list_entry(ep->queue.next, struct pxa27x_request, queue);
2102 if (likely(!list_empty(&ep->queue)))
2103 req = list_entry(ep->queue.next,
2104 struct pxa27x_request, queue);
2201 * Called from irq handler, transferts data to or from endpoint to queue