Lines Matching refs:format_count
210 formats_size = sizeof(__u32) * plane->format_count; in create_in_format_blob()
233 blob_data->count_formats = plane->format_count; in create_in_format_blob()
244 for (j = 0; j < plane->format_count; j++) { in create_in_format_blob()
365 unsigned int format_count, in __drm_universal_plane_init() argument
386 if (WARN_ON(format_count > 64)) in __drm_universal_plane_init()
402 plane->format_types = kmalloc_array(format_count, sizeof(uint32_t), in __drm_universal_plane_init()
451 memcpy(plane->format_types, formats, format_count * sizeof(uint32_t)); in __drm_universal_plane_init()
452 plane->format_count = format_count; in __drm_universal_plane_init()
535 const uint32_t *formats, unsigned int format_count, in drm_universal_plane_init() argument
547 formats, format_count, format_modifiers, in drm_universal_plane_init()
567 const uint32_t *formats, unsigned int format_count, in __drmm_universal_plane_alloc() argument
588 formats, format_count, format_modifiers, in __drmm_universal_plane_alloc()
606 const uint32_t *formats, unsigned int format_count, in __drm_universal_plane_alloc() argument
627 formats, format_count, format_modifiers, in __drm_universal_plane_alloc()
893 if (plane->format_count && in drm_mode_getplane()
894 (plane_resp->count_format_types >= plane->format_count)) { in drm_mode_getplane()
898 sizeof(uint32_t) * plane->format_count)) { in drm_mode_getplane()
902 plane_resp->count_format_types = plane->format_count; in drm_mode_getplane()
921 for (i = 0; i < plane->format_count; i++) { in drm_plane_has_format()
925 if (i == plane->format_count) in drm_plane_has_format()