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