Home
last modified time | relevance | path

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

12345678910>>...19

/linux/drivers/usb/core/
A Durb.c21 struct urb *urb = to_urb(kref); in urb_destroy() local
43 void usb_init_urb(struct urb *urb) in usb_init_urb() argument
46 memset(urb, 0, sizeof(*urb)); in usb_init_urb()
72 struct urb *urb; in usb_alloc_urb() local
93 void usb_free_urb(struct urb *urb) in usb_free_urb() argument
110 struct urb *usb_get_urb(struct urb *urb) in usb_get_urb() argument
164 void usb_unanchor_urb(struct urb *urb) in usb_unanchor_urb() argument
375 if (!urb || !urb->complete) in usb_submit_urb()
712 void usb_kill_urb(struct urb *urb) in usb_kill_urb() argument
715 if (!(urb && urb->dev && urb->ep)) in usb_kill_urb()
[all …]
A Dhcd.c754 struct urb *urb; in usb_hcd_poll_rh_status() local
1629 static void __usb_hcd_giveback_urb(struct urb *urb) in __usb_hcd_giveback_urb() argument
1656 urb->complete(urb); in __usb_hcd_giveback_urb()
1678 struct urb *urb; in usb_giveback_urb_bh() local
1762 struct urb *urb; in usb_hcd_flush_endpoint() local
1803 urb = list_entry (ep->urb_list.prev, struct urb, in usb_hcd_flush_endpoint()
2116 static void usb_ehset_completion(struct urb *urb) in usb_ehset_completion() argument
2134 struct urb *urb; in request_single_step_set_feature_urb() local
2139 if (!urb) in request_single_step_set_feature_urb()
2176 struct urb *urb; in ehset_single_step_set_feature() local
[all …]
/linux/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()
658 maxps = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); in c67x00_add_data_urb()
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
[all …]
/linux/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/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/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/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/drivers/usb/host/
A Dehci-q.c189 struct urb *urb, in qtd_copy_status() argument
324 struct urb *urb; in qh_completions() local
328 urb = qtd->urb; in qh_completions()
557 struct urb *urb, in qtd_list_free() argument
577 struct urb *urb, in qh_urb_transaction() argument
596 qtd->urb = urb; in qh_urb_transaction()
616 qtd->urb = urb; in qh_urb_transaction()
687 qtd->urb = urb; in qh_urb_transaction()
723 qtd->urb = urb; in qh_urb_transaction()
1190 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 Dr8a66597-hcd.c631 struct urb *urb = td->urb; in pipe_setting() local
836 struct urb *urb; in force_dequeue() local
846 urb = td->urb; in force_dequeue()
1086 struct urb *urb = td->urb; in prepare_packet_read() local
1129 struct urb *urb = td->urb; in prepare_packet_write() local
1161 struct urb *urb = td->urb; in prepare_status_packet() local
1317 urb = td->urb; in packet_read()
1392 urb = td->urb; in packet_write()
1453 urb = td->urb; in check_next_phase()
1868 td->urb = urb; in r8a66597_make_td()
[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/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/drivers/usb/usbip/
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()
551 usbip_alloc_iso_desc_pdu(struct urb *urb, ssize_t *bufflen) in usbip_alloc_iso_desc_pdu() argument
574 int usbip_recv_iso(struct usbip_device *ud, struct urb *urb) in usbip_recv_iso() argument
642 void usbip_pad_iso(struct usbip_device *ud, struct urb *urb) in usbip_pad_iso() argument
659 if (urb->actual_length == urb->transfer_buffer_length) in usbip_pad_iso()
668 memmove(urb->transfer_buffer + urb->iso_frame_desc[i].offset, in usbip_pad_iso()
676 int usbip_recv_xbuff(struct usbip_device *ud, struct urb *urb) in usbip_recv_xbuff() argument
[all …]
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 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
148 static int tweak_reset_device_cmd(struct urb *urb) in tweak_reset_device_cmd() argument
168 static void tweak_special_requests(struct urb *urb) in tweak_special_requests() argument
170 if (!urb || !urb->setup_packet) in tweak_special_requests()
388 static void masking_bogus_flags(struct urb *urb) in masking_bogus_flags() argument
[all …]
/linux/drivers/media/usb/stk1160/
A Dstk1160-video.c217 static void stk1160_process_isoc(struct stk1160 *dev, struct urb *urb) in stk1160_process_isoc() argument
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
362 struct urb *urb; in stk1160_free_isoc() local
369 urb = dev->isoc_ctl.urb[i]; in stk1160_free_isoc()
370 if (urb) { in stk1160_free_isoc()
382 usb_free_urb(urb); in stk1160_free_isoc()
413 struct urb *urb; in stk1160_alloc_isoc() local
450 if (!urb) in stk1160_alloc_isoc()
452 dev->isoc_ctl.urb[i] = urb; in stk1160_alloc_isoc()
[all …]
/linux/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/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
93 usb_unlink_urb(urb); in ttusbir_bulk_complete()
157 static void ttusbir_urb_complete(struct urb *urb) in ttusbir_urb_complete() argument
241 struct urb *urb = usb_alloc_urb(8, GFP_KERNEL); in ttusbir_probe() local
244 if (!urb) { in ttusbir_probe()
250 urb->context = tt; in ttusbir_probe()
252 urb->interval = 1; in ttusbir_probe()
271 tt->urb[i] = urb; in ttusbir_probe()
[all …]
/linux/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/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/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/drivers/usb/renesas_usbhs/
A Dmod_host.c65 struct urb *urb; member
166 ureq->urb = urb; in usbhsh_ureq_alloc()
200 struct urb *urb, in usbhsh_endpoint_sequence_save() argument
245 struct urb *urb) in usbhsh_pipe_attach() argument
366 struct urb *urb, in usbhsh_endpoint_attach() argument
483 struct urb *urb) in usbhsh_device_attach() argument
634 struct urb *urb = ureq->urb; in usbhsh_queue_done() local
660 struct urb *urb, in usbhsh_queue_push() argument
809 struct urb *urb, in usbhsh_data_stage_packet_push() argument
866 struct urb *urb, in usbhsh_dcp_queue_push() argument
[all …]
/linux/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 …]
/linux/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 …]

Completed in 204 milliseconds

12345678910>>...19