Lines Matching refs:queue
216 /* Removed the req from fsl_ep->queue */
217 list_del_init(&req->queue);
266 if (!(list_empty(&ep->queue))) {
268 lastreq = list_entry(ep->queue.prev, struct mv_req, queue);
500 /* Get the endpoint queue head address */
567 /* Get the endpoint queue head address */
605 INIT_LIST_HEAD(&req->queue);
692 || !list_empty(&req->queue)) {
718 /* build dtds and push them to device queue */
723 dev_err(&udc->dev->dev, "Failed to queue dtd\n");
737 /* irq handler advances the queue */
738 list_add_tail(&req->queue, &ep->queue);
786 /* Stop the ep before we deal with the queue */
796 list_for_each_entry(iter, &ep->queue, queue) {
808 if (ep->queue.next == &req->queue) {
812 /* The request isn't the last request in this ep queue */
813 if (req->queue.next != &ep->queue) {
816 next_req = list_entry(req->queue.next,
817 struct mv_req, queue);
833 prev_req = list_entry(req->queue.prev, struct mv_req, queue);
911 * are still queue
913 if (halt && (ep_dir(ep) == EP_DIR_IN) && !list_empty(&ep->queue)) {
951 .queue = mv_ep_queue,
1173 /* stop all the transfer in queue*/
1207 /* stop all the transfer in queue*/
1257 INIT_LIST_HEAD(&ep->queue);
1286 INIT_LIST_HEAD(&ep->queue);
1304 while (!list_empty(&ep->queue)) {
1306 req = list_entry(ep->queue.next, struct mv_req, queue);
1484 "Failed to queue dtd when prime status\n");
1494 list_add_tail(&req->queue, &ep->queue);
1835 /* process the req queue until an uncomplete request */
1837 &curr_ep->queue, queue) {
2227 INIT_LIST_HEAD(&udc->status_req->queue);