Searched refs:wmax (Results 1 - 4 of 4) sorted by relevance

/drivers/media/video/
H A Dv4l2-common.c502 /* Bound an image to have a width between wmin and wmax, and height between
516 void v4l_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax, argument
521 *w = clamp_align(*w, wmin, wmax, walign);
534 unsigned int wmaxa = __fls(wmax ^ (wmin - 1));
542 *w = clamp_align(*w, wmin, wmax, walign + 1);
H A Dvivi.c456 int wmax = dev->width; local
469 memcpy(vbuf + h * wmax * 2, dev->line + (dev->mv_count % wmax) * 2, wmax * 2);
/drivers/mtd/nand/
H A Dnandsim.c943 unsigned long wmin = -1, wmax = 0, avg; local
964 if (wear > wmax)
965 wmax = wear;
970 decile_max[i] = (wmax * (i + 1) + 5) / 10;
973 decile_max[9] = wmax;
989 NS_INFO("Maximum number of erases: %lu\n", wmax);
/drivers/media/video/s5p-jpeg/
H A Djpeg-core.c617 static void jpeg_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax, argument
629 v4l_bound_align_image(w, wmin, wmax, walign, h, hmin, hmax, halign, 0);
631 if (*w < width && (*w + w_step) < wmax)

Completed in 146 milliseconds