/drivers/gpu/drm/rockchip/ |
D | rockchip_vop_reg.c | 73 .nformats = ARRAY_SIZE(formats_win_full), 88 .nformats = ARRAY_SIZE(formats_win_lite), 154 .nformats = ARRAY_SIZE(formats_win_lite), 233 .nformats = ARRAY_SIZE(formats_win_full), 248 .nformats = ARRAY_SIZE(formats_win_lite), 260 .nformats = ARRAY_SIZE(formats_win_lite), 315 .nformats = ARRAY_SIZE(formats_win_full), 331 .nformats = ARRAY_SIZE(formats_win_full), 346 .nformats = ARRAY_SIZE(formats_win_lite), 425 .nformats = ARRAY_SIZE(formats_win_full), [all …]
|
D | rockchip_drm_vop.h | 130 uint32_t nformats; member
|
/drivers/media/platform/qcom/camss/ |
D | camss-video.c | 214 unsigned int nformats) in video_find_format() argument 218 for (i = 0; i < nformats; i++) { in video_find_format() 224 for (i = 0; i < nformats; i++) in video_find_format() 306 video->formats, video->nformats); in video_get_subdev_format() 540 if (f->index >= video->nformats) in video_enum_fmt() 545 for (i = 0; i < video->nformats; i++) { in video_enum_fmt() 599 for (j = 0; j < video->nformats; j++) in __video_try_fmt() 603 if (j == video->nformats) in __video_try_fmt() 890 video->nformats = ARRAY_SIZE(formats_pix_8x16); in msm_video_register() 893 video->nformats = ARRAY_SIZE(formats_rdi_8x16); in msm_video_register() [all …]
|
D | camss-csiphy.c | 85 unsigned int nformats, u32 code) in csiphy_get_bpp() argument 89 for (i = 0; i < nformats; i++) in csiphy_get_bpp() 120 csiphy->nformats, in csiphy_set_clock_rates() 243 u8 bpp = csiphy_get_bpp(csiphy->formats, csiphy->nformats, in csiphy_stream_on() 349 for (i = 0; i < csiphy->nformats; i++) in csiphy_try_format() 354 if (i >= csiphy->nformats) in csiphy_try_format() 390 if (code->index >= csiphy->nformats) in csiphy_enum_mbus_code() 554 csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x16); in msm_csiphy_subdev_init() 558 csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x96); in msm_csiphy_subdev_init()
|
D | camss-csid.c | 481 csid->nformats, in csid_set_clock_rates() 649 csid->formats, csid->nformats, f->code); in csid_set_stream() 684 csid->formats, csid->nformats, f->code); in csid_set_stream() 793 for (i = 0; i < csid->nformats; i++) in csid_try_format() 798 if (i >= csid->nformats) in csid_try_format() 822 for (i = 0; i < csid->nformats; i++) in csid_try_format() 827 if (i >= csid->nformats) in csid_try_format() 855 if (code->index >= csid->nformats) in csid_enum_mbus_code() 872 if (code->index >= csid->nformats) in csid_enum_mbus_code() 1097 csid->nformats = in msm_csid_subdev_init() [all …]
|
D | camss-video.h | 52 unsigned int nformats; member
|
D | camss-vfe.c | 122 unsigned int nformats, u32 code) in vfe_get_bpp() argument 126 for (i = 0; i < nformats; i++) in vfe_get_bpp() 1143 l->nformats, in vfe_set_clock_rates() 1225 l->nformats, in vfe_check_clock_rates() 1542 for (i = 0; i < line->nformats; i++) in vfe_try_format() 1547 if (i >= line->nformats) in vfe_try_format() 1678 if (code->index >= line->nformats) in vfe_enum_mbus_code() 2095 l->nformats = ARRAY_SIZE(formats_pix_8x16); in msm_vfe_subdev_init() 2098 l->nformats = ARRAY_SIZE(formats_rdi_8x16); in msm_vfe_subdev_init() 2103 l->nformats = ARRAY_SIZE(formats_pix_8x96); in msm_vfe_subdev_init() [all …]
|
D | camss-ispif.h | 47 unsigned int nformats; member
|
D | camss-csid.h | 62 unsigned int nformats; member
|
D | camss-csiphy.h | 75 unsigned int nformats; member
|
D | camss-ispif.c | 875 for (i = 0; i < line->nformats; i++) in ispif_try_format() 880 if (i >= line->nformats) in ispif_try_format() 918 if (code->index >= line->nformats) in ispif_enum_mbus_code() 1091 ispif->line[i].nformats = in msm_ispif_subdev_init() 1095 ispif->line[i].nformats = in msm_ispif_subdev_init()
|
D | camss-vfe.h | 75 unsigned int nformats; member
|
/drivers/gpu/drm/vkms/ |
D | vkms_plane.c | 187 int ret, nformats; in vkms_plane_init() local 195 nformats = ARRAY_SIZE(vkms_cursor_formats); in vkms_plane_init() 199 nformats = ARRAY_SIZE(vkms_formats); in vkms_plane_init() 205 formats, nformats, in vkms_plane_init()
|
/drivers/gpu/drm/omapdrm/ |
D | omap_plane.c | 260 u32 nformats; in omap_plane_init() local 275 for (nformats = 0; formats[nformats]; ++nformats) in omap_plane_init() 284 nformats, NULL, type, NULL); in omap_plane_init()
|
/drivers/gpu/drm/pl111/ |
D | pl111_versatile.c | 269 .nformats = ARRAY_SIZE(pl110_integrator_pixel_formats), 282 .nformats = ARRAY_SIZE(pl110_versatile_pixel_formats), 294 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats), 306 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats),
|
D | pl111_drv.c | 371 .nformats = ARRAY_SIZE(pl110_pixel_formats), 396 .nformats = ARRAY_SIZE(pl111_pixel_formats), 422 .nformats = ARRAY_SIZE(pl110_nomadik_pixel_formats),
|
D | pl111_drm.h | 55 unsigned int nformats; member
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_plane.c | 320 int ret, nformats; in virtio_gpu_plane_init() local 328 nformats = ARRAY_SIZE(virtio_gpu_cursor_formats); in virtio_gpu_plane_init() 332 nformats = ARRAY_SIZE(virtio_gpu_formats); in virtio_gpu_plane_init() 337 formats, nformats, in virtio_gpu_plane_init()
|
/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_plane.c | 22 uint32_t nformats; member 371 mdp4_plane->nformats = mdp_get_formats(mdp4_plane->formats, in mdp4_plane_init() 377 mdp4_plane->formats, mdp4_plane->nformats, in mdp4_plane_init()
|
/drivers/media/usb/uvc/ |
D | uvc_driver.c | 708 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local 829 nformats++; in uvc_parse_streaming() 836 nformats++; in uvc_parse_streaming() 867 if (nformats == 0) { in uvc_parse_streaming() 874 size = nformats * sizeof(*format) + nframes * sizeof(*frame) in uvc_parse_streaming() 882 frame = (struct uvc_frame *)&format[nformats]; in uvc_parse_streaming() 886 streaming->nformats = nformats; in uvc_parse_streaming()
|
D | uvc_v4l2.c | 175 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format() 181 if (i == stream->nformats) { in uvc_v4l2_try_format() 603 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt() 1175 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes() 1216 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_frameintervals()
|
/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 96 .nformats = ARRAY_SIZE(rgb_formats), 123 .nformats = ARRAY_SIZE(rgb_and_yuv_formats), 974 desc->formats->nformats, in atmel_hlcdc_plane_create()
|
D | atmel_hlcdc_dc.h | 221 int nformats; member
|
/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_plane.c | 17 uint32_t nformats; member 1081 mdp5_plane->nformats = mdp_get_formats(mdp5_plane->formats, in mdp5_plane_init() 1085 mdp5_plane->formats, mdp5_plane->nformats, in mdp5_plane_init()
|
/drivers/media/i2c/ |
D | adv7604.c | 124 unsigned int nformats; member 743 for (i = 0; i < state->info->nformats; ++i) { in adv76xx_format_info() 1817 if (code->index >= state->info->nformats) in adv76xx_enum_mbus_code() 2990 .nformats = ARRAY_SIZE(adv7604_formats), 3039 .nformats = ARRAY_SIZE(adv7611_formats), 3083 .nformats = ARRAY_SIZE(adv7612_formats),
|