Home
last modified time | relevance | path

Searched refs:log_2 (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_math.c134 const int log_2 = ((x >> 23) & 255) - 128; in dcn_bw_log() local
142 return (a + log_2) / dcn_bw_log(b, 2); in dcn_bw_log()
144 return (a + log_2); in dcn_bw_log()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/
H A Dlib_float_math.c112 const int log_2 = ((x >> 23) & 255) - 128; in math_log() local
120 return (a + log_2) / math_log(b, 2); in math_log()
122 return (a + log_2); in math_log()
/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dconversion.h48 static inline unsigned int log_2(unsigned int num) in log_2() function
/linux/arch/m68k/fpsp040/
H A Dslog2.S13 | OUTPUT: log_10(X) or log_2(X) returned in floating-point
91 | Step 4. Compute log_2(X) = log(X) * (1/log(2)).
H A Dstwotox.S42 | 3. Set y := X*log_2(10)*64 (base 2 log of 10). Set
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddisplay_mode_util.c33 const int log_2 = ((x >> 23) & 255) - 128; in _log() local
41 return (in + log_2); in _log()
/linux/arch/m68k/ifpsp060/src/
H A Dfplsp.S8656 # fp0 = log_10(X) or log_2(X) #
8724 # Step 4. Compute log_2(X) = log(X) * (1/log(2)). #
8848 # 3. Set y := X*log_2(10)*64 (base 2 log of 10). Set #