Home
last modified time | relevance | path

Searched refs:urb_size (Results 1 – 8 of 8) sorted by relevance

/drivers/media/usb/em28xx/
Dem28xx-audio.c748 int urb_size, bytes_per_transfer; in em28xx_audio_urb_init() local
812 urb_size = bytes_per_transfer / num_urb; in em28xx_audio_urb_init()
820 if (urb_size > ep_size * npackets) in em28xx_audio_urb_init()
821 npackets = DIV_ROUND_UP(urb_size, ep_size); in em28xx_audio_urb_init()
824 num_urb, npackets, urb_size); in em28xx_audio_urb_init()
827 dev->adev.period = urb_size * npackets; in em28xx_audio_urb_init()
/drivers/media/usb/uvc/
Duvc_video.c1331 int len = stream->urb_size, ret; in uvc_video_encode_bulk()
1367 urb->transfer_buffer_length = stream->urb_size - len; in uvc_video_encode_bulk()
1420 usb_free_coherent(stream->dev->udev, stream->urb_size, in uvc_free_urb_buffers()
1429 stream->urb_size = 0; in uvc_free_urb_buffers()
1450 if (stream->urb_size) in uvc_alloc_urb_buffers()
1451 return stream->urb_size / psize; in uvc_alloc_urb_buffers()
1463 stream->urb_size = psize * npackets; in uvc_alloc_urb_buffers()
1466 stream->dev->udev, stream->urb_size, in uvc_alloc_urb_buffers()
1470 kmalloc(stream->urb_size, gfp_flags | __GFP_NOWARN); in uvc_alloc_urb_buffers()
Duvcvideo.h500 unsigned int urb_size; member
/drivers/media/usb/tm6000/
Dtm6000-video.c494 dev->udev, dev->urb_size, in tm6000_alloc_urb_buffers()
498 dev->urb_size, i); in tm6000_alloc_urb_buffers()
501 memset(dev->urb_buffer[i], 0, dev->urb_size); in tm6000_alloc_urb_buffers()
520 dev->urb_size, in tm6000_free_urb_buffers()
600 dev->urb_size = sb_size; in tm6000_prepare_isoc()
Dtm6000.h274 unsigned int urb_size; member
/drivers/net/usb/
Dkaweth.c321 static int kaweth_set_urb_size(struct kaweth_device *kaweth, __u16 urb_size) in kaweth_set_urb_size() argument
325 netdev_dbg(kaweth->net, "Setting URB size to %d\n", (unsigned)urb_size); in kaweth_set_urb_size()
331 urb_size, in kaweth_set_urb_size()
/drivers/usb/misc/
Dftdi-elan.c1684 u16 urb_size; in ftdi_elan_edset_output() local
1706 urb_size = command->follows; in ftdi_elan_edset_output()
1708 while (urb_size-- > 0) { in ftdi_elan_edset_output()
/drivers/usb/host/
Du132-hcd.c2343 u16 urb_size = 8; in u132_urb_enqueue() local
2351 while (urb_size-- > 0) { in u132_urb_enqueue()