Lines Matching refs:limits
243 if (copy_to_user((void __user *)ptr, format->limits, in exynos_drm_ipp_get_limits_ioctl()
244 sizeof(*format->limits) * format->num_limits)) in exynos_drm_ipp_get_limits_ioctl()
429 static void __get_size_limit(const struct drm_exynos_ipp_limit *limits, in __get_size_limit() argument
433 const struct drm_exynos_ipp_limit *l = limits; in __get_size_limit()
438 for (l = limits; l - limits < num_limits; l++) { in __get_size_limit()
475 const struct drm_exynos_ipp_limit *limits, unsigned int num_limits, in exynos_drm_ipp_check_size_limits() argument
483 if (!limits) in exynos_drm_ipp_check_size_limits()
486 __get_size_limit(limits, num_limits, IPP_LIMIT_BUFFER, &l); in exynos_drm_ipp_check_size_limits()
495 __get_size_limit(limits, num_limits, id, &l); in exynos_drm_ipp_check_size_limits()
522 const struct drm_exynos_ipp_limit *limits, in exynos_drm_ipp_check_scale_limits() argument
528 for (; num_limits; limits++, num_limits--) in exynos_drm_ipp_check_scale_limits()
529 if ((limits->type & DRM_EXYNOS_IPP_LIMIT_TYPE_MASK) == in exynos_drm_ipp_check_scale_limits()
535 lh = (!swap) ? &limits->h : &limits->v; in exynos_drm_ipp_check_scale_limits()
536 lv = (!swap) ? &limits->v : &limits->h; in exynos_drm_ipp_check_scale_limits()
589 ret = exynos_drm_ipp_check_size_limits(buf, fmt->limits, in exynos_drm_ipp_check_format()
596 fmt->limits, in exynos_drm_ipp_check_format()