Lines Matching defs:mode
68 * useful for taking over initial mode setting configurations from the firmware,
361 enum drm_mm_insert_mode mode)
363 switch (mode) {
420 enum drm_mm_insert_mode mode)
422 switch (mode) {
510 * @mode: fine-tune the allocation search and placement
522 enum drm_mm_insert_mode mode)
539 once = mode & DRM_MM_INSERT_ONCE;
540 mode &= ~DRM_MM_INSERT_ONCE;
543 for (hole = first_hole(mm, range_start, range_end, size, mode);
545 hole = once ? NULL : next_hole(mm, hole, size, mode)) {
551 if (mode == DRM_MM_INSERT_LOW && hole_start >= range_end)
554 if (mode == DRM_MM_INSERT_HIGH && hole_end <= range_start)
568 if (mode == DRM_MM_INSERT_HIGH)
580 if (mode != DRM_MM_INSERT_HIGH)
710 * in the scan mode no other operation is allowed.
730 * @mode: fine-tune the allocation search and placement
746 enum drm_mm_insert_mode mode)
761 scan->mode = mode;
820 if (scan->mode == DRM_MM_INSERT_HIGH)
832 if (scan->mode != DRM_MM_INSERT_HIGH)