Lines Matching refs:min
445 __limit_set_val(&res->h.min, l->h.min);
448 __limit_set_val(&res->v.min, l->v.min);
467 if ((l->min && val < l->min) || (l->max && val > l->max)) {
468 DRM_DEBUG_DRIVER("Value %d exceeds HW limits (min %d, max %d)\n",
469 val, l->min, l->max);
507 unsigned int min, unsigned int max)
510 (min && (dst << 16) < src * min)) {
511 DRM_DEBUG_DRIVER("Scale from %d to %d exceeds HW limits (ratio min %d.%05d, max %d.%05d)\n",
513 min >> 16, 100000 * (min & 0xffff) / (1 << 16),
541 if (!__scale_limit_check(src->w, dw, lh->min, lh->max) ||
542 !__scale_limit_check(src->h, dh, lv->min, lv->max))