Searched refs:max_packet_size (Results 1 – 4 of 4) sorted by relevance
106 for (i = 0; i < size; i += line6->max_packet_size) { in line6_send_raw_message()109 int frag_size = min(line6->max_packet_size, size - i); in line6_send_raw_message()160 int bytes = min(msg->size - done, line6->max_packet_size); in line6_send_raw_message_async_part()515 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); in line6_get_usb_properties()522 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_get_usb_properties()608 if (count > line6->max_packet_size * LINE6_RAW_MESSAGES_MAXCOUNT) { in line6_hwdep_write()
135 int max_packet_size; member
47 req = min3(line6_midibuf_bytes_free(mb), line6->max_packet_size, in line6_midi_transmit()
1073 unsigned max_packet_size = stream->max_packet_bytes; in alloc_stream_urbs() local1082 while (size >= max_packet_size) { in alloc_stream_urbs()1094 urb->urb.transfer_buffer_length = max_packet_size; in alloc_stream_urbs()1100 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs()1102 size -= max_packet_size; in alloc_stream_urbs()1103 addr += max_packet_size; in alloc_stream_urbs()1104 dma += max_packet_size; in alloc_stream_urbs()