Home
last modified time | relevance | path

Searched refs:PHASE_BITS (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/drivers/gpu/drm/vc4/
H A Dvc4_plane.c597 #define PHASE_BITS 6 macro
618 offset = (xy & 0x1ffff) >> (16 - PHASE_BITS) >> 1; in vc4_write_ppf()
619 offset += -(1 << PHASE_BITS >> 2); in vc4_write_ppf()
625 offset = (xy & 0xffff) >> (16 - PHASE_BITS); in vc4_write_ppf()
626 offset += -(1 << PHASE_BITS >> 1); in vc4_write_ppf()
641 offset2 >>= 16 - PHASE_BITS; in vc4_write_ppf()
645 if (phase >= 1 << PHASE_BITS) in vc4_write_ppf()
646 phase = (1 << PHASE_BITS) - 1; in vc4_write_ppf()