/drivers/staging/line6/ |
D | capture.c | 51 fin->length = line6pcm->max_packet_size; in submit_audio_in_urb() 52 urb_size += line6pcm->max_packet_size; in submit_audio_in_urb() 57 index * LINE6_ISO_PACKETS * line6pcm->max_packet_size; in submit_audio_in_urb() 234 if (fsize > line6pcm->max_packet_size) { in audio_in_callback() 237 fsize, line6pcm->max_packet_size); in audio_in_callback()
|
D | midi.c | 50 unsigned char chunk[line6->max_packet_size]; in line6_midi_transmit() 56 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size); in line6_midi_transmit() 67 done = line6_midibuf_read(mb, chunk, line6->max_packet_size); in line6_midi_transmit()
|
D | driver.c | 146 for (i = 0; i < size; i += line6->max_packet_size) { in line6_send_raw_message() 149 int frag_size = min(line6->max_packet_size, size - i); in line6_send_raw_message() 193 int bytes = min(msg->size - done, line6->max_packet_size); in line6_send_raw_message_async_part() 849 line6->max_packet_size = in line6_probe() 853 line6->max_packet_size = LINE6_FALLBACK_MAXPACKETSIZE; in line6_probe()
|
D | pcm.c | 123 line6pcm->max_packet_size, GFP_KERNEL); in line6_pcm_acquire() 159 line6pcm->max_packet_size, GFP_KERNEL); in line6_pcm_acquire() 482 line6pcm->max_packet_size = min( in line6_init_pcm()
|
D | driver.h | 135 int max_packet_size; member
|
D | pcm.h | 295 int max_packet_size; member
|
D | playback.c | 195 index * LINE6_ISO_PACKETS * line6pcm->max_packet_size; in submit_audio_out_urb()
|
/drivers/media/usb/tlg2300/ |
D | pd-main.c | 219 size_t max_packet_size; in firmware_download() local 235 max_packet_size = udev->ep_out[0x1]->desc.wMaxPacketSize; in firmware_download() 236 log("\t\t download size : %d", (int)max_packet_size); in firmware_download() 238 for (offset = 0; offset < fwlength; offset += max_packet_size) { in firmware_download() 243 min(max_packet_size, fwlength - offset), in firmware_download()
|
/drivers/usb/gadget/ |
D | f_uvc.c | 591 unsigned int max_packet_size; in uvc_function_bind() local 611 max_packet_size = streaming_maxpacket; in uvc_function_bind() 614 max_packet_size = streaming_maxpacket / 2; in uvc_function_bind() 617 max_packet_size = streaming_maxpacket / 3; in uvc_function_bind() 623 uvc_hs_streaming_ep.wMaxPacketSize = max_packet_size; in uvc_function_bind() 627 uvc_ss_streaming_ep.wMaxPacketSize = max_packet_size; in uvc_function_bind() 632 max_packet_size * max_packet_mult * streaming_maxburst; in uvc_function_bind()
|
/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_hdcs.h | 150 .max_packet_size = { 847 }, 169 .max_packet_size = { 847 },
|
D | stv06xx_pb0100.c | 190 int err, packet_size, max_packet_size; in pb0100_start() local 204 max_packet_size = sd->sensor->max_packet_size[sd->gspca_dev.curr_mode]; in pb0100_start() 205 if (packet_size < max_packet_size) in pb0100_start()
|
D | stv06xx_st6422.h | 44 .max_packet_size = { 300, 847 },
|
D | stv06xx_sensor.h | 58 int max_packet_size[4]; member
|
D | stv06xx_pb0100.h | 134 .max_packet_size = { 847, 923 },
|
D | stv06xx_vv6410.h | 199 .max_packet_size = { 1023 },
|
D | stv06xx.c | 326 cpu_to_le16(sd->sensor->max_packet_size[gspca_dev->curr_mode]); in stv06xx_isoc_init()
|
/drivers/usb/serial/ |
D | ftdi_sio.c | 81 unsigned short max_packet_size; member 1537 priv->max_packet_size = usb_endpoint_maxp(ep_desc); in ftdi_set_max_packet_size() 1539 dev_info(&udev->dev, "Setting MaxPacketSize %d\n", priv->max_packet_size); in ftdi_set_max_packet_size() 1913 for (i = 0; i < size - 1; i += priv->max_packet_size) { in ftdi_prepare_write_buffer() 1914 len = min_t(int, size - i, priv->max_packet_size) - 1; in ftdi_prepare_write_buffer() 2022 for (i = 0; i < urb->actual_length; i += priv->max_packet_size) { in ftdi_process_read_urb() 2023 len = min_t(int, urb->actual_length - i, priv->max_packet_size); in ftdi_process_read_urb()
|
/drivers/net/wireless/ath/ath6kl/ |
D | usb.c | 55 u16 max_packet_size; member 355 pipe->max_packet_size = le16_to_cpu(endpoint->wMaxPacketSize); in ath6kl_usb_setup_pipe_resources() 742 if ((len % pipe->max_packet_size) == 0) { in ath6kl_usb_send()
|
/drivers/media/usb/gspca/ |
D | xirlink_cit.c | 2636 int max_packet_size; in sd_isoc_init() local 2640 max_packet_size = 450; in sd_isoc_init() 2643 max_packet_size = 600; in sd_isoc_init() 2646 max_packet_size = 1022; in sd_isoc_init() 2652 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(max_packet_size); in sd_isoc_init()
|
/drivers/usb/host/ |
D | xhci.c | 1212 int max_packet_size; in xhci_check_maxpacket() local 1219 max_packet_size = usb_endpoint_maxp(&urb->dev->ep0.desc); in xhci_check_maxpacket() 1220 if (hw_max_packet_size != max_packet_size) { in xhci_check_maxpacket() 1223 max_packet_size); in xhci_check_maxpacket() 1234 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket() 2191 virt_ep->bw_info.max_packet_size, in xhci_check_bw_table() 2292 unsigned int mps = DIV_ROUND_UP(ep_bw->max_packet_size, SS_BLOCK); in xhci_get_ss_bw_consumed() 2427 if (ep_bw->max_packet_size >= in xhci_add_ep_to_interval_table() 2428 smaller_ep->bw_info.max_packet_size) { in xhci_add_ep_to_interval_table()
|
D | xhci-mem.c | 1509 bw_info->max_packet_size = 0; in xhci_clear_endpoint_bw_info() 1559 bw_info->max_packet_size = MAX_PACKET_DECODED( in xhci_update_bw_info()
|
D | xhci.h | 772 unsigned int max_packet_size; member
|
/drivers/net/usb/ |
D | hso.c | 992 static void fix_crc_bug(struct urb *urb, __le16 max_packet_size) in fix_crc_bug() argument 995 u32 rest = urb->actual_length % le16_to_cpu(max_packet_size); in fix_crc_bug()
|