Home
last modified time | relevance | path

Searched refs:urb (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/linux-6.3-rc2/drivers/usb/core/
A Durb.c22 struct urb *urb = to_urb(kref); in urb_destroy() local
44 void usb_init_urb(struct urb *urb) in usb_init_urb() argument
47 memset(urb, 0, sizeof(*urb)); in usb_init_urb()
73 struct urb *urb; in usb_alloc_urb() local
94 void usb_free_urb(struct urb *urb) in usb_free_urb() argument
111 struct urb *usb_get_urb(struct urb *urb) in usb_get_urb() argument
165 void usb_unanchor_urb(struct urb *urb) in usb_unanchor_urb() argument
376 if (!urb || !urb->complete) in usb_submit_urb()
714 void usb_kill_urb(struct urb *urb) in usb_kill_urb() argument
717 if (!(urb && urb->dev && urb->ep)) in usb_kill_urb()
[all …]
A Dhcd.c754 struct urb *urb; in usb_hcd_poll_rh_status() local
1644 static void __usb_hcd_giveback_urb(struct urb *urb) in __usb_hcd_giveback_urb() argument
1671 urb->complete(urb); in __usb_hcd_giveback_urb()
1699 struct urb *urb; in usb_giveback_urb_bh() local
1787 struct urb *urb; in usb_hcd_flush_endpoint() local
1828 urb = list_entry (ep->urb_list.prev, struct urb, in usb_hcd_flush_endpoint()
2141 static void usb_ehset_completion(struct urb *urb) in usb_ehset_completion() argument
2159 struct urb *urb; in request_single_step_set_feature_urb() local
2163 if (!urb) in request_single_step_set_feature_urb()
2194 struct urb *urb; in ehset_single_step_set_feature() local
[all …]
/linux-6.3-rc2/drivers/usb/c67x00/
A Dc67x00-sched.c62 struct urb *urb; member
75 struct urb *urb; member
219 if (urb == td->urb) in c67x00_release_urb()
371 urbp->urb = urb; in c67x00_urb_enqueue()
628 td->urb = urb; in c67x00_create_td()
781 struct urb *urb; in c67x00_fill_from_list() local
861 struct urb *urb = td->urb; in c67x00_end_of_data() local
910 struct urb *urb = td->urb; in c67x00_handle_successful_td() local
955 struct urb *urb = td->urb; in c67x00_handle_isoc() local
981 struct urb *urb; in c67x00_check_td_list() local
[all …]
/linux-6.3-rc2/drivers/bluetooth/
A Dbpa10x.c46 static void bpa10x_tx_complete(struct urb *urb) in bpa10x_tx_complete() argument
52 urb, urb->status, urb->actual_length); in bpa10x_tx_complete()
57 if (!urb->status) in bpa10x_tx_complete()
84 static void bpa10x_rx_complete(struct urb *urb) in bpa10x_rx_complete() argument
91 urb, urb->status, urb->actual_length); in bpa10x_rx_complete()
123 struct urb *urb; in bpa10x_submit_intr_urb() local
131 if (!urb) in bpa10x_submit_intr_urb()
163 struct urb *urb; in bpa10x_submit_bulk_urb() local
171 if (!urb) in bpa10x_submit_bulk_urb()
269 struct urb *urb; in bpa10x_send_frame() local
[all …]
/linux-6.3-rc2/drivers/media/usb/gspca/
A Dbenq.c30 static void sd_isoc_irq(struct urb *urb);
74 struct urb *urb; in sd_start() local
85 if (!urb) in sd_start()
87 gspca_dev->urb[n] = urb; in sd_start()
91 &urb->transfer_dma); in sd_start()
104 urb->interval = 1; in sd_start()
139 static void sd_isoc_irq(struct urb *urb) in sd_isoc_irq() argument
142 struct urb *urb0; in sd_isoc_irq()
149 if (urb->status != 0) { in sd_isoc_irq()
161 if (urb == gspca_dev->urb[0] || urb == gspca_dev->urb[2]) in sd_isoc_irq()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/carl9170/
A Dusb.c135 struct urb *urb; in carl9170_usb_submit_data_urb() local
214 struct urb *urb; in carl9170_usb_submit_cmd_urb() local
318 struct urb *urb; in carl9170_usb_submit_rx_urb() local
344 struct urb *urb; in carl9170_usb_rx_work() local
369 struct urb *urb; in carl9170_usb_handle_tx_err() local
461 struct urb *urb; in carl9170_usb_alloc_rx_urb() local
485 struct urb *urb = NULL; in carl9170_usb_send_rx_irq_urb() local
515 struct urb *urb; in carl9170_usb_init_rx_bulk_urbs() local
558 struct urb *urb; in carl9170_usb_flush() local
607 struct urb *urb; in __carl9170_exec_cmd() local
[all …]
/linux-6.3-rc2/drivers/usb/musb/
A Dmusb_host.c80 struct urb *urb, int is_out,
605 struct urb *urb, in musb_tx_dma_set_mode_cppi_tusb() argument
897 struct urb *urb; in musb_bulk_nak_timeout() local
1050 struct urb *urb; in musb_h_ep0_irq() local
1461 struct urb *urb, in musb_rx_dma_iso_cppi41() argument
1486 struct urb *urb, in musb_rx_dma_iso_cppi41() argument
1602 struct urb *urb, in musb_rx_dma_in_inventra_cppi41() argument
1711 struct urb *urb, in musb_rx_dma_in_inventra_cppi41() argument
1725 struct urb *urb; in musb_host_rx() local
2109 struct urb *urb, in musb_urb_enqueue() argument
[all …]
/linux-6.3-rc2/drivers/usb/usbip/
A Dstub_tx.c40 void stub_complete(struct urb *urb) in stub_complete() argument
48 switch (urb->status) { in stub_complete()
70 urb->status); in stub_complete()
117 static void setup_ret_submit_pdu(struct usbip_header *rpdu, struct urb *urb) in setup_ret_submit_pdu() argument
161 struct urb *urb = priv->urbs[0]; in stub_send_ret_submit() local
175 if (urb->actual_length > 0 && !urb->transfer_buffer && in stub_send_ret_submit()
176 !urb->num_sgs) { in stub_send_ret_submit()
185 else if (usb_pipein(urb->pipe) && urb->actual_length > 0 && in stub_send_ret_submit()
186 urb->num_sgs) in stub_send_ret_submit()
240 if (urb->num_sgs) { in stub_send_ret_submit()
[all …]
A Dusbip_common.c220 void usbip_dump_urb(struct urb *urb) in usbip_dump_urb() argument
224 if (!urb) { in usbip_dump_urb()
229 if (!urb->dev) { in usbip_dump_urb()
248 if (urb->setup_packet && usb_pipetype(urb->pipe) == PIPE_CONTROL) in usbip_dump_urb()
637 usbip_alloc_iso_desc_pdu(struct urb *urb, ssize_t *bufflen) in usbip_alloc_iso_desc_pdu() argument
660 int usbip_recv_iso(struct usbip_device *ud, struct urb *urb) in usbip_recv_iso() argument
728 void usbip_pad_iso(struct usbip_device *ud, struct urb *urb) in usbip_pad_iso() argument
745 if (urb->actual_length == urb->transfer_buffer_length) in usbip_pad_iso()
754 memmove(urb->transfer_buffer + urb->iso_frame_desc[i].offset, in usbip_pad_iso()
762 int usbip_recv_xbuff(struct usbip_device *ud, struct urb *urb) in usbip_recv_xbuff() argument
[all …]
A Dvhci_rx.c16 struct urb *urb = NULL; in pickup_urb_and_free_priv() local
23 urb = priv->urb; in pickup_urb_and_free_priv()
24 status = urb->status; in pickup_urb_and_free_priv()
47 urb->hcpriv = NULL; in pickup_urb_and_free_priv()
52 return urb; in pickup_urb_and_free_priv()
61 struct urb *urb; in vhci_recv_ret_submit() local
68 if (!urb) { in vhci_recv_ret_submit()
98 if (urb->num_sgs) in vhci_recv_ret_submit()
107 usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); in vhci_recv_ret_submit()
143 struct urb *urb; in vhci_recv_ret_unlink() local
[all …]
A Dstub_rx.c15 static int is_clear_halt_cmd(struct urb *urb) in is_clear_halt_cmd() argument
26 static int is_set_interface_cmd(struct urb *urb) in is_set_interface_cmd() argument
36 static int is_set_configuration_cmd(struct urb *urb) in is_set_configuration_cmd() argument
46 static int is_reset_device_cmd(struct urb *urb) in is_reset_device_cmd() argument
65 static int tweak_clear_halt_cmd(struct urb *urb) in tweak_clear_halt_cmd() argument
103 static int tweak_set_interface_cmd(struct urb *urb) in tweak_set_interface_cmd() argument
150 static int tweak_reset_device_cmd(struct urb *urb) in tweak_reset_device_cmd() argument
170 static void tweak_special_requests(struct urb *urb) in tweak_special_requests() argument
172 if (!urb || !urb->setup_packet) in tweak_special_requests()
390 static void masking_bogus_flags(struct urb *urb) in masking_bogus_flags() argument
[all …]
/linux-6.3-rc2/sound/usb/usx2y/
A Dusbusx2yaudio.c119 struct urb *urb) in usx2y_urb_play_prepare() argument
221 urb = playbacksubs->urb[0]; in usx2y_usbframe_complete()
225 urb = playbacksubs->urb[1]; in usx2y_usbframe_complete()
261 struct urb *urb; in usx2y_clients_stop() local
277 urb = subs->urb[u]; in usx2y_clients_stop()
336 struct urb *urb; in usx2y_urbs_set_complete() local
343 urb = subs->urb[u]; in usx2y_urbs_set_complete()
479 struct urb *urb; in usx2y_urbs_start() local
496 urb = subs->urb[i]; in usx2y_urbs_start()
675 struct urb *urb; in usx2y_rate_set() local
[all …]
/linux-6.3-rc2/drivers/usb/host/
A Dehci-q.c190 struct urb *urb, in qtd_copy_status() argument
325 struct urb *urb; in qh_completions() local
329 urb = qtd->urb; in qh_completions()
558 struct urb *urb, in qtd_list_free() argument
578 struct urb *urb, in qh_urb_transaction() argument
597 qtd->urb = urb; in qh_urb_transaction()
617 qtd->urb = urb; in qh_urb_transaction()
688 qtd->urb = urb; in qh_urb_transaction()
724 qtd->urb = urb; in qh_urb_transaction()
1191 qtd->urb = urb; in ehci_submit_single_step_set_feature()
[all …]
A Du132-hcd.c136 struct urb *urb; member
505 struct urb *urb, int status) in u132_hcd_giveback_urb() argument
1939 urbq->urb = urb; in queue_int_on_old_endpoint()
2021 struct urb *urb, in queue_bulk_on_old_endpoint() argument
2036 urbq->urb = urb; in queue_bulk_on_old_endpoint()
2043 struct urb *urb, in create_endpoint_and_queue_control() argument
2132 struct urb *urb, in queue_control_on_old_endpoint() argument
2152 urbq->urb = urb; in queue_control_on_old_endpoint()
2202 urbq->urb = urb; in queue_control_on_old_endpoint()
2224 urbq->urb = urb; in queue_control_on_old_endpoint()
[all …]
A Dfhci-q.c161 static void free_urb_priv(struct fhci_hcd *fhci, struct urb *urb) in free_urb_priv() argument
180 urb->hcpriv = NULL; in free_urb_priv()
189 void fhci_urb_complete_free(struct fhci_hcd *fhci, struct urb *urb) in fhci_urb_complete_free() argument
191 free_urb_priv(fhci, urb); in fhci_urb_complete_free()
194 if (urb->actual_length != urb->transfer_buffer_length && in fhci_urb_complete_free()
198 urb->status = 0; in fhci_urb_complete_free()
205 usb_hcd_giveback_urb(fhci_to_hcd(fhci), urb, urb->status); in fhci_urb_complete_free()
214 void fhci_done_td(struct urb *urb, struct td *td) in fhci_done_td() argument
243 urb->error_count = 3; in fhci_done_td()
268 struct urb *urb = td->urb; in fhci_del_ed_list() local
[all …]
/linux-6.3-rc2/drivers/nfc/nfcmrvl/
A Dusb.c57 static void nfcmrvl_bulk_complete(struct urb *urb) in nfcmrvl_bulk_complete() argument
63 urb, urb->status, urb->actual_length); in nfcmrvl_bulk_complete()
68 if (!urb->status) { in nfcmrvl_bulk_complete()
105 struct urb *urb; in nfcmrvl_submit_bulk_urb() local
114 if (!urb) in nfcmrvl_submit_bulk_urb()
142 usb_free_urb(urb); in nfcmrvl_submit_bulk_urb()
147 static void nfcmrvl_tx_complete(struct urb *urb) in nfcmrvl_tx_complete() argument
156 urb, urb->status, urb->actual_length); in nfcmrvl_tx_complete()
224 struct urb *urb; in nfcmrvl_usb_nci_send() local
232 if (!urb) in nfcmrvl_usb_nci_send()
[all …]
/linux-6.3-rc2/drivers/usb/misc/
A Dusbtest.c266 struct urb *urb; in usbtest_alloc_urb() local
456 struct urb *urb, in simple_io() argument
1074 struct urb **urb; member
1158 struct urb *u = ctx->urb[ in ctrl_complete()
1204 struct urb **urb; in test_ctrl_queue() local
1386 context.urb = urb; in test_ctrl_queue()
1437 struct urb *urb; in unlink1() local
1755 struct urb *urb; in halt_simple() local
1787 struct urb *urb; in toggle_sync_simple() local
1982 struct urb *urb; in iso_alloc_urb() local
[all …]
/linux-6.3-rc2/sound/usb/6fire/
A Dcomm.c21 static void usb6fire_comm_init_urb(struct comm_runtime *rt, struct urb *urb, in usb6fire_comm_init_urb() argument
22 u8 *buffer, void *context, void(*handler)(struct urb *urb)) in usb6fire_comm_init_urb() argument
24 usb_init_urb(urb); in usb6fire_comm_init_urb()
29 urb->interval = 1; in usb6fire_comm_init_urb()
33 static void usb6fire_comm_receiver_handler(struct urb *urb) in usb6fire_comm_receiver_handler() argument
38 if (!urb->status) { in usb6fire_comm_receiver_handler()
47 urb->status = 0; in usb6fire_comm_receiver_handler()
146 struct urb *urb; in usb6fire_comm_init() local
161 usb_init_urb(urb); in usb6fire_comm_init()
172 urb->context = rt; in usb6fire_comm_init()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/udl/
A Dudl_main.c121 void udl_urb_completion(struct urb *urb) in udl_urb_completion() argument
128 if (urb->status) { in udl_urb_completion()
152 struct urb *urb; in udl_free_urb_list() local
162 if (WARN_ON(!urb)) in udl_free_urb_list()
167 urb->transfer_buffer, urb->transfer_dma); in udl_free_urb_list()
168 usb_free_urb(urb); in udl_free_urb_list()
178 struct urb *urb; in udl_alloc_urb_list() local
200 if (!urb) { in udl_alloc_urb_list()
204 unode->urb = urb; in udl_alloc_urb_list()
265 struct urb *urb; in udl_get_urb() local
[all …]
/linux-6.3-rc2/drivers/media/rc/
A Dttusbir.c31 struct urb *urb[NUM_URBS]; member
34 struct urb *bulk_urb;
81 static void ttusbir_bulk_complete(struct urb *urb) in ttusbir_bulk_complete() argument
87 switch (urb->status) { in ttusbir_bulk_complete()
156 static void ttusbir_urb_complete(struct urb *urb) in ttusbir_urb_complete() argument
239 struct urb *urb = usb_alloc_urb(8, GFP_KERNEL); in ttusbir_probe() local
242 if (!urb) { in ttusbir_probe()
248 urb->context = tt; in ttusbir_probe()
250 urb->interval = 1; in ttusbir_probe()
269 tt->urb[i] = urb; in ttusbir_probe()
[all …]
/linux-6.3-rc2/drivers/greybus/
A Des2.c182 struct urb *urb; in output_async() local
231 struct urb *urb; in es2_cport_in_enable() local
260 struct urb *urb; in es2_cport_in_disable() local
271 struct urb *urb; in es2_arpc_in_enable() local
299 struct urb *urb; in es2_arpc_in_disable() local
397 struct urb *urb; in message_send() local
457 struct urb *urb; in message_cancel() local
776 struct urb *urb; in es2_destroy() local
1339 struct urb *urb; in ap_probe() local
1365 struct urb *urb; in ap_probe() local
[all …]
/linux-6.3-rc2/drivers/media/usb/dvb-usb/
A Dusb-urb.c15 static void usb_urb_complete(struct urb *urb) in usb_urb_complete() argument
24 urb->status,urb->actual_length,urb->transfer_buffer_length, in usb_urb_complete()
25 urb->number_of_packets,urb->error_count); in usb_urb_complete()
27 switch (urb->status) { in usb_urb_complete()
40 b = (u8 *) urb->transfer_buffer; in usb_urb_complete()
56 if (urb->actual_length > 0) in usb_urb_complete()
63 usb_submit_urb(urb,GFP_ATOMIC); in usb_urb_complete()
178 struct urb *urb; in usb_isoc_urb_init() local
189 urb = stream->urb_list[i]; in usb_isoc_urb_init()
191 urb->dev = stream->udev; in usb_isoc_urb_init()
[all …]
/linux-6.3-rc2/drivers/media/usb/stk1160/
A Dstk1160-video.c217 static void stk1160_process_isoc(struct stk1160 *dev, struct urb *urb) in stk1160_process_isoc() argument
227 if (urb->status < 0) { in stk1160_process_isoc()
241 p = urb->transfer_buffer + urb->iso_frame_desc[i].offset; in stk1160_process_isoc()
295 static void stk1160_isoc_irq(struct urb *urb) in stk1160_isoc_irq() argument
374 stk_urb->urb = NULL; in stk_free_urb()
413 if (!stk_urb->urb) in stk1160_fill_urb()
438 stk_urb->urb = NULL; in stk1160_fill_urb()
447 struct urb *urb; in stk1160_alloc_isoc() local
476 urb = dev->isoc_ctl.urb_ctl[i].urb; in stk1160_alloc_isoc()
478 if (!urb) { in stk1160_alloc_isoc()
[all …]
/linux-6.3-rc2/include/trace/events/
A Dpwc.h12 TP_PROTO(struct urb *urb, struct pwc_device *pdev),
13 TP_ARGS(urb, pdev),
15 __field(struct urb*, urb)
23 __entry->urb = urb;
25 __entry->urb__status = urb->status;
35 __entry->urb,
41 TP_PROTO(struct urb *urb, struct pwc_device *pdev),
42 TP_ARGS(urb, pdev),
44 __field(struct urb*, urb)
50 __entry->urb = urb;
[all …]
/linux-6.3-rc2/drivers/media/usb/cx231xx/
A Dcx231xx-audio.c79 static void cx231xx_audio_isocirq(struct urb *urb) in cx231xx_audio_isocirq() argument
104 urb->status); in cx231xx_audio_isocirq()
160 urb->status = 0; in cx231xx_audio_isocirq()
171 static void cx231xx_audio_bulkirq(struct urb *urb) in cx231xx_audio_bulkirq() argument
195 urb->status); in cx231xx_audio_bulkirq()
272 struct urb *urb; in cx231xx_init_audio_isoc() local
281 if (!urb) { in cx231xx_init_audio_isoc()
305 dev->adev.urb[i] = urb; in cx231xx_init_audio_isoc()
333 struct urb *urb; in cx231xx_init_audio_bulk() local
342 if (!urb) { in cx231xx_init_audio_bulk()
[all …]

Completed in 97 milliseconds

12345678910>>...19