Home
last modified time | relevance | path

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

/drivers/gpu/drm/omapdrm/
Domap_fb.c67 uint32_t nformats = 0; in omap_framebuffer_get_formats() local
70 for (i = 0; i < ARRAY_SIZE(formats) && nformats < max_formats; i++) in omap_framebuffer_get_formats()
72 pixel_formats[nformats++] = formats[i].pixel_format; in omap_framebuffer_get_formats()
74 return nformats; in omap_framebuffer_get_formats()
Domap_plane.c44 uint32_t nformats; member
355 omap_plane->nformats = omap_framebuffer_get_formats( in omap_plane_init()
369 omap_plane->nformats, type); in omap_plane_init()
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_plane.c30 uint32_t nformats; member
394 mdp4_plane->nformats = mdp_get_formats(mdp4_plane->formats, in mdp4_plane_init()
400 mdp4_plane->formats, mdp4_plane->nformats, type); in mdp4_plane_init()
/drivers/media/usb/uvc/
Duvc_v4l2.c170 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
176 if (i == stream->nformats) { in uvc_v4l2_try_format()
250 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
257 if (i == stream->nformats) in uvc_v4l2_try_format()
609 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt()
1171 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes()
1200 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_frameintervals()
Duvc_driver.c618 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local
744 nformats++; in uvc_parse_streaming()
751 nformats++; in uvc_parse_streaming()
782 if (nformats == 0) { in uvc_parse_streaming()
789 size = nformats * sizeof *format + nframes * sizeof *frame in uvc_parse_streaming()
797 frame = (struct uvc_frame *)&format[nformats]; in uvc_parse_streaming()
801 streaming->nformats = nformats; in uvc_parse_streaming()
Duvc_video.c123 for (i = 0; i < stream->nformats; ++i) { in uvc_fixup_video_ctrl()
1831 if (stream->nformats == 0) { in uvc_video_init()
1865 for (i = stream->nformats; i > 0; --i) { in uvc_video_init()
Duvcvideo.h469 unsigned int nformats; member
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c91 .nformats = ARRAY_SIZE(rgb_formats),
117 .nformats = ARRAY_SIZE(rgb_and_yuv_formats),
946 desc->formats->nformats, type); in atmel_hlcdc_plane_create()
Datmel_hlcdc_layer.h241 int nformats; member
Datmel_hlcdc_layer.c616 for (i = 0; i < desc->formats->nformats; i++) { in atmel_hlcdc_layer_init()
/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c201 uint32_t nformats; member
288 .nformats = ARRAY_SIZE(formats_01),
305 .nformats = ARRAY_SIZE(formats_234),
1480 win_data->phy->nformats, in vop_create_crtc()
1517 win_data->phy->nformats, in vop_create_crtc()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c33 uint32_t nformats; member
896 mdp5_plane->nformats = mdp_get_formats(mdp5_plane->formats, in mdp5_plane_init()
906 mdp5_plane->formats, mdp5_plane->nformats, in mdp5_plane_init()
/drivers/media/i2c/
Dadv7604.c126 unsigned int nformats; member
781 for (i = 0; i < state->info->nformats; ++i) { in adv76xx_format_info()
1791 if (code->index >= state->info->nformats) in adv76xx_enum_mbus_code()
2663 .nformats = ARRAY_SIZE(adv7604_formats),
2709 .nformats = ARRAY_SIZE(adv7611_formats),
2750 .nformats = ARRAY_SIZE(adv7612_formats),