/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calc_math.c | 134 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | conversion.h | 44 static inline unsigned int log_2(unsigned int num) in log_2() function
|
/openbmc/hiomapd/ |
H A D | common.h | 83 static inline int log_2(int val) in log_2() function
|
/openbmc/phosphor-mboxd/ |
H A D | common.h | 82 static inline int log_2(int val) in log_2() function
|
H A D | mboxd_flash.c | 89 context->erase_size_shift = log_2(context->mtd_info.erasesize); in init_flash_dev()
|
H A D | mboxd_windows.c | 300 if (log_2(context->mtd_info.erasesize) != in write_from_window()
|
H A D | mboxd_msg.c | 204 context->block_size_shift = log_2(context->mtd_info.erasesize); in mbox_handle_mbox_info()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_mem_input.c | 144 unsigned int page_width = log_2(pte->page_width); in dce_mi_program_pte_vm() 145 unsigned int page_height = log_2(pte->page_height); in dce_mi_program_pte_vm() 438 GRPH_NUM_BANKS, log_2(info->gfx9.num_banks), in program_tiling() 439 GRPH_NUM_SHADER_ENGINES, log_2(info->gfx9.num_shader_engines), in program_tiling() 440 GRPH_NUM_PIPES, log_2(info->gfx9.num_pipes), in program_tiling()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hubp.c | 325 NUM_PIPES, log_2(info->gfx9.num_pipes), in hubp3_program_tiling() 327 MAX_COMPRESSED_FRAGS, log_2(info->gfx9.max_compressed_frags), in hubp3_program_tiling() 328 NUM_PKRS, log_2(info->gfx9.num_pkrs)); in hubp3_program_tiling()
|
/openbmc/phosphor-mboxd/vpnor/ |
H A D | mboxd_pnor_partition_table.cpp | 93 local.block_size_shift = log_2(eraseSize); in vpnor_copy_bootloader_partition()
|
H A D | mboxd_flash.cpp | 84 context->erase_size_shift = log_2(context->mtd_info.erasesize); in init_flash_dev()
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | slog2.S | 13 | 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 D | stwotox.S | 42 | 3. Set y := X*log_2(10)*64 (base 2 log of 10). Set
|
/openbmc/hiomapd/vpnor/ |
H A D | backend.cpp | 145 local.block_size_shift = log_2(eraseSize); in vpnor_copy_bootloader_partition() 240 backend->erase_size_shift = log_2(VPNOR_ERASE_SIZE); in vpnor_dev_init()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hubp.c | 149 NUM_PIPES, log_2(info->gfx9.num_pipes), in hubp1_program_tiling() 150 NUM_BANKS, log_2(info->gfx9.num_banks), in hubp1_program_tiling() 152 NUM_SE, log_2(info->gfx9.num_shader_engines), in hubp1_program_tiling() 153 NUM_RB_PER_SE, log_2(info->gfx9.num_rb_per_se), in hubp1_program_tiling() 154 MAX_COMPRESSED_FRAGS, log_2(info->gfx9.max_compressed_frags)); in hubp1_program_tiling()
|
/openbmc/hiomapd/file/ |
H A D | backend.c | 91 backend->erase_size_shift = log_2(FILE_ERASE_SIZE); in file_dev_init()
|
/openbmc/hiomapd/mtd/ |
H A D | backend.c | 99 backend->erase_size_shift = log_2(priv->mtd_info.erasesize); in mtd_dev_init()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hubp.c | 315 NUM_PIPES, log_2(info->gfx9.num_pipes), in hubp2_program_tiling() 317 MAX_COMPRESSED_FRAGS, log_2(info->gfx9.max_compressed_frags)); in hubp2_program_tiling()
|
/openbmc/linux/arch/m68k/ifpsp060/src/ |
H A D | fplsp.S | 8656 # 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 #
|