Home
last modified time | relevance | path

Searched refs:SPL_ASSERT (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/amd/display/dc/sspl/
A Dspl_fixpt31_32.c64 SPL_ASSERT(res_value <= (unsigned long long)LONG_MAX); in spl_fixpt_from_fraction()
119 SPL_ASSERT(res.value <= (long long)LONG_MAX); in spl_fixpt_mul()
125 SPL_ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in spl_fixpt_mul()
131 SPL_ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in spl_fixpt_mul()
140 SPL_ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in spl_fixpt_mul()
164 SPL_ASSERT(res.value <= (long long)LONG_MAX); in spl_fixpt_sqr()
170 SPL_ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in spl_fixpt_sqr()
294 SPL_ASSERT(spl_fixpt_lt(arg, spl_fixpt_one)); in spl_fixed31_32_exp_from_taylor_series()
336 SPL_ASSERT(m != 0); in spl_fixpt_exp()
338 SPL_ASSERT(spl_fixpt_lt( in spl_fixpt_exp()
[all …]
A Dspl_debug.h23 #define SPL_ASSERT(expr) SPL_ASSERT_CRITICAL(expr) macro
25 #define SPL_ASSERT(expr) WARN_ON(!(expr)) macro
28 #define SPL_BREAK_TO_DEBUGGER() SPL_ASSERT(0)
A Dspl_fixpt31_32.h194 SPL_ASSERT(((arg.value >= 0) && (arg.value <= LLONG_MAX >> shift)) || in spl_fixpt_shl()
231 SPL_ASSERT(((arg1.value >= 0) && (LLONG_MAX - arg1.value >= arg2.value)) || in spl_fixpt_add()
256 SPL_ASSERT(((arg2.value >= 0) && (LLONG_MIN + arg2.value <= arg1.value)) || in spl_fixpt_sub()
448 SPL_ASSERT(LLONG_MAX - (long long)arg_value >= summand); in spl_fixpt_round()
469 SPL_ASSERT(LLONG_MAX - (long long)arg_value >= summand); in spl_fixpt_ceil()
504 SPL_ASSERT(frac_bits == FIXED31_32_BITS_PER_FRACTIONAL_PART); in spl_fixpt_truncate()
A Ddc_spl.c220 SPL_ASSERT(mpc_slice_count == 1 || in calculate_mpc_slice_in_timing_active()
233 SPL_ASSERT(mpc_rec.height % 2 == 0); in calculate_mpc_slice_in_timing_active()
722 SPL_ASSERT(src.x % vpc_div == 0 && src.y % vpc_div == 0); in spl_calculate_inits_and_viewports()
735 SPL_ASSERT(spl_in->basic_in.rotation == SPL_ROTATION_ANGLE_0 || in spl_handle_3d_recout()
943 SPL_ASSERT(check_max_downscale); in spl_get_taps_non_adaptive_scaler()
946 SPL_ASSERT(check_max_downscale); in spl_get_taps_non_adaptive_scaler()
949 SPL_ASSERT(check_max_downscale); in spl_get_taps_non_adaptive_scaler()
952 SPL_ASSERT(check_max_downscale); in spl_get_taps_non_adaptive_scaler()
1101 SPL_ASSERT((spl_scratch->scl_data.taps.v_taps > 1) && in spl_get_optimal_number_of_taps()
1114 SPL_ASSERT(spl_scratch->scl_data.taps.v_taps > 1); in spl_get_optimal_number_of_taps()

Completed in 600 milliseconds