Searched refs:log_2 (Results 1 - 10 of 10) sorted by relevance

/linux-master/drivers/gpu/drm/amd/display/dc/basics/
H A Dconversion.h48 static inline unsigned int log_2(unsigned int num) function
/linux-master/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_math.c134 const int log_2 = ((x >> 23) & 255) - 128; local
142 return (a + log_2) / dcn_bw_log(b, 2);
144 return (a + log_2);
/linux-master/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_hubp.c325 NUM_PIPES, log_2(info->gfx9.num_pipes),
327 MAX_COMPRESSED_FRAGS, log_2(info->gfx9.max_compressed_frags),
328 NUM_PKRS, log_2(info->gfx9.num_pkrs));
/linux-master/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.c144 unsigned int page_width = log_2(pte->page_width);
145 unsigned int page_height = log_2(pte->page_height);
438 GRPH_NUM_BANKS, log_2(info->gfx9.num_banks),
439 GRPH_NUM_SHADER_ENGINES, log_2(info->gfx9.num_shader_engines),
440 GRPH_NUM_PIPES, log_2(info->gfx9.num_pipes),
/linux-master/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-master/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hubp.c149 NUM_PIPES, log_2(info->gfx9.num_pipes),
150 NUM_BANKS, log_2(info->gfx9.num_banks),
152 NUM_SE, log_2(info->gfx9.num_shader_engines),
153 NUM_RB_PER_SE, log_2(info->gfx9.num_rb_per_se),
154 MAX_COMPRESSED_FRAGS, log_2(info->gfx9.max_compressed_frags));
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_util.c33 const int log_2 = ((x >> 23) & 255) - 128; local
41 return (in + log_2);
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hubp.c317 NUM_PIPES, log_2(info->gfx9.num_pipes),
319 MAX_COMPRESSED_FRAGS, log_2(info->gfx9.max_compressed_frags));
/linux-master/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 #

Completed in 312 milliseconds