Home
last modified time | relevance | path

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

/linux-6.1.9/sound/usb/line6/
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()
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-6.1.9/sound/usb/usx2y/
Dusb_stream.c451 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 …]
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dgen7_renderclear.c263 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()
/linux-6.1.9/drivers/media/usb/em28xx/
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-6.1.9/drivers/media/usb/uvc/
Duvc_video.c1534 int len = stream->urb_size, ret; in uvc_video_encode_bulk()
1570 urb->transfer_buffer_length = stream->urb_size - len; in uvc_video_encode_bulk()
1623 uvc_urb->stream->urb_size); in uvc_video_complete()
1656 dma_free_noncontiguous(dma_dev, stream->urb_size, uvc_urb->sgt, in uvc_free_urb_buffers()
1663 stream->urb_size = 0; in uvc_free_urb_buffers()
1671 uvc_urb->sgt = dma_alloc_noncontiguous(dma_dev, stream->urb_size, in uvc_alloc_urb_buffer()
1678 uvc_urb->buffer = dma_vmap_noncontiguous(dma_dev, stream->urb_size, in uvc_alloc_urb_buffer()
1681 dma_free_noncontiguous(dma_dev, stream->urb_size, in uvc_alloc_urb_buffer()
1709 if (stream->urb_size) in uvc_alloc_urb_buffers()
1710 return stream->urb_size / psize; in uvc_alloc_urb_buffers()
[all …]
Duvcvideo.h479 unsigned int urb_size; member
/linux-6.1.9/drivers/net/usb/
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()
Dlan78xx.c525 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()
/linux-6.1.9/drivers/staging/media/deprecated/tm6000/
Dtm6000-video.c476 dev->udev, dev->urb_size, in tm6000_alloc_urb_buffers()
480 dev->urb_size, i); in tm6000_alloc_urb_buffers()
483 memset(dev->urb_buffer[i], 0, dev->urb_size); in tm6000_alloc_urb_buffers()
502 dev->urb_size, in tm6000_free_urb_buffers()
582 dev->urb_size = sb_size; in tm6000_prepare_isoc()
Dtm6000.h261 unsigned int urb_size; member
/linux-6.1.9/drivers/usb/misc/
Dftdi-elan.c1622 u16 urb_size; in ftdi_elan_edset_output() local
1643 urb_size = command->follows; in ftdi_elan_edset_output()
1645 while (urb_size-- > 0) { in ftdi_elan_edset_output()
/linux-6.1.9/drivers/usb/host/
Du132-hcd.c2332 u16 urb_size = 8; in u132_urb_enqueue() local
2340 while (urb_size-- > 0) { in u132_urb_enqueue()