Home
last modified time | relevance | path

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

/linux/drivers/media/platform/qcom/camss/
H A Dcamss-format.c23 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 Dcamss-format.h53 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 Dcamss-video.h50 unsigned int nformats; member
H A Dcamss-ispif.h47 unsigned int nformats; member
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_vop2_reg.c603 .nformats = ARRAY_SIZE(formats_smart),
617 .nformats = ARRAY_SIZE(formats_smart),
631 .nformats = ARRAY_SIZE(formats_rk356x_esmart),
645 .nformats = ARRAY_SIZE(formats_rk356x_esmart),
660 .nformats = ARRAY_SIZE(formats_cluster),
676 .nformats = ARRAY_SIZE(formats_cluster),
860 .nformats = ARRAY_SIZE(formats_rk3576_cluster),
877 .nformats = ARRAY_SIZE(formats_rk3576_cluster),
894 .nformats = ARRAY_SIZE(formats_rk3576_esmart),
910 .nformats
[all...]
H A Drockchip_drm_vop.h184 uint32_t nformats; member
H A Drockchip_drm_vop.c1882 win_data->phy->nformats, in vop_create_crtc()
1927 win_data->phy->nformats, in vop_create_crtc()
H A Drockchip_drm_vop2.c2315 win_data->nformats, in vop2_plane_init()
/linux/drivers/gpu/drm/pl111/
H A Dpl111_drv.c358 .nformats = ARRAY_SIZE(pl110_pixel_formats),
383 .nformats = ARRAY_SIZE(pl111_pixel_formats),
409 .nformats = ARRAY_SIZE(pl110_nomadik_pixel_formats),
H A Dpl111_drm.h128 unsigned int nformats; member
/linux/drivers/gpu/drm/omapdrm/
H A Domap_plane.c530 u32 nformats; in omap_plane_init() local
546 for (nformats = 0; formats[nformats]; ++nformats) in omap_plane_init()
553 nformats, NULL, type, NULL); in omap_plane_init()
/linux/drivers/gpu/drm/sysfb/
H A Defidrm.c165 size_t nformats; in efidrm_device_create()
299 nformats = drm_sysfb_build_fourcc_list(dev, &format->format, 1, in efidrm_device_create()
304 efi->formats, nformats, in efidrm_device_create()
159 size_t nformats; efidrm_device_create() local
H A Ddrm_sysfb_helper.h41 size_t nformats,
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c584 int nformats; in virtio_gpu_plane_init() local
588 nformats = ARRAY_SIZE(virtio_gpu_cursor_formats); in virtio_gpu_plane_init()
592 nformats = ARRAY_SIZE(virtio_gpu_formats); in virtio_gpu_plane_init()
598 formats, nformats, NULL, type, NULL); in virtio_gpu_plane_init()
/linux/drivers/staging/media/starfive/camss/
H A Dstf-video.h
H A Dstf-capture.c
H A Dstf-isp.h
/linux/drivers/media/usb/uvc/
H A Duvc_v4l2.c268 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
274 if (i == stream->nformats) { in uvc_v4l2_try_format()
350 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
357 if (i == stream->nformats) in uvc_v4l2_try_format()
630 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt()
942 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes()
983 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_frameintervals()
H A Duvc_driver.c540 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local
665 nformats++; in uvc_parse_streaming()
673 nformats++; in uvc_parse_streaming()
704 if (nformats == 0) { in uvc_parse_streaming()
716 size = nformats * sizeof(*format); in uvc_parse_streaming()
727 frame = (void *)format + nformats * sizeof(*format); in uvc_parse_streaming()
733 streaming->nformats = 0; in uvc_parse_streaming()
749 streaming->nformats++; in uvc_parse_streaming()
H A Duvc_video.c194 for (i = 0; i < stream->nformats; ++i) { in uvc_fixup_video_ctrl()
2184 if (stream->nformats == 0) { in uvc_video_init()
2238 for (i = stream->nformats; i > 0; --i) { in uvc_video_init()
/linux/drivers/staging/media/tegra-video/
H A Dvi.h71 * @nformats: total video formats
81 const unsigned int nformats; member
H A Dvi.c72 for (i = offset; i < vi->soc->nformats; ++i) { in tegra_get_format_idx_by_code()
83 if (index >= vi->soc->nformats) in tegra_get_format_fourcc_by_idx()
94 for (i = 0; i < vi->soc->nformats; ++i) { in tegra_get_format_by_fourcc()
H A Dtegra210.c816 .nformats = ARRAY_SIZE(tegra210_video_formats),
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c97 .nformats = ARRAY_SIZE(rgb_formats),
124 .nformats = ARRAY_SIZE(rgb_and_yuv_formats),
1237 desc->formats->nformats, NULL, type, NULL); in atmel_hlcdc_plane_create()
/linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.c851 size_t i, nformats; in drm_atomic_helper_check_wb_connector_state() local
858 nformats = pixel_format_blob->length / sizeof(u32); in drm_atomic_helper_check_wb_connector_state()
862 for (i = 0; i < nformats; i++) in drm_atomic_helper_check_wb_connector_state()