| /linux-6.15/drivers/media/platform/qcom/camss/ |
| H A D | camss-format.c | 23 u8 camss_format_get_bpp(const struct camss_format_info *formats, unsigned int nformats, u32 code) in camss_format_get_bpp() argument 27 for (i = 0; i < nformats; i++) in camss_format_get_bpp() 75 unsigned int nformats) in camss_format_find_format() argument 79 for (i = 0; i < nformats; i++) { in camss_format_find_format() 85 for (i = 0; i < nformats; i++) { in camss_format_find_format()
|
| H A D | camss-format.h | 53 unsigned int nformats; member 57 u8 camss_format_get_bpp(const struct camss_format_info *formats, unsigned int nformats, u32 code); 60 unsigned int nformats);
|
| H A D | camss-csiphy.c | 97 .nformats = ARRAY_SIZE(formats_8x16), 102 .nformats = ARRAY_SIZE(formats_8x96), 107 .nformats = ARRAY_SIZE(formats_sdm845), 112 .nformats = ARRAY_SIZE(formats_sdm845), 125 unsigned int nformats, u32 code) in csiphy_get_bpp() argument 129 for (i = 0; i < nformats; i++) in csiphy_get_bpp() 149 u8 bpp = csiphy_get_bpp(csiphy->res->formats->formats, csiphy->res->formats->nformats, in csiphy_set_clock_rates() 275 u8 bpp = csiphy_get_bpp(csiphy->res->formats->formats, csiphy->res->formats->nformats, in csiphy_stream_on() 381 for (i = 0; i < csiphy->res->formats->nformats; i++) in csiphy_try_format() 386 if (i >= csiphy->res->formats->nformats) in csiphy_try_format() [all …]
|
| H A D | camss-csid.c | 484 .nformats = ARRAY_SIZE(formats_4_1), 489 .nformats = ARRAY_SIZE(formats_4_7), 494 .nformats = ARRAY_SIZE(formats_gen2), 519 unsigned int nformats, in csid_get_fmt_entry() argument 524 for (i = 0; i < nformats; i++) in csid_get_fmt_entry() 827 for (i = 0; i < csid->res->formats->nformats; i++) in csid_try_format() 832 if (i >= csid->res->formats->nformats) in csid_try_format() 857 for (i = 0; i < csid->res->formats->nformats; i++) in csid_try_format() 862 if (i >= csid->res->formats->nformats) in csid_try_format() 890 if (code->index >= csid->res->formats->nformats) in csid_enum_mbus_code() [all …]
|
| H A D | camss-vfe.c | 256 .nformats = ARRAY_SIZE(formats_rdi_8x16), 276 .nformats = ARRAY_SIZE(formats_rdi_845), 282 .nformats = ARRAY_SIZE(formats_rdi_845), 952 l->nformats, in vfe_set_clock_rates() 1033 l->nformats, in vfe_check_clock_rates() 1320 for (i = 0; i < line->nformats; i++) in vfe_try_format() 1325 if (i >= line->nformats) in vfe_try_format() 1457 if (code->index >= line->nformats) in vfe_enum_mbus_code() 1887 l->nformats = res->vfe.formats_pix->nformats; in msm_vfe_subdev_init() 1890 l->nformats = res->vfe.formats_rdi->nformats; in msm_vfe_subdev_init() [all …]
|
| H A D | camss-csid.h | 56 unsigned int nformats; member 195 unsigned int nformats,
|
| H A D | camss-video.c | 104 video->formats, video->nformats); in video_get_subdev_format() 342 if (f->index >= video->nformats) in video_enum_fmt() 358 for (i = 0; i < video->nformats; i++) { in video_enum_fmt() 400 for (i = 0; i < video->nformats; i++) { in video_enum_framesizes() 405 if (i == video->nformats) in video_enum_framesizes() 452 for (j = 0; j < video->nformats; j++) in __video_try_fmt() 456 if (j == video->nformats) in __video_try_fmt()
|
| H A D | camss-csid-4-1.c | 65 csid->res->formats->nformats, in csid_configure_stream() 93 csid->res->formats->nformats, in csid_configure_stream()
|
| H A D | camss-csid-4-7.c | 66 csid->res->formats->nformats, in csid_configure_stream() 94 csid->res->formats->nformats, in csid_configure_stream()
|
| H A D | camss-video.h | 50 unsigned int nformats; member
|
| H A D | camss-ispif.h | 47 unsigned int nformats; member
|
| H A D | camss-csiphy.h | 57 unsigned int nformats; member
|
| H A D | camss-csid-gen2.c | 211 csid->res->formats->nformats, in __csid_configure_testgen() 261 csid->res->formats->nformats, in __csid_configure_rdi_stream()
|
| /linux-6.15/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_vop_reg.c | 118 .nformats = ARRAY_SIZE(formats_win_full), 138 .nformats = ARRAY_SIZE(formats_win_lite), 209 .nformats = ARRAY_SIZE(formats_win_lite), 306 .nformats = ARRAY_SIZE(formats_win_full), 326 .nformats = ARRAY_SIZE(formats_win_lite), 343 .nformats = ARRAY_SIZE(formats_win_lite), 406 .nformats = ARRAY_SIZE(formats_win_full), 425 .nformats = ARRAY_SIZE(formats_win_full), 444 .nformats = ARRAY_SIZE(formats_win_lite), 532 .nformats = ARRAY_SIZE(formats_win_full), [all …]
|
| H A D | rockchip_vop2_reg.c | 602 .nformats = ARRAY_SIZE(formats_smart), 616 .nformats = ARRAY_SIZE(formats_smart), 659 .nformats = ARRAY_SIZE(formats_cluster), 675 .nformats = ARRAY_SIZE(formats_cluster), 1127 .nformats = ARRAY_SIZE(formats_cluster), 1146 .nformats = ARRAY_SIZE(formats_cluster), 1165 .nformats = ARRAY_SIZE(formats_cluster), 1202 .nformats = ARRAY_SIZE(formats_esmart), 1219 .nformats = ARRAY_SIZE(formats_esmart), 1237 .nformats = ARRAY_SIZE(formats_esmart), [all …]
|
| /linux-6.15/drivers/gpu/drm/pl111/ |
| H A D | pl111_versatile.c | 319 .nformats = ARRAY_SIZE(pl110_integrator_pixel_formats), 333 .nformats = ARRAY_SIZE(pl110_integrator_pixel_formats), 346 .nformats = ARRAY_SIZE(pl110_versatile_pixel_formats), 358 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats), 370 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats),
|
| H A D | pl111_drv.c | 357 .nformats = ARRAY_SIZE(pl110_pixel_formats), 382 .nformats = ARRAY_SIZE(pl111_pixel_formats), 408 .nformats = ARRAY_SIZE(pl110_nomadik_pixel_formats),
|
| H A D | pl111_drm.h | 128 unsigned int nformats; member
|
| /linux-6.15/drivers/staging/media/starfive/camss/ |
| H A D | stf-video.c | 32 if (index >= video->nformats) in video_g_fi_by_index() 43 for (i = 0; i < video->nformats; i++) { in video_g_fi_by_mcode() 56 for (i = 0; i < video->nformats; i++) { in video_g_fi_by_pfmt() 349 if (f->index >= video->nformats) in video_enum_fmt() 379 for (i = 0; i < video->nformats; i++) { in video_enum_framesizes() 384 if (i == video->nformats) in video_enum_framesizes()
|
| H A D | stf-video.h | 82 unsigned int nformats; member
|
| /linux-6.15/drivers/gpu/drm/msm/disp/mdp4/ |
| H A D | mdp4_plane.c | 409 size_t nformats; in mdp4_plane_init() local 416 nformats = ARRAY_SIZE(mdp4_rgb_yuv_formats); in mdp4_plane_init() 419 nformats = ARRAY_SIZE(mdp4_rgb_formats); in mdp4_plane_init() 424 formats, nformats, in mdp4_plane_init()
|
| /linux-6.15/drivers/gpu/drm/omapdrm/ |
| H 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.15/drivers/gpu/drm/virtio/ |
| H A D | virtgpu_plane.c | 575 int nformats; in virtio_gpu_plane_init() local 579 nformats = ARRAY_SIZE(virtio_gpu_cursor_formats); in virtio_gpu_plane_init() 583 nformats = ARRAY_SIZE(virtio_gpu_formats); in virtio_gpu_plane_init() 589 formats, nformats, NULL, type, NULL); in virtio_gpu_plane_init()
|
| /linux-6.15/drivers/media/usb/uvc/ |
| H A D | uvc_v4l2.c | 246 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format() 252 if (i == stream->nformats) { in uvc_v4l2_try_format() 330 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format() 337 if (i == stream->nformats) in uvc_v4l2_try_format() 724 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt() 1154 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes() 1195 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_frameintervals()
|
| /linux-6.15/drivers/staging/media/tegra-video/ |
| H A D | vi.h | 81 const unsigned int nformats; member
|