Lines Matching defs:stride
200 unsigned long sbase, dstn_off, ldsarl, stride;
268 stride = (par->rot) ? vtln : hdcn;
270 stride *= (bpp + 7) >> 3;
273 stride >>= 3;
275 stride >>= 2;
277 stride >>= 1;
281 /* if rotated, stride must be power of 2 */
285 if (stride & bit)
289 if (stride & ~bit)
290 stride = bit << 1; /* not P-o-2, round up */
292 iowrite16(stride, par->base + LDLAOR);
297 sbase += (hdcn - 1) * stride;
304 * so I guessed at (stride * yres/2).
311 dstn_off = stride;
323 info->fix.line_length = stride;
338 dev_dbg(info->dev, "ldlaor: %ld\n", stride);