Searched defs:max_packet_size (Results 1 - 12 of 12) sorted by relevance

/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_sensor.h58 int max_packet_size[4]; member in struct:stv06xx_sensor
H A Dstv06xx_pb0100.c190 int err, packet_size, max_packet_size; local
204 max_packet_size = sd->sensor->max_packet_size[sd->gspca_dev.curr_mode];
205 if (packet_size < max_packet_size)
/drivers/media/usb/tlg2300/
H A Dpd-main.c219 size_t max_packet_size; local
235 max_packet_size = le16_to_cpu(udev->ep_out[0x1]->desc.wMaxPacketSize);
236 log("\t\t download size : %d", (int)max_packet_size);
238 for (offset = 0; offset < fwlength; offset += max_packet_size) {
243 min(max_packet_size, fwlength - offset),
/drivers/staging/line6/
H A Ddriver.h135 int max_packet_size; member in struct:usb_line6
H A Dpcm.h295 int max_packet_size; member in struct:snd_line6_pcm
/drivers/usb/gadget/function/
H A Df_uvc.c601 unsigned int max_packet_size; local
623 max_packet_size = opts->streaming_maxpacket;
626 max_packet_size = opts->streaming_maxpacket / 2;
629 max_packet_size = opts->streaming_maxpacket / 3;
637 cpu_to_le16(max_packet_size | ((max_packet_mult - 1) << 11));
640 uvc_ss_streaming_ep.wMaxPacketSize = cpu_to_le16(max_packet_size);
645 cpu_to_le16(max_packet_size * max_packet_mult *
/drivers/media/usb/gspca/
H A Dxirlink_cit.c2636 int max_packet_size; local
2640 max_packet_size = 450;
2643 max_packet_size = 600;
2646 max_packet_size = 1022;
2652 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(max_packet_size);
/drivers/usb/serial/
H A Dftdi_sio.c78 unsigned short max_packet_size; member in struct:ftdi_private
1626 priv->max_packet_size = usb_endpoint_maxp(ep_desc);
1973 for (i = 0; i < size - 1; i += priv->max_packet_size) {
1974 len = min_t(int, size - i, priv->max_packet_size) - 1;
2090 for (i = 0; i < urb->actual_length; i += priv->max_packet_size) {
2091 len = min_t(int, urb->actual_length - i, priv->max_packet_size);
/drivers/net/wireless/ath/ath6kl/
H A Dusb.c55 u16 max_packet_size; member in struct:ath6kl_usb_pipe
353 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize);
740 if ((len % pipe->max_packet_size) == 0) {
/drivers/usb/host/
H A Dxhci.c1249 int max_packet_size; local
1256 max_packet_size = usb_endpoint_maxp(&urb->dev->ep0.desc);
1257 if (hw_max_packet_size != max_packet_size) {
1262 max_packet_size);
1292 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size));
2263 virt_ep->bw_info.max_packet_size,
2365 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK);
2500 if (ep_bw->max_packet_size >=
2501 smaller_ep->bw_info.max_packet_size) {
H A Dxhci.h800 unsigned int max_packet_size; member in struct:xhci_bw_info
/drivers/net/usb/
H A Dhso.c990 static void fix_crc_bug(struct urb *urb, __le16 max_packet_size) argument
993 u32 rest = urb->actual_length % le16_to_cpu(max_packet_size);

Completed in 255 milliseconds