Home
last modified time | relevance | path

Searched refs:max_transfer (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/sound/usb/
Dmidi.c128 int max_transfer; /* size of urb buffer */ member
648 while (urb->transfer_buffer_length + 3 < ep->max_transfer) { in snd_usbmidi_standard_output()
734 buf_end = ep->max_transfer - MAX_AKAI_SYSEX_LEN - 1; in snd_usbmidi_akai_output()
814 ep->max_transfer - 2); in snd_usbmidi_novation_output()
848 ep->max_transfer); in snd_usbmidi_raw_output()
913 memset(urb->transfer_buffer + count, 0xFD, ep->max_transfer - count); in snd_usbmidi_us122l_output()
914 urb->transfer_buffer_length = ep->max_transfer; in snd_usbmidi_us122l_output()
1008 int buf_free = ep->max_transfer; in snd_usbmidi_emagic_output()
1043 if (buf_free < ep->max_transfer && buf_free > 0) { in snd_usbmidi_emagic_output()
1047 urb->transfer_buffer_length = ep->max_transfer - buf_free; in snd_usbmidi_emagic_output()
[all …]
/Linux-v6.1/drivers/input/rmi4/
Drmi_f34v7.c630 u16 max_transfer; in rmi_f34v7_read_blocks() local
650 max_transfer = min(f34->v7.payload_length, in rmi_f34v7_read_blocks()
654 transfer = min(remaining, max_transfer); in rmi_f34v7_read_blocks()
703 u16 max_transfer; in rmi_f34v7_write_f34v7_blocks() local
723 max_transfer = PAGE_SIZE / f34->v7.block_size; in rmi_f34v7_write_f34v7_blocks()
725 max_transfer = f34->v7.payload_length; in rmi_f34v7_write_f34v7_blocks()
728 transfer = min(remaining, max_transfer); in rmi_f34v7_write_f34v7_blocks()
/Linux-v6.1/drivers/usb/dwc2/
Dgadget.c515 int max_transfer; in dwc2_hsotg_write_fifo() local
584 max_transfer = hs_ep->ep.maxpacket * hs_ep->mc; in dwc2_hsotg_write_fifo()
587 __func__, gnptxsts, can_write, to_write, max_transfer); in dwc2_hsotg_write_fifo()
602 if (to_write > max_transfer) { in dwc2_hsotg_write_fifo()
603 to_write = max_transfer; in dwc2_hsotg_write_fifo()
616 pkt_round = to_write % max_transfer; in dwc2_hsotg_write_fifo()