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