Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/sound/usb/line6/
Dplayback.c33 buf_end = p + urb_out->transfer_buffer_length / sizeof(*p); in change_volume()
46 buf_end = p + urb_out->transfer_buffer_length; in change_volume()
68 int frames = urb_out->transfer_buffer_length / bytes_per_frame; in create_impulse_test_signal()
119 buf_end = po + urb_out->transfer_buffer_length / sizeof(*po); in add_monitor_signal()
200 urb_out->transfer_buffer_length = urb_size; in submit_audio_out_urb()
232 urb_out->transfer_buffer_length); in submit_audio_out_urb()
243 urb_out->transfer_buffer_length); in submit_audio_out_urb()
255 transfer_buffer_length); in submit_audio_out_urb()
257 urb_out->transfer_buffer_length); in submit_audio_out_urb()
314 memset(urb->transfer_buffer, 0, urb->transfer_buffer_length); in audio_out_callback()
/kernel/linux/linux-5.10/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()
364 spdu->transfer_buffer_length = urb->transfer_buffer_length; in usbip_pack_cmd_submit()
370 urb->transfer_buffer_length = spdu->transfer_buffer_length; in usbip_pack_cmd_submit()
438 cpu_to_be32s(&pdu->transfer_buffer_length); in correct_endian_cmd_submit()
445 be32_to_cpus(&pdu->transfer_buffer_length); in correct_endian_cmd_submit()
664 if (urb->actual_length == urb->transfer_buffer_length) in usbip_pad_iso()
695 size = urb->transfer_buffer_length; in usbip_recv_xbuff()
708 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()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dkobil_sct.c172 int transfer_buffer_length = 8; in kobil_open() local
177 transfer_buffer = kzalloc(transfer_buffer_length, GFP_KERNEL); in kobil_open()
189 transfer_buffer_length, in kobil_open()
206 transfer_buffer_length, in kobil_open()
336 port->interrupt_out_urb->transfer_buffer_length = length; in kobil_write()
376 int transfer_buffer_length = 8; in kobil_tiocmget() local
386 transfer_buffer = kzalloc(transfer_buffer_length, GFP_KERNEL); in kobil_tiocmget()
397 transfer_buffer_length, in kobil_tiocmget()
Dir-usb.c294 urb->transfer_buffer_length = count + 1; in ir_write()
320 port->tx_bytes -= urb->transfer_buffer_length - 1; in ir_write_bulk_callback()
Ddigi_acceleport.c396 oob_port->write_urb->transfer_buffer_length = len; in digi_write_oob_command()
468 port->write_urb->transfer_buffer_length in digi_write_inb_command()
472 port->write_urb->transfer_buffer_length = len; in digi_write_inb_command()
544 oob_port->write_urb->transfer_buffer_length = 8; in digi_set_modem_signals()
926 port->write_urb->transfer_buffer_length = data_len+2; in digi_write()
1001 port->write_urb->transfer_buffer_length = in digi_write_bulk_callback()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_host.c228 len = urb->transfer_buffer_length - urb->actual_length; in musb_start_urb()
425 urb->transfer_buffer_length); in musb_host_packet_rx()
459 length = urb->transfer_buffer_length - qh->offset; in musb_host_packet_rx()
471 done = (urb->actual_length == urb->transfer_buffer_length) in musb_host_packet_rx()
478 < 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 …]
/kernel/linux/linux-5.10/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()
775 if (urb->transfer_buffer_length >= length) { in usb_hcd_poll_rh_status()
779 length = urb->transfer_buffer_length; in usb_hcd_poll_rh_status()
820 if (hcd->status_urb || urb->transfer_buffer_length < len) { in rh_queue_status()
1379 urb->transfer_buffer_length, in usb_hcd_unmap_urb_for_dma()
1385 urb->transfer_buffer_length, in usb_hcd_unmap_urb_for_dma()
1391 urb->transfer_buffer_length, in usb_hcd_unmap_urb_for_dma()
1453 if (urb->transfer_buffer_length != 0 in usb_hcd_map_urb_for_dma()
[all …]
/kernel/linux/linux-5.10/sound/usb/
Dmidi.c326 urb->transfer_buffer_length = 0; in snd_usbmidi_do_output()
328 if (urb->transfer_buffer_length == 0) in snd_usbmidi_do_output()
332 urb->transfer_buffer_length); in snd_usbmidi_do_output()
529 (uint8_t *)urb->transfer_buffer + urb->transfer_buffer_length; in snd_usbmidi_output_standard_packet()
534 urb->transfer_buffer_length += 4; in snd_usbmidi_output_standard_packet()
546 (uint8_t *)urb->transfer_buffer + urb->transfer_buffer_length; in snd_usbmidi_output_midiman_packet()
551 urb->transfer_buffer_length += 4; in snd_usbmidi_output_midiman_packet()
664 while (urb->transfer_buffer_length + 3 < ep->max_transfer) { in snd_usbmidi_standard_output()
749 msg = urb->transfer_buffer + urb->transfer_buffer_length; in snd_usbmidi_akai_output()
753 while (urb->transfer_buffer_length < buf_end) { in snd_usbmidi_akai_output()
[all …]
/kernel/linux/linux-5.10/sound/usb/6fire/
Dmidi.c36 urb->transfer_buffer_length = ret + 4; in usb6fire_midi_out_handler()
90 urb->transfer_buffer_length = ret + 4; in usb6fire_midi_out_trigger()
/kernel/linux/linux-5.10/drivers/gpu/drm/udl/
Dudl_transfer.c221 u8 *cmd_end = (u8 *) urb->transfer_buffer + urb->transfer_buffer_length; in udl_render_hline()
245 cmd_end = &cmd[urb->transfer_buffer_length]; in udl_render_hline()
Dudl_main.c146 urb->transfer_buffer_length = udl->urbs.size; /* reset to actual */ in udl_urb_completion()
301 urb->transfer_buffer_length = len; /* set to actual payload len */ in udl_submit_urb()
/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-tegra.c301 length = urb->transfer_buffer_length; in free_dma_aligned_buffer()
319 urb->transfer_buffer_length == 0 || in alloc_dma_aligned_buffer()
324 kmalloc_size = urb->transfer_buffer_length + in alloc_dma_aligned_buffer()
337 urb->transfer_buffer_length); in alloc_dma_aligned_buffer()
Dxhci-ring.c792 if (urb->actual_length > urb->transfer_buffer_length) { in xhci_td_cleanup()
794 urb->transfer_buffer_length, urb->actual_length); in xhci_td_cleanup()
806 if ((urb->actual_length != urb->transfer_buffer_length && in xhci_td_cleanup()
811 urb->transfer_buffer_length, status); in xhci_td_cleanup()
2143 requested = td->urb->transfer_buffer_length; in process_ctrl_td()
2351 requested = td->urb->transfer_buffer_length; in process_bulk_intr_td()
3171 return count_trbs(urb->transfer_dma, urb->transfer_buffer_length); in count_trbs_needed()
3179 full_len = urb->transfer_buffer_length; in count_sg_trbs_needed()
3205 if (unlikely(running_total != urb->transfer_buffer_length)) in check_trb_math()
3211 urb->transfer_buffer_length, in check_trb_math()
[all …]
Dehci-q.c274 urb->actual_length, urb->transfer_buffer_length); in ehci_urb_done()
359 urb->transfer_buffer_length, in qh_completions()
602 len = urb->transfer_buffer_length; in qh_urb_transaction()
706 if (likely (urb->transfer_buffer_length != 0)) { in qh_urb_transaction()
715 && !(urb->transfer_buffer_length % maxpacket)) { in qh_urb_transaction()
1123 urb->transfer_buffer_length, in submit_async()
1195 len = urb->transfer_buffer_length; in submit_single_step_set_feature()
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()
1175 urb->transfer_buffer_length); in dump_eps()
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()
/kernel/linux/linux-5.10/sound/usb/usx2y/
Dusb_stream.c40 urb->transfer_buffer_length = lb; in playback_prep_freqn()
70 urb->transfer_buffer_length = transfer_length; in init_pipe_urbs()
330 io->transfer_buffer_length = lb; in usb_stream_prepare_playback()
349 iu->transfer_buffer_length = in prepare_inurb()
490 s->outpacket[0].length = sk->idle_outurb->transfer_buffer_length + l; in stream_idle()
679 inurb->transfer_buffer_length = in usb_stream_start()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dusb_trace.h63 __entry->len = u->transfer_buffer_length;
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
375 urb->transfer_buffer, urb->transfer_buffer_length, in pn533_acr122_poweron_rdr_resp()

1234567