Lines Matching refs:stride
202 unsigned long sbase, dstn_off, ldsarl, stride;
270 stride = (par->rot) ? vtln : hdcn;
272 stride *= (bpp + 7) >> 3;
275 stride >>= 3;
277 stride >>= 2;
279 stride >>= 1;
283 /* if rotated, stride must be power of 2 */
287 if (stride & bit)
291 if (stride & ~bit)
292 stride = bit << 1; /* not P-o-2, round up */
294 iowrite16(stride, par->base + LDLAOR);
299 sbase += (hdcn - 1) * stride;
306 * so I guessed at (stride * yres/2).
313 dstn_off = stride;
325 info->fix.line_length = stride;
340 fb_dbg(info, "ldlaor: %ld\n", stride);