Searched refs:num_formats (Results 1 – 8 of 8) sorted by relevance
/drivers/media/i2c/soc_camera/ |
D | mt9t112.c | 93 int num_formats; member 850 for (i = 0; i < priv->num_formats; i++) in mt9t112_set_params() 854 if (i == priv->num_formats) in mt9t112_set_params() 961 for (i = 0; i < priv->num_formats; i++) in mt9t112_set_fmt() 965 if (i == priv->num_formats) { in mt9t112_set_fmt() 989 if (code->pad || code->index >= priv->num_formats) in mt9t112_enum_mbus_code() 1068 priv->num_formats = 1; in mt9t112_camera_probe() 1072 priv->num_formats = ARRAY_SIZE(mt9t112_cfmts); in mt9t112_camera_probe()
|
/drivers/media/platform/blackfin/ |
D | bfin_capture.c | 163 unsigned int num_formats = 0; in bcap_init_sensor_formats() local 168 num_formats++; in bcap_init_sensor_formats() 171 if (!num_formats) in bcap_init_sensor_formats() 174 sf = kzalloc(num_formats * sizeof(*sf), GFP_KERNEL); in bcap_init_sensor_formats() 178 for (i = 0; i < num_formats; i++) { in bcap_init_sensor_formats() 193 bcap_dev->num_sensor_formats = num_formats; in bcap_init_sensor_formats()
|
/drivers/media/usb/msi2500/ |
D | msi2500.c | 143 unsigned int num_formats; member 920 if (f->index >= dev->num_formats) in msi2500_enum_fmt_sdr_cap() 958 for (i = 0; i < dev->num_formats; i++) { in msi2500_s_fmt_sdr_cap() 985 for (i = 0; i < dev->num_formats; i++) { in msi2500_try_fmt_sdr_cap() 1217 dev->num_formats = NUM_FORMATS; in msi2500_probe() 1219 dev->num_formats -= 2; in msi2500_probe()
|
/drivers/gpu/drm/tegra/ |
D | dc.c | 650 unsigned int num_formats; in tegra_dc_primary_plane_create() local 658 num_formats = ARRAY_SIZE(tegra_primary_plane_formats); in tegra_dc_primary_plane_create() 663 num_formats, DRM_PLANE_TYPE_PRIMARY); in tegra_dc_primary_plane_create() 808 unsigned int num_formats; in tegra_dc_cursor_plane_create() local 825 num_formats = ARRAY_SIZE(tegra_cursor_plane_formats); in tegra_dc_cursor_plane_create() 830 num_formats, DRM_PLANE_TYPE_CURSOR); in tegra_dc_cursor_plane_create() 878 unsigned int num_formats; in tegra_dc_overlay_plane_create() local 888 num_formats = ARRAY_SIZE(tegra_overlay_plane_formats); in tegra_dc_overlay_plane_create() 893 num_formats, DRM_PLANE_TYPE_OVERLAY); in tegra_dc_overlay_plane_create()
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | overlay.c | 265 unsigned int num_formats = ARRAY_SIZE(formats); in nv10_overlay_init() local 277 num_formats = 2; in nv10_overlay_init() 283 formats, num_formats, false); in nv10_overlay_init()
|
/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 153 unsigned int num_formats; member 1172 if (f->index >= dev->num_formats) in rtl2832_sdr_enum_fmt_sdr_cap() 1212 for (i = 0; i < dev->num_formats; i++) { in rtl2832_sdr_s_fmt_sdr_cap() 1240 for (i = 0; i < dev->num_formats; i++) { in rtl2832_sdr_try_fmt_sdr_cap() 1407 dev->num_formats = NUM_FORMATS; in rtl2832_sdr_probe() 1409 dev->num_formats -= 1; in rtl2832_sdr_probe()
|
/drivers/gpu/drm/ |
D | drm_crtc.c | 784 unsigned int num_formats) in drm_display_info_set_bus_formats() argument 788 if (!formats && num_formats) in drm_display_info_set_bus_formats() 791 if (formats && num_formats) { in drm_display_info_set_bus_formats() 792 fmts = kmemdup(formats, sizeof(*formats) * num_formats, in drm_display_info_set_bus_formats() 800 info->num_bus_formats = num_formats; in drm_display_info_set_bus_formats()
|
/drivers/gpu/drm/i915/ |
D | intel_display.c | 13691 unsigned int num_formats; in intel_primary_plane_create() local 13721 num_formats = ARRAY_SIZE(skl_primary_formats); in intel_primary_plane_create() 13724 num_formats = ARRAY_SIZE(i965_primary_formats); in intel_primary_plane_create() 13727 num_formats = ARRAY_SIZE(i8xx_primary_formats); in intel_primary_plane_create() 13732 intel_primary_formats, num_formats, in intel_primary_plane_create()
|