| /Linux-v5.4/fs/ecryptfs/ |
| D | keystore.c | 586 size_t max_packet_size; member 672 s->max_packet_size = (ECRYPTFS_TAG_70_MAX_METADATA_SIZE in ecryptfs_write_tag_70_packet() 675 (*packet_size) = s->max_packet_size; in ecryptfs_write_tag_70_packet() 678 if (s->max_packet_size > (*remaining_bytes)) { in ecryptfs_write_tag_70_packet() 680 "[%zd] available\n", __func__, s->max_packet_size, in ecryptfs_write_tag_70_packet() 857 size_t max_packet_size; member 894 char *data, size_t max_packet_size) in ecryptfs_parse_tag_70_packet() argument 907 if (max_packet_size < ECRYPTFS_TAG_70_MIN_METADATA_SIZE) { in ecryptfs_parse_tag_70_packet() 909 "at least [%d]\n", __func__, max_packet_size, in ecryptfs_parse_tag_70_packet() 940 > max_packet_size) { in ecryptfs_parse_tag_70_packet() [all …]
|
| D | ecryptfs_kernel.h | 714 char *data, size_t max_packet_size);
|
| /Linux-v5.4/drivers/media/usb/gspca/stv06xx/ |
| D | stv06xx_hdcs.h | 137 .max_packet_size = { 847 }, 156 .max_packet_size = { 847 },
|
| D | stv06xx_pb0100.c | 177 int err, packet_size, max_packet_size; in pb0100_start() local 191 max_packet_size = sd->sensor->max_packet_size[sd->gspca_dev.curr_mode]; in pb0100_start() 192 if (packet_size < max_packet_size) in pb0100_start()
|
| D | stv06xx_st6422.h | 30 .max_packet_size = { 300, 847 },
|
| D | stv06xx_sensor.h | 45 int max_packet_size[4]; member
|
| D | stv06xx_pb0100.h | 121 .max_packet_size = { 847, 923 },
|
| D | stv06xx_vv6410.h | 186 .max_packet_size = { 1023 },
|
| D | stv06xx.c | 315 cpu_to_le16(sd->sensor->max_packet_size[gspca_dev->curr_mode]); in stv06xx_isoc_init()
|
| /Linux-v5.4/drivers/usb/cdns3/ |
| D | ep0.c | 816 u32 max_packet_size = 64; in cdns3_ep0_config() local 821 max_packet_size = 512; in cdns3_ep0_config() 835 priv_dev->gadget.ep0->maxpacket = max_packet_size; in cdns3_ep0_config() 836 cdns3_gadget_ep0_desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in cdns3_ep0_config() 848 writel(EP_CFG_ENABLE | EP_CFG_MAXPKTSIZE(max_packet_size), in cdns3_ep0_config() 857 writel(EP_CFG_ENABLE | EP_CFG_MAXPKTSIZE(max_packet_size), in cdns3_ep0_config()
|
| D | gadget.c | 1562 u32 max_packet_size = 0; in cdns3_ep_config() local 1596 max_packet_size = is_iso_ep ? 1023 : 64; in cdns3_ep_config() 1599 max_packet_size = is_iso_ep ? 1024 : 512; in cdns3_ep_config() 1604 max_packet_size = 1024; in cdns3_ep_config() 1621 if (max_packet_size == 1024) in cdns3_ep_config() 1623 else if (max_packet_size >= 512) in cdns3_ep_config() 1635 ep_cfg |= EP_CFG_MAXPKTSIZE(max_packet_size) | in cdns3_ep_config()
|
| /Linux-v5.4/sound/usb/line6/ |
| D | driver.c | 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() 159 int bytes = min(msg->size - done, line6->max_packet_size); in line6_send_raw_message_async_part() 525 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); in line6_get_usb_properties() 532 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_get_usb_properties() 614 if (count > line6->max_packet_size * LINE6_RAW_MESSAGES_MAXCOUNT) { in line6_hwdep_write()
|
| D | driver.h | 133 int max_packet_size; member
|
| D | midi.c | 47 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size); in line6_midi_transmit()
|
| /Linux-v5.4/drivers/usb/gadget/function/ |
| D | f_uvc.c | 591 unsigned int max_packet_size; in uvc_function_bind() local 621 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind() 624 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind() 627 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind() 635 cpu_to_le16(max_packet_size | ((max_packet_mult - 1) << 11)); in uvc_function_bind() 638 uvc_ss_streaming_ep.wMaxPacketSize = cpu_to_le16(max_packet_size); in uvc_function_bind() 643 cpu_to_le16(max_packet_size * max_packet_mult * in uvc_function_bind()
|
| D | f_sourcesink.c | 468 int max_packet_size = le16_to_cpu(ss->out_ep->desc->wMaxPacketSize); in check_read_data() local 490 if (*buf == (u8)((i % max_packet_size) % 63)) in check_read_data() 505 int max_packet_size = le16_to_cpu(ep->desc->wMaxPacketSize); in reinit_write_data() local 514 *buf++ = (u8) ((i % max_packet_size) % 63); in reinit_write_data()
|
| D | f_uac2.c | 455 u16 max_packet_size; in set_ep_max_packet_size() local 467 max_packet_size = num_channels(chmask) * ssize * in set_ep_max_packet_size() 469 ep_desc->wMaxPacketSize = cpu_to_le16(min_t(u16, max_packet_size, in set_ep_max_packet_size()
|
| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
| D | usb.h | 83 u16 max_packet_size; member
|
| D | usb.c | 427 if (!(skb->len % pipe->max_packet_size)) { in ath10k_usb_hif_tx_sg() 875 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath10k_usb_setup_pipe_resources()
|
| /Linux-v5.4/sound/usb/misc/ |
| D | ua101.c | 1093 unsigned max_packet_size = stream->max_packet_bytes; in alloc_stream_urbs() local 1102 while (size >= max_packet_size) { in alloc_stream_urbs() 1114 urb->urb.transfer_buffer_length = max_packet_size; in alloc_stream_urbs() 1120 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs() 1122 size -= max_packet_size; in alloc_stream_urbs() 1123 addr += max_packet_size; in alloc_stream_urbs() 1124 dma += max_packet_size; in alloc_stream_urbs()
|
| /Linux-v5.4/include/linux/usb/ |
| D | gadget.h | 455 int max_packet_size = (size_t)usb_endpoint_maxp(ep->desc) & 0x7ff; in usb_ep_align() local 457 return round_up(len, max_packet_size); in usb_ep_align()
|
| /Linux-v5.4/drivers/net/wireless/ath/ath6kl/ |
| D | usb.c | 55 u16 max_packet_size; member 361 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath6kl_usb_setup_pipe_resources() 748 if ((len % pipe->max_packet_size) == 0) { in ath6kl_usb_send()
|
| /Linux-v5.4/drivers/media/usb/gspca/ |
| D | xirlink_cit.c | 2630 int max_packet_size; in sd_isoc_init() local 2634 max_packet_size = 450; in sd_isoc_init() 2637 max_packet_size = 600; in sd_isoc_init() 2640 max_packet_size = 1022; in sd_isoc_init() 2646 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in sd_isoc_init()
|
| /Linux-v5.4/drivers/usb/host/ |
| D | xhci.c | 1392 int max_packet_size; in xhci_check_maxpacket() local 1399 max_packet_size = usb_endpoint_maxp(&urb->dev->ep0.desc); in xhci_check_maxpacket() 1400 if (hw_max_packet_size != max_packet_size) { in xhci_check_maxpacket() 1405 max_packet_size); in xhci_check_maxpacket() 1435 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket() 2378 virt_ep->bw_info.max_packet_size, in xhci_check_bw_table() 2480 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed() 2617 if (ep_bw->max_packet_size >= in xhci_add_ep_to_interval_table() 2618 smaller_ep->bw_info.max_packet_size) { in xhci_add_ep_to_interval_table()
|
| /Linux-v5.4/drivers/usb/serial/ |
| D | ftdi_sio.c | 74 unsigned short max_packet_size; member 1667 priv->max_packet_size = usb_endpoint_maxp(ep_desc); in ftdi_set_max_packet_size() 2458 for (i = 0; i < size - 1; i += priv->max_packet_size) { in ftdi_prepare_write_buffer() 2459 len = min_t(int, size - i, priv->max_packet_size) - 1; in ftdi_prepare_write_buffer() 2580 for (i = 0; i < urb->actual_length; i += priv->max_packet_size) { in ftdi_process_read_urb() 2581 len = min_t(int, urb->actual_length - i, priv->max_packet_size); in ftdi_process_read_urb()
|