Home
last modified time | relevance | path

Searched refs:nformats (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-video.c220 unsigned int nformats) in video_find_format() argument
224 for (i = 0; i < nformats; i++) { in video_find_format()
230 for (i = 0; i < nformats; i++) in video_find_format()
312 video->formats, video->nformats); in video_get_subdev_format()
551 for (i = 0; i < video->nformats; i++) { in video_get_unique_pixelformat_by_index()
578 for (i = 0; i < video->nformats; i++) { in video_get_pixelformat_by_mbus_code()
594 if (f->index >= video->nformats) in video_enum_fmt()
625 for (i = 0; i < video->nformats; i++) { in video_enum_framesizes()
630 if (i == video->nformats) in video_enum_framesizes()
677 for (j = 0; j < video->nformats; j++) in __video_try_fmt()
[all …]
Dcamss-csiphy.c85 unsigned int nformats, u32 code) in csiphy_get_bpp() argument
89 for (i = 0; i < nformats; i++) in csiphy_get_bpp()
120 csiphy->nformats, in csiphy_set_clock_rates()
245 u8 bpp = csiphy_get_bpp(csiphy->formats, csiphy->nformats, in csiphy_stream_on()
351 for (i = 0; i < csiphy->nformats; i++) in csiphy_try_format()
356 if (i >= csiphy->nformats) in csiphy_try_format()
392 if (code->index >= csiphy->nformats) in csiphy_enum_mbus_code()
556 csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x16); in msm_csiphy_subdev_init()
560 csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x96); in msm_csiphy_subdev_init()
Dcamss-csid.c481 csid->nformats, in csid_set_clock_rates()
651 csid->formats, csid->nformats, f->code); in csid_set_stream()
686 csid->formats, csid->nformats, f->code); in csid_set_stream()
795 for (i = 0; i < csid->nformats; i++) in csid_try_format()
800 if (i >= csid->nformats) in csid_try_format()
824 for (i = 0; i < csid->nformats; i++) in csid_try_format()
829 if (i >= csid->nformats) in csid_try_format()
857 if (code->index >= csid->nformats) in csid_enum_mbus_code()
874 if (code->index >= csid->nformats) in csid_enum_mbus_code()
1099 csid->nformats = in msm_csid_subdev_init()
[all …]
Dcamss-video.h52 unsigned int nformats; member
Dcamss-ispif.h47 unsigned int nformats; member
Dcamss-csid.h62 unsigned int nformats; member
Dcamss-csiphy.h75 unsigned int nformats; member
Dcamss-vfe.c122 unsigned int nformats, u32 code) in vfe_get_bpp() argument
126 for (i = 0; i < nformats; i++) in vfe_get_bpp()
1143 l->nformats, in vfe_set_clock_rates()
1225 l->nformats, in vfe_check_clock_rates()
1540 for (i = 0; i < line->nformats; i++) in vfe_try_format()
1545 if (i >= line->nformats) in vfe_try_format()
1676 if (code->index >= line->nformats) in vfe_enum_mbus_code()
2093 l->nformats = ARRAY_SIZE(formats_pix_8x16); in msm_vfe_subdev_init()
2096 l->nformats = ARRAY_SIZE(formats_rdi_8x16); in msm_vfe_subdev_init()
2101 l->nformats = ARRAY_SIZE(formats_pix_8x96); in msm_vfe_subdev_init()
[all …]
Dcamss-ispif.c877 for (i = 0; i < line->nformats; i++) in ispif_try_format()
882 if (i >= line->nformats) in ispif_try_format()
920 if (code->index >= line->nformats) in ispif_enum_mbus_code()
1093 ispif->line[i].nformats = in msm_ispif_subdev_init()
1097 ispif->line[i].nformats = in msm_ispif_subdev_init()
Dcamss-vfe.h75 unsigned int nformats; member
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_plane.c187 int ret, nformats; in vkms_plane_init() local
195 nformats = ARRAY_SIZE(vkms_cursor_formats); in vkms_plane_init()
199 nformats = ARRAY_SIZE(vkms_formats); in vkms_plane_init()
205 formats, nformats, in vkms_plane_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_plane.c260 u32 nformats; in omap_plane_init() local
275 for (nformats = 0; formats[nformats]; ++nformats) in omap_plane_init()
284 nformats, NULL, type, NULL); in omap_plane_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_vop_reg.c90 .nformats = ARRAY_SIZE(formats_win_full),
106 .nformats = ARRAY_SIZE(formats_win_lite),
173 .nformats = ARRAY_SIZE(formats_win_lite),
255 .nformats = ARRAY_SIZE(formats_win_full),
274 .nformats = ARRAY_SIZE(formats_win_lite),
290 .nformats = ARRAY_SIZE(formats_win_lite),
349 .nformats = ARRAY_SIZE(formats_win_full),
365 .nformats = ARRAY_SIZE(formats_win_full),
381 .nformats = ARRAY_SIZE(formats_win_lite),
464 .nformats = ARRAY_SIZE(formats_win_full),
[all …]
Drockchip_drm_vop.h162 uint32_t nformats; member
/kernel/linux/linux-5.10/drivers/gpu/drm/pl111/
Dpl111_versatile.c316 .nformats = ARRAY_SIZE(pl110_integrator_pixel_formats),
330 .nformats = ARRAY_SIZE(pl110_integrator_pixel_formats),
343 .nformats = ARRAY_SIZE(pl110_versatile_pixel_formats),
355 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats),
367 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats),
Dpl111_drv.c358 .nformats = ARRAY_SIZE(pl110_pixel_formats),
383 .nformats = ARRAY_SIZE(pl111_pixel_formats),
409 .nformats = ARRAY_SIZE(pl110_nomadik_pixel_formats),
Dpl111_drm.h128 unsigned int nformats; member
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c325 int ret, nformats; in virtio_gpu_plane_init() local
333 nformats = ARRAY_SIZE(virtio_gpu_cursor_formats); in virtio_gpu_plane_init()
337 nformats = ARRAY_SIZE(virtio_gpu_formats); in virtio_gpu_plane_init()
342 formats, nformats, in virtio_gpu_plane_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c22 uint32_t nformats; member
377 mdp4_plane->nformats = mdp_get_formats(mdp4_plane->formats, in mdp4_plane_init()
383 mdp4_plane->formats, mdp4_plane->nformats, in mdp4_plane_init()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
Dvi.h66 const unsigned int nformats; member
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_v4l2.c175 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
181 if (i == stream->nformats) { in uvc_v4l2_try_format()
255 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
262 if (i == stream->nformats) in uvc_v4l2_try_format()
640 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt()
1226 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes()
1267 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_frameintervals()
Duvc_driver.c785 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local
906 nformats++; in uvc_parse_streaming()
913 nformats++; in uvc_parse_streaming()
944 if (nformats == 0) { in uvc_parse_streaming()
951 size = nformats * sizeof(*format) + nframes * sizeof(*frame) in uvc_parse_streaming()
959 frame = (struct uvc_frame *)&format[nformats]; in uvc_parse_streaming()
963 streaming->nformats = nformats; in uvc_parse_streaming()
/kernel/linux/linux-5.10/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c96 .nformats = ARRAY_SIZE(rgb_formats),
123 .nformats = ARRAY_SIZE(rgb_and_yuv_formats),
971 desc->formats->nformats, in atmel_hlcdc_plane_create()
Datmel_hlcdc_dc.h221 int nformats; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c17 uint32_t nformats; member
1096 mdp5_plane->nformats = mdp_get_formats(mdp5_plane->formats, in mdp5_plane_init()
1100 mdp5_plane->formats, mdp5_plane->nformats, in mdp5_plane_init()

12