Searched refs:hw_divisor (Results 1 – 3 of 3) sorted by relevance
94 panfrost_compute_magic_divisor(unsigned hw_divisor, unsigned *o_shift, unsigned *extra_flags) in panfrost_compute_magic_divisor() argument100 unsigned shift = util_logbase2(hw_divisor); in panfrost_compute_magic_divisor()106 double hw_divisor_d = hw_divisor; in panfrost_compute_magic_divisor()114 uint64_t e = t % hw_divisor; in panfrost_compute_magic_divisor()
86 panfrost_compute_magic_divisor(unsigned hw_divisor, unsigned *o_shift, unsigned *extra_flags);
2094 unsigned hw_divisor = ctx->padded_count * divisor; in panfrost_emit_vertex_data() local2114 } else if (util_is_power_of_two_or_zero(hw_divisor)) { in panfrost_emit_vertex_data()2120 cfg.divisor_r = __builtin_ctz(hw_divisor); in panfrost_emit_vertex_data()2127 panfrost_compute_magic_divisor(hw_divisor, &shift, &extra_flags); in panfrost_emit_vertex_data()