Lines Matching refs:queue
223 /* Removed the req from fsl_ep->queue */
224 list_del_init(&req->queue);
273 if (!(list_empty(&ep->queue))) {
275 lastreq = list_entry(ep->queue.prev, struct mv_req, queue);
512 /* Get the endpoint queue head address */
579 /* Get the endpoint queue head address */
618 INIT_LIST_HEAD(&req->queue);
705 || !list_empty(&req->queue)) {
731 /* build dtds and push them to device queue */
736 dev_err(&udc->dev->dev, "Failed to queue dtd\n");
750 /* irq handler advances the queue */
751 list_add_tail(&req->queue, &ep->queue);
799 /* Stop the ep before we deal with the queue */
809 list_for_each_entry(req, &ep->queue, queue) {
819 if (ep->queue.next == &req->queue) {
823 /* The request isn't the last request in this ep queue */
824 if (req->queue.next != &ep->queue) {
827 next_req = list_entry(req->queue.next,
828 struct mv_req, queue);
844 prev_req = list_entry(req->queue.prev, struct mv_req, queue);
922 * are still queue
924 if (halt && (ep_dir(ep) == EP_DIR_IN) && !list_empty(&ep->queue)) {
962 .queue = mv_ep_queue,
1181 /* stop all the transfer in queue*/
1215 /* stop all the transfer in queue*/
1262 INIT_LIST_HEAD(&ep->queue);
1285 INIT_LIST_HEAD(&ep->queue);
1303 while (!list_empty(&ep->queue)) {
1305 req = list_entry(ep->queue.next, struct mv_req, queue);
1471 "Failed to queue dtd when prime status\n");
1481 list_add_tail(&req->queue, &ep->queue);
1822 /* process the req queue until an uncomplete request */
1824 &curr_ep->queue, queue) {
2223 INIT_LIST_HEAD(&udc->status_req->queue);