/drivers/usb/usbip/ |
D | usbip_common.c | 245 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()
|
D | vudc_transfer.c | 156 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()
|
D | vudc_rx.c | 31 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()
|
D | vhci_tx.c | 105 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/ |
D | kobil_sct.c | 171 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()
|
D | digi_acceleport.c | 398 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()
|
D | ir-usb.c | 295 urb->transfer_buffer_length = count + 1; in ir_write() 321 port->tx_bytes -= urb->transfer_buffer_length - 1; in ir_write_bulk_callback()
|
D | cyberjack.c | 211 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/ |
D | musb_host.c | 228 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/ |
D | host.c | 397 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/ |
D | hcd.c | 506 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 …]
|
D | urb.c | 414 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/ |
D | udl_transfer.c | 181 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()
|
D | udl_main.c | 138 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/ |
D | xhci-ring.c | 816 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 …]
|
D | ehci-q.c | 275 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()
|
D | sl811-hcd.c | 176 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()
|
D | max3421-hcd.c | 562 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()
|
D | xen-hcd.c | 650 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()
|
D | isp1362-hcd.c | 268 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/ |
D | stk1160-video.c | 315 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/ |
D | pwc-if.c | 337 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/ |
D | c67x00-sched.c | 656 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/ |
D | usb-urb.c | 24 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/ |
D | usb.c | 152 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()
|