Home
last modified time | relevance | path

Searched refs:buffersize (Results 1 – 25 of 70) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c28 u32 buffersize; member
35 .buffersize = SDR_CAP_SAMPLES_PER_BUF * 2,
38 .buffersize = SDR_CAP_SAMPLES_PER_BUF * 2,
455 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_fmt_sdr_cap()
473 dev->sdr_buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
474 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
479 dev->sdr_buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
481 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
492 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_try_fmt_sdr_cap()
497 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_try_fmt_sdr_cap()
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_eer.c89 int buffersize; member
108 return eerb->buffersize - eerb->head + eerb->tail -1; in dasd_eer_get_free_bytes()
120 return eerb->buffersize - eerb->tail + eerb->head; in dasd_eer_get_filled_bytes()
147 if (eerb->head == eerb->buffersize) in dasd_eer_write_buffer()
149 BUG_ON(eerb->head > eerb->buffersize); in dasd_eer_write_buffer()
174 if (eerb->tail == eerb->buffersize) in dasd_eer_read_buffer()
176 BUG_ON(eerb->tail > eerb->buffersize); in dasd_eer_read_buffer()
192 if (count + sizeof(count) > eerb->buffersize) in dasd_eer_start_record()
197 if (eerb->tail >= eerb->buffersize) in dasd_eer_start_record()
198 eerb->tail -= eerb->buffersize; in dasd_eer_start_record()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/msi2500/
Dmsi2500.c70 u32 buffersize; member
77 .buffersize = 3 * 1008,
86 .buffersize = 3 * 1008,
89 .buffersize = 3 * 1008,
92 .buffersize = 3 * 1008,
126 u32 buffersize; member
610 sizes[0] = PAGE_ALIGN(dev->buffersize); in msi2500_queue_setup()
914 f->fmt.sdr.buffersize = dev->buffersize; in msi2500_g_fmt_sdr_cap()
937 dev->buffersize = formats[i].buffersize; in msi2500_s_fmt_sdr_cap()
938 f->fmt.sdr.buffersize = formats[i].buffersize; in msi2500_s_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/airspy/
Dairspy.c75 u32 buffersize; member
82 .buffersize = BULK_BUFFER_SIZE,
132 u32 buffersize; member
489 sizes[0] = PAGE_ALIGN(s->buffersize); in airspy_queue_setup()
634 f->fmt.sdr.buffersize = s->buffersize; in airspy_g_fmt_sdr_cap()
654 s->buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
655 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
661 s->buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap()
663 f->fmt.sdr.buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap()
676 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_try_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/
Drcar_drif.c147 u32 buffersize; member
157 .buffersize = RCAR_SDR_BUFFER_SIZE,
164 .buffersize = RCAR_SDR_BUFFER_SIZE,
171 .buffersize = RCAR_SDR_BUFFER_SIZE,
437 sizes[0] = PAGE_ALIGN(sdr->fmt->buffersize); in rcar_drif_queue_setup()
590 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, sdr->fmt->buffersize); in rcar_drif_dma_complete()
797 sdr->hwbuf_size = sdr->fmt->buffersize / RCAR_DRIF_MAX_CHANNEL; in rcar_drif_start_streaming()
799 sdr->hwbuf_size = sdr->fmt->buffersize; in rcar_drif_start_streaming()
919 f->fmt.sdr.buffersize = sdr->fmt->buffersize; in rcar_drif_g_fmt_sdr_cap()
944 f->fmt.sdr.buffersize = formats[i].buffersize; in rcar_drif_s_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Drtl2832_sdr.c79 u32 buffersize; member
85 .buffersize = BULK_BUFFER_SIZE,
88 .buffersize = BULK_BUFFER_SIZE * 2,
138 u32 buffersize; member
446 sizes[0] = PAGE_ALIGN(dev->buffersize); in rtl2832_sdr_queue_setup()
1131 f->fmt.sdr.buffersize = dev->buffersize; in rtl2832_sdr_g_fmt_sdr_cap()
1156 dev->buffersize = formats[i].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1157 f->fmt.sdr.buffersize = formats[i].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1163 dev->buffersize = formats[0].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1165 f->fmt.sdr.buffersize = formats[0].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/hackrf/
Dhackrf.c74 u32 buffersize; member
81 .buffersize = BULK_BUFFER_SIZE,
149 u32 buffersize; member
763 sizes[0] = PAGE_ALIGN(dev->buffersize); in hackrf_queue_setup()
936 dev->buffersize = formats[i].buffersize; in hackrf_s_fmt_sdr()
937 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_s_fmt_sdr()
943 dev->buffersize = formats[0].buffersize; in hackrf_s_fmt_sdr()
945 f->fmt.sdr.buffersize = formats[0].buffersize; in hackrf_s_fmt_sdr()
960 f->fmt.sdr.buffersize = dev->buffersize; in hackrf_g_fmt_sdr()
977 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_try_fmt_sdr()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c155 stream->props.u.bulk.buffersize, in usb_urb_alloc_bulk_urbs()
260 buf_size = stream->props.u.bulk.buffersize; in usb_urb_reconfig()
281 props->u.bulk.buffersize == in usb_urb_reconfig()
282 stream->props.u.bulk.buffersize) in usb_urb_reconfig()
326 stream->props.u.bulk.buffersize); in usb_urb_initv2()
Ddvb_usb.h71 .buffersize = size_, \
152 unsigned int buffersize; /* per URB */ member
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Ddtt200u.c200 .buffersize = 4096,
252 .buffersize = 4096,
304 .buffersize = 4096,
356 .buffersize = 4096,
Ddibusb-mb.c204 .buffersize = 4096,
294 .buffersize = 4096,
363 .buffersize = 4096,
425 .buffersize = 4096,
Dcxusb.c482 const int junk_len = p->u.bulk.buffersize; in cxusb_d680_dmb_drain_video()
1787 .buffersize = 8192,
1839 .buffersize = 8192,
1898 .buffersize = 8192,
1966 .buffersize = 8192,
2025 .buffersize = 8192,
2077 .buffersize = 8192,
2131 .buffersize = 8192,
2188 .buffersize = 8192,
2242 .buffersize = 8192,
[all …]
Dm920x.c954 .buffersize = 512,
1002 .buffersize = 0x4000,
1065 .buffersize = 512,
1089 .buffersize = 512,
1131 .buffersize = 512,
1242 .buffersize = 512,
Ddw2102.c1981 .buffersize = 4096,
2036 .buffersize = 4096,
2088 .buffersize = 4096,
2135 .buffersize = 4096,
2182 .buffersize = 4096,
2229 .buffersize = 4096,
2284 .buffersize = 4096,
2333 .buffersize = 4096,
2410 .buffersize = 4096,
2463 .buffersize = 4096,
[all …]
Dusb-urb.c143 stream->props.u.bulk.buffersize)) < 0) in usb_bulk_urb_init()
158 stream->props.u.bulk.buffersize, in usb_bulk_urb_init()
Da800.c109 .buffersize = 4096,
Ddibusb-mc.c74 .buffersize = 4096,
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Ddev-sdr.rst74 there are two fields, ``pixelformat`` and ``buffersize``, of
77 The ``buffersize`` field is maximum buffer size in bytes required for
97 - ``buffersize``
Dpixfmt-sdr-pcu18be.rst19 equalling half of the buffer size (i.e.) offset = buffersize/2. Out of
Dpixfmt-sdr-pcu16be.rst19 equalling half of the buffer size (i.e.) offset = buffersize/2. Out of
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_metadata.c54 fmt->buffersize = UVC_METADATA_BUF_SIZE; in uvc_meta_v4l2_get_format()
75 fmt->buffersize = UVC_METADATA_BUF_SIZE; in uvc_meta_v4l2_try_format()
/kernel/linux/linux-5.10/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c277 u32 pos, buffersize; in acp_pdm_dma_pointer() local
281 buffersize = frames_to_bytes(stream->runtime, in acp_pdm_dma_pointer()
286 pos = do_div(bytescount, buffersize); in acp_pdm_dma_pointer()
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
Drkisp1-stats.c46 meta->buffersize = stats->vdev_fmt.fmt.meta.buffersize; in rkisp1_stats_g_fmt_meta_cap()
375 stats->vdev_fmt.fmt.meta.buffersize = in rkisp1_init_stats()
/kernel/linux/linux-5.10/sound/soc/amd/raven/
Dacp3x-pcm-dma.c302 u32 buffersize; in acp3x_dma_pointer() local
307 buffersize = frames_to_bytes(substream->runtime, in acp3x_dma_pointer()
312 pos = do_div(bytescount, buffersize); in acp3x_dma_pointer()
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.h71 unsigned int buffersize; /* buffer size with padding */ member

123