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()
89 panfrost_compute_magic_divisor(unsigned hw_divisor, unsigned *o_shift, unsigned *extra_flags);
1681 unsigned hw_divisor = ctx->padded_count * divisor; in panfrost_emit_vertex_data() local1701 } else if (util_is_power_of_two_or_zero(hw_divisor)) { in panfrost_emit_vertex_data()1707 cfg.divisor_r = __builtin_ctz(hw_divisor); in panfrost_emit_vertex_data()1714 panfrost_compute_magic_divisor(hw_divisor, &shift, &extra_flags); in panfrost_emit_vertex_data()