/linux-4.1.27/fs/ecryptfs/ |
D | keystore.c | 592 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 …]
|
D | ecryptfs_kernel.h | 715 char *data, size_t max_packet_size);
|
/linux-4.1.27/sound/usb/line6/ |
D | capture.c | 47 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()
|
D | driver.c | 94 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()
|
D | pcm.h | 164 int max_packet_size; member
|
D | driver.h | 116 int max_packet_size; member
|
D | pcm.c | 158 line6pcm->max_packet_size, GFP_KERNEL); in line6_buffer_acquire() 526 line6pcm->max_packet_size = min( in line6_init_pcm()
|
D | midi.c | 51 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size); in line6_midi_transmit()
|
D | playback.c | 198 index * LINE6_ISO_PACKETS * line6pcm->max_packet_size; in submit_audio_out_urb()
|
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_hdcs.h | 150 .max_packet_size = { 847 }, 169 .max_packet_size = { 847 },
|
D | stv06xx_pb0100.c | 190 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()
|
D | stv06xx_st6422.h | 44 .max_packet_size = { 300, 847 },
|
D | stv06xx_sensor.h | 58 int max_packet_size[4]; member
|
D | stv06xx_pb0100.h | 134 .max_packet_size = { 847, 923 },
|
D | stv06xx_vv6410.h | 199 .max_packet_size = { 1023 },
|
D | stv06xx.c | 326 cpu_to_le16(sd->sensor->max_packet_size[gspca_dev->curr_mode]); in stv06xx_isoc_init()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_uvc.c | 600 unsigned int max_packet_size; in uvc_function_bind() local 622 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind() 625 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind() 628 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind() 636 cpu_to_le16(max_packet_size | ((max_packet_mult - 1) << 11)); in uvc_function_bind() 639 uvc_ss_streaming_ep.wMaxPacketSize = cpu_to_le16(max_packet_size); in uvc_function_bind() 644 cpu_to_le16(max_packet_size * max_packet_mult * in uvc_function_bind()
|
D | f_uac2.c | 983 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(max_packet_size, in set_ep_max_packet_size()
|
/linux-4.1.27/net/batman-adv/ |
D | fragmentation.c | 429 unsigned max_fragment_size, max_packet_size; in batadv_frag_send_packet() local 437 max_packet_size = max_fragment_size * BATADV_FRAG_MAX_FRAGMENTS; in batadv_frag_send_packet() 440 if (skb->len > max_packet_size) in batadv_frag_send_packet()
|
/linux-4.1.27/sound/usb/misc/ |
D | ua101.c | 1105 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.1.27/drivers/net/wireless/ath/ath6kl/ |
D | usb.c | 55 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.1.27/drivers/media/usb/gspca/ |
D | xirlink_cit.c | 2636 int max_packet_size; in sd_isoc_init() local 2640 max_packet_size = 450; in sd_isoc_init() 2643 max_packet_size = 600; in sd_isoc_init() 2646 max_packet_size = 1022; in sd_isoc_init() 2652 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in sd_isoc_init()
|
/linux-4.1.27/drivers/usb/serial/ |
D | ftdi_sio.c | 78 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.1.27/drivers/usb/host/ |
D | xhci.c | 1262 int max_packet_size; in xhci_check_maxpacket() local 1269 max_packet_size = usb_endpoint_maxp(&urb->dev->ep0.desc); in xhci_check_maxpacket() 1270 if (hw_max_packet_size != max_packet_size) { in xhci_check_maxpacket() 1275 max_packet_size); in xhci_check_maxpacket() 1305 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket() 2282 virt_ep->bw_info.max_packet_size, in xhci_check_bw_table() 2384 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed() 2519 if (ep_bw->max_packet_size >= in xhci_add_ep_to_interval_table() 2520 smaller_ep->bw_info.max_packet_size) { in xhci_add_ep_to_interval_table()
|
D | xhci.h | 803 unsigned int max_packet_size; member
|
D | xhci-mem.c | 1538 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()
|
/linux-4.1.27/drivers/net/usb/ |
D | hso.c | 995 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()
|