Home
last modified time | relevance | path

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

1234

/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-sdr-cap.c29 u32 buffersize; member
36 .buffersize = SDR_CAP_SAMPLES_PER_BUF * 2,
39 .buffersize = SDR_CAP_SAMPLES_PER_BUF * 2,
467 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_fmt_sdr_cap()
483 dev->sdr_buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
484 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
489 dev->sdr_buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
491 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
501 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_try_fmt_sdr_cap()
506 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_try_fmt_sdr_cap()
/linux-6.12.1/drivers/s390/block/
Ddasd_eer.c82 int buffersize; member
101 return eerb->buffersize - eerb->head + eerb->tail -1; in dasd_eer_get_free_bytes()
113 return eerb->buffersize - eerb->tail + eerb->head; in dasd_eer_get_filled_bytes()
140 if (eerb->head == eerb->buffersize) in dasd_eer_write_buffer()
142 BUG_ON(eerb->head > eerb->buffersize); in dasd_eer_write_buffer()
167 if (eerb->tail == eerb->buffersize) in dasd_eer_read_buffer()
169 BUG_ON(eerb->tail > eerb->buffersize); in dasd_eer_read_buffer()
185 if (count + sizeof(count) > eerb->buffersize) in dasd_eer_start_record()
190 if (eerb->tail >= eerb->buffersize) in dasd_eer_start_record()
191 eerb->tail -= eerb->buffersize; in dasd_eer_start_record()
[all …]
/linux-6.12.1/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()
935 dev->buffersize = formats[i].buffersize; in msi2500_s_fmt_sdr_cap()
936 f->fmt.sdr.buffersize = formats[i].buffersize; in msi2500_s_fmt_sdr_cap()
[all …]
/linux-6.12.1/drivers/media/usb/airspy/
Dairspy.c75 u32 buffersize; member
82 .buffersize = BULK_BUFFER_SIZE,
132 u32 buffersize; member
493 sizes[0] = PAGE_ALIGN(s->buffersize); in airspy_queue_setup()
638 f->fmt.sdr.buffersize = s->buffersize; in airspy_g_fmt_sdr_cap()
656 s->buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
657 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
663 s->buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap()
665 f->fmt.sdr.buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap()
677 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_try_fmt_sdr_cap()
[all …]
/linux-6.12.1/drivers/media/platform/renesas/
Drcar_drif.c143 u32 buffersize; member
153 .buffersize = RCAR_SDR_BUFFER_SIZE,
160 .buffersize = RCAR_SDR_BUFFER_SIZE,
167 .buffersize = RCAR_SDR_BUFFER_SIZE,
434 sizes[0] = PAGE_ALIGN(sdr->fmt->buffersize); in rcar_drif_queue_setup()
587 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, sdr->fmt->buffersize); in rcar_drif_dma_complete()
794 sdr->hwbuf_size = sdr->fmt->buffersize / RCAR_DRIF_MAX_CHANNEL; in rcar_drif_start_streaming()
796 sdr->hwbuf_size = sdr->fmt->buffersize; in rcar_drif_start_streaming()
915 f->fmt.sdr.buffersize = sdr->fmt->buffersize; in rcar_drif_g_fmt_sdr_cap()
940 f->fmt.sdr.buffersize = formats[i].buffersize; in rcar_drif_s_fmt_sdr_cap()
[all …]
/linux-6.12.1/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
450 sizes[0] = PAGE_ALIGN(dev->buffersize); in rtl2832_sdr_queue_setup()
1135 f->fmt.sdr.buffersize = dev->buffersize; in rtl2832_sdr_g_fmt_sdr_cap()
1157 dev->buffersize = formats[i].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1158 f->fmt.sdr.buffersize = formats[i].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1164 dev->buffersize = formats[0].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
1166 f->fmt.sdr.buffersize = formats[0].buffersize; in rtl2832_sdr_s_fmt_sdr_cap()
[all …]
/linux-6.12.1/drivers/media/usb/hackrf/
Dhackrf.c74 u32 buffersize; member
81 .buffersize = BULK_BUFFER_SIZE,
149 u32 buffersize; member
764 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()
959 f->fmt.sdr.buffersize = dev->buffersize; in hackrf_g_fmt_sdr()
975 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_try_fmt_sdr()
[all …]
/linux-6.12.1/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_, \
154 unsigned int buffersize; /* per URB */ member
/linux-6.12.1/drivers/media/usb/dvb-usb/
Ddtt200u.c214 .buffersize = 4096,
266 .buffersize = 4096,
318 .buffersize = 4096,
370 .buffersize = 4096,
Ddibusb-mb.c225 .buffersize = 4096,
315 .buffersize = 4096,
384 .buffersize = 4096,
446 .buffersize = 4096,
Dcxusb.c482 const int junk_len = p->u.bulk.buffersize; in cxusb_d680_dmb_drain_video()
1745 .buffersize = 8192,
1797 .buffersize = 8192,
1856 .buffersize = 8192,
1924 .buffersize = 8192,
1983 .buffersize = 8192,
2035 .buffersize = 8192,
2089 .buffersize = 8192,
2146 .buffersize = 8192,
2200 .buffersize = 8192,
[all …]
Dm920x.c964 .buffersize = 512,
1012 .buffersize = 0x4000,
1075 .buffersize = 512,
1099 .buffersize = 512,
1141 .buffersize = 512,
1252 .buffersize = 512,
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()
Ddw2102.c2020 .buffersize = 4096,
2075 .buffersize = 4096,
2127 .buffersize = 4096,
2174 .buffersize = 4096,
2221 .buffersize = 4096,
2268 .buffersize = 4096,
2323 .buffersize = 4096,
2372 .buffersize = 4096,
2453 .buffersize = 4096,
2506 .buffersize = 4096,
[all …]
/linux-6.12.1/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``
/linux-6.12.1/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()
/linux-6.12.1/sound/soc/amd/acp/
Dacp-platform.c341 u32 pos, buffersize; in acp_dma_pointer() local
344 buffersize = frames_to_bytes(substream->runtime, in acp_dma_pointer()
352 pos = do_div(bytescount, buffersize); in acp_dma_pointer()
/linux-6.12.1/sound/soc/amd/yc/
Dacp6x-pdm-dma.c251 u32 pos, buffersize; in acp6x_pdm_dma_pointer() local
255 buffersize = frames_to_bytes(stream->runtime, in acp6x_pdm_dma_pointer()
260 pos = do_div(bytescount, buffersize); in acp6x_pdm_dma_pointer()
/linux-6.12.1/sound/soc/amd/ps/
Dps-pdm-dma.c254 u32 pos, buffersize; in acp63_pdm_dma_pointer() local
258 buffersize = frames_to_bytes(stream->runtime, in acp63_pdm_dma_pointer()
263 pos = do_div(bytescount, buffersize); in acp63_pdm_dma_pointer()
/linux-6.12.1/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()
/linux-6.12.1/drivers/staging/media/sunxi/sun6i-isp/
Dsun6i_isp_params.c299 unsigned int size = isp_dev->params.format.fmt.meta.buffersize; in sun6i_isp_params_queue_setup()
315 unsigned int size = isp_dev->params.format.fmt.meta.buffersize; in sun6i_isp_params_buffer_prepare()
508 params_format->buffersize = sizeof(struct sun6i_isp_params_config); in sun6i_isp_params_setup()
/linux-6.12.1/sound/soc/amd/raven/
Dacp3x-pcm-dma.c300 u32 buffersize; in acp3x_dma_pointer() local
305 buffersize = frames_to_bytes(substream->runtime, in acp3x_dma_pointer()
310 pos = do_div(bytescount, buffersize); in acp3x_dma_pointer()
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-stats.c46 meta->buffersize = stats->vdev_fmt.fmt.meta.buffersize; in rkisp1_stats_g_fmt_meta_cap()
404 stats->vdev_fmt.fmt.meta.buffersize = in rkisp1_init_stats()
/linux-6.12.1/sound/soc/amd/vangogh/
Dacp5x-pcm-dma.c295 u32 buffersize; in acp5x_dma_pointer() local
299 buffersize = frames_to_bytes(substream->runtime, in acp5x_dma_pointer()
304 pos = do_div(bytescount, buffersize); in acp5x_dma_pointer()

1234