Home
last modified time | relevance | path

Searched refs:max_packet_size (Results 1 - 25 of 57) sorted by relevance

123

/kernel/linux/linux-5.10/fs/ecryptfs/
H A Dkeystore.c586 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
885 * @max_packet_size: The maximum legal size of the packet to be parsed
894 char *data, size_t max_packet_size) in ecryptfs_parse_tag_70_packet()
907 if (max_packet_size < ECRYPTFS_TAG_70_MIN_METADATA_SIZE) { in ecryptfs_parse_tag_70_packet()
908 printk(KERN_WARNING "%s: max_packet_size i in ecryptfs_parse_tag_70_packet()
891 ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size, size_t *packet_size, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *data, size_t max_packet_size) ecryptfs_parse_tag_70_packet() argument
1223 parse_tag_1_packet(struct ecryptfs_crypt_stat *crypt_stat, unsigned char *data, struct list_head *auth_tok_list, struct ecryptfs_auth_tok **new_auth_tok, size_t *packet_size, size_t max_packet_size) parse_tag_1_packet() argument
1355 parse_tag_3_packet(struct ecryptfs_crypt_stat *crypt_stat, unsigned char *data, struct list_head *auth_tok_list, struct ecryptfs_auth_tok **new_auth_tok, size_t *packet_size, size_t max_packet_size) parse_tag_3_packet() argument
1529 parse_tag_11_packet(unsigned char *data, unsigned char *contents, size_t max_contents_bytes, size_t *tag_11_contents_size, size_t *packet_size, size_t max_packet_size) parse_tag_11_packet() argument
1777 size_t max_packet_size = ((PAGE_SIZE - 8) - i); ecryptfs_parse_packet_set() local
2026 size_t max_packet_size; write_tag_1_packet() local
2114 size_t max_packet_size; write_tag_11_packet() local
2186 size_t max_packet_size; write_tag_3_packet() local
[all...]
/kernel/linux/linux-6.6/fs/ecryptfs/
H A Dkeystore.c587 size_t max_packet_size; member
673 s->max_packet_size = (ECRYPTFS_TAG_70_MAX_METADATA_SIZE in ecryptfs_write_tag_70_packet()
676 (*packet_size) = s->max_packet_size; in ecryptfs_write_tag_70_packet()
679 if (s->max_packet_size > (*remaining_bytes)) { in ecryptfs_write_tag_70_packet()
681 "[%zd] available\n", __func__, s->max_packet_size, in ecryptfs_write_tag_70_packet()
858 size_t max_packet_size; member
886 * @max_packet_size: The maximum legal size of the packet to be parsed
895 char *data, size_t max_packet_size) in ecryptfs_parse_tag_70_packet()
908 if (max_packet_size < ECRYPTFS_TAG_70_MIN_METADATA_SIZE) { in ecryptfs_parse_tag_70_packet()
909 printk(KERN_WARNING "%s: max_packet_size i in ecryptfs_parse_tag_70_packet()
892 ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size, size_t *packet_size, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *data, size_t max_packet_size) ecryptfs_parse_tag_70_packet() argument
1224 parse_tag_1_packet(struct ecryptfs_crypt_stat *crypt_stat, unsigned char *data, struct list_head *auth_tok_list, struct ecryptfs_auth_tok **new_auth_tok, size_t *packet_size, size_t max_packet_size) parse_tag_1_packet() argument
1356 parse_tag_3_packet(struct ecryptfs_crypt_stat *crypt_stat, unsigned char *data, struct list_head *auth_tok_list, struct ecryptfs_auth_tok **new_auth_tok, size_t *packet_size, size_t max_packet_size) parse_tag_3_packet() argument
1530 parse_tag_11_packet(unsigned char *data, unsigned char *contents, size_t max_contents_bytes, size_t *tag_11_contents_size, size_t *packet_size, size_t max_packet_size) parse_tag_11_packet() argument
1778 size_t max_packet_size = ((PAGE_SIZE - 8) - i); ecryptfs_parse_packet_set() local
2027 size_t max_packet_size; write_tag_1_packet() local
2115 size_t max_packet_size; write_tag_11_packet() local
2187 size_t max_packet_size; write_tag_3_packet() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_hdcs.h137 .max_packet_size = { 847 },
156 .max_packet_size = { 847 },
H A Dstv06xx_st6422.h30 .max_packet_size = { 300, 847 },
H 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()
H A Dstv06xx_sensor.h45 int max_packet_size[4]; member
H A Dstv06xx_vv6410.h186 .max_packet_size = { 1023 },
H A Dstv06xx_pb0100.h121 .max_packet_size = { 847, 923 },
/kernel/linux/linux-6.6/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_hdcs.h137 .max_packet_size = { 847 },
156 .max_packet_size = { 847 },
H A Dstv06xx_st6422.h30 .max_packet_size = { 300, 847 },
H 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()
H A Dstv06xx_sensor.h45 int max_packet_size[4]; member
H A Dstv06xx_pb0100.h121 .max_packet_size = { 847, 923 },
H A Dstv06xx_vv6410.h186 .max_packet_size = { 1023 },
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_uvc.c592 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()
644 uvc_ss_streaming_ep.wMaxPacketSize = cpu_to_le16(max_packet_size); in uvc_function_bind()
649 cpu_to_le16(max_packet_size * max_packet_mult * in uvc_function_bind()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
H A Dep0.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()
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H 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()
/kernel/linux/linux-5.10/sound/usb/line6/
H 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()
515 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); in line6_get_usb_properties()
522 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_get_usb_properties()
608 if (count > line6->max_packet_size * LINE6_RAW_MESSAGES_MAXCOUNT) { in line6_hwdep_write()
H A Ddriver.h135 int max_packet_size; member
/kernel/linux/linux-6.6/sound/usb/line6/
H 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()
515 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); in line6_get_usb_properties()
522 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_get_usb_properties()
608 if (count > line6->max_packet_size * LINE6_RAW_MESSAGES_MAXCOUNT) { in line6_hwdep_write()
/kernel/linux/linux-5.10/sound/usb/misc/
H A Dua101.c1074 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()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_uvc.c650 unsigned int max_packet_size; in uvc_function_bind() local
680 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind()
683 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind()
686 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind()
694 cpu_to_le16(max_packet_size | ((max_packet_mult - 1) << 11)); in uvc_function_bind()
702 uvc_ss_streaming_ep.wMaxPacketSize = cpu_to_le16(max_packet_size); in uvc_function_bind()
707 cpu_to_le16(max_packet_size * max_packet_mult * in uvc_function_bind()
/kernel/linux/linux-6.6/sound/usb/misc/
H 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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dusb.h83 u16 max_packet_size; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dusb.h83 u16 max_packet_size; member

Completed in 21 milliseconds

123