Lines Matching defs:drm_mm

60  * The &struct drm_mm range manager supports finding a suitable modes using
149 * This represents an allocated block in a &drm_mm allocator. Except for
163 struct drm_mm *mm;
181 * struct drm_mm - DRM allocator
188 struct drm_mm {
227 struct drm_mm *mm;
248 * drm_mm range manager.
250 * Drivers should use this helper for proper encapsulation of drm_mm
263 * @mm: drm_mm to check
265 * Drivers should clear the struct drm_mm prior to initialisation if they
268 * Drivers should use this helper for proper encapsulation of drm_mm
274 static inline bool drm_mm_initialized(const struct drm_mm *mm)
283 * Holes are embedded into the drm_mm using the tail of a drm_mm_node.
340 * drm_mm_nodes - list of nodes under the drm_mm range manager
341 * @mm: the struct drm_mm range manager
343 * As the drm_mm range manager hides its node_list deep with its
356 * @mm: &drm_mm allocator to walk
368 * @mm: &drm_mm allocator to walk
379 * @mm: &drm_mm allocator to walk
402 * Basic range manager support (drm_mm.c)
404 int drm_mm_reserve_node(struct drm_mm *mm, struct drm_mm_node *node);
405 int drm_mm_insert_node_in_range(struct drm_mm *mm,
416 * @mm: drm_mm to allocate from
432 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node,
444 * @mm: drm_mm to allocate from
456 static inline int drm_mm_insert_node(struct drm_mm *mm,
465 void drm_mm_init(struct drm_mm *mm, u64 start, u64 size);
466 void drm_mm_takedown(struct drm_mm *mm);
470 * @mm: drm_mm allocator to check
476 static inline bool drm_mm_clean(const struct drm_mm *mm)
482 __drm_mm_interval_first(const struct drm_mm *mm, u64 start, u64 last);
488 * @mm__: drm_mm allocator to walk
496 * that @end is within (or is the upper limit of) the drm_mm allocator.
497 * If [@start, @end] are beyond the range of the drm_mm, the iterator may walk
498 * over the special _unallocated_ &drm_mm.head_node, and may even continue
507 struct drm_mm *mm,
515 * @mm: drm_mm to scan
532 struct drm_mm *mm,
549 void drm_mm_print(const struct drm_mm *mm, struct drm_printer *p);