Lines Matching defs:width_bytes
1758 int width_bytes = (pScrn->displayWidth *
1812 int maxy = info->FbMapSize / width_bytes;
1861 int bufferSize = pScrn->virtualY * width_bytes;
1926 scanlines = total / width_bytes;
1935 info->textureOffset = scanlines * width_bytes;
2030 pScrn->virtualY * width_bytes,
2034 x1 = osArea->offset % width_bytes;
2035 x2 = (osArea->offset + osArea->size) % width_bytes;
2036 y1 = osArea->offset / width_bytes;
2037 y2 = (osArea->offset + osArea->size) / width_bytes;
2045 /* info->backOffset = y1 * width_bytes + x1 * cpp; */
2046 info->backOffset = R128_ALIGN(y1 * width_bytes + x1 * cpp, 16);
2047 info->backX = info->backOffset % width_bytes;
2048 info->backY = info->backOffset / width_bytes;
2079 (pScrn->virtualY + 1) * width_bytes,
2083 x1 = osArea->offset % width_bytes;
2084 x2 = (osArea->offset + osArea->size) % width_bytes;
2085 y1 = osArea->offset / width_bytes;
2086 y2 = (osArea->offset + osArea->size) / width_bytes;
2092 /* info->depthOffset = y1 * width_bytes + x1 * cpp; */
2093 info->depthOffset = R128_ALIGN(y1 * width_bytes + x1 * cpp, 16);
2094 info->depthX = info->depthOffset % width_bytes;
2095 info->depthY = info->depthOffset / width_bytes;
2097 info->spanOffset = (y2 - 1) * width_bytes + x1 * cpp;