Home
last modified time | relevance | path

Searched refs:transfer_buffer_length (Results 1 – 25 of 139) sorted by relevance

123456

/drivers/usb/usbip/
Dusbip_common.c245 urb->transfer_buffer_length); in usbip_dump_urb()
272 pdu->u.cmd_submit.transfer_buffer_length, in usbip_dump_header()
444 spdu->transfer_buffer_length = urb->transfer_buffer_length; in usbip_pack_cmd_submit()
450 urb->transfer_buffer_length = spdu->transfer_buffer_length; in usbip_pack_cmd_submit()
518 cpu_to_be32s(&pdu->transfer_buffer_length); in correct_endian_cmd_submit()
525 be32_to_cpus(&pdu->transfer_buffer_length); in correct_endian_cmd_submit()
744 if (urb->actual_length == urb->transfer_buffer_length) in usbip_pad_iso()
775 size = urb->transfer_buffer_length; in usbip_recv_xbuff()
788 if (size > urb->transfer_buffer_length) in usbip_recv_xbuff()
Dvudc_transfer.c156 if (urb->transfer_buffer_length > 0) { in handle_control_request()
170 if (urb->transfer_buffer_length > 1) in handle_control_request()
173 urb->transfer_buffer_length); in handle_control_request()
204 host_len = urb->transfer_buffer_length - urb->actual_length; in transfer()
270 if (urb->transfer_buffer_length == urb->actual_length) { in transfer()
406 limit += urb->transfer_buffer_length; in v_timer()
Dvudc_rx.c31 if (urb->transfer_buffer_length > 0) { in alloc_urb_from_cmd()
32 urb->transfer_buffer = kzalloc(urb->transfer_buffer_length, in alloc_urb_from_cmd()
129 bytes = pdu->u.cmd_submit.transfer_buffer_length; in v_recv_cmd_submit()
Dvhci_tx.c105 if (!usb_pipein(urb->pipe) && urb->transfer_buffer_length > 0) { in vhci_send_cmd_submit()
116 urb->transfer_buffer_length; in vhci_send_cmd_submit()
119 txsize += urb->transfer_buffer_length; in vhci_send_cmd_submit()
/drivers/usb/serial/
Dkobil_sct.c171 int transfer_buffer_length = 8; in kobil_open() local
176 transfer_buffer = kzalloc(transfer_buffer_length, GFP_KERNEL); in kobil_open()
188 transfer_buffer_length, in kobil_open()
205 transfer_buffer_length, in kobil_open()
335 port->interrupt_out_urb->transfer_buffer_length = length; in kobil_write()
375 int transfer_buffer_length = 8; in kobil_tiocmget() local
385 transfer_buffer = kzalloc(transfer_buffer_length, GFP_KERNEL); in kobil_tiocmget()
396 transfer_buffer_length, in kobil_tiocmget()
Ddigi_acceleport.c398 oob_port->write_urb->transfer_buffer_length = len; in digi_write_oob_command()
470 port->write_urb->transfer_buffer_length in digi_write_inb_command()
474 port->write_urb->transfer_buffer_length = len; in digi_write_inb_command()
545 oob_port->write_urb->transfer_buffer_length = 8; in digi_set_modem_signals()
927 port->write_urb->transfer_buffer_length = data_len+2; in digi_write()
1002 port->write_urb->transfer_buffer_length = in digi_write_bulk_callback()
Dir-usb.c295 urb->transfer_buffer_length = count + 1; in ir_write()
321 port->tx_bytes -= urb->transfer_buffer_length - 1; in ir_write_bulk_callback()
Dcyberjack.c211 port->write_urb->transfer_buffer_length = length; in cyberjack_write()
383 port->write_urb->transfer_buffer_length = length; in cyberjack_write_bulk_callback()
/drivers/usb/musb/
Dmusb_host.c228 len = urb->transfer_buffer_length - urb->actual_length; in musb_start_urb()
431 urb->transfer_buffer_length); in musb_host_packet_rx()
465 length = urb->transfer_buffer_length - qh->offset; in musb_host_packet_rx()
477 done = (urb->actual_length == urb->transfer_buffer_length) in musb_host_packet_rx()
484 < urb->transfer_buffer_length)) in musb_host_packet_rx()
990 fifo_count = min_t(size_t, len, urb->transfer_buffer_length - in musb_h_ep0_continue()
1003 urb->transfer_buffer_length) in musb_h_ep0_continue()
1025 urb->transfer_buffer_length - in musb_h_ep0_continue()
1149 || !urb->transfer_buffer_length) in musb_h_ep0_irq()
1378 } else if (dma && urb->transfer_buffer_length == qh->offset) { in musb_host_tx()
[all …]
/drivers/usb/chipidea/
Dhost.c397 length = urb->transfer_buffer_length; in ci_hdrc_free_dma_aligned_buffer()
411 if (urb->num_sgs || urb->sg || urb->transfer_buffer_length == 0) in ci_hdrc_alloc_dma_aligned_buffer()
414 && IS_ALIGNED(urb->transfer_buffer_length, 4)) in ci_hdrc_alloc_dma_aligned_buffer()
417 temp = kmalloc(sizeof(*temp) + ALIGN(urb->transfer_buffer_length, 4), mem_flags); in ci_hdrc_alloc_dma_aligned_buffer()
423 urb->transfer_buffer_length); in ci_hdrc_alloc_dma_aligned_buffer()
/drivers/usb/core/
Dhcd.c506 if (wLength > urb->transfer_buffer_length) in rh_call_control()
711 if (urb->transfer_buffer_length < len) in rh_call_control()
712 len = urb->transfer_buffer_length; in rh_call_control()
774 if (urb->transfer_buffer_length >= length) { in usb_hcd_poll_rh_status()
778 length = urb->transfer_buffer_length; in usb_hcd_poll_rh_status()
819 if (hcd->status_urb || urb->transfer_buffer_length < len) { in rh_queue_status()
1381 urb->transfer_buffer_length, in usb_hcd_unmap_urb_for_dma()
1387 urb->transfer_buffer_length, in usb_hcd_unmap_urb_for_dma()
1393 urb->transfer_buffer_length, in usb_hcd_unmap_urb_for_dma()
1455 if (urb->transfer_buffer_length != 0 in usb_hcd_map_urb_for_dma()
[all …]
Durb.c414 if (le16_to_cpu(setup->wLength) != urb->transfer_buffer_length) { in usb_submit_urb()
417 urb->transfer_buffer_length); in usb_submit_urb()
494 if (urb->transfer_buffer_length > INT_MAX) in usb_submit_urb()
/drivers/gpu/drm/udl/
Dudl_transfer.c181 u8 *cmd_end = (u8 *) urb->transfer_buffer + urb->transfer_buffer_length; in udl_render_hline()
209 cmd_end = &cmd[urb->transfer_buffer_length]; in udl_render_hline()
Dudl_main.c138 urb->transfer_buffer_length = udl->urbs.size; /* reset to actual */ in udl_urb_completion()
282 urb->transfer_buffer_length = len; /* set to actual payload len */ in udl_submit_urb()
/drivers/usb/host/
Dxhci-ring.c816 if (urb->actual_length > urb->transfer_buffer_length) { in xhci_td_cleanup()
818 urb->transfer_buffer_length, urb->actual_length); in xhci_td_cleanup()
832 if ((urb->actual_length != urb->transfer_buffer_length && in xhci_td_cleanup()
837 urb->transfer_buffer_length, status); in xhci_td_cleanup()
2259 requested = td->urb->transfer_buffer_length; in process_ctrl_td()
2466 requested = td->urb->transfer_buffer_length; in process_bulk_intr_td()
3303 return count_trbs(urb->transfer_dma, urb->transfer_buffer_length); in count_trbs_needed()
3311 full_len = urb->transfer_buffer_length; in count_sg_trbs_needed()
3337 if (unlikely(running_total != urb->transfer_buffer_length)) in check_trb_math()
3343 urb->transfer_buffer_length, in check_trb_math()
[all …]
Dehci-q.c275 urb->actual_length, urb->transfer_buffer_length); in ehci_urb_done()
360 urb->transfer_buffer_length, in qh_completions()
603 len = urb->transfer_buffer_length; in qh_urb_transaction()
707 if (likely (urb->transfer_buffer_length != 0)) { in qh_urb_transaction()
716 && !(urb->transfer_buffer_length % maxpacket)) { in qh_urb_transaction()
1124 urb->transfer_buffer_length, in submit_async()
1196 len = urb->transfer_buffer_length; in ehci_submit_single_step_set_feature()
Dsl811-hcd.c176 do_out = urb->transfer_buffer_length && usb_pipein(urb->pipe); in status_packet()
227 urb->transfer_buffer_length - urb->actual_length); in in_packet()
252 urb->transfer_buffer_length - urb->actual_length); in out_packet()
510 == urb->transfer_buffer_length) { in done()
540 urb->transfer_buffer_length)) { in done()
549 if (urb->transfer_buffer_length == urb->actual_length) in done()
1454 urb->transfer_buffer_length); in sl811h_debug_show()
Dmax3421-hcd.c562 max3421_hcd->curr_len = min((urb->transfer_buffer_length - in max3421_transfer_out()
830 if (urb->actual_length >= urb->transfer_buffer_length) in max3421_recv_data_available()
833 remaining = urb->transfer_buffer_length - urb->actual_length; in max3421_recv_data_available()
948 if (urb->actual_length >= urb->transfer_buffer_length) in max3421_transfer_in_done()
991 if (urb->actual_length < urb->transfer_buffer_length) in max3421_transfer_out_done()
1043 if (urb->transfer_buffer_length > 0) in max3421_host_transfer_done()
1174 urb->transfer_buffer_length); in dump_eps()
Dxen-hcd.c650 if (urb->transfer_buffer_length) { in xenhcd_map_urb_for_request()
652 urb->transfer_buffer_length); in xenhcd_map_urb_for_request()
672 urb->transfer_buffer_length, &gref_head, in xenhcd_map_urb_for_request()
681 req->buffer_length = urb->transfer_buffer_length; in xenhcd_map_urb_for_request()
946 if (res->actual_length > urb->transfer_buffer_length) in xenhcd_res_to_urb()
947 urb->actual_length = urb->transfer_buffer_length; in xenhcd_res_to_urb()
Disp1362-hcd.c268 size_t buf_len = urb->transfer_buffer_length - urb->actual_length; in prepare_ptd()
315 dir = (urb->transfer_buffer_length && usb_pipein(urb->pipe)) ? in prepare_ptd()
464 urb->actual_length, urb->transfer_buffer_length, in finish_request()
521 len = urb->transfer_buffer_length - urb->actual_length; in postproc_ep()
548 BUG_ON(urb->actual_length > urb->transfer_buffer_length); in postproc_ep()
578 BUG_ON(urb->actual_length > urb->transfer_buffer_length); in postproc_ep()
580 if (urb->actual_length == urb->transfer_buffer_length) { in postproc_ep()
603 BUG_ON(urb->actual_length > urb->transfer_buffer_length); in postproc_ep()
606 if ((urb->transfer_buffer_length == urb->actual_length) || in postproc_ep()
624 if (urb->transfer_buffer_length == urb->actual_length) { in postproc_ep()
[all …]
/drivers/media/usb/stk1160/
Dstk1160-video.c315 urb->transfer_buffer_length); in stk1160_isoc_irq()
367 dma_free_noncontiguous(dma_dev, stk_urb->urb->transfer_buffer_length, in stk_free_urb()
491 urb->transfer_buffer_length = sb_size; in stk1160_alloc_isoc()
/drivers/media/usb/pwc/
Dpwc-if.c337 urb->transfer_buffer_length, in pwc_isoc_handler()
388 urb->transfer_buffer_length, in pwc_isoc_handler()
467 urb->transfer_buffer_length = ISO_BUFFER_SIZE; in pwc_isoc_init()
469 urb->transfer_buffer_length, in pwc_isoc_init()
532 urb->transfer_buffer_length, in pwc_iso_free()
/drivers/usb/c67x00/
Dc67x00-sched.c656 remaining = urb->transfer_buffer_length - urb->actual_length; in c67x00_add_data_urb()
672 td_buf = urb->transfer_buffer + urb->transfer_buffer_length - in c67x00_add_data_urb()
708 if (urb->transfer_buffer_length) { in c67x00_add_ctrl_urb()
874 remaining = urb->transfer_buffer_length - urb->actual_length; in c67x00_end_of_data()
923 urb->transfer_buffer_length ? in c67x00_handle_successful_td()
/drivers/media/usb/dvb-usb/
Dusb-urb.c24 urb->status,urb->actual_length,urb->transfer_buffer_length, in usb_urb_complete()
198 urb->transfer_buffer_length = stream->buf_size; in usb_isoc_urb_init()
/drivers/nfc/pn533/
Dusb.c152 phy->ack_urb->transfer_buffer_length = sizeof(ack); in pn533_usb_send_ack()
173 phy->out_urb->transfer_buffer_length = out->len; in pn533_usb_send_frame()
373 urb->transfer_buffer, urb->transfer_buffer_length, in pn533_acr122_poweron_rdr_resp()

123456