Home
last modified time | relevance | path

Searched refs:max_packet_size (Results 1 – 28 of 28) sorted by relevance

/linux-4.4.14/fs/ecryptfs/
Dkeystore.c592 size_t max_packet_size; member
681 s->max_packet_size = (ECRYPTFS_TAG_70_MAX_METADATA_SIZE in ecryptfs_write_tag_70_packet()
684 (*packet_size) = s->max_packet_size; in ecryptfs_write_tag_70_packet()
687 if (s->max_packet_size > (*remaining_bytes)) { in ecryptfs_write_tag_70_packet()
689 "[%zd] available\n", __func__, s->max_packet_size, in ecryptfs_write_tag_70_packet()
880 size_t max_packet_size; member
916 char *data, size_t max_packet_size) in ecryptfs_parse_tag_70_packet() argument
933 if (max_packet_size < ECRYPTFS_TAG_70_MIN_METADATA_SIZE) { in ecryptfs_parse_tag_70_packet()
935 "at least [%d]\n", __func__, max_packet_size, in ecryptfs_parse_tag_70_packet()
966 > max_packet_size) { in ecryptfs_parse_tag_70_packet()
[all …]
Decryptfs_kernel.h714 char *data, size_t max_packet_size);
/linux-4.4.14/sound/usb/line6/
Dcapture.c47 fin->length = line6pcm->max_packet_size; in submit_audio_in_urb()
48 urb_size += line6pcm->max_packet_size; in submit_audio_in_urb()
53 index * LINE6_ISO_PACKETS * line6pcm->max_packet_size; in submit_audio_in_urb()
176 if (fsize > line6pcm->max_packet_size) { in audio_in_callback()
179 fsize, line6pcm->max_packet_size); in audio_in_callback()
Ddriver.c94 for (i = 0; i < size; i += line6->max_packet_size) { in line6_send_raw_message()
97 int frag_size = min(line6->max_packet_size, size - i); in line6_send_raw_message()
141 int bytes = min(msg->size - done, line6->max_packet_size); in line6_send_raw_message_async_part()
472 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); in line6_get_interval()
477 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_get_interval()
Dpcm.h164 int max_packet_size; member
Ddriver.h116 int max_packet_size; member
Dpcm.c158 line6pcm->max_packet_size, GFP_KERNEL); in line6_buffer_acquire()
526 line6pcm->max_packet_size = min( in line6_init_pcm()
Dmidi.c51 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size); in line6_midi_transmit()
Dplayback.c198 index * LINE6_ISO_PACKETS * line6pcm->max_packet_size; in submit_audio_out_urb()
/linux-4.4.14/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.h150 .max_packet_size = { 847 },
169 .max_packet_size = { 847 },
Dstv06xx_pb0100.c190 int err, packet_size, max_packet_size; in pb0100_start() local
204 max_packet_size = sd->sensor->max_packet_size[sd->gspca_dev.curr_mode]; in pb0100_start()
205 if (packet_size < max_packet_size) in pb0100_start()
Dstv06xx_st6422.h44 .max_packet_size = { 300, 847 },
Dstv06xx_sensor.h58 int max_packet_size[4]; member
Dstv06xx_pb0100.h134 .max_packet_size = { 847, 923 },
Dstv06xx_vv6410.h199 .max_packet_size = { 1023 },
Dstv06xx.c326 cpu_to_le16(sd->sensor->max_packet_size[gspca_dev->curr_mode]); in stv06xx_isoc_init()
/linux-4.4.14/drivers/usb/gadget/function/
Df_uvc.c583 unsigned int max_packet_size; in uvc_function_bind() local
605 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind()
608 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind()
611 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind()
619 cpu_to_le16(max_packet_size | ((max_packet_mult - 1) << 11)); in uvc_function_bind()
622 uvc_ss_streaming_ep.wMaxPacketSize = cpu_to_le16(max_packet_size); in uvc_function_bind()
627 cpu_to_le16(max_packet_size * max_packet_mult * in uvc_function_bind()
Df_sourcesink.c485 int max_packet_size = le16_to_cpu(ss->out_ep->desc->wMaxPacketSize); in check_read_data() local
507 if (*buf == (u8)((i % max_packet_size) % 63)) in check_read_data()
522 int max_packet_size = le16_to_cpu(ep->desc->wMaxPacketSize); in reinit_write_data() local
531 *buf++ = (u8) ((i % max_packet_size) % 63); in reinit_write_data()
Df_uac2.c983 u16 max_packet_size; in set_ep_max_packet_size() local
995 max_packet_size = num_channels(chmask) * ssize * in set_ep_max_packet_size()
997 ep_desc->wMaxPacketSize = cpu_to_le16(min_t(u16, max_packet_size, in set_ep_max_packet_size()
/linux-4.4.14/net/batman-adv/
Dfragmentation.c448 unsigned max_fragment_size, max_packet_size; in batadv_frag_send_packet() local
456 max_packet_size = max_fragment_size * BATADV_FRAG_MAX_FRAGMENTS; in batadv_frag_send_packet()
459 if (skb->len > max_packet_size) in batadv_frag_send_packet()
/linux-4.4.14/sound/usb/misc/
Dua101.c1105 unsigned max_packet_size = stream->max_packet_bytes; in alloc_stream_urbs() local
1114 while (size >= max_packet_size) { in alloc_stream_urbs()
1126 urb->urb.transfer_buffer_length = max_packet_size; in alloc_stream_urbs()
1132 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs()
1134 size -= max_packet_size; in alloc_stream_urbs()
1135 addr += max_packet_size; in alloc_stream_urbs()
1136 dma += max_packet_size; in alloc_stream_urbs()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dusb.c55 u16 max_packet_size; member
353 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath6kl_usb_setup_pipe_resources()
740 if ((len % pipe->max_packet_size) == 0) { in ath6kl_usb_send()
/linux-4.4.14/drivers/media/usb/gspca/
Dxirlink_cit.c2642 int max_packet_size; in sd_isoc_init() local
2646 max_packet_size = 450; in sd_isoc_init()
2649 max_packet_size = 600; in sd_isoc_init()
2652 max_packet_size = 1022; in sd_isoc_init()
2658 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in sd_isoc_init()
/linux-4.4.14/drivers/usb/serial/
Dftdi_sio.c78 unsigned short max_packet_size; member
1656 priv->max_packet_size = usb_endpoint_maxp(ep_desc); in ftdi_set_max_packet_size()
2007 for (i = 0; i < size - 1; i += priv->max_packet_size) { in ftdi_prepare_write_buffer()
2008 len = min_t(int, size - i, priv->max_packet_size) - 1; in ftdi_prepare_write_buffer()
2124 for (i = 0; i < urb->actual_length; i += priv->max_packet_size) { in ftdi_process_read_urb()
2125 len = min_t(int, urb->actual_length - i, priv->max_packet_size); in ftdi_process_read_urb()
/linux-4.4.14/drivers/usb/host/
Dxhci.c1252 int max_packet_size; in xhci_check_maxpacket() local
1259 max_packet_size = usb_endpoint_maxp(&urb->dev->ep0.desc); in xhci_check_maxpacket()
1260 if (hw_max_packet_size != max_packet_size) { in xhci_check_maxpacket()
1265 max_packet_size); in xhci_check_maxpacket()
1295 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
2272 virt_ep->bw_info.max_packet_size, in xhci_check_bw_table()
2374 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed()
2509 if (ep_bw->max_packet_size >= in xhci_add_ep_to_interval_table()
2510 smaller_ep->bw_info.max_packet_size) { in xhci_add_ep_to_interval_table()
Dxhci-mem.c1538 bw_info->max_packet_size = 0; in xhci_clear_endpoint_bw_info()
1588 bw_info->max_packet_size = MAX_PACKET_DECODED( in xhci_update_bw_info()
Dxhci.h851 unsigned int max_packet_size; member
/linux-4.4.14/drivers/net/usb/
Dhso.c995 static void fix_crc_bug(struct urb *urb, __le16 max_packet_size) in fix_crc_bug() argument
998 u32 rest = urb->actual_length % le16_to_cpu(max_packet_size); in fix_crc_bug()