Lines Matching refs:dev_num
51 int dev_num, in exynos_gsc_create_exclusive() argument
58 if ((dev_num < 0) || (dev_num >= HW_SCAL_MAX)) { in exynos_gsc_create_exclusive()
59 ALOGE("%s::fail:: dev_num is not valid(%d) ", __func__, dev_num); in exynos_gsc_create_exclusive()
63 if ((dev_num >= NUM_OF_GSC_HW) && (dev_num < HW_SCAL_MAX)) { in exynos_gsc_create_exclusive()
64 CGscaler *gsc = new CGscaler(mode, out_mode, dev_num, allow_drm); in exynos_gsc_create_exclusive()
70 gsc->scaler = exynos_sc_create_exclusive(dev_num - HW_SCAL0, in exynos_gsc_create_exclusive()
86 CGscaler *gsc = new CGscaler(mode, out_mode, dev_num, allow_drm); in exynos_gsc_create_exclusive()
93 gsc->gsc_fd = gsc->m_gsc_m2m_create(dev_num); in exynos_gsc_create_exclusive()
95 ALOGE("%s::m_gsc_m2m_create(%i) fail", __func__, dev_num); in exynos_gsc_create_exclusive()
99 ALOGE("%s::Unsupported Mode(%i) fail", __func__, dev_num); in exynos_gsc_create_exclusive()
458 void *exynos_gsc_create_blend_exclusive(int dev_num, int mode, int out_mode, in exynos_gsc_create_blend_exclusive() argument
463 if ((dev_num < 0) || (dev_num >= HW_SCAL_MAX)) { in exynos_gsc_create_blend_exclusive()
464 ALOGE("%s::fail:: dev_num is not valid(%d) ", __func__, dev_num); in exynos_gsc_create_blend_exclusive()
468 if ((dev_num >= NUM_OF_GSC_HW) && (dev_num < HW_SCAL_MAX)) { in exynos_gsc_create_blend_exclusive()
469 CGscaler *gsc = new CGscaler(mode, out_mode, dev_num, allow_drm); in exynos_gsc_create_blend_exclusive()
475 gsc->scaler = exynos_sc_create_blend_exclusive(dev_num - HW_SCAL0, allow_drm); in exynos_gsc_create_blend_exclusive()