Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/kyro/
H A DSTG4000OverlayDevice.c325 u32 ulFxScale, ulFxOffset; in SetOverlayViewPort() local
376 ulFxScale = (ulDest << 11) / ulSrc; /* fixed point scale factor */ in SetOverlayViewPort()
379 ulSrcBottom = ulSrcBottom - (ulFxOffset / ulFxScale); in SetOverlayViewPort()
453 ulFxScale = ((ulSrc - 1) << 11) / (ulDest); in SetOverlayViewPort()
456 ulFxOffset = ulFxScale * ((srcDest.ulDstX1 - srcDest.lDstX1) + ulClipOff); in SetOverlayViewPort()
463 ulFxOffset = ulFxScale * (srcDest.lDstX2 - srcDest.ulDstX2); in SetOverlayViewPort()