Home
last modified time | relevance | path

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

12

/linux/fs/ecryptfs/
A Dkeystore.c589 size_t max_packet_size; member
860 size_t max_packet_size; member
943 > max_packet_size) { in ecryptfs_parse_tag_70_packet()
1556 if (max_packet_size < 16) { in parse_tag_11_packet()
1800 max_packet_size); in ecryptfs_parse_packet_set()
2029 size_t max_packet_size; in write_tag_1_packet() local
2079 (max_packet_size - 4), in write_tag_1_packet()
2117 size_t max_packet_size; in write_tag_11_packet() local
2139 (max_packet_size - 4), in write_tag_11_packet()
2189 size_t max_packet_size; in write_tag_3_packet() local
[all …]
A Decryptfs_kernel.h699 char *data, size_t max_packet_size);
/linux/drivers/media/usb/gspca/stv06xx/
A Dstv06xx_hdcs.h137 .max_packet_size = { 847 },
156 .max_packet_size = { 847 },
A Dstv06xx_pb0100.c177 int err, packet_size, max_packet_size; in pb0100_start() local
195 max_packet_size = sd->sensor->max_packet_size[sd->gspca_dev.curr_mode]; in pb0100_start()
196 if (packet_size < max_packet_size) in pb0100_start()
A Dstv06xx_st6422.h30 .max_packet_size = { 300, 847 },
A Dstv06xx_sensor.h45 int max_packet_size[4]; member
A Dstv06xx_pb0100.h121 .max_packet_size = { 847, 923 },
A Dstv06xx_vv6410.h186 .max_packet_size = { 1023 },
A Dstv06xx.c328 cpu_to_le16(sd->sensor->max_packet_size[gspca_dev->curr_mode]); in stv06xx_isoc_init()
/linux/sound/usb/line6/
A Ddriver.c106 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()
520 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); in line6_get_usb_properties()
527 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_get_usb_properties()
613 if (count > line6->max_packet_size * LINE6_RAW_MESSAGES_MAXCOUNT) { in line6_hwdep_write()
A Ddriver.h135 int max_packet_size; member
A Dmidi.c47 req = min3(line6_midibuf_bytes_free(mb), line6->max_packet_size, in line6_midi_transmit()
/linux/drivers/usb/cdns3/
A Dcdns3-ep0.c814 u32 max_packet_size = 64; in cdns3_ep0_config() local
820 max_packet_size = 512; in cdns3_ep0_config()
834 priv_dev->gadget.ep0->maxpacket = max_packet_size; in cdns3_ep0_config()
835 cdns3_gadget_ep0_desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in cdns3_ep0_config()
847 ep_cfg = EP_CFG_ENABLE | EP_CFG_MAXPKTSIZE(max_packet_size); in cdns3_ep0_config()
A Dcdns3-gadget.c2102 u32 max_packet_size = priv_ep->wMaxPacketSize; in cdns3_ep_config() local
2132 max_packet_size = is_iso_ep ? 1023 : 64; in cdns3_ep_config()
2135 max_packet_size = is_iso_ep ? 1024 : 512; in cdns3_ep_config()
2139 max_packet_size = 1024; in cdns3_ep_config()
2148 if (max_packet_size == 1024) in cdns3_ep_config()
2150 else if (max_packet_size >= 512) in cdns3_ep_config()
2200 ep_cfg |= EP_CFG_MAXPKTSIZE(max_packet_size) | in cdns3_ep_config()
/linux/drivers/usb/gadget/function/
A Df_uvc.c652 unsigned int max_packet_size; in uvc_function_bind() local
682 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind()
685 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind()
688 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind()
696 cpu_to_le16(max_packet_size | ((max_packet_mult - 1) << 11)); in uvc_function_bind()
704 uvc_ss_streaming_ep.wMaxPacketSize = cpu_to_le16(max_packet_size); in uvc_function_bind()
709 cpu_to_le16(max_packet_size * max_packet_mult * in uvc_function_bind()
A Df_sourcesink.c467 int max_packet_size = le16_to_cpu(ss->out_ep->desc->wMaxPacketSize); in check_read_data() local
489 if (*buf == (u8)((i % max_packet_size) % 63)) in check_read_data()
504 int max_packet_size = le16_to_cpu(ep->desc->wMaxPacketSize); in reinit_write_data() local
513 *buf++ = (u8) ((i % max_packet_size) % 63); in reinit_write_data()
/linux/drivers/net/wireless/ath/ath10k/
A Dusb.h84 u16 max_packet_size; member
A Dusb.c442 if (!(skb->len % pipe->max_packet_size)) { in ath10k_usb_hif_tx_sg()
885 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath10k_usb_setup_pipe_resources()
/linux/sound/usb/misc/
A Dua101.c1073 unsigned max_packet_size = stream->max_packet_bytes; in alloc_stream_urbs() local
1082 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()
/linux/include/linux/usb/
A Dgadget.h504 int max_packet_size = (size_t)usb_endpoint_maxp(ep->desc); in usb_ep_align() local
506 return round_up(len, max_packet_size); in usb_ep_align()
/linux/drivers/usb/gadget/udc/cdns2/
A Dcdns2-gadget.c1415 u32 max_packet_size; in cdns2_ep_config() local
1443 max_packet_size = is_iso_ep ? 1023 : 64; in cdns2_ep_config()
1446 max_packet_size = is_iso_ep ? 1024 : 512; in cdns2_ep_config()
1457 writew(max_packet_size, &pdev->epx_regs->txmaxpack[pep->num - 1]); in cdns2_ep_config()
1460 writew(max_packet_size, &pdev->epx_regs->rxmaxpack[pep->num - 1]); in cdns2_ep_config()
1470 if (max_packet_size == 1024) in cdns2_ep_config()
1472 else if (max_packet_size >= 512) in cdns2_ep_config()
1496 pep->name, max_packet_size, ep_cfg); in cdns2_ep_config()
/linux/drivers/net/wireless/ath/ath6kl/
A Dusb.c55 u16 max_packet_size; member
367 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath6kl_usb_setup_pipe_resources()
761 if ((len % pipe->max_packet_size) == 0) { in ath6kl_usb_send()
/linux/drivers/usb/host/
A Dxhci.c1475 int max_packet_size; in xhci_check_ep0_maxpacket() local
1481 max_packet_size = usb_endpoint_maxp(&vdev->udev->ep0.desc); in xhci_check_ep0_maxpacket()
1483 if (hw_max_packet_size == max_packet_size) in xhci_check_ep0_maxpacket()
1486 switch (max_packet_size) { in xhci_check_ep0_maxpacket()
1492 max_packet_size); in xhci_check_ep0_maxpacket()
1517 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_ep0_maxpacket()
1529 max_packet_size); in xhci_check_ep0_maxpacket()
2444 virt_ep->bw_info.max_packet_size, in xhci_check_bw_table()
2544 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed()
2675 if (ep_bw->max_packet_size >= in xhci_add_ep_to_interval_table()
[all …]
/linux/drivers/media/usb/gspca/
A Dxirlink_cit.c2634 int max_packet_size; in sd_isoc_init() local
2638 max_packet_size = 450; in sd_isoc_init()
2641 max_packet_size = 600; in sd_isoc_init()
2644 max_packet_size = 1022; in sd_isoc_init()
2659 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in sd_isoc_init()
/linux/drivers/usb/serial/
A Dftdi_sio.c90 unsigned short max_packet_size; member
1629 priv->max_packet_size = usb_endpoint_maxp(ep_desc); in ftdi_set_max_packet_size()
2415 for (i = 0; i < size - 1; i += priv->max_packet_size) { in ftdi_prepare_write_buffer()
2416 len = min_t(int, size - i, priv->max_packet_size) - 1; in ftdi_prepare_write_buffer()
2546 for (i = 0; i < urb->actual_length; i += priv->max_packet_size) { in ftdi_process_read_urb()
2547 len = min_t(int, urb->actual_length - i, priv->max_packet_size); in ftdi_process_read_urb()

Completed in 86 milliseconds

12