Searched refs:util_logbase2 (Results 1 – 4 of 4) sorted by relevance
180 int xmax_log2 = 1 + util_logbase2(xbits); in setup_viewport_scissor()181 int ymax_log2 = 1 + util_logbase2(ybits); in setup_viewport_scissor()
386 util_logbase2(unsigned n) in util_logbase2() function428 return 1 + util_logbase2(n - 1); in util_logbase2_ceil()
67 unsigned i, bits = util_logbase2(dst_size); in vl_vlc_init_table()
581 unsigned phys_id = (apic_id & ~(core_count - 1)) >> util_logbase2(core_count); in get_cpu_topology()