Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/rockchip/
Drockchip_vop_reg.c73 .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 …]
Drockchip_drm_vop.h130 uint32_t nformats; member
/drivers/media/platform/qcom/camss/
Dcamss-video.c214 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 …]
Dcamss-csiphy.c85 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()
Dcamss-csid.c481 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 …]
Dcamss-video.h52 unsigned int nformats; member
Dcamss-vfe.c122 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 …]
Dcamss-ispif.h47 unsigned int nformats; member
Dcamss-csid.h62 unsigned int nformats; member
Dcamss-csiphy.h75 unsigned int nformats; member
Dcamss-ispif.c875 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()
Dcamss-vfe.h75 unsigned int nformats; member
/drivers/gpu/drm/vkms/
Dvkms_plane.c187 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/
Domap_plane.c260 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/
Dpl111_versatile.c269 .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),
Dpl111_drv.c371 .nformats = ARRAY_SIZE(pl110_pixel_formats),
396 .nformats = ARRAY_SIZE(pl111_pixel_formats),
422 .nformats = ARRAY_SIZE(pl110_nomadik_pixel_formats),
Dpl111_drm.h55 unsigned int nformats; member
/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c320 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/
Dmdp4_plane.c22 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/
Duvc_driver.c708 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()
Duvc_v4l2.c175 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/
Datmel_hlcdc_plane.c96 .nformats = ARRAY_SIZE(rgb_formats),
123 .nformats = ARRAY_SIZE(rgb_and_yuv_formats),
974 desc->formats->nformats, in atmel_hlcdc_plane_create()
Datmel_hlcdc_dc.h221 int nformats; member
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c17 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/
Dadv7604.c124 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),

12