/Linux-v4.19/fs/ecryptfs/ |
D | keystore.c | 600 size_t max_packet_size; member 686 s->max_packet_size = (ECRYPTFS_TAG_70_MAX_METADATA_SIZE in ecryptfs_write_tag_70_packet() 689 (*packet_size) = s->max_packet_size; in ecryptfs_write_tag_70_packet() 692 if (s->max_packet_size > (*remaining_bytes)) { in ecryptfs_write_tag_70_packet() 694 "[%zd] available\n", __func__, s->max_packet_size, in ecryptfs_write_tag_70_packet() 872 size_t max_packet_size; member 909 char *data, size_t max_packet_size) in ecryptfs_parse_tag_70_packet() argument 922 if (max_packet_size < ECRYPTFS_TAG_70_MIN_METADATA_SIZE) { in ecryptfs_parse_tag_70_packet() 924 "at least [%d]\n", __func__, max_packet_size, in ecryptfs_parse_tag_70_packet() 955 > max_packet_size) { in ecryptfs_parse_tag_70_packet() [all …]
|
D | ecryptfs_kernel.h | 728 char *data, size_t max_packet_size);
|
/Linux-v4.19/drivers/usb/host/ |
D | xhci-mtk-sch.c | 72 u32 max_packet_size; in setup_sch_info() local 79 max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info() 104 sch_ep->bw_cost_per_microframe = max_packet_size * sch_ep->pkts; in setup_sch_info() 130 sch_ep->bw_cost_per_microframe = max_packet_size * sch_ep->pkts; in setup_sch_info() 143 sch_ep->bw_cost_per_microframe = max_packet_size; in setup_sch_info() 152 max_packet_size, FS_PAYLOAD_MAX); in setup_sch_info() 159 max_packet_size, FS_PAYLOAD_MAX) + 2; in setup_sch_info()
|
D | xhci.c | 1341 int max_packet_size; in xhci_check_maxpacket() local 1348 max_packet_size = usb_endpoint_maxp(&urb->dev->ep0.desc); in xhci_check_maxpacket() 1349 if (hw_max_packet_size != max_packet_size) { in xhci_check_maxpacket() 1354 max_packet_size); in xhci_check_maxpacket() 1384 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket() 2320 virt_ep->bw_info.max_packet_size, in xhci_check_bw_table() 2422 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed() 2559 if (ep_bw->max_packet_size >= in xhci_add_ep_to_interval_table() 2560 smaller_ep->bw_info.max_packet_size) { in xhci_add_ep_to_interval_table()
|
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-v4.19/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_hdcs.h | 146 .max_packet_size = { 847 }, 165 .max_packet_size = { 847 },
|
D | stv06xx_pb0100.c | 186 int err, packet_size, max_packet_size; in pb0100_start() local 200 max_packet_size = sd->sensor->max_packet_size[sd->gspca_dev.curr_mode]; in pb0100_start() 201 if (packet_size < max_packet_size) in pb0100_start()
|
D | stv06xx_st6422.h | 40 .max_packet_size = { 300, 847 },
|
D | stv06xx_sensor.h | 54 int max_packet_size[4]; member
|
D | stv06xx_pb0100.h | 130 .max_packet_size = { 847, 923 },
|
D | stv06xx_vv6410.h | 195 .max_packet_size = { 1023 },
|
D | stv06xx.c | 324 cpu_to_le16(sd->sensor->max_packet_size[gspca_dev->curr_mode]); in stv06xx_isoc_init()
|
/Linux-v4.19/sound/usb/line6/ |
D | driver.c | 110 for (i = 0; i < size; i += line6->max_packet_size) { in line6_send_raw_message() 113 int frag_size = min(line6->max_packet_size, size - i); in line6_send_raw_message() 163 int bytes = min(msg->size - done, line6->max_packet_size); in line6_send_raw_message_async_part() 530 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); in line6_get_usb_properties() 537 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_get_usb_properties() 619 if (count > line6->max_packet_size * LINE6_RAW_MESSAGES_MAXCOUNT) { in line6_hwdep_write()
|
D | driver.h | 144 int max_packet_size; member
|
D | midi.c | 51 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size); in line6_midi_transmit()
|
/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_uvc.c | 603 unsigned int max_packet_size; in uvc_function_bind() local 633 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind() 636 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind() 639 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind() 647 cpu_to_le16(max_packet_size | ((max_packet_mult - 1) << 11)); in uvc_function_bind() 650 uvc_ss_streaming_ep.wMaxPacketSize = cpu_to_le16(max_packet_size); in uvc_function_bind() 655 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 | 456 u16 max_packet_size; in set_ep_max_packet_size() local 468 max_packet_size = num_channels(chmask) * ssize * in set_ep_max_packet_size() 470 ep_desc->wMaxPacketSize = cpu_to_le16(min_t(u16, max_packet_size, in set_ep_max_packet_size()
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | usb.h | 94 u16 max_packet_size; member
|
D | usb.c | 438 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-v4.19/sound/usb/misc/ |
D | ua101.c | 1103 unsigned max_packet_size = stream->max_packet_bytes; in alloc_stream_urbs() local 1112 while (size >= max_packet_size) { in alloc_stream_urbs() 1124 urb->urb.transfer_buffer_length = max_packet_size; in alloc_stream_urbs() 1130 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs() 1132 size -= max_packet_size; in alloc_stream_urbs() 1133 addr += max_packet_size; in alloc_stream_urbs() 1134 dma += max_packet_size; in alloc_stream_urbs()
|
/Linux-v4.19/include/linux/usb/ |
D | gadget.h | 447 int max_packet_size = (size_t)usb_endpoint_maxp(ep->desc) & 0x7ff; in usb_ep_align() local 449 return round_up(len, max_packet_size); in usb_ep_align()
|
/Linux-v4.19/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-v4.19/drivers/media/usb/gspca/ |
D | xirlink_cit.c | 2640 int max_packet_size; in sd_isoc_init() local 2644 max_packet_size = 450; in sd_isoc_init() 2647 max_packet_size = 600; in sd_isoc_init() 2650 max_packet_size = 1022; in sd_isoc_init() 2656 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in sd_isoc_init()
|
/Linux-v4.19/drivers/usb/serial/ |
D | ftdi_sio.c | 73 unsigned short max_packet_size; member 1651 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() 2129 for (i = 0; i < urb->actual_length; i += priv->max_packet_size) { in ftdi_process_read_urb() 2130 len = min_t(int, urb->actual_length - i, priv->max_packet_size); in ftdi_process_read_urb()
|