Home
last modified time | relevance | path

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

1234567

/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
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()
/Linux-v6.1/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()
984 fifo_count = min_t(size_t, len, urb->transfer_buffer_length - in musb_h_ep0_continue()
997 urb->transfer_buffer_length) in musb_h_ep0_continue()
1019 urb->transfer_buffer_length - in musb_h_ep0_continue()
1143 || !urb->transfer_buffer_length) in musb_h_ep0_irq()
1372 } else if (dma && urb->transfer_buffer_length == qh->offset) { in musb_host_tx()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/drivers/usb/chipidea/
Dhost.c395 length = urb->transfer_buffer_length; in ci_hdrc_free_dma_aligned_buffer()
413 if (urb->num_sgs || urb->sg || urb->transfer_buffer_length == 0 || in ci_hdrc_alloc_dma_aligned_buffer()
418 kmalloc_size = urb->transfer_buffer_length + in ci_hdrc_alloc_dma_aligned_buffer()
432 urb->transfer_buffer_length); in ci_hdrc_alloc_dma_aligned_buffer()
/Linux-v6.1/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()
1377 urb->transfer_buffer_length, in usb_hcd_unmap_urb_for_dma()
1383 urb->transfer_buffer_length, in usb_hcd_unmap_urb_for_dma()
1389 urb->transfer_buffer_length, in usb_hcd_unmap_urb_for_dma()
1451 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()
/Linux-v6.1/sound/usb/
Dmidi.c310 urb->transfer_buffer_length = 0; in snd_usbmidi_do_output()
312 if (urb->transfer_buffer_length == 0) in snd_usbmidi_do_output()
316 urb->transfer_buffer_length); in snd_usbmidi_do_output()
513 (uint8_t *)urb->transfer_buffer + urb->transfer_buffer_length; in snd_usbmidi_output_standard_packet()
518 urb->transfer_buffer_length += 4; in snd_usbmidi_output_standard_packet()
530 (uint8_t *)urb->transfer_buffer + urb->transfer_buffer_length; in snd_usbmidi_output_midiman_packet()
535 urb->transfer_buffer_length += 4; in snd_usbmidi_output_midiman_packet()
648 while (urb->transfer_buffer_length + 3 < ep->max_transfer) { in snd_usbmidi_standard_output()
733 msg = urb->transfer_buffer + urb->transfer_buffer_length; in snd_usbmidi_akai_output()
737 while (urb->transfer_buffer_length < buf_end) { in snd_usbmidi_akai_output()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/sound/usb/usx2y/
Dusb_stream.c41 urb->transfer_buffer_length = lb; in playback_prep_freqn()
73 urb->transfer_buffer_length = transfer_length; in init_pipe_urbs()
336 io->transfer_buffer_length = lb; in usb_stream_prepare_playback()
355 iu->transfer_buffer_length = in prepare_inurb()
498 s->outpacket[0].length = sk->idle_outurb->transfer_buffer_length + l; in stream_idle()
697 inurb->transfer_buffer_length = in usb_stream_start()
/Linux-v6.1/drivers/usb/host/
Dxhci-ring.c817 if (urb->actual_length > urb->transfer_buffer_length) { in xhci_td_cleanup()
819 urb->transfer_buffer_length, urb->actual_length); in xhci_td_cleanup()
833 if ((urb->actual_length != urb->transfer_buffer_length && in xhci_td_cleanup()
838 urb->transfer_buffer_length, status); in xhci_td_cleanup()
2250 requested = td->urb->transfer_buffer_length; in process_ctrl_td()
2457 requested = td->urb->transfer_buffer_length; in process_bulk_intr_td()
3288 return count_trbs(urb->transfer_dma, urb->transfer_buffer_length); in count_trbs_needed()
3296 full_len = urb->transfer_buffer_length; in count_sg_trbs_needed()
3322 if (unlikely(running_total != urb->transfer_buffer_length)) in check_trb_math()
3328 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()
/Linux-v6.1/drivers/media/usb/stk1160/
Dstk1160-video.c316 urb->transfer_buffer_length); in stk1160_isoc_irq()
368 dma_free_noncontiguous(dma_dev, stk_urb->urb->transfer_buffer_length, in stk_free_urb()
492 urb->transfer_buffer_length = sb_size; in stk1160_alloc_isoc()
/Linux-v6.1/mm/kmsan/
Dhooks.c256 urb->transfer_buffer_length, in kmsan_handle_urb()
260 urb->transfer_buffer_length, in kmsan_handle_urb()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/
Dusb_trace.h63 __entry->len = u->transfer_buffer_length;
/Linux-v6.1/drivers/nfc/pn533/
Dusb.c152 phy->ack_urb->transfer_buffer_length = sizeof(ack); in pn533_usb_send_ack()
166 phy->out_urb->transfer_buffer_length = out->len; in pn533_usb_send_frame()
358 urb->transfer_buffer, urb->transfer_buffer_length, in pn533_acr122_poweron_rdr_resp()
/Linux-v6.1/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()

1234567