Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/kyro/
H A DSTG4000OverlayDevice.c141 u32 inWidth, in CreateOverlaySurface() argument
150 if (inWidth > STG4000_OVRL_MAX_WIDTH || in CreateOverlaySurface()
158 if ((inWidth & 0x7) == 0) { /* inWidth % 8 */ in CreateOverlaySurface()
159 ulStride = (inWidth / 8); in CreateOverlaySurface()
162 ulStride = ((inWidth + 8) / 8); in CreateOverlaySurface()
166 if ((inWidth & 0xf) == 0) { /* inWidth % 16 */ in CreateOverlaySurface()
167 ulStride = (inWidth / 16); in CreateOverlaySurface()
170 ulStride = ((inWidth + 16) / 16); in CreateOverlaySurface()
190 (inWidth & 0x1) ? (inWidth + 1 / 2) : (inWidth / 2); in CreateOverlaySurface()
233 ovlWidth = inWidth; in CreateOverlaySurface()