Home
last modified time | relevance | path

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

/drivers/gpu/drm/sun4i/
Dsun4i_layer.c25 uint32_t nformats; member
86 .nformats = ARRAY_SIZE(sun4i_backend_layer_formats_primary),
92 .nformats = ARRAY_SIZE(sun4i_backend_layer_formats_overlay),
110 plane->formats, plane->nformats, in sun4i_layer_init_one()
Dsun8i_layer.c26 uint32_t nformats; member
74 .nformats = ARRAY_SIZE(sun8i_mixer_layer_formats),
92 plane->formats, plane->nformats, in sun8i_layer_init_one()
/drivers/gpu/drm/omapdrm/
Domap_plane.c269 u32 nformats; in omap_plane_init() local
284 for (nformats = 0; formats[nformats]; ++nformats) in omap_plane_init()
293 nformats, NULL, type, NULL); in omap_plane_init()
/drivers/media/platform/qcom/camss-8x16/
Dcamss-video.c129 unsigned int nformats) in video_find_format() argument
133 for (i = 0; i < nformats; i++) { in video_find_format()
139 for (i = 0; i < nformats; i++) in video_find_format()
221 video->formats, video->nformats); in video_get_subdev_format()
455 if (f->index >= video->nformats) in video_enum_fmt()
460 for (i = 0; i < video->nformats; i++) { in video_enum_fmt()
514 for (j = 0; j < video->nformats; j++) in __video_try_fmt()
518 if (j == video->nformats) in __video_try_fmt()
803 video->nformats = ARRAY_SIZE(formats_rdi); in msm_video_register()
806 video->nformats = ARRAY_SIZE(formats_pix); in msm_video_register()
Dcamss-video.h60 unsigned int nformats; member
/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c283 int ret, nformats; in virtio_gpu_plane_init() local
291 nformats = ARRAY_SIZE(virtio_gpu_cursor_formats); in virtio_gpu_plane_init()
295 nformats = ARRAY_SIZE(virtio_gpu_formats); in virtio_gpu_plane_init()
300 formats, nformats, in virtio_gpu_plane_init()
/drivers/gpu/drm/rockchip/
Drockchip_vop_reg.c76 .nformats = ARRAY_SIZE(formats_win_full),
91 .nformats = ARRAY_SIZE(formats_win_lite),
187 .nformats = ARRAY_SIZE(formats_win_full),
205 .nformats = ARRAY_SIZE(formats_win_lite),
313 .nformats = ARRAY_SIZE(formats_win_lite),
Drockchip_drm_vop.h128 uint32_t nformats; member
Drockchip_drm_vop.c1254 win_data->phy->nformats, in vop_create_crtc()
1293 win_data->phy->nformats, in vop_create_crtc()
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_plane.c30 uint32_t nformats; member
397 mdp4_plane->nformats = mdp_get_formats(mdp4_plane->formats, in mdp4_plane_init()
403 mdp4_plane->formats, mdp4_plane->nformats, in mdp4_plane_init()
/drivers/media/usb/uvc/
Duvc_driver.c653 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local
779 nformats++; in uvc_parse_streaming()
786 nformats++; in uvc_parse_streaming()
817 if (nformats == 0) { in uvc_parse_streaming()
824 size = nformats * sizeof *format + nframes * sizeof *frame in uvc_parse_streaming()
832 frame = (struct uvc_frame *)&format[nformats]; in uvc_parse_streaming()
836 streaming->nformats = nformats; in uvc_parse_streaming()
Duvc_v4l2.c180 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
186 if (i == stream->nformats) { in uvc_v4l2_try_format()
586 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt()
1156 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes()
1185 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_frameintervals()
Duvc_video.c96 for (i = 0; i < stream->nformats; ++i) { in uvc_fixup_video_ctrl()
1791 if (stream->nformats == 0) { in uvc_video_init()
1825 for (i = stream->nformats; i > 0; --i) { in uvc_video_init()
Duvcvideo.h491 unsigned int nformats; member
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c25 uint32_t nformats; member
1133 mdp5_plane->nformats = mdp_get_formats(mdp5_plane->formats, in mdp5_plane_init()
1139 mdp5_plane->formats, mdp5_plane->nformats, in mdp5_plane_init()
1144 mdp5_plane->formats, mdp5_plane->nformats, in mdp5_plane_init()
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c100 .nformats = ARRAY_SIZE(rgb_formats),
127 .nformats = ARRAY_SIZE(rgb_and_yuv_formats),
1089 desc->formats->nformats, in atmel_hlcdc_plane_create()
Datmel_hlcdc_dc.h244 int nformats; member
/drivers/media/i2c/
Dadv7604.c130 unsigned int nformats; member
749 for (i = 0; i < state->info->nformats; ++i) { in adv76xx_format_info()
1823 if (code->index >= state->info->nformats) in adv76xx_enum_mbus_code()
2941 .nformats = ARRAY_SIZE(adv7604_formats),
2987 .nformats = ARRAY_SIZE(adv7611_formats),
3028 .nformats = ARRAY_SIZE(adv7612_formats),