Lines Matching refs:format_count

197 	formats_size = sizeof(__u32) * plane->format_count;  in create_in_format_blob()
220 blob_data->count_formats = plane->format_count; in create_in_format_blob()
231 for (j = 0; j < plane->format_count; j++) { in create_in_format_blob()
355 unsigned int format_count, in __drm_universal_plane_init() argument
375 if (WARN_ON(format_count > 64)) in __drm_universal_plane_init()
391 plane->format_types = kmalloc_array(format_count, sizeof(uint32_t), in __drm_universal_plane_init()
440 memcpy(plane->format_types, formats, format_count * sizeof(uint32_t)); in __drm_universal_plane_init()
441 plane->format_count = format_count; in __drm_universal_plane_init()
508 const uint32_t *formats, unsigned int format_count, in drm_universal_plane_init() argument
520 formats, format_count, format_modifiers, in drm_universal_plane_init()
540 const uint32_t *formats, unsigned int format_count, in __drmm_universal_plane_alloc() argument
561 formats, format_count, format_modifiers, in __drmm_universal_plane_alloc()
579 const uint32_t *formats, unsigned int format_count, in __drm_universal_plane_alloc() argument
600 formats, format_count, format_modifiers, in __drm_universal_plane_alloc()
866 if (plane->format_count && in drm_mode_getplane()
867 (plane_resp->count_format_types >= plane->format_count)) { in drm_mode_getplane()
871 sizeof(uint32_t) * plane->format_count)) { in drm_mode_getplane()
875 plane_resp->count_format_types = plane->format_count; in drm_mode_getplane()
894 for (i = 0; i < plane->format_count; i++) { in drm_plane_has_format()
898 if (i == plane->format_count) in drm_plane_has_format()