Lines Matching refs:queue
259 list_del_init(&req->queue); in s3c2410_udc_done()
275 if (&ep->queue == NULL) in s3c2410_udc_nuke()
278 while (!list_empty(&ep->queue)) { in s3c2410_udc_nuke()
280 req = list_entry(ep->queue.next, struct s3c2410_request, in s3c2410_udc_nuke()
281 queue); in s3c2410_udc_nuke()
748 if (list_empty(&ep->queue)) in s3c2410_udc_handle_ep0()
751 req = list_entry(ep->queue.next, struct s3c2410_request, queue); in s3c2410_udc_handle_ep0()
819 if (likely(!list_empty(&ep->queue))) in s3c2410_udc_handle_ep()
820 req = list_entry(ep->queue.next, in s3c2410_udc_handle_ep()
821 struct s3c2410_request, queue); in s3c2410_udc_handle_ep()
1160 INIT_LIST_HEAD(&req->queue); in s3c2410_udc_alloc_request()
1178 WARN_ON(!list_empty(&req->queue)); in s3c2410_udc_free_request()
1209 || !_req->buf || !list_empty(&req->queue))) { in s3c2410_udc_queue()
1215 !list_empty(&req->queue)); in s3c2410_udc_queue()
1242 if (list_empty(&ep->queue) && !ep->halted) { in s3c2410_udc_queue()
1281 list_add_tail(&req->queue, &ep->queue); in s3c2410_udc_queue()
1312 list_for_each_entry(req, &ep->queue, queue) { in s3c2410_udc_dequeue()
1314 list_del_init(&req->queue); in s3c2410_udc_dequeue()
1397 .queue = s3c2410_udc_queue,
1612 INIT_LIST_HEAD(&ep->queue); in s3c2410_udc_reinit()