Home
last modified time | relevance | path

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

123

/linux-5.19.10/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,
462 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_fmt_sdr_cap()
478 dev->sdr_buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
479 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
484 dev->sdr_buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
486 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
496 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_try_fmt_sdr_cap()
501 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_try_fmt_sdr_cap()
/linux-5.19.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 …]
/linux-5.19.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()
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-5.19.10/drivers/media/usb/airspy/
Dairspy.c75 u32 buffersize; member
82 .buffersize = BULK_BUFFER_SIZE,
132 u32 buffersize; member
492 sizes[0] = PAGE_ALIGN(s->buffersize); in airspy_queue_setup()
637 f->fmt.sdr.buffersize = s->buffersize; in airspy_g_fmt_sdr_cap()
655 s->buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
656 f->fmt.sdr.buffersize = formats[i].buffersize; in airspy_s_fmt_sdr_cap()
662 s->buffersize = formats[0].buffersize; in airspy_s_fmt_sdr_cap()
664 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 …]
/linux-5.19.10/drivers/media/platform/renesas/
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 …]
/linux-5.19.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
449 sizes[0] = PAGE_ALIGN(dev->buffersize); in rtl2832_sdr_queue_setup()
1134 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 …]
/linux-5.19.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()
935 dev->buffersize = formats[i].buffersize; in hackrf_s_fmt_sdr()
936 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_s_fmt_sdr()
942 dev->buffersize = formats[0].buffersize; in hackrf_s_fmt_sdr()
944 f->fmt.sdr.buffersize = formats[0].buffersize; in hackrf_s_fmt_sdr()
958 f->fmt.sdr.buffersize = dev->buffersize; in hackrf_g_fmt_sdr()
974 f->fmt.sdr.buffersize = formats[i].buffersize; in hackrf_try_fmt_sdr()
[all …]
/linux-5.19.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_, \
154 unsigned int buffersize; /* per URB */ member
/linux-5.19.10/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.c963 .buffersize = 512,
1011 .buffersize = 0x4000,
1074 .buffersize = 512,
1098 .buffersize = 512,
1140 .buffersize = 512,
1251 .buffersize = 512,
Ddw2102.c1977 .buffersize = 4096,
2032 .buffersize = 4096,
2084 .buffersize = 4096,
2131 .buffersize = 4096,
2178 .buffersize = 4096,
2225 .buffersize = 4096,
2280 .buffersize = 4096,
2329 .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.c115 .buffersize = 4096,
/linux-5.19.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-pcu16be.rst19 equalling half of the buffer size (i.e.) offset = buffersize/2. Out of
/linux-5.19.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()
/linux-5.19.10/sound/soc/amd/acp/
Dacp-platform.c219 u32 pos, buffersize; in acp_dma_pointer() local
222 buffersize = frames_to_bytes(substream->runtime, in acp_dma_pointer()
230 pos = do_div(bytescount, buffersize); in acp_dma_pointer()
/linux-5.19.10/sound/soc/amd/yc/
Dacp6x-pdm-dma.c245 u32 pos, buffersize; in acp6x_pdm_dma_pointer() local
249 buffersize = frames_to_bytes(stream->runtime, in acp6x_pdm_dma_pointer()
254 pos = do_div(bytescount, buffersize); in acp6x_pdm_dma_pointer()
/linux-5.19.10/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c271 u32 pos, buffersize; in acp_pdm_dma_pointer() local
275 buffersize = frames_to_bytes(stream->runtime, in acp_pdm_dma_pointer()
280 pos = do_div(bytescount, buffersize); in acp_pdm_dma_pointer()
/linux-5.19.10/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-5.19.10/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.h71 unsigned int buffersize; /* buffer size with padding */ member
/linux-5.19.10/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()

123