Searched refs:nformats (Results 1 – 13 of 13) sorted by relevance
/linux-4.1.27/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 | 56 uint32_t nformats; member 397 omap_plane->nformats = omap_framebuffer_get_formats( in omap_plane_init() 414 omap_plane->nformats, type); in omap_plane_init()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_plane.c | 29 uint32_t nformats; member 362 mdp4_plane->nformats = mdp4_get_formats(pipe_id, mdp4_plane->formats, in mdp4_plane_init() 367 mdp4_plane->formats, mdp4_plane->nformats, type); in mdp4_plane_init()
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 168 uint32_t nformats; member 217 .nformats = ARRAY_SIZE(formats_01), 233 .nformats = ARRAY_SIZE(formats_234), 246 .nformats = ARRAY_SIZE(formats_234), 1204 win_data->phy->nformats, in vop_create_crtc() 1241 win_data->phy->nformats, in vop_create_crtc()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_plane.c | 32 uint32_t nformats; member 625 mdp5_plane->nformats = mdp5_get_formats(pipe, mdp5_plane->formats, in mdp5_plane_init() 634 mdp5_plane->formats, mdp5_plane->nformats, in mdp5_plane_init()
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | uvc_driver.c | 597 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local 723 nformats++; in uvc_parse_streaming() 730 nformats++; in uvc_parse_streaming() 761 if (nformats == 0) { in uvc_parse_streaming() 768 size = nformats * sizeof *format + nframes * sizeof *frame in uvc_parse_streaming() 776 frame = (struct uvc_frame *)&format[nformats]; in uvc_parse_streaming() 780 streaming->nformats = nformats; in uvc_parse_streaming()
|
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() 579 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt() 1117 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes() 1146 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_frameintervals()
|
D | uvcvideo.h | 457 unsigned int nformats; member
|
D | uvc_video.c | 96 for (i = 0; i < stream->nformats; ++i) { in uvc_fixup_video_ctrl() 1769 if (stream->nformats == 0) { in uvc_video_init() 1803 for (i = stream->nformats; i > 0; --i) { in uvc_video_init()
|
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 91 .nformats = ARRAY_SIZE(rgb_formats), 117 .nformats = ARRAY_SIZE(rgb_and_yuv_formats), 942 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()
|
/linux-4.1.27/drivers/media/i2c/ |
D | adv7604.c | 115 unsigned int nformats; member 747 for (i = 0; i < state->info->nformats; ++i) { in adv76xx_format_info() 1742 if (code->index >= state->info->nformats) in adv76xx_enum_mbus_code() 2549 .nformats = ARRAY_SIZE(adv7604_formats), 2583 .nformats = ARRAY_SIZE(adv7611_formats),
|