/drivers/media/usb/dvb-usb/ |
D | usb-urb.c | 72 usb_kill_urb(stream->urb_list[i]); in usb_urb_kill() 83 if ((ret = usb_submit_urb(stream->urb_list[i],GFP_ATOMIC))) { in usb_urb_submit() 147 stream->urb_list[i] = usb_alloc_urb(0, GFP_ATOMIC); in usb_bulk_urb_init() 148 if (!stream->urb_list[i]) { in usb_bulk_urb_init() 151 usb_free_urb(stream->urb_list[j]); in usb_bulk_urb_init() 154 usb_fill_bulk_urb( stream->urb_list[i], stream->udev, in usb_bulk_urb_init() 160 stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in usb_bulk_urb_init() 161 stream->urb_list[i]->transfer_dma = stream->dma_addr[i]; in usb_bulk_urb_init() 180 stream->urb_list[i] = usb_alloc_urb(stream->props.u.isoc.framesperurb, GFP_ATOMIC); in usb_isoc_urb_init() 181 if (!stream->urb_list[i]) { in usb_isoc_urb_init() [all …]
|
D | dvb-usb.h | 321 struct urb *urb_list[MAX_NO_URBS_FOR_DATA_STREAM]; member
|
/drivers/media/usb/dvb-usb-v2/ |
D | usb_urb.c | 84 usb_kill_urb(stream->urb_list[i]); in usb_urb_killv2() 103 ret = usb_submit_urb(stream->urb_list[i], GFP_ATOMIC); in usb_urb_submitv2() 123 if (stream->urb_list[i]) { in usb_urb_free_urbs() 127 usb_free_urb(stream->urb_list[i]); in usb_urb_free_urbs() 142 stream->urb_list[i] = usb_alloc_urb(0, GFP_ATOMIC); in usb_urb_alloc_bulk_urbs() 143 if (!stream->urb_list[i]) { in usb_urb_alloc_bulk_urbs() 146 usb_free_urb(stream->urb_list[j]); in usb_urb_alloc_bulk_urbs() 149 usb_fill_bulk_urb(stream->urb_list[i], in usb_urb_alloc_bulk_urbs() 157 stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in usb_urb_alloc_bulk_urbs() 158 stream->urb_list[i]->transfer_dma = stream->dma_addr[i]; in usb_urb_alloc_bulk_urbs() [all …]
|
D | dvb_usb.h | 295 struct urb *urb_list[MAX_NO_URBS_FOR_DATA_STREAM]; member
|
/drivers/usb/core/ |
D | urb.c | 127 list_add_tail(&urb->anchor_list, &anchor->urb_list); in usb_anchor_urb() 140 list_empty(&anchor->urb_list); in usb_anchor_check_wakeup() 759 while (!list_empty(&anchor->urb_list)) { in usb_kill_anchored_urbs() 760 victim = list_entry(anchor->urb_list.prev, struct urb, in usb_kill_anchored_urbs() 792 while (!list_empty(&anchor->urb_list)) { in usb_poison_anchored_urbs() 793 victim = list_entry(anchor->urb_list.prev, struct urb, in usb_poison_anchored_urbs() 820 list_for_each_entry(lazarus, &anchor->urb_list, anchor_list) { in usb_unpoison_anchored_urbs() 918 if (!list_empty(&anchor->urb_list)) { in usb_get_from_anchor() 919 victim = list_entry(anchor->urb_list.next, struct urb, in usb_get_from_anchor() 945 while (!list_empty(&anchor->urb_list)) { in usb_scuttle_anchored_urbs() [all …]
|
D | hcd.c | 1278 list_add_tail(&urb->urb_list, &urb->ep->urb_list); in usb_hcd_link_urb_to_ep() 1314 list_for_each(tmp, &urb->ep->urb_list) { in usb_hcd_check_unlink_urb() 1315 if (tmp == &urb->urb_list) in usb_hcd_check_unlink_urb() 1318 if (tmp != &urb->urb_list) in usb_hcd_check_unlink_urb() 1345 list_del_init(&urb->urb_list); in usb_hcd_unlink_urb_from_ep() 1662 INIT_LIST_HEAD(&urb->urb_list); in usb_hcd_submit_urb() 1792 urb = list_entry(local_list.next, struct urb, urb_list); in usb_giveback_urb_bh() 1793 list_del_init(&urb->urb_list); in usb_giveback_urb_bh() 1847 list_add_tail(&urb->urb_list, &bh->head); in usb_hcd_giveback_urb() 1880 list_for_each_entry_reverse(urb, &ep->urb_list, urb_list) { in usb_hcd_flush_endpoint() [all …]
|
D | usb.c | 462 INIT_LIST_HEAD(&dev->ep0.urb_list); in usb_alloc_dev()
|
/drivers/usb/host/ |
D | sl811-hcd.c | 337 if (unlikely(list_empty(&ep->hep->urb_list))) { in start() 343 urb = container_of(ep->hep->urb_list.next, struct urb, urb_list); in start() 437 if (!list_empty(&ep->hep->urb_list)) in finish_request() 485 urb = container_of(ep->hep->urb_list.next, struct urb, urb_list); in done() 699 ->hep->urb_list.next, in sl811h_irq() 700 struct urb, urb_list), in sl811h_irq() 709 ->hep->urb_list.next, in sl811h_irq() 710 struct urb, urb_list), in sl811h_irq() 976 if (ep->hep->urb_list.next != &urb->urb_list) { in sl811h_urb_dequeue() 1036 if (!list_empty(&hep->urb_list)) in sl811h_endpoint_disable() [all …]
|
D | isp116x-hcd.c | 240 BUG_ON(list_empty(&ep->hep->urb_list)); in preproc_atl_queue() 241 urb = container_of(ep->hep->urb_list.next, in preproc_atl_queue() 242 struct urb, urb_list); in preproc_atl_queue() 312 if (!list_empty(&ep->hep->urb_list)) in finish_request() 358 BUG_ON(list_empty(&ep->hep->urb_list)); in postproc_atl_queue() 360 container_of(ep->hep->urb_list.next, struct urb, urb_list); in postproc_atl_queue() 517 urb = container_of(ep->hep->urb_list.next, in start_atl_transfers() 518 struct urb, urb_list); in start_atl_transfers() 855 if (ep->hep->urb_list.next == &urb->urb_list) in isp116x_urb_dequeue() 883 for (i = 0; i < 100 && !list_empty(&hep->urb_list); i++) in isp116x_endpoint_disable() [all …]
|
D | u132-hcd.c | 170 struct urb *urb_list[ENDP_QUEUE_SIZE]; member 529 endp->urb_list[ENDP_QUEUE_MASK & endp->queue_last++] = in u132_hcd_giveback_urb() 568 endp->urb_list[ENDP_QUEUE_MASK & endp->queue_last++] = in u132_hcd_abandon_urb() 1395 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & in u132_hcd_endp_work_scheduler() 1415 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & in u132_hcd_endp_work_scheduler() 1428 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & in u132_hcd_endp_work_scheduler() 1441 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & in u132_hcd_endp_work_scheduler() 1463 struct urb *urb = endp->urb_list[ in u132_hcd_endp_work_scheduler() 1486 struct urb *urb = endp->urb_list[ in u132_hcd_endp_work_scheduler() 1922 endp->urb_list[ENDP_QUEUE_MASK & endp->queue_last++] = urb; in create_endpoint_and_queue_int() [all …]
|
D | max3421-hcd.c | 698 if (list_empty(&ep->urb_list)) in max3421_select_and_start_urb() 700 urb = list_first_entry(&ep->urb_list, struct urb, in max3421_select_and_start_urb() 701 urb_list); in max3421_select_and_start_urb() 809 list_for_each_entry_safe(urb, next, &ep->urb_list, urb_list) { in max3421_check_unlink() 1196 list_for_each_entry(urb, &ep->urb_list, urb_list) { in dump_eps()
|
D | imx21-hcd.c | 511 if (list_empty(&ep_priv->ep->urb_list)) { in ep_idle() 516 &ep_priv->ep->urb_list, struct urb, urb_list)); in ep_idle() 538 if (list_empty(&ep_priv->ep->urb_list)) in urb_done() 550 if (!list_empty(&ep->urb_list)) { in nonisoc_urb_completed_for_etd() 552 &ep->urb_list, struct urb, urb_list); in nonisoc_urb_completed_for_etd() 1443 if (!list_empty(&ep->urb_list)) in imx21_hc_endpoint_disable()
|
D | isp1362.h | 622 BUG_ON(list_empty(&ep->hep->urb_list)); \ 623 container_of(ep->hep->urb_list.next, struct urb, urb_list); \
|
D | ohci-q.c | 90 if (!list_empty(&ep->urb_list)) { in finish_urb() 91 urb = list_first_entry(&ep->urb_list, struct urb, urb_list); in finish_urb()
|
D | oxu210hp.h | 425 struct list_head urb_list; /* this is the head to urb member
|
D | isp1362-hcd.c | 473 if (!list_empty(&ep->hep->urb_list)) in finish_request() 667 if (!list_empty(&ep->hep->urb_list)) { in finish_unlinks() 1420 if (ep->hep->urb_list.next == &urb->urb_list) { in isp1362_urb_dequeue() 1457 if (!list_empty(&hep->urb_list)) { in isp1362_endpoint_disable() 2116 list_for_each_entry(urb, &ep->hep->urb_list, urb_list) { in isp1362_show()
|
/drivers/media/usb/airspy/ |
D | airspy.c | 127 struct urb *urb_list[MAX_BULK_BUFS]; member 333 usb_kill_urb(s->urb_list[i]); in airspy_kill_urbs() 346 ret = usb_submit_urb(s->urb_list[i], GFP_ATOMIC); in airspy_submit_urbs() 409 if (s->urb_list[i]) { in airspy_free_urbs() 412 usb_free_urb(s->urb_list[i]); in airspy_free_urbs() 427 s->urb_list[i] = usb_alloc_urb(0, GFP_ATOMIC); in airspy_alloc_urbs() 428 if (!s->urb_list[i]) { in airspy_alloc_urbs() 430 usb_free_urb(s->urb_list[j]); in airspy_alloc_urbs() 433 usb_fill_bulk_urb(s->urb_list[i], in airspy_alloc_urbs() 440 s->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in airspy_alloc_urbs() [all …]
|
/drivers/usb/musb/ |
D | musb_host.h | 145 queue = &qh->hep->urb_list; in next_urb() 148 return list_entry(queue->next, struct urb, urb_list); in next_urb()
|
D | musb_host.c | 372 if (list_empty(&qh->hep->urb_list)) { in musb_advance_schedule() 2449 || urb->urb_list.prev != &qh->hep->urb_list in musb_urb_dequeue() 2460 if (ready && list_empty(&qh->hep->urb_list)) { in musb_urb_dequeue() 2505 while (!list_empty(&hep->urb_list)) { in musb_h_disable() 2515 while (!list_empty(&hep->urb_list)) in musb_h_disable()
|
/drivers/gpu/drm/udl/ |
D | udl_drv.h | 40 struct urb_list { struct 59 struct urb_list urbs; argument
|
/drivers/media/usb/hackrf/ |
D | hackrf.c | 140 struct urb *urb_list[MAX_BULK_BUFS]; member 587 usb_kill_urb(dev->urb_list[i]); in hackrf_kill_urbs() 600 ret = usb_submit_urb(dev->urb_list[i], GFP_ATOMIC); in hackrf_submit_urbs() 664 if (dev->urb_list[i]) { in hackrf_free_urbs() 667 usb_free_urb(dev->urb_list[i]); in hackrf_free_urbs() 692 dev->urb_list[i] = usb_alloc_urb(0, GFP_ATOMIC); in hackrf_alloc_urbs() 693 if (!dev->urb_list[i]) { in hackrf_alloc_urbs() 695 usb_free_urb(dev->urb_list[j]); in hackrf_alloc_urbs() 698 usb_fill_bulk_urb(dev->urb_list[i], in hackrf_alloc_urbs() 705 dev->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in hackrf_alloc_urbs() [all …]
|
/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 144 struct urb *urb_list[MAX_BULK_BUFS]; member 290 usb_kill_urb(dev->urb_list[i]); in rtl2832_sdr_kill_urbs() 304 ret = usb_submit_urb(dev->urb_list[i], GFP_ATOMIC); in rtl2832_sdr_submit_urbs() 374 if (dev->urb_list[i]) { in rtl2832_sdr_free_urbs() 377 usb_free_urb(dev->urb_list[i]); in rtl2832_sdr_free_urbs() 393 dev->urb_list[i] = usb_alloc_urb(0, GFP_ATOMIC); in rtl2832_sdr_alloc_urbs() 394 if (!dev->urb_list[i]) { in rtl2832_sdr_alloc_urbs() 396 usb_free_urb(dev->urb_list[j]); in rtl2832_sdr_alloc_urbs() 399 usb_fill_bulk_urb(dev->urb_list[i], in rtl2832_sdr_alloc_urbs() 406 dev->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in rtl2832_sdr_alloc_urbs() [all …]
|
/drivers/usb/isp1760/ |
D | isp1760-hcd.c | 155 struct list_head urb_list; member 770 struct list_head *urb_list) in collect_qtds() argument 823 list_add_tail(&urb_listitem->urb_list, urb_list); in collect_qtds() 916 LIST_HEAD(urb_list); in schedule_ptds() 933 collect_qtds(hcd, qh, &urb_list); in schedule_ptds() 939 list_for_each_entry_safe(urb_listitem, urb_listitem_next, &urb_list, in schedule_ptds() 940 urb_list) { in schedule_ptds()
|
/drivers/usb/atm/ |
D | usbatm.c | 221 urb = list_entry(channel->list.next, struct urb, urb_list); in usbatm_pop_urb() 222 list_del(&urb->urb_list); in usbatm_pop_urb() 247 list_add(&urb->urb_list, &channel->list); in usbatm_submit_urb() 271 list_add_tail(&urb->urb_list, &channel->list); in usbatm_complete() 1169 list_add_tail(&urb->urb_list, &channel->list); in usbatm_usb_probe()
|
/drivers/video/fbdev/ |
D | smscufx.c | 86 struct urb_list { struct 99 struct urb_list urbs; argument
|