| /linux/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 },
|
| H A D | stv06xx.c | 328 cpu_to_le16(sd->sensor->max_packet_size[gspca_dev->curr_mode]); in stv06xx_isoc_init()
|
| /linux/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() 519 line6->max_packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); in line6_get_usb_properties() 526 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_get_usb_properties() 612 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 = min3(line6_midibuf_bytes_free(mb), line6->max_packet_size, in line6_midi_transmit()
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdns3-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 | cdns3-gadget.c | 2104 u32 max_packet_size = priv_ep->wMaxPacketSize; in cdns3_ep_config() local 2134 max_packet_size = is_iso_ep ? 1023 : 64; in cdns3_ep_config() 2137 max_packet_size = is_iso_ep ? 1024 : 512; in cdns3_ep_config() 2141 max_packet_size = 1024; in cdns3_ep_config() 2150 if (max_packet_size == 1024) in cdns3_ep_config() 2152 else if (max_packet_size >= 512) in cdns3_ep_config() 2202 ep_cfg |= EP_CFG_MAXPKTSIZE(max_packet_size) | in cdns3_ep_config()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_uvc.c | 671 unsigned int max_packet_size; in uvc_function_bind() local 703 max_packet_size = opts->streaming_maxpacket; in uvc_function_bind() 706 max_packet_size = opts->streaming_maxpacket / 2; in uvc_function_bind() 709 max_packet_size = opts->streaming_maxpacket / 3; in uvc_function_bind() 717 cpu_to_le16(max_packet_size | ((max_packet_mult - 1) << 11)); in uvc_function_bind() 725 uvc_ss_streaming_ep.wMaxPacketSize = cpu_to_le16(max_packet_size); in uvc_function_bind() 730 cpu_to_le16(max_packet_size * max_packet_mult * in uvc_function_bind()
|
| H A D | f_sourcesink.c | 474 int max_packet_size = le16_to_cpu(ss->out_ep->desc->wMaxPacketSize); in check_read_data() local 496 if (*buf == (u8)((i % max_packet_size) % 63)) in check_read_data() 511 int max_packet_size = le16_to_cpu(ep->desc->wMaxPacketSize); in reinit_write_data() local 520 *buf++ = (u8) ((i % max_packet_size) % 63); in reinit_write_data()
|
| /linux/sound/usb/misc/ |
| H A D | ua101.c | 1060 unsigned max_packet_size = stream->max_packet_bytes; in alloc_stream_urbs() 1069 while (size >= max_packet_size) { in alloc_stream_urbs() 1081 urb->urb.transfer_buffer_length = max_packet_size; in alloc_stream_urbs() 1087 urb->urb.iso_frame_desc[0].length = max_packet_size; in alloc_stream_urbs() 1089 size -= max_packet_size; in alloc_stream_urbs() 1090 addr += max_packet_size; in alloc_stream_urbs() 1091 dma += max_packet_size; in alloc_stream_urbs() 1053 unsigned max_packet_size = stream->max_packet_bytes; alloc_stream_urbs() local
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | usb.h | 84 u16 max_packet_size; member
|
| /linux/drivers/hid/intel-thc-hid/intel-thc/ |
| H A D | intel-thc-dma.h | 115 size_t max_packet_size; member
|
| H A D | intel-thc-dma.c | 174 return dma_config->max_packet_size; in dma_get_max_packet_size() 181 dma_config->max_packet_size = ALIGN(size, SZ_4K); in dma_set_max_packet_size() 585 if (mes_len > read_config->max_packet_size) { in read_dma_buffer() 588 mes_len, read_config->max_packet_size); in read_dma_buffer()
|
| /linux/sound/usb/usx2y/ |
| H A D | us144mkii.c | 115 size_t max_packet_size; in tascam_alloc_urbs() local 117 max_packet_size = ((96000 / 8000) + 2) * BYTES_PER_FRAME; in tascam_alloc_urbs() 119 max_packet_size * PLAYBACK_URB_PACKETS; in tascam_alloc_urbs()
|
| /linux/drivers/usb/gadget/udc/cdns2/ |
| H A D | cdns2-gadget.c | 1416 u32 max_packet_size; in cdns2_ep_config() local 1444 max_packet_size = is_iso_ep ? 1023 : 64; in cdns2_ep_config() 1447 max_packet_size = is_iso_ep ? 1024 : 512; in cdns2_ep_config() 1458 writew(max_packet_size, &pdev->epx_regs->txmaxpack[pep->num - 1]); in cdns2_ep_config() 1461 writew(max_packet_size, &pdev->epx_regs->rxmaxpack[pep->num - 1]); in cdns2_ep_config() 1471 if (max_packet_size == 1024) in cdns2_ep_config() 1473 else if (max_packet_size >= 512) in cdns2_ep_config() 1497 pep->name, max_packet_size, ep_cfg); in cdns2_ep_config()
|
| /linux/include/linux/usb/ |
| H A D | gadget.h | 534 int max_packet_size = (size_t)usb_endpoint_maxp(ep->desc); in usb_ep_align() local 536 return round_up(len, max_packet_size); in usb_ep_align()
|
| /linux/drivers/usb/host/ |
| H A D | xhci.c | 1554 int max_packet_size; in xhci_check_ep0_maxpacket() local 1560 max_packet_size = usb_endpoint_maxp(&vdev->udev->ep0.desc); in xhci_check_ep0_maxpacket() 1562 if (hw_max_packet_size == max_packet_size) in xhci_check_ep0_maxpacket() 1565 switch (max_packet_size) { in xhci_check_ep0_maxpacket() 1571 max_packet_size); in xhci_check_ep0_maxpacket() 1596 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_ep0_maxpacket() 1608 max_packet_size); in xhci_check_ep0_maxpacket() 2535 virt_ep->bw_info.max_packet_size, in xhci_check_bw_table() 2635 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed() 2766 if (ep_bw->max_packet_size >= in xhci_add_ep_to_interval_table() [all …]
|
| /linux/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()
|
| /linux/drivers/usb/serial/ |
| H A D | ftdi_sio.c | 90 unsigned short max_packet_size; member 1618 priv->max_packet_size = usb_endpoint_maxp(ep_desc); in ftdi_set_max_packet_size() 2382 for (i = 0; i < size - 1; i += priv->max_packet_size) { in ftdi_prepare_write_buffer() 2383 len = min_t(int, size - i, priv->max_packet_size) - 1; in ftdi_prepare_write_buffer() 2513 for (i = 0; i < urb->actual_length; i += priv->max_packet_size) { in ftdi_process_read_urb() 2514 len = min_t(int, urb->actual_length - i, priv->max_packet_size); in ftdi_process_read_urb()
|
| /linux/fs/ecryptfs/ |
| H A D | ecryptfs_kernel.h | 688 char *data, size_t max_packet_size);
|