Searched refs:urb_size (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/sound/usb/line6/ |
H A D | playback.c | 143 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 D | capture.c | 24 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()
|
/openbmc/linux/sound/usb/usx2y/ |
H A D | usb_stream.c | 451 int urb_size = 0; in stream_idle() local 481 urb_size += l; in stream_idle() 483 s->idle_insize += urb_size - s->period_size; in stream_idle() 489 s->insize_done += urb_size; in stream_idle() 537 int urb_size = 0; in stream_start() local 556 urb_size += l; in stream_start() 559 diff = urb_size - in stream_start() 564 urb_size / (int)s->cfg.frame_size, in stream_start() 570 s->idle_insize += urb_size - s->period_size; in stream_start() 573 s->idle_insize, urb_size, s->period_size); in stream_start() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | gen7_renderclear.c | 263 u32 urb_size, u32 curbe_size, in gen7_emit_vfe_state() argument 280 *cs++ = urb_size << 16 | curbe_size; in gen7_emit_vfe_state() 382 const unsigned int urb_size = 1; in emit_batch() local 421 gen7_emit_vfe_state(&cmds, bv, urb_size - 1, 0, 0); in emit_batch()
|
/openbmc/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-audio.c | 664 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()
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_video.c | 1580 int len = stream->urb_size, ret; in uvc_video_encode_bulk() 1616 urb->transfer_buffer_length = stream->urb_size - len; in uvc_video_encode_bulk() 1669 uvc_urb->stream->urb_size); in uvc_video_complete() 1702 dma_free_noncontiguous(dma_dev, stream->urb_size, uvc_urb->sgt, in uvc_free_urb_buffers() 1709 stream->urb_size = 0; in uvc_free_urb_buffers() 1717 uvc_urb->sgt = dma_alloc_noncontiguous(dma_dev, stream->urb_size, in uvc_alloc_urb_buffer() 1724 uvc_urb->buffer = dma_vmap_noncontiguous(dma_dev, stream->urb_size, in uvc_alloc_urb_buffer() 1727 dma_free_noncontiguous(dma_dev, stream->urb_size, in uvc_alloc_urb_buffer() 1755 if (stream->urb_size) in uvc_alloc_urb_buffers() 1756 return stream->urb_size / psize; in uvc_alloc_urb_buffers() [all …]
|
H A D | uvcvideo.h | 480 unsigned int urb_size; member
|
/openbmc/linux/drivers/net/usb/ |
H A D | kaweth.c | 251 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 D | lan78xx.c | 525 size_t n_urbs, size_t urb_size, in lan78xx_alloc_buf_pool() argument 536 buf = alloc_skb(urb_size, GFP_ATOMIC); in lan78xx_alloc_buf_pool()
|