| /OK3568_Linux_fs/kernel/fs/ecryptfs/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/gspca/stv06xx/ |
| H A D | stv06xx_hdcs.h | 137 .max_packet_size = { 847 }, 156 .max_packet_size = { 847 },
|
| H A D | stv06xx_pb0100.c | 177 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()
|
| H A D | stv06xx_st6422.h | 30 .max_packet_size = { 300, 847 },
|
| H A D | stv06xx_sensor.h | 45 int max_packet_size[4]; member
|
| H A D | stv06xx_pb0100.h | 121 .max_packet_size = { 847, 923 },
|
| H A D | stv06xx_vv6410.h | 186 .max_packet_size = { 1023 },
|
| /OK3568_Linux_fs/kernel/sound/usb/line6/ |
| H A 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() 160 int bytes = min(msg->size - done, line6->max_packet_size); in line6_send_raw_message_async_part() 514 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); in line6_get_usb_properties() 521 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_get_usb_properties() 607 if (count > line6->max_packet_size * LINE6_RAW_MESSAGES_MAXCOUNT) { in line6_hwdep_write()
|
| H A D | driver.h | 135 int max_packet_size; member
|
| H A D | midi.c | 47 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size); in line6_midi_transmit()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/cdns3/ |
| H A D | ep0.c | 833 u32 max_packet_size = 64; in cdns3_ep0_config() local 838 max_packet_size = 512; in cdns3_ep0_config() 852 priv_dev->gadget.ep0->maxpacket = max_packet_size; in cdns3_ep0_config() 853 cdns3_gadget_ep0_desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in cdns3_ep0_config() 865 writel(EP_CFG_ENABLE | EP_CFG_MAXPKTSIZE(max_packet_size), in cdns3_ep0_config() 874 writel(EP_CFG_ENABLE | EP_CFG_MAXPKTSIZE(max_packet_size), in cdns3_ep0_config()
|
| H A D | gadget.c | 1552 u32 max_packet_size = 0; in cdns3_ep_config() local 1586 max_packet_size = is_iso_ep ? 1023 : 64; in cdns3_ep_config() 1589 max_packet_size = is_iso_ep ? 1024 : 512; in cdns3_ep_config() 1594 max_packet_size = 1024; in cdns3_ep_config() 1611 if (max_packet_size == 1024) in cdns3_ep_config() 1613 else if (max_packet_size >= 512) in cdns3_ep_config() 1625 ep_cfg |= EP_CFG_MAXPKTSIZE(max_packet_size) | in cdns3_ep_config()
|
| /OK3568_Linux_fs/kernel/drivers/usb/cdns3/ |
| H A D | ep0.c | 814 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()
|
| H A D | gadget.c | 2037 u32 max_packet_size = 0; in cdns3_ep_config() local 2069 max_packet_size = is_iso_ep ? 1023 : 64; in cdns3_ep_config() 2072 max_packet_size = is_iso_ep ? 1024 : 512; in cdns3_ep_config() 2077 max_packet_size = 1024; in cdns3_ep_config() 2094 if (max_packet_size == 1024) in cdns3_ep_config() 2096 else if (max_packet_size >= 512) in cdns3_ep_config() 2130 ep_cfg |= EP_CFG_MAXPKTSIZE(max_packet_size) | in cdns3_ep_config()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | f_uvc.c | 778 unsigned int max_packet_size; in uvc_function_bind() local 817 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind() 820 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind() 823 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind() 832 cpu_to_le16(max_packet_size | in uvc_function_bind() 842 cpu_to_le16(max_packet_size); in uvc_function_bind() 847 cpu_to_le16(max_packet_size * max_packet_mult * in uvc_function_bind() 857 cpu_to_le16(max_packet_size); in uvc_function_bind()
|
| H A D | f_sourcesink.c | 469 int max_packet_size = le16_to_cpu(ss->out_ep->desc->wMaxPacketSize); in check_read_data() local 491 if (*buf == (u8)((i % max_packet_size) % 63)) in check_read_data() 506 int max_packet_size = le16_to_cpu(ep->desc->wMaxPacketSize); in reinit_write_data() local 515 *buf++ = (u8) ((i % max_packet_size) % 63); in reinit_write_data()
|
| /OK3568_Linux_fs/kernel/sound/usb/misc/ |
| H A D | ua101.c | 1074 unsigned max_packet_size = stream->max_packet_bytes; in alloc_stream_urbs() local 1083 while (size >= max_packet_size) { in alloc_stream_urbs() 1095 urb->urb.transfer_buffer_length = max_packet_size; in alloc_stream_urbs() 1101 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs() 1103 size -= max_packet_size; in alloc_stream_urbs() 1104 addr += max_packet_size; in alloc_stream_urbs() 1105 dma += max_packet_size; in alloc_stream_urbs()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/ |
| H A D | usb.h | 83 u16 max_packet_size; member
|
| /OK3568_Linux_fs/u-boot/drivers/usb/host/ |
| H A D | xhci.c | 770 int max_packet_size; in xhci_check_maxpacket() local 779 max_packet_size = udev->epmaxpacketin[0]; in xhci_check_maxpacket() 780 if (hw_max_packet_size != max_packet_size) { in xhci_check_maxpacket() 782 debug("Max packet size in usb_device = %d\n", max_packet_size); in xhci_check_maxpacket() 793 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | gadget.h | 512 int max_packet_size = (size_t)usb_endpoint_maxp(ep->desc) & 0x7ff; in usb_ep_align() local 514 return round_up(len, max_packet_size); in usb_ep_align()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/ |
| H A D | usb.c | 55 u16 max_packet_size; member 366 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath6kl_usb_setup_pipe_resources() 753 if ((len % pipe->max_packet_size) == 0) { in ath6kl_usb_send()
|
| /OK3568_Linux_fs/u-boot/lib/efi_loader/ |
| H A D | efi_net.c | 262 netobj->net_mode.max_packet_size = PKTSIZE; in efi_net_register()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/gspca/ |
| H A D | xirlink_cit.c | 2634 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci.c | 1422 int max_packet_size; in xhci_check_maxpacket() local 1429 max_packet_size = usb_endpoint_maxp(&urb->dev->ep0.desc); in xhci_check_maxpacket() 1430 if (hw_max_packet_size != max_packet_size) { in xhci_check_maxpacket() 1435 max_packet_size); in xhci_check_maxpacket() 1466 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket() 2410 virt_ep->bw_info.max_packet_size, in xhci_check_bw_table() 2512 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed() 2649 if (ep_bw->max_packet_size >= in xhci_add_ep_to_interval_table() 2650 smaller_ep->bw_info.max_packet_size) { in xhci_add_ep_to_interval_table()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/frr/frr/ |
| H A D | CVE-2022-37035.patch | 105 assert(packetsize <= peer->max_packet_size);
|