Home
last modified time | relevance | path

Searched refs:nformats (Results 1 – 24 of 24) 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 = ARRAY_SIZE(formats_rk3576_esmart),
[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.c2295 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/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.h82 unsigned int nformats; member
H A Dstf-capture.c259 cap->video.nformats = ARRAY_SIZE(stf_wr_fmts); in stf_capture_init()
263 cap->video.nformats = ARRAY_SIZE(stf_isp_fmts); in stf_capture_init()
H A Dstf-isp.h414 unsigned int nformats; member
/linux/drivers/media/usb/uvc/
H A Duvc_v4l2.c265 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
271 if (i == stream->nformats) { in uvc_v4l2_try_format()
347 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
354 if (i == stream->nformats) in uvc_v4l2_try_format()
627 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt()
939 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes()
980 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()
2183 if (stream->nformats == 0) { in uvc_video_init()
2237 for (i = stream->nformats; i > 0; --i) { in uvc_video_init()
/linux/drivers/staging/media/tegra-video/
H A Dvi.h81 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/sysfb/
H A Ddrm_sysfb_helper.h53 size_t nformats,
/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()