Home
last modified time | relevance | path

Searched refs:urb_list (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/media/usb/dvb-usb/
Dusb-urb.c73 usb_kill_urb(stream->urb_list[i]); in usb_urb_kill()
84 if ((ret = usb_submit_urb(stream->urb_list[i],GFP_ATOMIC))) { in usb_urb_submit()
148 stream->urb_list[i] = usb_alloc_urb(0, GFP_KERNEL); in usb_bulk_urb_init()
149 if (!stream->urb_list[i]) { in usb_bulk_urb_init()
152 usb_free_urb(stream->urb_list[j]); in usb_bulk_urb_init()
155 usb_fill_bulk_urb( stream->urb_list[i], stream->udev, in usb_bulk_urb_init()
161 stream->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in usb_bulk_urb_init()
162 stream->urb_list[i]->transfer_dma = stream->dma_addr[i]; in usb_bulk_urb_init()
181 stream->urb_list[i] = usb_alloc_urb(stream->props.u.isoc.framesperurb, GFP_KERNEL); in usb_isoc_urb_init()
182 if (!stream->urb_list[i]) { in usb_isoc_urb_init()
[all …]
Ddvb-usb.h350 struct urb *urb_list[MAX_NO_URBS_FOR_DATA_STREAM]; member
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c85 usb_kill_urb(stream->urb_list[i]); in usb_urb_killv2()
104 ret = usb_submit_urb(stream->urb_list[i], GFP_ATOMIC); in usb_urb_submitv2()
124 if (stream->urb_list[i]) { in usb_urb_free_urbs()
128 usb_free_urb(stream->urb_list[i]); in usb_urb_free_urbs()
143 stream->urb_list[i] = usb_alloc_urb(0, GFP_ATOMIC); in usb_urb_alloc_bulk_urbs()
144 if (!stream->urb_list[i]) { in usb_urb_alloc_bulk_urbs()
147 usb_free_urb(stream->urb_list[j]); in usb_urb_alloc_bulk_urbs()
150 usb_fill_bulk_urb(stream->urb_list[i], in usb_urb_alloc_bulk_urbs()
172 stream->urb_list[i] = usb_alloc_urb( in usb_urb_alloc_isoc_urbs()
174 if (!stream->urb_list[i]) { in usb_urb_alloc_isoc_urbs()
[all …]
Ddvb_usb.h297 struct urb *urb_list[MAX_NO_URBS_FOR_DATA_STREAM]; member
/linux-6.1.9/drivers/usb/core/
Durb.c49 INIT_LIST_HEAD(&urb->urb_list); in usb_init_urb()
133 list_add_tail(&urb->anchor_list, &anchor->urb_list); in usb_anchor_urb()
146 list_empty(&anchor->urb_list); in usb_anchor_check_wakeup()
830 while (!list_empty(&anchor->urb_list)) { in usb_kill_anchored_urbs()
831 victim = list_entry(anchor->urb_list.prev, in usb_kill_anchored_urbs()
869 while (!list_empty(&anchor->urb_list)) { in usb_poison_anchored_urbs()
870 victim = list_entry(anchor->urb_list.prev, in usb_poison_anchored_urbs()
901 list_for_each_entry(lazarus, &anchor->urb_list, anchor_list) { in usb_unpoison_anchored_urbs()
999 if (!list_empty(&anchor->urb_list)) { in usb_get_from_anchor()
1000 victim = list_entry(anchor->urb_list.next, struct urb, in usb_get_from_anchor()
[all …]
Dhcd.c1181 list_add_tail(&urb->urb_list, &urb->ep->urb_list); in usb_hcd_link_urb_to_ep()
1217 list_for_each(tmp, &urb->ep->urb_list) { in usb_hcd_check_unlink_urb()
1218 if (tmp == &urb->urb_list) in usb_hcd_check_unlink_urb()
1221 if (tmp != &urb->urb_list) in usb_hcd_check_unlink_urb()
1248 list_del_init(&urb->urb_list); in usb_hcd_unlink_urb_from_ep()
1565 INIT_LIST_HEAD(&urb->urb_list); in usb_hcd_submit_urb()
1701 urb = list_entry(local_list.next, struct urb, urb_list); in usb_giveback_urb_bh()
1702 list_del_init(&urb->urb_list); in usb_giveback_urb_bh()
1764 list_add_tail(&urb->urb_list, &bh->head); in usb_hcd_giveback_urb()
1797 list_for_each_entry_reverse(urb, &ep->urb_list, urb_list) { in usb_hcd_flush_endpoint()
[all …]
Dusb.c607 INIT_LIST_HEAD(&dev->ep0.urb_list); in usb_alloc_dev()
/linux-6.1.9/drivers/media/usb/airspy/
Dairspy.c116 struct urb *urb_list[MAX_BULK_BUFS]; member
322 usb_kill_urb(s->urb_list[i]); in airspy_kill_urbs()
335 ret = usb_submit_urb(s->urb_list[i], GFP_ATOMIC); in airspy_submit_urbs()
398 if (s->urb_list[i]) { in airspy_free_urbs()
401 usb_free_urb(s->urb_list[i]); in airspy_free_urbs()
416 s->urb_list[i] = usb_alloc_urb(0, GFP_ATOMIC); in airspy_alloc_urbs()
417 if (!s->urb_list[i]) { in airspy_alloc_urbs()
419 usb_free_urb(s->urb_list[j]); in airspy_alloc_urbs()
420 s->urb_list[j] = NULL; in airspy_alloc_urbs()
425 usb_fill_bulk_urb(s->urb_list[i], in airspy_alloc_urbs()
[all …]
/linux-6.1.9/include/video/
Dudlfb.h26 struct urb_list { struct
38 struct urb_list urbs; argument
/linux-6.1.9/drivers/gpu/drm/udl/
Dudl_drv.h40 struct urb_list { struct
60 struct urb_list urbs; argument
/linux-6.1.9/drivers/usb/host/
Dsl811-hcd.c338 if (unlikely(list_empty(&ep->hep->urb_list))) { in start()
344 urb = container_of(ep->hep->urb_list.next, struct urb, urb_list); in start()
438 if (!list_empty(&ep->hep->urb_list)) in finish_request()
486 urb = container_of(ep->hep->urb_list.next, struct urb, urb_list); in done()
700 ->hep->urb_list.next, in sl811h_irq()
701 struct urb, urb_list), in sl811h_irq()
710 ->hep->urb_list.next, in sl811h_irq()
711 struct urb, urb_list), in sl811h_irq()
977 if (ep->hep->urb_list.next != &urb->urb_list) { in sl811h_urb_dequeue()
1037 if (!list_empty(&hep->urb_list)) in sl811h_endpoint_disable()
[all …]
Disp116x-hcd.c241 BUG_ON(list_empty(&ep->hep->urb_list)); in preproc_atl_queue()
242 urb = container_of(ep->hep->urb_list.next, in preproc_atl_queue()
243 struct urb, urb_list); in preproc_atl_queue()
313 if (!list_empty(&ep->hep->urb_list)) in finish_request()
359 BUG_ON(list_empty(&ep->hep->urb_list)); in postproc_atl_queue()
361 container_of(ep->hep->urb_list.next, struct urb, urb_list); in postproc_atl_queue()
518 urb = container_of(ep->hep->urb_list.next, in start_atl_transfers()
519 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 …]
Du132-hcd.c165 struct urb *urb_list[ENDP_QUEUE_SIZE]; member
522 endp->urb_list[ENDP_QUEUE_MASK & endp->queue_last++] = in u132_hcd_giveback_urb()
561 endp->urb_list[ENDP_QUEUE_MASK & endp->queue_last++] = in u132_hcd_abandon_urb()
1388 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & in u132_hcd_endp_work_scheduler()
1408 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & in u132_hcd_endp_work_scheduler()
1421 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & in u132_hcd_endp_work_scheduler()
1434 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & in u132_hcd_endp_work_scheduler()
1456 struct urb *urb = endp->urb_list[ in u132_hcd_endp_work_scheduler()
1479 struct urb *urb = endp->urb_list[ in u132_hcd_endp_work_scheduler()
1915 endp->urb_list[ENDP_QUEUE_MASK & endp->queue_last++] = urb; in create_endpoint_and_queue_int()
[all …]
Dmax3421-hcd.c673 if (list_empty(&ep->urb_list)) in max3421_select_and_start_urb()
675 urb = list_first_entry(&ep->urb_list, struct urb, in max3421_select_and_start_urb()
676 urb_list); in max3421_select_and_start_urb()
783 list_for_each_entry_safe(urb, next, &ep->urb_list, urb_list) { in max3421_check_unlink()
1169 list_for_each_entry(urb, &ep->urb_list, urb_list) { in dump_eps()
Disp1362.h576 BUG_ON(list_empty(&ep->hep->urb_list)); \
577 container_of(ep->hep->urb_list.next, struct urb, urb_list); \
Dohci-q.c91 if (!list_empty(&ep->urb_list)) { in finish_urb()
92 urb = list_first_entry(&ep->urb_list, struct urb, urb_list); in finish_urb()
Disp1362-hcd.c475 if (!list_empty(&ep->hep->urb_list)) in finish_request()
669 if (!list_empty(&ep->hep->urb_list)) { in finish_unlinks()
1422 if (ep->hep->urb_list.next == &urb->urb_list) { in isp1362_urb_dequeue()
1459 if (!list_empty(&hep->urb_list)) { in isp1362_endpoint_disable()
2119 list_for_each_entry(urb, &ep->hep->urb_list, urb_list) { in isp1362_show()
/linux-6.1.9/drivers/usb/musb/
Dmusb_host.h118 queue = &qh->hep->urb_list; in next_urb()
121 return list_entry(queue->next, struct urb, urb_list); in next_urb()
Dmusb_host.c327 if (list_empty(&qh->hep->urb_list)) { in musb_advance_schedule()
2389 || urb->urb_list.prev != &qh->hep->urb_list in musb_urb_dequeue()
2400 if (ready && list_empty(&qh->hep->urb_list)) { in musb_urb_dequeue()
2445 while (!list_empty(&hep->urb_list)) { in musb_h_disable()
2455 while (!list_empty(&hep->urb_list)) in musb_h_disable()
/linux-6.1.9/drivers/media/dvb-frontends/
Drtl2832_sdr.c128 struct urb *urb_list[MAX_BULK_BUFS]; member
274 usb_kill_urb(dev->urb_list[i]); in rtl2832_sdr_kill_urbs()
288 ret = usb_submit_urb(dev->urb_list[i], GFP_KERNEL); in rtl2832_sdr_submit_urbs()
358 if (dev->urb_list[i]) { in rtl2832_sdr_free_urbs()
361 usb_free_urb(dev->urb_list[i]); in rtl2832_sdr_free_urbs()
377 dev->urb_list[i] = usb_alloc_urb(0, GFP_KERNEL); in rtl2832_sdr_alloc_urbs()
378 if (!dev->urb_list[i]) { in rtl2832_sdr_alloc_urbs()
380 usb_free_urb(dev->urb_list[j]); in rtl2832_sdr_alloc_urbs()
381 dev->urb_list[j] = NULL; in rtl2832_sdr_alloc_urbs()
386 usb_fill_bulk_urb(dev->urb_list[i], in rtl2832_sdr_alloc_urbs()
[all …]
/linux-6.1.9/drivers/media/usb/hackrf/
Dhackrf.c131 struct urb *urb_list[MAX_BULK_BUFS]; member
578 usb_kill_urb(dev->urb_list[i]); in hackrf_kill_urbs()
591 ret = usb_submit_urb(dev->urb_list[i], GFP_KERNEL); in hackrf_submit_urbs()
655 if (dev->urb_list[i]) { in hackrf_free_urbs()
658 usb_free_urb(dev->urb_list[i]); in hackrf_free_urbs()
683 dev->urb_list[i] = usb_alloc_urb(0, GFP_KERNEL); in hackrf_alloc_urbs()
684 if (!dev->urb_list[i]) { in hackrf_alloc_urbs()
686 usb_free_urb(dev->urb_list[j]); in hackrf_alloc_urbs()
689 usb_fill_bulk_urb(dev->urb_list[i], in hackrf_alloc_urbs()
696 dev->urb_list[i]->transfer_flags = URB_NO_TRANSFER_DMA_MAP; in hackrf_alloc_urbs()
[all …]
/linux-6.1.9/drivers/usb/atm/
Dusbatm.c206 urb = list_entry(channel->list.next, struct urb, urb_list); in usbatm_pop_urb()
207 list_del(&urb->urb_list); in usbatm_pop_urb()
232 list_add(&urb->urb_list, &channel->list); in usbatm_submit_urb()
256 list_add_tail(&urb->urb_list, &channel->list); in usbatm_complete()
1158 list_add_tail(&urb->urb_list, &channel->list); in usbatm_usb_probe()
/linux-6.1.9/include/linux/
Dusb.h71 struct list_head urb_list; member
1363 struct list_head urb_list; member
1373 INIT_LIST_HEAD(&anchor->urb_list); in init_usb_anchor()
1572 struct list_head urb_list; /* list head for use by the urb's member
/linux-6.1.9/drivers/usb/isp1760/
Disp1760-hcd.c181 struct list_head urb_list; member
1054 struct list_head *urb_list) in collect_qtds() argument
1107 list_add_tail(&urb_listitem->urb_list, urb_list); in collect_qtds()
1201 LIST_HEAD(urb_list); in schedule_ptds()
1218 collect_qtds(hcd, qh, &urb_list); in schedule_ptds()
1224 list_for_each_entry_safe(urb_listitem, urb_listitem_next, &urb_list, in schedule_ptds()
1225 urb_list) { in schedule_ptds()
/linux-6.1.9/drivers/video/fbdev/
Dsmscufx.c83 struct urb_list { struct
96 struct urb_list urbs; argument

12