/linux-6.3-rc2/drivers/gpu/drm/rockchip/ |
A D | rockchip_vop2_reg.c | 148 .nformats = ARRAY_SIZE(formats_win_lite), 160 .nformats = ARRAY_SIZE(formats_win_lite), 173 .nformats = ARRAY_SIZE(formats_win_full_10bit_yuyv), 186 .nformats = ARRAY_SIZE(formats_win_full_10bit_yuyv), 200 .nformats = ARRAY_SIZE(formats_win_full_10bit), 215 .nformats = ARRAY_SIZE(formats_win_full_10bit),
|
A D | rockchip_vop_reg.c | 98 .nformats = ARRAY_SIZE(formats_win_full), 118 .nformats = ARRAY_SIZE(formats_win_lite), 188 .nformats = ARRAY_SIZE(formats_win_lite), 273 .nformats = ARRAY_SIZE(formats_win_full), 293 .nformats = ARRAY_SIZE(formats_win_lite), 310 .nformats = ARRAY_SIZE(formats_win_lite), 371 .nformats = ARRAY_SIZE(formats_win_full), 390 .nformats = ARRAY_SIZE(formats_win_full), 409 .nformats = ARRAY_SIZE(formats_win_lite), 494 .nformats = ARRAY_SIZE(formats_win_full), [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/vkms/ |
A D | vkms_plane.c | 210 int nformats; in vkms_plane_init() local 215 nformats = ARRAY_SIZE(vkms_formats); in vkms_plane_init() 221 nformats = ARRAY_SIZE(vkms_plane_formats); in vkms_plane_init() 226 nformats = ARRAY_SIZE(vkms_formats); in vkms_plane_init() 233 formats, nformats, in vkms_plane_init()
|
/linux-6.3-rc2/drivers/media/platform/qcom/camss/ |
A D | camss-video.c | 271 unsigned int nformats) in video_find_format() argument 275 for (i = 0; i < nformats; i++) { in video_find_format() 281 for (i = 0; i < nformats; i++) in video_find_format() 363 video->formats, video->nformats); in video_get_subdev_format() 595 if (f->index >= video->nformats) in video_enum_fmt() 611 for (i = 0; i < video->nformats; i++) { in video_enum_fmt() 653 for (i = 0; i < video->nformats; i++) { in video_enum_framesizes() 658 if (i == video->nformats) in video_enum_framesizes() 705 for (j = 0; j < video->nformats; j++) in __video_try_fmt() 709 if (j == video->nformats) in __video_try_fmt() [all …]
|
A D | camss-csiphy.c | 110 unsigned int nformats, u32 code) in csiphy_get_bpp() argument 114 for (i = 0; i < nformats; i++) in csiphy_get_bpp() 134 u8 bpp = csiphy_get_bpp(csiphy->formats, csiphy->nformats, in csiphy_set_clock_rates() 247 u8 bpp = csiphy_get_bpp(csiphy->formats, csiphy->nformats, in csiphy_stream_on() 354 for (i = 0; i < csiphy->nformats; i++) in csiphy_try_format() 359 if (i >= csiphy->nformats) in csiphy_try_format() 396 if (code->index >= csiphy->nformats) in csiphy_enum_mbus_code() 563 csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x16); in msm_csiphy_subdev_init() 568 csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x96); in msm_csiphy_subdev_init() 573 csiphy->nformats = ARRAY_SIZE(csiphy_formats_sdm845); in msm_csiphy_subdev_init()
|
A D | camss-csid.c | 69 unsigned int nformats, in csid_get_fmt_entry() argument 74 for (i = 0; i < nformats; i++) in csid_get_fmt_entry() 95 fmt = csid_get_fmt_entry(csid->formats, csid->nformats, in csid_set_clock_rates() 299 for (i = 0; i < csid->nformats; i++) in csid_try_format() 304 if (i >= csid->nformats) in csid_try_format() 328 for (i = 0; i < csid->nformats; i++) in csid_try_format() 333 if (i >= csid->nformats) in csid_try_format() 361 if (code->index >= csid->nformats) in csid_enum_mbus_code() 378 if (code->index >= csid->nformats) in csid_enum_mbus_code()
|
A D | camss-csid-4-1.c | 187 format = csid_get_fmt_entry(csid->formats, csid->nformats, in csid_configure_stream() 214 format = csid_get_fmt_entry(csid->formats, csid->nformats, in csid_configure_stream() 315 csid->nformats = ARRAY_SIZE(csid_formats); in csid_subdev_init()
|
A D | camss-csid.h | 164 unsigned int nformats; member 192 unsigned int nformats,
|
A D | camss-vfe.c | 135 unsigned int nformats, u32 code) in vfe_get_bpp() argument 139 for (i = 0; i < nformats; i++) in vfe_get_bpp() 470 l->nformats, in vfe_set_clock_rates() 552 l->nformats, in vfe_check_clock_rates() 840 for (i = 0; i < line->nformats; i++) in vfe_try_format() 845 if (i >= line->nformats) in vfe_try_format() 977 if (code->index >= line->nformats) in vfe_enum_mbus_code() 1396 l->nformats = ARRAY_SIZE(formats_pix_8x16); in msm_vfe_subdev_init() 1399 l->nformats = ARRAY_SIZE(formats_rdi_8x16); in msm_vfe_subdev_init() 1405 l->nformats = ARRAY_SIZE(formats_pix_8x96); in msm_vfe_subdev_init() [all …]
|
A D | camss-csid-4-7.c | 216 format = csid_get_fmt_entry(csid->formats, csid->nformats, in csid_configure_stream() 243 format = csid_get_fmt_entry(csid->formats, csid->nformats, in csid_configure_stream() 391 csid->nformats = ARRAY_SIZE(csid_formats); in csid_subdev_init()
|
A D | camss-video.h | 52 unsigned int nformats; member
|
A D | camss-ispif.h | 47 unsigned int nformats; member
|
A D | camss-csiphy.h | 83 unsigned int nformats; member
|
A D | camss-ispif.c | 908 for (i = 0; i < line->nformats; i++) in ispif_try_format() 913 if (i >= line->nformats) in ispif_try_format() 951 if (code->index >= line->nformats) in ispif_enum_mbus_code() 1131 ispif->line[i].nformats = in msm_ispif_subdev_init() 1136 ispif->line[i].nformats = in msm_ispif_subdev_init()
|
A D | camss-csid-gen2.c | 344 const struct csid_format *format = csid_get_fmt_entry(csid->formats, csid->nformats, in csid_configure_stream() 592 csid->nformats = ARRAY_SIZE(csid_formats); in csid_subdev_init()
|
A D | camss-vfe.h | 98 unsigned int nformats; member
|
/linux-6.3-rc2/drivers/gpu/drm/pl111/ |
A D | pl111_versatile.c | 318 .nformats = ARRAY_SIZE(pl110_integrator_pixel_formats), 332 .nformats = ARRAY_SIZE(pl110_integrator_pixel_formats), 345 .nformats = ARRAY_SIZE(pl110_versatile_pixel_formats), 357 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats), 369 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats),
|
A D | pl111_drv.c | 353 .nformats = ARRAY_SIZE(pl110_pixel_formats), 378 .nformats = ARRAY_SIZE(pl111_pixel_formats), 404 .nformats = ARRAY_SIZE(pl110_nomadik_pixel_formats),
|
A D | pl111_drm.h | 128 unsigned int nformats; member
|
/linux-6.3-rc2/drivers/gpu/drm/virtio/ |
A D | virtgpu_plane.c | 374 int nformats; in virtio_gpu_plane_init() local 378 nformats = ARRAY_SIZE(virtio_gpu_cursor_formats); in virtio_gpu_plane_init() 382 nformats = ARRAY_SIZE(virtio_gpu_formats); in virtio_gpu_plane_init() 388 formats, nformats, NULL, type, NULL); in virtio_gpu_plane_init()
|
/linux-6.3-rc2/drivers/gpu/drm/omapdrm/ |
A D | omap_plane.c | 529 u32 nformats; in omap_plane_init() local 545 for (nformats = 0; formats[nformats]; ++nformats) in omap_plane_init() 552 nformats, NULL, type, NULL); in omap_plane_init()
|
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/mdp4/ |
A D | mdp4_plane.c | 25 uint32_t nformats; member 395 mdp4_plane->nformats = mdp_get_formats(mdp4_plane->formats, in mdp4_plane_init() 401 mdp4_plane->formats, mdp4_plane->nformats, in mdp4_plane_init()
|
/linux-6.3-rc2/drivers/gpu/drm/tiny/ |
A D | simpledrm.c | 241 size_t nformats; member 639 size_t nformats; in simpledrm_device_create() local 780 nformats = drm_fb_build_fourcc_list(dev, &format->format, 1, in simpledrm_device_create() 785 sdev->formats, nformats, in simpledrm_device_create()
|
/linux-6.3-rc2/drivers/staging/media/tegra-video/ |
A D | vi.h | 71 const unsigned int nformats; member
|
/linux-6.3-rc2/drivers/media/usb/uvc/ |
A D | uvc_v4l2.c | 237 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format() 243 if (i == stream->nformats) { in uvc_v4l2_try_format() 321 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format() 328 if (i == stream->nformats) in uvc_v4l2_try_format() 704 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt() 1258 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes() 1299 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_frameintervals()
|