Searched refs:nformats (Results 1 – 13 of 13) sorted by relevance
/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 67 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()
|
D | omap_plane.c | 44 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/ |
D | mdp4_plane.c | 30 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/ |
D | uvc_v4l2.c | 170 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()
|
D | uvc_driver.c | 618 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()
|
D | uvc_video.c | 123 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()
|
D | uvcvideo.h | 469 unsigned int nformats; member
|
/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 91 .nformats = ARRAY_SIZE(rgb_formats), 117 .nformats = ARRAY_SIZE(rgb_and_yuv_formats), 946 desc->formats->nformats, type); in atmel_hlcdc_plane_create()
|
D | atmel_hlcdc_layer.h | 241 int nformats; member
|
D | atmel_hlcdc_layer.c | 616 for (i = 0; i < desc->formats->nformats; i++) { in atmel_hlcdc_layer_init()
|
/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 201 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/ |
D | mdp5_plane.c | 33 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/ |
D | adv7604.c | 126 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),
|