Home
last modified time | relevance | path

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

/linux/sound/usb/line6/
H A Dplayback.c143 int i, urb_size, urb_frames; in submit_audio_out_urb() local
164 urb_size = 0; in submit_audio_out_urb()
185 fout->offset = urb_size; in submit_audio_out_urb()
187 urb_size += fsize; in submit_audio_out_urb()
190 if (urb_size == 0) { in submit_audio_out_urb()
196 urb_frames = urb_size / bytes_per_frame; in submit_audio_out_urb()
200 urb_out->transfer_buffer_length = urb_size; in submit_audio_out_urb()
H A Dcapture.c24 int i, urb_size; in submit_audio_in_urb() local
37 urb_size = 0; in submit_audio_in_urb()
42 fin->offset = urb_size; in submit_audio_in_urb()
44 urb_size += line6pcm->max_packet_size_in; in submit_audio_in_urb()
50 urb_in->transfer_buffer_length = urb_size; in submit_audio_in_urb()
/linux/sound/usb/usx2y/
H A Dusb_stream.c450 int urb_size = 0; in stream_idle() local
480 urb_size += l; in stream_idle()
482 s->idle_insize += urb_size - s->period_size; in stream_idle()
488 s->insize_done += urb_size; in stream_idle()
536 int urb_size = 0; in stream_start() local
555 urb_size += l; in stream_start()
558 diff = urb_size - in stream_start()
564 s->idle_insize += urb_size - s->period_size; in stream_start()
568 s->idle_insize, urb_size, s->period_size); in stream_start()
590 s->insize_done += urb_size; in stream_start()
/linux/drivers/media/usb/em28xx/
H A Dem28xx-audio.c664 int urb_size, bytes_per_transfer; in em28xx_audio_urb_init() local
727 urb_size = bytes_per_transfer / num_urb; in em28xx_audio_urb_init()
735 if (urb_size > ep_size * npackets) in em28xx_audio_urb_init()
736 npackets = DIV_ROUND_UP(urb_size, ep_size); in em28xx_audio_urb_init()
740 num_urb, npackets, urb_size); in em28xx_audio_urb_init()
743 dev->adev.period = urb_size * npackets; in em28xx_audio_urb_init()
/linux/drivers/media/usb/uvc/
H A Duvc_video.c1603 int len = stream->urb_size, ret; in uvc_video_encode_bulk()
1639 urb->transfer_buffer_length = stream->urb_size - len; in uvc_video_encode_bulk()
1692 uvc_urb->stream->urb_size); in uvc_video_complete()
1725 dma_free_noncontiguous(dma_dev, stream->urb_size, uvc_urb->sgt, in uvc_free_urb_buffers()
1732 stream->urb_size = 0; in uvc_free_urb_buffers()
1740 uvc_urb->sgt = dma_alloc_noncontiguous(dma_dev, stream->urb_size, in uvc_alloc_urb_buffer()
1747 uvc_urb->buffer = dma_vmap_noncontiguous(dma_dev, stream->urb_size, in uvc_alloc_urb_buffer()
1750 dma_free_noncontiguous(dma_dev, stream->urb_size, in uvc_alloc_urb_buffer()
1778 if (stream->urb_size) in uvc_alloc_urb_buffers()
1779 return stream->urb_size / psize; in uvc_alloc_urb_buffers()
[all …]
/linux/drivers/net/usb/
H A Dkaweth.c251 static int kaweth_set_urb_size(struct kaweth_device *kaweth, __u16 urb_size) in kaweth_set_urb_size() argument
253 netdev_dbg(kaweth->net, "Setting URB size to %d\n", (unsigned)urb_size); in kaweth_set_urb_size()
258 urb_size, 0, in kaweth_set_urb_size()
H A Dlan78xx.c520 size_t n_urbs, size_t urb_size, in lan78xx_alloc_buf_pool() argument
531 buf = alloc_skb(urb_size, GFP_ATOMIC); in lan78xx_alloc_buf_pool()